Go Down

Topic: SD Card adapter not initialized (Read 920 times) previous topic - next topic

ecaits

I am using catalex make micro sd card adapter as attached in picture.
I have connected pin of sd card adapter to arduino mega board as per given below.

Adapter  Mega

CS       - 53
SCK     - SCK
MISO   - MISO
MOSI   - MOSI
VCC     - 5V
GND    - GND

But the card is not initialized.
Is it may be the problem of adapter or anything else?

Nick_Pyner

It is possible to use pin 53 for CS but your secret code needs to specifically say that, and code normally uses pin 4 for CS irrespective of it being for Mega or Uno.
Ensure your card is formatted in the kosher manner., There is a sticky here to that effect.

Go Up