LPC824 ROM API UART0 interrupt bug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC824 ROM API UART0 interrupt bug

588件の閲覧回数
tim_tan
Contributor I

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!

0 件の賞賛
返信
1 返信

570件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信