Hi @Pablo_Ramos
i think i found the problem, when i used tool MCUxpresso UART peripheral and UART component.
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.
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.
There is one more problem, It seems that The Peripherals tools are not working correctly, the same code, if using gen config tool, the code does not work.
I don't see any examples using it.
Hi @maohuynh
There is no SDK example where they use shell and uarts simultaneously, but there are examples where they use it separately.
Also, in order to enable The Peripherals tools, you need to go to Config Tools -> Open Pins -> Enable Peripherals tools
Hope it helps you!
Hi @Pablo_Ramos
i think i found the problem, when i used tool MCUxpresso UART peripheral and UART component.
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.
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.
Hi,
Thanks for the reply.
I solved the problem, but my error was related to the combination of Shell and Debug_console. When I use these 2 modules, It causes interrupts of all uarts. Is there any example config using Shell, Debug_console, and many uarts.