I've been battling with this problem for 2 days straight and tried many many things that I found in this forum and others from people that seem to have similar problems. Can't seem to find another way forward other than asking for help.
Ok so, my ultimate objective is to be able to use the SD card as a datalogger, but so far I'm yet to be able to initialise the SD card.
I'm using the SPI pins in the middle of the board for MISO, MOSI, and SCK. I'm using 3.3V for VCC and Ground for Ground. CS/SS I'm using pin 10 but I've tried many others such as 4, 6, 7, 53.
I also used a number of libraries such as SD.h, SDfat.h, etc
I also wasn't happy with my wiring on the breadboard as I think my breadboard/leads isn't very good and the connections aren't very "positive" so I've manually made cables as short as possible to connect the SD card module to the due pins as short as possible and with good connections. I have checked with a multimeter and the wiring seems good.
The SD card itself is probably good as I use it on a previous prototype for the same purpose using an Uno and keyes datalogging shield and works well. 32Gb formated to Fat32. It has a txt file in it that was written by the uno.
All example sketches from libraries that I tried fail to initialise the sd card. In particular the Quick Start Example sketch from the SDfat library gives an error that might be of help?
error Code: 0x43
I'm not expecting a quick fix, just would like to learn more and systematically test the system to figure out what I'm doing wrong or what component might be faulty. Also I'm sorry if I'm omitting some important info.
Thanks for the help