Dear Sir:
I got problem of LPC 824 ROM API of UART.
I used uart0/uart1/uart2 to R/W data
use the ROM API, call interrupt function as below
LPC_UARTD_API->uart_isr();
Only UART0 will not clear the interrupt FLAG => INTENCLR.TXRDY
Other UART1 UART2 will be.
Caused to continue to be interrupted, and finally Crash
Is there any bug in ROM API UART0 ???
any idea of this? please help!
thanks!
Hello @tim_tan ,
As you mention, in the vector interrupt should be set the INTENCLR.TXRDY to clear the corresponding bit in the INTENSET register, but using the periph_uart_rom_init to test this it looks like the corresponding bit in the INTENSET was cleared. I will suggest confirming with this example code.
Also, if this issue isn't solved, could you let me know how can I replicate it?
Best Regards,
Alexis Andalon