This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
可以一個跑 https://dev.ti.com/tirex/explore/node?node=AN7pLr2MQU4dKApHE9aAWA__Drd3Vmn__LATEST 的 RF EasyLink TX 發送采集的温湿度 另一個跑 RF EasyLink RX 接收在通过UART发送给PC
可以使用YiKai说的easylink例程,可从此处下载:http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html?_ticdt=MTYyNzk1NjA5M3wwMTc5OWQzYmQxMjYwMDE1ZjVjYmYwNTY2OTM4MDMwNzMwMDQyMDZiMDA4NmV8R0ExLjMuMTI2NDUzODk3Ny4xNjIxODQ2MTg3
也可以根据数据量和传输距离看看sub1g频段的CC1310,它有一些rfWakeOnRadio例程可以自动唤醒降低功耗
这个例子我有试了,但是程序会卡在RF_postCmd
然后我又试了另一个例子rfPacketTx ,发现也是会卡在
RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs, RF_PriorityNormal, NULL, 0);
将rf_mode 修改成RF_MODE_IEEE_15_4,程序又会卡在
/* Send packet */
RF_EventMask result = RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTx, RF_PriorityNormal, NULL, 0);
但他似乎没有解决,
我也按着步骤使用SmartRF Studio 7 导出smartrf_settings.c和smartrf_settings.h进行替换
添加了<driverlib/rf_ieee_cmd.h>和<rf_patches/rf_patch_cpe_ieee.h>这两个缺失的文件
修改rfPacketTx.c->txTaskFunction
可以编译通过,但是还是会卡在:
/* Send packet */
RF_EventMask result = RF_runCmd(rfHandle, (RF_Op*)&RF_cmdIeeeTx, RF_PriorityNormal, NULL, 0);
请帮忙看下怎么回事
可以参考这里添加相应文件再试一下https://e2e.ti.com/support/wireless-connectivity/other-wireless-group/other-wireless/f/other-wireless-technologies-forum/801640/cc2650-ieee-mode-api-headers-and-sources/2973821#2973821
如果还是不行,建议你更换其他型号芯片进行开发,CC2630不推荐用于新设计当中