STM32H7 HAL usart with and without interrupt
Using an STM32H723 I started with a non interrupt USART connection onto a wifi module.
I set up the connection on UART3 implementing nothing more than that and using these instructions
int len = sprintf(tx_buff,"AT+GMR\r\n");
HAL_UART_Transmit(&huart3,tx_buff,len,100);
Followed up with polling instructions to capture the data.
if( USART3->ISR & UART_IT_RXNE ){
rec1_buff[reccount] = USART3->RDR;
reccount++;
}
Now the above works so now I wanted to do this using interrupts.
I then set the interrupt and used the above transmit instruction but no receive packets are ever returned.
I have a workaround I put the same receive instructions in a standard timer interrupt and capture the data so I have a
solution that works for me. Systick is too slow but I can set a really fast timer interrupt instead for capture.
I am puzzled why no packets are returned and the interrupt handler (I just put a breakpoint in the handler) never fires at all.
Any advice on this would be appreciated.
