Skip to main content
niramlkumar.r
Associate
January 11, 2023
Solved

i have some doubt in stm32l552ret6 in sdmmc .i am working on fatfs using sdmmc but dma configuration is not given . i studied reference manual they say internal dma is are allocated in sdmmc .i dont know how can i enable the dma and sample code pleas

..

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
January 24, 2023

Hello @niramlkumar.r​ and welcome to the Community :),

The IDMA is enabled by the IDMAEN bit in SDMMC_IDMACTRLR register.

The different IDMA modes are details in the RM0438 and precisely SDMMC DMA control register (SDMMC_IDMACTRLR) Section.

I advise you to take look at the FatFs_uSD_DMA example may help you in your implementation.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar  

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.

1 reply

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
January 24, 2023

Hello @niramlkumar.r​ and welcome to the Community :),

The IDMA is enabled by the IDMAEN bit in SDMMC_IDMACTRLR register.

The different IDMA modes are details in the RM0438 and precisely SDMMC DMA control register (SDMMC_IDMACTRLR) Section.

I advise you to take look at the FatFs_uSD_DMA example may help you in your implementation.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar  

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.