When is the UART Receive/Transmit interrupt produced?
Hello to everyone,
First of all, excuse me if this post isn't posted in the correct group, but I didn't know in which one it should be posted.
About my doubt:
I'm using the functions HAL_UART_Receive_IT and HAL_UART_Transmit_IT to do a UART communication.
The thing is that I introduce a breakpoint in the Transmit interrupt and another one in the Receive interrupt but, the Transmit interrupt is executed 2 times before entering to the receive interrupt, and then, after finishing it, the T-interrupt is executed again.
Could you explain me when these interrupts are executed?
That's how I call the functions:
HAL_UART_Receive_IT(&huart1, &receptor, 1);
HAL_UART_Transmit_IT(&huart2, &transmisor, 1);Thank you!
Edit: I'm using the Devolopment board NUCLEO-G070RB that has the STM32G070RB uC