In this tutorial, we will show you how to use STM32 Blue Pill UART in interrupt mode to transmit and receive data. We will use STM32 CubeIDE to create a project where we will use UART interrupt of STM32 Blue Pill to receive data on the Rx pin via interrupt and we will send serial...
But, for some reason, the UART transmission through DMA inside the _write() function isnt working anymore. It shouldnt have anything to do with that. Still looking to fix this. The first transmission works, but the DMA transfer complete interrupt never gets triggered. I'll post any news in...
Then we will add the timer interrupt ISR handler callback function. This callback function is called whenever the timer overflows. It is responsible to transmit the end_message through UART2 when the counter overflows using HAL_UART_Transmit(). The end_message is defined at the start of the...