Dear All,
I have problem in receiving bytes in ISR see below code.
void UART3_RX_TX_IRQHandler(void)
{
UART_DRV_IRQHandler(3);
if(inx>9)
{
inx=0;
}
UART_HAL_Getchar(UART3, &RxBuff[inx]);
inx++;
}
I am sending 8 bytes (1,2,3,4,5,6,7,8) but first receiving is wrong RxBuff[0] =0xFF instead of 1 remaining 7 bytes are good.
MY TX & RX pins are short.
My suspect is RX interrupt is not enabled.
Thanks in advance
Regards
rishi