start_reboot();前调用串口发送,不成功

Discussions on BLE related products, including standard BLE devices, BLE mesh, and Apple HomeKit products
Post Reply
beautifulzzzz
Posts: 2
Joined: Mon May 15, 2017 3:15 pm

Sat May 27, 2017 5:59 pm

在调用start_reboot前调用的串口发送不成功,即使在串口发送后用while循环延时10s也发送不成功。请问这是什么原因导致的,是不是贵司封装的串口驱动有些特殊?
Image
tuyf
Posts: 3
Joined: Thu May 25, 2017 2:09 pm

Sat Jul 08, 2017 9:23 pm

可以看看芯片是不是进入了suspend状态,可以加一个逻辑分析仪抓一下,如果进入suspend的话,发送是不会成功的。
凉白开
Posts: 2
Joined: Mon Jul 10, 2017 6:13 pm

Thu Jul 13, 2017 10:16 am

应该是发送函数没有被调用,你只是把要发送的内容加到队列里而已。你定时的方式10秒后再调用重启试试
Post Reply