Table 11-13: Non-Data Transfer Commands and Requirements
†
SEND_SCR
(ACMD51)
SEND_NUM_
WR_BLOCKS
(ACMD22)
SD_
STATUS
(ACMD13)
LOCK_
UNLOCK
(CMD42)
SEND_WRITE_
PROT (CMD30)
PROGRAM_
CSD (CMD27)
cmd Register Setup
0x33=51
0x16=22
0x0D=13
0x2A=42
0x1E=30
0x1B=27
Cmd_index
1
1
1
1
1
1
Response_
expect
0
0
0
0
0
0
Response_
length
1
1
1
1
1
1
Check_
response_crc
1
1
1
1
1
1
Data_expected
0
0
0
1
0
1
Read/write
0
0
0
0
0
0
Transfer_mode
0
0
0
0
0
0
Send_auto_stop
0
0
0
0
0
0
Wait_prevdata_
complete
0
0
0
0
0
0
Stop_abort_
cmd
cmdarg Register Setup
Stuff
bits
Stuff bits
Stuff
bits
Stuff bits
32-bit write
protect data
address
Stuff bits
blksiz Register Setup
8
4
64
Num_
bytes
(33)
†
4
16
bytcnt Register Setup
8
4
64
Num_
bytes
(33)
†
4
16
Clock Control Block
The clock control block provides different clock frequencies required for SD/MMC/CE-ATA cards. The
clock control block has one clock divider, which is used to generate different card clock frequencies.
†
The clock frequency of a card depends on the following clock
ctrl
register settings:
†
(33)
Num_bytes = Number of bytes specified as per the lock card data structure. Refer to the SD specification and
the MMC specification.
†
Altera Corporation
SD/MMC Controller
11-25
Clock Control Block
cv_54011
2013.12.30