Skip to main content
nSTAC.1
Associate
May 22, 2020
Question

Wong DMAx->SxCR->CHSEL registers size on STM32F413 (3 bits instead of 4)

  • May 22, 2020
  • 2 replies
  • 750 views

Hello,

I use:

CubeIDE v1.3.0

STM32Cube_FW_F4_V1.25.0

I want to use DMA1->Steam7->Channel8 on STM32F413CHU

During debug, into SFRs window, I found DMAx->SxCR->CHSEL registers size is 3.

Therefore channel 8 is unreachable this way.

However, datasheet RM0430 Rev 8 (p.238/1324) explains CHSEL is a 4 bit length register.

Is it a bug?

Thanks for your help.

This topic has been closed for replies.

2 replies

Imen Ezzine
ST Employee
October 23, 2020

Hi nSTAC.1,

To answer your question, the SFRs window view is generated from an .svd file.

So in this case looks like the bug is related to a wrong definition of DMAx->SxCR->CHSEL size into the SVD.

It will help if you can precise the version of the .svd file containing the bug and from our side we will make sure to fix in upcoming release.

Also if you are interested, I can attach a newer version once we fix while waiting to be implemented in next release for CubeIDE.

Thank you for your feedbacks,

-Imen

Imen Ezzine
ST Employee
November 5, 2020

Hi nSTAC.1,

Just an update, the reported bug is fixed and the new SVD file will be integrated within CubeIDE in their upcoming release.

-Imen