在看TMS320VC5509 DSP MultiMediaCard / SD Card Controller Reference Guide这个文档时,在
Figure 2−2. Single-Block Read Operation (MMC Protocol)这个操作中,
2) Check the BSYDNE bit of MMCST0 or the BUSY bit of MMCST1 to
determine whether the card is busy. If the card is busy, wait. Otherwise,
read the response from MMCCIDX and MMCRSP7−MMCRSP5. The
response should indicate that the card is in its transfer (tran) state.
这些回复状态,对我下一步操作有影响吗(我下一步操作需要用到这些response吗)?
我现在想做的是更改CSL提供的读写SD卡程序retVal = MMC_read(mmc0,addr,datareceive,512);(因为要使能DMA搬运数据)
将其改变为发送命令并对其操作的语句,发送命令的语句想直接借用CSL里面的语句
void MMC_sendCmd(
MMC_Handle mmc,
Uint16 cmd,
Uint16 argh,
Uint16 argh,
Uint16 waitForRsp,
);