Question
SDIO driver
hi fellows, i'm developing the SD card application for STM32f429 discovery boards. i have the FATFS software with myself. my point i want to develop my own driver for SD card i don't want use HAL driver . i developed the initialization code for SD card. i didn't get the card response command and card status to my commands . i'm writing the CMD8 with argument (set voltage 3v3). but i didn't get response. i need to know the programming flow. i'm attaching my code along with this. so kindly help me to know better.
SDIO->CLKCR|=(158<<0 | 1<<14); // SDIO_CK sets to 300KHZ & Enalbe the Hardware flow control.
SDIO->CLKCR|=(1<<8); // Enables the SDIO_CK
SDIO->CMD|=(1<<12 | 3<<9 | 7<<6 | 0<<0); // send CMD0 to card, which makes software reset.
SDIO->CMD|=(8<<0); // send CMD8 to card, set operation voltage.
SDIO->ARG|=(0x190); // send argument with CRC code.