English
Language : 

S3C2400 Datasheet, PDF (383/488 Pages) Samsung semiconductor – RISC MICROPROCESSOR
S3C2400 RISC MICROPROCESSOR
MMC INTERFACE
MMCRR REGISTER SETTING ACCORDING TO MULTI MEDIA CARD CMD
CMD No.
CMD0
CMD2
CMD4
CMD7
CMD7
CMD9
CMD10
CMD11
CMD12
CMD15
CMD17
CMD18
CMD20
CMD24
CMD25
CMD26
CMD27
CMD28
CMD29
CMD30
CMD38
other
Operation
Go Idle
All Send CID
Set DSR
Card select
Card deselect
Send CSD
Send CID
Read Seq Data
Stop Transfer
Go Inactive State
Read Single
Block
Read Multi Block
Write Seq Data
Write Single
Block
Write Multi Block
Program CID
Program CSD
Set Write Protect
Clr Write Protect
Send Write
Protect
Erase
The Other CMD
RTYP
0
3
0
1
0
3
3
1
1
0
1
1
1
1
1
1
1
2
2
1
2
1
MULTI
0
0
0
0
0
0
0
0
0
0
0
set
0
0
set
0
0
0
0
0
0
0
SEQ
0
0
0
0
0
0
0
set
0
0
0
0
set
0
0
0
0
0
0
0
0
0
STOP
0
0
0
0
0
0
0
0
set
0
0
RCMD
0
0
0
0
0
0
0
set
0
0
set
WCMD
0
0
0
0
0
0
0
0
0
0
0
Finish Flag
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Data
Normal
Normal
Data
0
set
0
0
0
set
0
0
set
Data
Data
Data
0
0
set
Data
0
0
set
Data
0
0
Set
Data
0
0
0
Normal
0
0
0
Normal
0
set
0
Data
0
0
0
Normal
0
0
0
Normal
NOTE:
If you transmit CMD2 several times moer than the number of cards attatched, you must add to transmit dummy
data through CMD bus. You can know the number of cards attatched when NCFIN flag wll not set although 189
MMCCLK cycles running(during the minimum length loop of 160 times) after starting CMD2. Typical value of
dummy data are 0x00, 0x00, 0x00, 0x00, 0x00(5bytes). You put these value in the MMCMD0, MMCMD1 register,
and then set MMCRR register to 0x01.
19-6