AnsweredAssumed Answered

k22 uart Rx SDK bug ?

Question asked by Nicolas Pinault on Sep 14, 2018
Latest reply on Oct 7, 2018 by Daniel Chen



I'm using MCUXpresso with SDK V2.4.1 on a K22FN51212.

My design uses all uarts of the chip (the 3 uarts and the lp-uart) through FreeRTOS.

All uarts are intensively used (Tx and Rx).

I have other tasks running.

Globaly, everything works well. However, randomly, my system hangs and then reboots thanks to the watchog.

I spent many hours on this problem. I narrowed the problem down to uart Rx. Maybe more specifically to lp-uart Rx.

When my system doesn't receive datas on uarts, it never hangs (everything else is active in the system including uart Tx).

I beleive the problem is the lp-uart Rx ISR looping infinitely on some occasion (till reset).

I'm not 100% sure the problem is specific to lp-uart however I'm 99.99% sure it is an Rx (lp-)uart issue.


Anybody aware of such a bug ?


Best regards,