ESP32-E v1.0 SD card connection
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???!
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.
Ben.BenAfter 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.
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.
Ben.Ben