Other Parts Discussed in Thread: TMS320F28063, CONTROLSUITE, CSD
I'm referring the SD card interfacing document by Pradeep and Tim from TI at:
In the sample program, I have changed the device and example header file. I'm using clock of 80 MHz , 8 GB SDHC card and catalex card adapter.
When I run the example program given by TI, I get error and program stops at asm(" ESTOP0");, 8 clock pulses were obtained :
//############################### SD_ERROR ###################################
void sd_error()
{
//For this example all errors are sent to this trap function. Specific application
//will have to be written to handle errors.
CS_HIGH; // Pull CS high
//After receiving response clock must be active for 8 clock cycles
EIGHT_CLOCK_CYCLE_DELAY;
asm(" ESTOP0"); // Emulation stop
for(;;){}; //Loop forever
}
//############################### SD_ERROR ###################################
If I comment the error lines:
// asm(" ESTOP0"); // Emulation stop
// for(;;){}; //Loop forever
clock pulses are obtained but the select doesn't go low.
Please help on understanding SD card read and write from F28063 and suggest changes in program and hardware.
Hoping for a reply.


