Skip to main content
Hueli.1
Associate III
March 8, 2023
Solved

Configuration of SDMMC peripheral in CubeMX

  • March 8, 2023
  • 2 replies
  • 1508 views

I am trying to connect to the WFM200 wifi module over SDIO. I am using the SDMM peripheral library/code for this.

However, in the selection in CubeMX there is only the options for SD and MMC but no SDIO.

Which option should I choose for using SDIO with the WFM200?

0693W00000aITSEQA4.png

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

Hello @Hueli.1​,

Here is an example to configure SDIO. You may need to increase the SDIOCLK divide factor if getting FR_DISK_ERROR


_legacyfs_online_stmicro_images_0693W00000bi2xBQAQ.pngHope this helps!

2 replies

FBLBest answer
Technical Moderator
April 13, 2023

Hello @Hueli.1​,

Here is an example to configure SDIO. You may need to increase the SDIOCLK divide factor if getting FR_DISK_ERROR


_legacyfs_online_stmicro_images_0693W00000bi2xBQAQ.pngHope this helps!

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.Best regards,FBL
Hueli.1
Hueli.1Author
Associate III
April 14, 2023

thank you for the answer.

I now went with low gpio speed also to reduce noise in the signal since I am using a nucleo allowing only speeds up to ca 400kHz without distorision:


_legacyfs_online_stmicro_images_0693W00000bi56yQAA.png