Response Formats; R1—Normal Response - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Multimedia Card/Secure Digital Host Controller Module (MMC/SD)
Table 20-25. Commands for MMC/SD Module (Continued)
CMD
Type
INDEX
ACMD22
ADTC
[31:0] stuff bits
ACMD23
AC
[31:23] stuff bits
[22:0] number
of blocks
ACMD41
BCR
[31:0] OCR
ACMD42
AC
[31:1] stuff bits
[0] SET_CD
ACMD51
ADTC
[31:0] stuff bits
1.
1—The MMC/SD module receives a block of data from the card
0—The MMC/SD module sends a block of data to the card

20.7.8.5 Response Formats

Table 20-25 on page 20-56 lists all commands supported by the MMC/SD module and their response
formats. All responses are sent via the command line SD_CMD. The response transmission always starts
with the left bit of the bit stream corresponding to the response codeword. The code length depends on the
response type.
The first two bits of the response are the start bit and the direction bit. The second bit indicates the
direction of transmission. Other response bits are dependent on the type of response.
Table 20-26 through Table 20-32 describe the command response formats. In the tables a value denoted by
indicates a variable entry. All responses except for type R3 are protected by a CRC. Every command
x
codeword is terminated by the end bit.
20.7.8.5.1 R1—Normal Response
Response length is 48 bits
Bits 45:40 contain the binary-coded number of the command index generating the response
The status of the card is coded in 32 bits (Card Status Register)
When data transfer to the card is involved, a busy signal can appear on the
data line after the transmission of each block of data. The MMC/SD
module must check for busy after data block transmission.
20-60
Response
Argument
Format
R1
R1
R3
R1
R1
MC9328MX1 Reference Manual
Abbreviation
SEND_NUM_
Sends the number of written (without
WR_SECTORS
errors) sectors. Responds with 32
bit + CRC data block.
SET_WR_BLK
Sets the number of write blocks to be
_ERASE
pre-erased before writing (used for
_COUNT
faster execution of the
WRITE_MULTIPLE_BLOCK (CMD
25). 1 = default (one write block).
SD_APP_OP
Asks the accessed card to send its
_COND
operating condition register (OCR)
content on the SD_CMD line.
SET_CLR_
Connects (1) or disconnects (0) the 50
CARD_DETECT
kOhm pull-up resistor on the
CD/SD_DAT [3] (pin 1) of the card.
The pull-up is used for card detection.
SEND_SCR
Reads the SD Configuration Register.
NOTE:
Description
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents