I am trying to connect CATALEX MicroSD Card adaptor to new NodeMCU V3 and PIN configuration are as below,
NodeMCU ---------> SD Card GPIO13 (D7) ------> MOSI GPIO12 (D6) ------> MISO GPIO14 (D5) ------> SCK GPIO15 (D8) ------> CS VCC (3.3V) -------> VCC GND --------------> GND
Tested above setup with QuickStart program from SdFat library in Arduino IDE. But it gives error output as below,
SPI pins: MISO: 12 MOSI: 13 SCK: 14 SS: 15 SD chip select is the key hardware option. Common values are: Arduino Ethernet shield, pin 4 Sparkfun SD shield, pin 8 Adafruit SD shields and modules, pin 10 Enter the chip select pin number: 15 Disabling SPI device on pin 10 Can't access SD card. Do not reformat. No card, wrong chip select pin, or SPI problem? SD errorCode: 0X20,0XFF SD initialization failed. Do not reformat the card! Is the card correctly inserted? Is chipSelect set to the correct value? Does another SPI device need to be disabled? Is there a wiring/soldering problem? errorCode: 0x20, errorData: 0xff
chipSelect is 15.
Also, I am using SanDisk 16GB Micro SDHC class 4 Memory Card.
I have tried googling with the error but did not find solution. Please help me.