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.
zstack 版本是ZStack-CC2530-2.5.1a
请问,终端节点在PM2的模式下,如何使用UART功能?
谢谢谢谢。
POWER_SAVING 模式下, 系统会进入低功耗,32M晶振会关闭,UART就不能用了
您可以尝试在CPU空闲时进入PM2睡眠,外部串口发送数据给CC2530前,先通过IO中断唤醒CPU,然后使用osal_pwrmgr_device(PWRMGR_ALWAYS_ON)hold住电源,保证接收数据过程中串口有时钟信号支持,然后在接收完毕后再次调用osal_pwrmgr_device(PWRMGR_BATTERY)进入睡眠