HSMMC CONTROLLER
S3C2416X RISC MICROPROCESSOR
20-14
(1) Set the value corresponding to the executed data byte length of one block to Block Size register.
(2) Set the value corresponding to the executed data block count to Block Count Register.
(3) Set the value corresponding to the issued command to Argument register.
(4) Set the value to Multi / Single Block Select and Block Count Enable. And at this time, set the value
corresponding to the issued command to Data Transfer Direction, Auto CMD12 Enable and DMA Enable.
(5) Set the value corresponding to the issued command to Command register.
NOTE:
When writing the upper byte of Command register, SD command is issued.
(6)
And then, wait for the Command Complete Interrupt.
(7)
Write 1 to the Command Complete(STACMDCMPLT) in the Normal Interrupt Status register for clearing
this bit.
(8)
Read Response register and get necessary information in accordance with the issued command.
(9)
In the case where this sequence is for write to a card, go to step (10-W). In case of read from a card, go
to step (10-R).
(10-W) And then wait for Buffer Write Ready Interrupt.
(11-W) Write 1 to the Buffer Write Ready(STABUFWTRDY) in the Normal Interrupt Status register for clearing
this bit.
(12-W) Write block data (in according to the number of bytes specified at the step (1)) to Buffer Data Port register.
(13-W) Repeat until all blocks are sent and then go to step (14).
(10-R) And then wait for the Buffer Read Ready Interrupt.
(11-R) Write 1 to the Buffer Read Ready(STABUFRDRDY) in the Normal Interrupt Status register for clearing
this bit.
(12-R) Read block data (in according to the number of bytes specified at the step (1)) from the Buffer Data Port
register.
(13-R) Repeat until all blocks are received and then go to step (14).
(14)
If this sequence is for Single or Multiple Block Transfer, go to step (15). In case of Infinite Block
Transfer, go to step (17).
(15)
Wait for Transfer Complete Interrupt.
(16)
Write 1 to the Transfer Complete(STATRANCMPLT) in the Normal Interrupt Status register for clearing
this bit.
(17) Perform the sequence for Abort Transaction.
NOTE:
Step (1) and Step (2) can be executed at same time. Step (4) and Step (5) can be executed at same time
Содержание S3C2416
Страница 33: ...S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW 1 5 3 BLOCK DIAGRAM Figure 1 1 S3C2416X Block Diagram ...
Страница 38: ...PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR 1 10 153 AIN 1 U14 195 EINT 10 GPG2 K15 237 SDATA 14 C18 ...
Страница 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Страница 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Страница 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Страница 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Страница 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Страница 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Страница 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Страница 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Страница 455: ...S3C2416X RISC MICROPROCESSOR HSMMC CONTROLLER 20 9 4 9 SD COMMAND ISSUE SEQUENCE Figure 20 9 Timeout Setting Sequence ...
Страница 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Страница 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Страница 653: ...S3C2416X RISC MICROPROCESSOR ELECTRICAL DATA 26 15 Figure 26 14 SDRAM READ WRITE Timing Trp 2 Trcd 2 Tcl 2 DW 16 bit ...
Страница 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...
Страница 672: ...MECHANICAL DATA S3C2416X RISC MICROPROCESSOR 30 2 Figure 27 2 330 FBGA 1414 Package Dimension 2 Bottom View ...