这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界» 论坛首页» 活动中心» 板卡试用» 【EFR32xG24DevKit】使用测评之二:SimplicityStudio

共10条 1/1 1 跳转至

【EFR32xG24DevKit】使用测评之二:SimplicityStudio软件跑BLE

高工
2022-08-14 19:55:58 打赏

EFR32x是Silicon Labs推出的低功耗高性能芯片,官方提供的开发平台是Simplicity Studio,是基于eclipse进行深度定制的集成开发环境,提供演示例程、代码编写调试、能耗分析、网络分析、硬件配置、sdk更新下载、文档下载等功能。这方面的资料较少,开发需要耐心。更新SDK建议先从官房GIT下载https://github.com/SiliconLabs

有过Nodic蓝牙开发比较容易上手,这家公司国内用的多,资料比价容易找。

开发界面:

demo工程:bt_soc_xg24_dev_kit_brd2601b为开发板整体测试的。

main:


int main(void)

{

// Initialize Silicon Labs device, system, service(s) and protocol stack(s).

// Note that if the kernel is present, processing task(s) will be created by

// this call.

sl_system_init();


// Initialize the application. For example, create periodic timer(s) or

// task(s) if the kernel is present.

app_init();


#if defined(SL_CATALOG_KERNEL_PRESENT)

// Start the kernel. Task(s) created in app_init() will start running.

sl_system_kernel_start();

#else // SL_CATALOG_KERNEL_PRESENT

while (1) {

// Do not remove this call: Silicon Labs components process action routine

// must be called from the super loop.

sl_system_process_action();


// Application process.

app_process_action();


#if defined(SL_CATALOG_POWER_MANAGER_PRESENT)

// Let the CPU go to sleep if the system allows it.

sl_power_manager_sleep();

#endif

}

#endif // SL_CATALOG_KERNEL_PRESENT

}

debug下载:可以看到板子各种传感器信息





专家
2022-08-14 20:06:38 打赏
3楼

看看


院士
2022-08-14 20:15:45 打赏
4楼

这个小板的演示Demo实在太少了


高工
2022-08-14 22:31:12 打赏
5楼

Good


工程师
2022-08-14 22:49:16 打赏
6楼

学到经验了


工程师
2022-08-14 23:02:03 打赏
7楼

教程写的很详细


高工
2022-08-16 09:23:36 打赏
8楼

老哥,这个demo在哪里找到的?


菜鸟
2022-08-19 14:18:02 打赏
9楼

居然能找到demo


专家
2022-08-19 21:41:26 打赏
10楼

看看


共10条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]