ESP32S3 SD-card init problem

Any bugs you encounter with Flowcode should be discussed here.
stefan.erni
Valued Contributor
Posts: 1277
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 244 times
Been thanked: 256 times

Re: ESP32S3 SD-card init problem

Post by stefan.erni »

Hi Ben

The SD card works with the old SD component, but I don't have any free SPI buses left because of the display and the AD converter.

I'm having trouble with the C code insert from You.

Does it just need to be in a C code component, or should it be added as a supplementary C code?

stefan.erni
Valued Contributor
Posts: 1277
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 244 times
Been thanked: 256 times

Re: ESP32S3 SD-card init problem

Post by stefan.erni »

Hi to All

There is one remaining issue that I have not yet been able to identify or resolve.

The FC11 fails to initialize the SD card on this board.
However, the same SD card operates reliably with FC11 on other board, such as ESP32-S3 and ESP32-WROOM boards.

Interestingly, similar issues can also be observed on a SparkFun board with ESP32-S3 mini.

It's a small board that's placed underneath an Adafruit board, with an amplifier IC, a 24-bit A/D converter, and an SD card.
Fortunately, I can still make changes like I could still swap the pins from the card.
2026-08-20_17-08-43.PNG
2026-08-20_17-08-43.PNG (235.98 KiB) Viewed 51 times
2026-08-20_16-56-54.PNG
2026-08-20_16-56-54.PNG (195.05 KiB) Viewed 51 times

stefan.erni
Valued Contributor
Posts: 1277
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 244 times
Been thanked: 256 times

Re: ESP32S3 SD-card init problem

Post by stefan.erni »

Hi to All

I ran a test on Ben's board and used the loop to initialize the card every 10ms .
I didn't use an SD card, but I checked it with the KO, and the signal was perfect.
Then I switched the clock to a free port (GPIO 19 and GPIO 20), and the clock was perfect there, too.

I added the same loop to my board
But the clock isn't working on my board. It's just always 0 volts.

Both are ESP32-S3 but my is a mini

loop for oscilloscope on Ben's board:
2026-08-21_12-29-47.PNG
2026-08-21_12-29-47.PNG (24.45 KiB) Viewed 19 times
Signal on oscilloscope:
NewFile12.png
NewFile12.png (51.86 KiB) Viewed 19 times

Post Reply