cancel
Showing results for 
Search instead for 
Did you mean: 

Missing register definition when using DMA1_Channel3 -> CSELR with nucleo STM32L476RG

Tommino
Senior

Hello,

As reported in the picture attached, an error occurs while trying to edit the CSELR register of the DMA. It seems to lack of the definitions of several register...how can i solve it?

I am using NucleoSTM32L476RG and STM32IDE

Thanks

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Channel selection is done in the CSELR register which is not a per-channel register. So DMA1_CSELR->CSELR. A bit awkward.

https://raw.githubusercontent.com/STMicroelectronics/STM32CubeL4/master/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l476xx.h

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

Channel selection is done in the CSELR register which is not a per-channel register. So DMA1_CSELR->CSELR. A bit awkward.

https://raw.githubusercontent.com/STMicroelectronics/STM32CubeL4/master/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l476xx.h

If you feel a post has answered your question, please click "Accept as Solution".