cancel
Showing results for 
Search instead for 
Did you mean: 

SD card initialization sequence

Tamas Novak
Associate III
Posted on January 06, 2015 at 14:07

I'm struggling with SD card handling. If anyone has a working config of

- STM32F429 or 427

- SD card

- Cube MX generated code

and able to make a oscilloscope recording, please send me the proper init sequence. 

For me it is

1) CMD0 (payload 0x00 0x00 0x00 0x00, no response required)

2) CMD8 (payload 0x00 0x00 0x01 0xaa),

3) no response in 200usec

4) CMD55 (payload 0x00 0x00 0x00 0x00)

but no response from the card, and no more messages sent to card.

I don't know if this is a card error, SD socket error, PCB/soldering error, or (CubeMX generated) code error.

#sd-card-stm32f427/429-cube-mx
1 REPLY 1
Posted on January 09, 2015 at 18:18

Hi,

I don't really have enough insight into what specifically you are doing, and how. Are you using an ST board based on STM32 or you're making your own one ? What version of STM32CubeMX and STM32CubeF4_FW are you using ?

Please provide us more details to fully understand your problem.

Regards,

Heisenberg.