Hi @Pablo_Ramos
i think i found the problem, when i used tool MCUxpresso UART peripheral and UART component.
maohuynh_1-1715152259990.png
It doesn't allow me to use it at the same time peripheral and component. Here, the UART interrupt is called again, it is overlapped leading to an error.
maohuynh_2-1715152741101.png
I have to !define like the first picture for it to work. I think this is a bug, when I combine use shell, debug console and UART driver interrupt.