Page 2 of 2

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

Posted: Fri Apr 11, 2025 5:28 pm
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

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

Posted: Fri Apr 11, 2025 5:48 pm
by LeighM
Are SDI and SDO the wrong way round?

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

Posted: Mon Apr 14, 2025 10:39 am
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 712 times
2025-04-14_08-43-15.PNG
2025-04-14_08-43-15.PNG (21.26 KiB) Viewed 712 times

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

Posted: Mon Apr 14, 2025 12:43 pm
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)

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

Posted: Tue Apr 15, 2025 8:16 am
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?