S3C2416X RISC MICROPROCESSOR
HSMMC CONTROLLER
20-25
5.7 COMMAND REGISTER
This register contains the SD Command Argument.
Register
Address
R/W
Description
Reset Value
CMDREG0 0X4AC0000E R/W Command Register (Channel 0)
0x0
CMDREG1 0X4A80000E R/W Command
Register (Channel 1)
0x0
The Host Driver shall check the
Command Inhibit (DAT)
bit and
Command Inhibit (CMD)
bit in the
Present
State
register before writing to this register. Writing to the upper byte of this register triggers SD command
generation. The Host Driver has the responsibility to write this register because the Host Controller does not
protect for writing when
Command Inhibit (CMD)
is set.
Name
Bit
Description
Initial Value
[15:14]
Reserved
CMDIDX [13:8]
Command Index
These bits shall be set to the command number (CMD0-63, ACMD0-
63) that is specified in bits 45-40 of the Command-Format in the SD
Memory Card Physical Layer Specification and SDIO Card
Specification.
CMDTYP [7:6]
Command Type
There are three types of special commands: Suspend, Resume and
Abort.
These bits
shall
be set to 00b for all other commands.
•
Suspend Command
If the Suspend command succeeds, the Host Controller shall assume
the SD Bus has been released and that it is possible to issue the next
command which uses the
DAT
line. The Host Controller shall de-assert
Read Wait for read transactions and stop checking busy for write
transactions. The interrupt cycle shall start, in 4-bit mode. If the
Suspend command fails, the Host Controller shall maintain its current
state, and the Host Driver shall restart the transfer by setting
Continue
Request
in the
Block Gap Control
register.
•
Resume Command
The Host Driver re-starts the data transfer by restoring the registers in
the range of 000-00Dh. (Refer to Suspend and Resume mechanism)
The Host Controller shall check for busy before starting write transfers.
•
Abort Command
If this command is set when executing a read transfer, the Host
Controller shall stop reads to the buffer. If this command is set when
executing a write transfer, the Host Controller shall stop driving the
DAT
line. After issuing the Abort command, the Host Driver should
issue a software reset. (Refer to Abort Transaction)
11b = Abort CMD12, CMD52 for writing “I/O Abort” in CCCR
10b = Resume CMD52 for writing “Function Select” in CCCR
01b = Suspend CMD52 for writing “Bus Suspend” in CCCR
00b = Normal Other commands
Summary of Contents for S3C2416
Page 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Page 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Page 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Page 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Page 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Page 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Page 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Page 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Page 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Page 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Page 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...