cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use USE_DMA_TEMPLATE in stm32cubemx?

hukhongcongtu26111993
Associate II
Posted on November 21, 2017 at 03:40

I use stm32cubemx version 4.23. When I use SDIO 4bit and FATFS middleware, I see USE DMA Template option. If I choose 'disable', my code will run correctly. But If I I choose 'enable', I can't read and write data from uSDcard. I have some question :

1. What does this option mean?

2. What can I config (in stm32cube) to use this option?

1 ACCEPTED SOLUTION

Accepted Solutions
Jeanne Joly
Senior III
Posted on February 22, 2018 at 09:21

Hi

quoc.anh

,

On CubeMX 4.24, we change the parameter Description as below (we tend to be clearer...) :

0690X00000609mNQAQ.png

If you select ''enabled'', you should configure the DMA or else it won't work.

A thread (

https://community.st.com/0D50X00009XkWt5SAF

) could guide you in configuring DMA setttings in SDIO.

I hope it will help you.

BR. Jeanne

View solution in original post

3 REPLIES 3
Amel NASRI
ST Employee
Posted on November 21, 2017 at 11:40

Hi

quoc.anh

‌,

I raise your questions to our CubeMX experts, so that you can get the expectedanswer.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Posted on November 22, 2017 at 07:30

Thanks you! I wait for the reply  

Jeanne Joly
Senior III
Posted on February 22, 2018 at 09:21

Hi

quoc.anh

,

On CubeMX 4.24, we change the parameter Description as below (we tend to be clearer...) :

0690X00000609mNQAQ.png

If you select ''enabled'', you should configure the DMA or else it won't work.

A thread (

https://community.st.com/0D50X00009XkWt5SAF

) could guide you in configuring DMA setttings in SDIO.

I hope it will help you.

BR. Jeanne