Page 1 of 1
STM32F769DISC SD card usage
Posted: Mon Apr 04, 2022 8:33 am
by emile.cronje
Good day
Which is the correct way to use the SD Card on STM32F769DISC?
I have tried machine.SDCard, but no joy.
Regards
Re: STM32F769DISC SD card usage
Posted: Tue Apr 26, 2022 10:41 am
by tepalia02
Re: STM32F769DISC SD card usage
Posted: Tue Apr 26, 2022 1:27 pm
by Roberthh
@tepalia02 This is a board about MicroPython and ways to use it. Erratic comments and hints for other platforms and tools do not help art all. Please focus on the topic of this forum,
Re: STM32F769DISC SD card usage
Posted: Fri Jun 17, 2022 11:57 am
by emile.cronje
Hi @Roberthh
Can u point me in a direction how to use the SD card on the STM32F769, please?
Regards
Re: STM32F769DISC SD card usage
Posted: Fri Jun 17, 2022 1:25 pm
by Roberthh
Which board do you use? If the board has a SDCard socket, look in the schematics for the connections. If the port does not have the machine.SDCard module included, you can try using the Python SPI based SD Card driver at
https://github.com/micropython/micropyt ... ers/sdcard. That one works well. It requires however that FAT file system is built into the firmware. look out in your port for vfs.VfsFat.
Re: STM32F769DISC SD card usage
Posted: Mon Jun 20, 2022 3:41 am
by jimmo
emile.cronje wrote: ↑Mon Apr 04, 2022 8:33 am
Which is the correct way to use the SD Card on STM32F769DISC?
The 769 discovery board should work exactly the same as the Pyboard --
https://docs.micropython.org/en/latest/ ... nd-sd-card -- and if present, the SD card will be mounted automatically at boot.
If you need to work directly with the SDCard block device, then use pyb.SDCard (we haven't updated the STM32 port to use machine.SDCard yet).
Re: STM32F769DISC SD card usage
Posted: Tue Jun 21, 2022 12:23 pm
by emile.cronje
Thank you @jimmo, works now