There is a mistake here. If you don't enable "USART1 global interrupt", uart tx will not work after 1 cycle. Because this will ensure the USART communication by checking the flag, as the set of the ready flag is managed inside HAL_UART_IRQHandler() by the UART_EndTransmit_IT(). Otherwise gstate will stay busy all the time.
@rafalzasada88263 жыл бұрын
It is worth to add that HAL_UART_TxCpltCallback will not be called unless you enable UART interrupts.
@CandyHam9 ай бұрын
hilarious seeing an ST employee using IAR EWARM also hilarious how little that software has changed over the years....
@federicocanete29055 жыл бұрын
Thanks! It helped me a lot :)
@ricardokers4 жыл бұрын
How can I implement a recemtion timeout in DMA mode?
@saraamir66785 жыл бұрын
thanks
@surendramaharjan31293 жыл бұрын
Please get some guy who speaks simple english
@eduardosantana1793 Жыл бұрын
Please be polite, STM and their employees made a lot of effort to training us, it's possible to understand when he speaks, I'd like to suggest you to take another course if you are not understanding the lessons. Thank you STM to help us to improve our knowledge.