www.ti.com
Peripheral Architecture
2.9.7.8Determining When Last Data has Been Written to Card (SanDisk SD cards)
Some SanDisk brand SD™ cards exhibit a behavior that requires a
2.9.7.9Checking For a Data Transmit Empty Condition
During transmission, a data value is passed from the MMC data transmit register (MMCDXR) to the data transmit shift register. The data is then passed from the shift register to the memory card one bit at a time. The DXEMP bit in MMCST1 indicates when the shift register is empty.
Typically, the DXEMP bit is not used to control data transfers; rather, it is checked during recovery from an error condition. There is no interrupt associated with the DXEMP bit.
2.9.7.10Checking for a Data Receive Full Condition
During reception, the data receive shift register accepts a data value one bit at a time. The entire value is then passed from the shift register to the MMC data receive register (MMCDRR). The DRFUL bit in MMCST1 indicates that when the shift register is full no new bits can be shifted in from the memory card.
The DRFUL bit is not typically used to control data transfers; rather, it is checked during recovery from an error condition. There is no interrupt associated with the DRFUL bit.
2.9.7.11Checking the Status of the SD_CLK Pin
Read the CLKSTP bit in MMCST1 to determine whether the memory clock has been stopped on the SD_CLK pin.
2.9.7.12Checking the Remaining Block Count During a
During a transfer of multiple data blocks, the MMC number of blocks counter register (MMCNBLC) indicates how many blocks are remaining to be transferred. The MMCNBLC is a
26 | Multimedia Card (MMC)/Secure Digital (SD) Card Controller | SPRUE30B |