STM32F469I-DISCO board SD-Card Pin not available

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
stefan.erni
Valued Contributor
Posts: 997
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: STM32F469I-DISCO board SD-Card Pin not available

Post by stefan.erni »

I tested with the osciloscope and

C-code is working to set the Pin to 1

Clock is working
CS is working
MOSI is alway 1
MISO is alway 1

LeighM
Valued Contributor
Posts: 447
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 81 times
Been thanked: 243 times

Re: STM32F469I-DISCO board SD-Card Pin not available

Post by LeighM »

Are SDI and SDO the wrong way round?

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: STM32F469I-DISCO board SD-Card Pin not available

Post by stefan.erni »

Hi LeighM, Hi Marti

Yes it's working in software mode. With the SPI unfortunately not yet.
The software mode is usually too slow. I will try it out.
It would be an advantage if it works with the SPI Hardware.
I will also try it with the hardware from the post, which I will also use

viewtopic.php?t=3053

Setup working in softwaremide
2025-04-14_08-24-00.PNG
2025-04-14_08-24-00.PNG (52.13 KiB) Viewed 686 times
2025-04-14_08-43-15.PNG
2025-04-14_08-43-15.PNG (21.26 KiB) Viewed 686 times

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: STM32F469I-DISCO board SD-Card Pin not available

Post by stefan.erni »

I think that the card with this pin can only be used with SDMMC and not in the SPI bus.
With the ESP32 there is this possibility. Could you do the same for the STM32?

especially because the software mode is much slower than the SPI hardware as even worse in comparison with the SDMCC

SPI is slower (~0.5-2 MB/s vs. ~10-20 MB/s with SDMMC)

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: STM32F469I-DISCO board SD-Card Pin not available

Post by stefan.erni »

Hi LeighM, Hi Martin

I have tested in software mode but it is much too slow for my application. I can write a wave file, but with a few kByte it takes minutes.
Would it be possible to have a component to use the SD disk in sd-mmc with 4bit like esp32?

Post Reply