mastering-stm32
mastering-stm32 copied to clipboard
CHAPTER9_EXAMPLE1_ISSUE
There's an issue with the DMA in polling mode example. When configuring the DMA you have not selected the channel (it seems like it's just omitted) causing the DMA initalisation not to work. The way I fixed it is by adding: hdma_usart2_tx.Init.Channel = DMA_CHANNEL_4; Thanks for the amazing book and please let me know if I've made a mistake here.