ESP32-E v1.0 SD card connection

userHead MartinCarolan 2022-10-09 10:37:35 1442 Views4 Replies

My Firebeetle is working great for just about everything I have attempted so far. But I am completely unable to get it to access an SD storage card. I have attempted SPI access using espressif SD and MMC  library. I have also attempted 4 data line connections with MMC library. Various SD card breakout boards. The SD cards work fine else where on the PC etc. But no success connecting to Firebeetle.

 

Does any one have a working example and config for a firebeetle  esp32-E working correctly with an SD card. Is the some firebeetle specific trick? What am I missing???!

2023-05-09 01:26:32

Progress! I get it to mount, providing a frequency parameter of 4000:SD.begin(CS, SPI, 4000) // CS=14

 

Reads and writes are incredibly slow though. 

userHeadPic Ben.Ben
Ben.Ben wrote:

After fiddling with SPI.transfer buffer sizes… I could pump the speed up to 8.000.000 eventually. And now it also works without the buffer. Strange… but specifying the frequency and then slowly bumping it up has solved the mounting issues for me. Perhaps some disconnection somewhere or filthy contact that needed burning in? No idea. 

2023-05-09 02:45:36
1 Replies
2023-05-08 23:25:02

Drivin' me nuts too. Cards mount just fine on other boards, can't get it to mount on FireBeetle 2 esp32-e. 

Tried re formatting, initiating SPI with pin numbers as specified by board. SD.begin(14, mySPI)…

 Pull up resistors… still no luck. 

 

userHeadPic Ben.Ben
2022-12-14 23:33:09

Me too, It makes me crazy for this. Where is supporter from DFROBOT?

userHeadPic Vui.Pham