Skip to main content
Tommino
Associate III
February 24, 2022
Solved

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

  • February 24, 2022
  • 1 reply
  • 946 views

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

This topic has been closed for replies.
Best answer by TDK

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

1 reply

TDK
TDKBest answer
February 24, 2022

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""."