• card type
• timeout registers
If the MSI_CMD.DXPECT bit =1, the new command is a data transfer command and the datapath starts one of the
following:
• Data transmit if the MSI_CMD.RDWR (read/write) bit =1
• Data receive if MSI_CMD.RDWR (read/write) bit 0
Auto-Stop
The MSI internally generates a stop command and is loaded in the command path when the
MSI_CMD.SENDASTOP bit is set. The auto-stop command helps to send an exact number of data bytes using a
stream read or write for the MMC, and a multiple-block read or write for the SD memory transfer for SD cards.
The software must set the MSI_CMD.SENDASTOP bit according to details listed in the Auto-Stop Generation
table.
Table 26-9: Auto-Stop Generation
Card Type
Transfer Type
MMC
Stream read
Stream read
Stream write
Stream write
Single-block read
Single-block write
Multiple-block read
Multiple-block read
Multiple-block write
Multiple-block write
SDMEM
Single-block read
Single-block write
Multiple-block read
Multiple-block read
Multiple-block write
Multiple-block write
SDIO
Single-block read
Single-block write
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
Byte
MSI_CMD.
SENDASTOP bit =1
Count
0
No
>0
Yes
0
No
>0
Yes
>0
No
>0
No
0
No
>0
*1
Yes
0
No
>0
Yes
>0
No
>0
No
0
No
>0
Yes
0
No
>0
Yes
>0
No
>0
No
Comments
Open-ended stream
Auto-stop after all bytes transfer
Open-ended stream
Auto-stop after all bytes transfer
Byte count = 0 is illegal
Byte count = 0 is illegal
Open-ended multiple block
Pre-defined multiple block
Open-ended multiple block
Pre-defined multiple block
Byte count = 0 is illegal
Byte count = 0 is illegal
Open-ended multiple block
Auto-stop after all bytes transfer
Open-ended multiple block
Auto-stop after all bytes transfer
Byte count = 0 is illegal
Byte count = 0 is illegal
Card Interface Unit
26–19
Need help?
Do you have a question about the ADSP-SC58 Series and is the answer not in the manual?