Hi,
I have a question about the UART interrupt.
I got the interrupt factor by the following procedure.
(1) Acquire the value of the UARTMIS register
(2) Set to UARTICR and clear the interrupt flag
(3) Acquire the value of the UARTRSR register
(4) Set 0 in the UARTECR register and clear it.
It was 0x000080 (FEMIS) when acquired by the UARTMIS register in the UART interrupt processing.
When I got the value of the UARTRSR register, I got 0x00000000.
From (1), the cause of the interrupt was FEMIS, so I thought that FEMIS (0x00000001) would be set in the UARTRSR register.
Is there something wrong with the procedure?
Thanks,
Koki