cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 DMA registers are unwritable?

kurta999
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Enable DMA clock in RCC.

JW

View solution in original post

2 REPLIES 2

Enable DMA clock in RCC.

JW

kurta999
Senior

omg, thank you!​