Skip to main content
kurta999
Senior
May 30, 2020 6:30 AM UTC
Solved

STM32F4 DMA registers are unwritable?

Hi,

I'm trying to make UART DMA to work on F4, but looks like DMA registers are unwritable?

LL functions for DMA stream does totally nothing, so I tried this and the result is 0 if I read CR register.

DMA1_Stream2->CR = 1;

https://kepkuldes.com/images/029d362fe97e6549ffe175068a0bb758.png

Did I miss something, or why this happens? On L4 everything worked well.

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
May 30, 2020 6:36 AM UTC

Enable DMA clock in RCC.

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
May 30, 2020 6:36 AM UTC

Enable DMA clock in RCC.

JW

kurta999
kurta999Author
Senior
May 30, 2020 7:05 AM UTC

omg, thank you!​