Can i add while(1) loop in the xxx_Create and pet the watchdog in the while(1) loop?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
wewu_1392881
Level 3
Level 3
First like received First like given Welcome!

Can i add while(1) loop in the xxx_Create and pet the watchdog in the while(1) loop?

I'm developing BLE application firmware based on WICED SDK, receive data packet from UART and response the command. For now parsering the receive data packet and response are all done in the app_puart_interrupt_callback, normally we do as less as possible in the interrupt and exit the interrupt, doing with the command in application loop. I'm worrying about this mechanism may have some issues.

0 Likes
1 Solution

Not yet. According to Kilian's explanation, the callback is not handled in interrupt routine.

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

> , normally we do as less as possible in the interrupt

The interrupt callbacks are not executed in an interrupt context, instead they are called sequentially to all the other callbacks. See here: interrupt latency

Regards,

Kilian

0 Likes
Anonymous
Not applicable

Hi dianke02,

Did you get a chance to check out the interrupt latency that Kilian linked?

-Kevin

0 Likes

Not yet. According to Kilian's explanation, the callback is not handled in interrupt routine.

0 Likes