Hello Harshala
After running for a while, please stop the debugger and check these Registers:
1) USART Interrupt Enable read and set register: 0x4007 000C (USART2), 0x4007 400C (USART3)
Please check whether various USART interrupt sources have been enabled.
2) USART Status Register: 0x4007 0008 (USART2), 0x4007 4008(USART3).
Please check whether the data is ready to be read from receiver buffer, and whether there’s parity error, framing error, overrun and so on.
3) USART Receiver Data with Status register: 0x4007 0018 (USART2), 0x4007 4018 (USART3)
Please check whether the data is already received, and whether is any noise or error.
4) USART Interrupt Status register: 0x4007 0024 (USART2), 0x4007 4024 (USART3)
Please check whether any interrupt is currently enabled.
Best Regards
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------