I don't understand why my program doesn't exit the main loop when an Rx interrupt occurs. It's working when I delete the loop.
This is my program :
void puar_rx_interrupt_callback(void* unused)
data = 'b';
Thank you for your help.
You should not use while loop in Application start.
Since application is also running on RTOS thread in parallel with other threads, if you use while loop in Application start it will lead to erratic non-deterministic behavior or dead locks.