Skip to main content

calling printf_string from resume from sleep function caused halt.

5 years ago

calling printf_string from resume from sleep function caused halt.

Posted byachao11040 points 2 replies
0 upvotes

why?
I have put below into wake up call back already.
if(GetBits16(SYS_STAT_REG, PER_IS_DOWN))
periph_init();

5 years ago

achao1104 0 points

anybody can help?

5 years ago

MT_dialog -30 points

Hi achao1104,

In order to use some printing functionality with the ble please try to use the arch_puts. Refer to this post for more infohttp://support.dialog-semiconductor.com/ble-app-uart-debug-messagesfor more details.

Thanks MT_dialog