2025-01-10 04:10 AM - last edited on 2025-01-10 04:22 AM by Andrew Neil
Hello,
I would like to have advice, I see this video about SD Card :
https://www.youtube.com/watch?v=I9KDN1o6924&t=359s
And in the video (5:30) I can see DMA tab via CubeMX
But with me I don't have this tab, do you know why ?
I have STM32L552E-EV Evaluation Board with STM32L552ZET6QU microcontroller, after me It's possible to have the DMA with SD Card.
I have this Version: 1.13.1 for STM32CubeIDE
Thank you for your helps.
Regards
2025-01-10 04:22 AM - edited 2025-01-10 04:28 AM
Do you really need DMA?
Maybe simpler to start without DMA first?
@DYann.1 wrote:I have this Version: 1.13.1 for STM32CubeIDE
That's quite old now - latest is 1.17.0:
https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-17-0-released/td-p/747656
2025-01-10 05:35 AM
@Andrew Neil wrote:Maybe simpler to start without DMA first?
https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-17-0-released/td-p/747656
I know without DMA but our real application requires the use of DMA that's 100% certain. Thank you for the last version STM32CubeIDE, I'll going to install it and see if I have the DMA tab.
2025-01-10 05:44 AM
@DYann.1 wrote:I know without DMA but our real application requires the use of DMA that's 100% certain. .
But, again, why not start with the simpler case?
Don't add unnecessary complications too early.
Get the simple case working first, then move on to the more advanced case.
As the old proverbs go,
Learn to walk before trying to run
Don't bite of more than you can chew
Don't dive straight in to the deep end
2025-01-10 05:48 AM
@Andrew Neil wrote:
@DYann.1 wrote:I know without DMA but our real application requires the use of DMA that's 100% certain. .
But, again, why not start with the simpler case?
I've already done the first case for a long time and it works, I'm a beginner but not to this extent anyway !
2025-01-10 06:39 AM
@Tanveer6279 wrote:Hello,
The reason you don't see the DMA tab in CubeMX for your STM32L552E-EV board might be due to the following factors
CubeMX or Firmware Version: The version of CubeMX or the STM32 firmware package you’re using might not fully support the DMA configuration for the SDMMC peripheral on your specific microcontroller. Make sure you have the latest STM32CubeIDE (1.13.1 in your case) and the STM32 firmware package installed for the L5 series.
M Tanveer
Hi,
Thank you for this information, yes I think the version of CubeMX is not recent. Even if I install the new version of STMCubeIDE, I won't have the DMA tab either since the video is quite old.
Thank you for your helps.
Regards
2025-01-10 07:24 AM
@DYann.1 wrote:
I have STM32L552E-EV Evaluation Board with STM32L552ZET6QU microcontroller, after me It's possible to have the DMA with SD Card.
There is no DMA configuration for the SDMMC on L5 as it's already a master (a kind of DMA):
Unlike the F7 family, SDMMC1 is mounted as a slave on APB2 where you can configure a DMA (a master) for DMA transfer:
2025-01-10 07:30 AM - edited 2025-01-10 07:31 AM
Thank you for this information, does this mean by default I am already in DMA with my STM32L5xx card ? Right ? For CubeMX I have this version