Not sure why I cannot enter UARTn_IRQHandler
I have three UARTs on the board, all passed the loopback test (wire the tx and rx pin together on the same UART)
Then I connect UART 1 to UART2 while UART 1 is transmitter and UART2 is receiver.
UART 1 is using HAL_UART_Transmit() to send data to UART2.
On the UART2 side, after initialization, I did
__HAL_UART_ENABLE_IT(uart_interrupt_config.huart, UART_IT_RXNE); // read data register not empty interruption
IRQ_SetPriority(UART2_IRQn, 0);
IRQ_Enable(UART2_IRQn);
I put a break point inside UART2_IRQhandler but never reaches there.
What am I missing here?
Thanks in advance
