Hi!
I'm working withTMS320VC5509A and I'm trying to support sdhc cards in this CPU. According Texas, this changes could be done using C5515 CSL. The card identification occurs well, but I'm having some reading troubles. Right now the code is stuck waiting for a read flag that never comes. The code below show the where exactly i'm stuck.
do{
status = hMmcsd->mmcRegs->st0;
//printf("status = 0x%x\n", status);
if((status & CSL_MMCSD_DATA_TOUT_CRC_ERROR) != 0){
reIssueReadFlag = 1;
break;
}
} while((status & CSL_MMCSD_READ_READY) != CSL_MMCSD_READ_READY);
Does anyone have any idea to help me?
Thanks in advance.
Filipe Meyer