Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

SDIO access SDCard on Feather STM32F405 Express.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SDIO access SDCard on Feather STM32F405 Express.

by water35 on Fri Aug 14, 2020 5:40 pm

Feather STM32F405 Express https://circuitpython.org/board/feather_stm32f405_express/ hardware connect SD Card via SDIO interface:
clk: PC12, cmd: PD02, data: PC08, PC09, PC10, PC11,
but the firmware (5.3.1 release and 6.0.0 Alpha 2) provide 'sdcardio' Built-in module, the 'sdcardio' access SD Card via SPI only,
I found the SDIO module on https://circuitpython.readthedocs.io/en/latest/shared-bindings/sdioio/index.html
this module not available currently.

Someone can provide a solution to access SD Card using SDIO interface?

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: SDIO access SDCard on Feather STM32F405 Express.

by adafruit_support_jeff on Tue Aug 18, 2020 1:51 pm

Hi! I implemented CircuitPython's SDIO support for the Feather STM32F405 Express.

Support for the SDIO generally and for the SD card slot on the STM32F405 Express specifically was only added to CircuitPython recently. As you discovered, it's not in 5.3.1 or 6.0.0-alpha.2

It is available in the "absolute newest" build, which you can reach from our download page: https://circuitpython.org/board/feather ... 5_express/

It is also anticipated to be part of the next alpha release of CircuitPython, 6.0.0-alpha.3, which may come out as early as this week.

If you try out this unstable version of CircuitPython, please let us know how it goes.

adafruit_support_jeff
 
Posts: 2
Joined: Wed May 08, 2013 12:47 pm

Re: SDIO access SDCard on Feather STM32F405 Express.

by water35 on Sat Aug 29, 2020 7:39 pm

Works fine on CircuitPython 6.0.0 Alpha 3.
Code: Select all | TOGGLE FULL SIZE
sd = sdioio.SDCard(clock = board.SDIO_CLOCK, command = board.SDIO_COMMAND, data = board.SDIO_DATA, frequency = 25000000)
vfs = storage.VfsFat(sd)
storage.mount(vfs, '/sd')

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Please be positive and constructive with your questions and comments.