MSI Programming Model
Packed commands can be of two types:
• Packed write – CMD23 > CMD25
• Packed read – CMD23 > CMD25 >CMD23 > CMD18
The application software puts packed commands in packets. The packets are transparent to the core. For more infor-
mation on packed commands, refer to the eMMC specification.
Sending Stop or Abort in Middle of Transfer
The STOP command can terminate a data transfer between a memory card and the MSI. The ABORT command
can terminate an I/O data transfer for only the SDIO_IOONLY and SDIO_COMBO cards.
• Send STOP command. Can be sent on the command line while a data transfer is in-progress. This command
can be sent at any time during a data transfer. For information on sending this command, refer to
Non-Data Commands With or Without a Response
mand to set the
MSI_CMD
the MSI_CMD.STPABORTCMD bit is not set to 1, the MSI does not know that the program stopped a data
transfer. Reset the MSI_CMD.WTPRIVDATA bit to 0 in order to make the MSI send the command at once,
even though there is a data transfer in progress.
• Send ABORT command. Can be used with only an SDIO_IOONLY or SDIO_COMBO card. To abort the
function that is transferring data, program the function number in ASx bits (CCCR register of card, address
0x06, bits (0–2)) using CMD52. This command is a non-data command. For information on sending this
command, refer to
Figure 26-11: Command Format for CMD52
1. Program the
MSI_CMDARG
eters for CMDARG Register table.
2. Program the
MSI_CMD
MSI_CMD.STPABORTCMD bit =1, to inform the MSI that the program aborted the data transfer. Reset the
26–40
register bits (5–0) to CMD12 and set the MSI_CMD.STPABORTCMD bit to 1. If
Sending Non-Data Commands With or Without a Response
1
S
D
COMMAND INDEX
R/W FLAG
FUNCTION NUMBER
RAW FLAG
MISCELLANEOUS
REGISTER ADDRESS
MISCELLANEOUS
WRITE DATA OR MISC BITS
CRC
E
register with the appropriate command argument parameters listed in the Param-
register using the command index as CMD52. Similar to the STOP command, set the
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
Sequence. Programs can use an extra setting for this com-
1
6
1
3
1
1
17
Sequence.
1
8
7
1
Sending
Need help?
Do you have a question about the ADSP-SC58 Series and is the answer not in the manual?