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?
ESP32S3 SD-card init problem
-
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
-
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
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.
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.
-
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
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: Signal on oscilloscope:
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: Signal on oscilloscope: