hi
I have tried sending CMD0 command through SPI2 with following initialization process
1.After power on 30 msec of delay
2.initializing spi CS = High
3.sending 80 clock pulses using spiReceiveData generated by Halcogen
4.CS = Low, Delay of 16 cycles
5.Transmitting Command using spiTransmitData(spiREG2, ptr, 6, (uint16 *)scrbuf);
uint16scrbuf[6] = {0x40, 0x00, 0x00, 0x00, 0x00, 0x95};
the Problem is SD is not responding to CMD0. In RxBuff while debugging i saw the response as 0xFF but as per the document it should wait for CMD0 response as 0x01 and then send other commands like CMD8 etc.