mastering-stm32 icon indicating copy to clipboard operation
mastering-stm32 copied to clipboard

CHAPTER9_EXAMPLE1_ISSUE

Open francescofum opened this issue 6 years ago • 0 comments

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.

francescofum avatar Sep 03 '18 18:09 francescofum