Hi @Sathiya_T
Q1:
You can add these code to print receives buffer.
for (uint8_t i =0;i<ECHO_BUFFER_LENGTH;i++)
{
PRINTF("g_rxBuffer[%d]=%d\r\n",i,g_rxBuffer[i]);
}
You can refer to the picture.
HangZhang_0-1718071049880.png
And The output of the serial port is shown in the figure.
HangZhang_1-1718071075285.png
Q2:
The
EXAMPLE_USARTUserCallback
function is the interrupt call back function.
HangZhang_3-1718071169118.png
When an interrupt is triggered, it will enter the callback function.
Hope this will help you.
BR
Hang