Xinyuan-LilyGO/LilyGo-T5-Epaper-Series

SD card reader not working [T5_V2.3.1_213] (20-8-26)

mrWheel opened this issue · 0 comments

Hi,

This is my setup:

#define SDCARD_MISO             (2)
#define SDCARD_CS               (13)
#define SDCARD_SCLK             (14)
#define SDCARD_MOSI             (15)

#define _HAS_SDCARD_

Tried it with and without:
SPIClass SDSPI(HSPI);

Added this line of code:

Serial.printf("SD: %dG\r\n", SD.cardSize());

If I insert a 2GB microSD card setupSDCard() returns false and SD.cardSize() returns zero.

I checked the defines with the silkscreen on my board and that all looks good/normal.
The SD card works OK on other devices.

Do I have a faulty board?