![Samsung S3C2416 Скачать руководство пользователя страница 456](http://html.mh-extra.com/html/samsung/s3c2416/s3c2416_user-manual_340824456.webp)
HSMMC CONTROLLER
S3C2416X RISC MICROPROCESSOR
20-10
(1) Check Command Inhibit (CMD) in the Present State register. Repeat this step until Command Inhibit (CMD) is
0. That is, when Command Inhibit (CMD) is 1, the Host Driver shall not issue a SD Command.
(2) If the Host Driver issues a SD Command with busy signal, go to step (3). If without busy signal, go to step (5).
(3) If the Host Driver issues an abort command, go to step (5). In the case of no abort command, go to step (4).
(4) Check Command Inhibit (DAT) in the Present State register. Repeat this step until Command Inhibit (DAT) is
0.
(5) Set the value corresponding to the issued command in the Argument register.
(6) Set the value corresponding to the issued command in the Command register.
NOTE:
Writing the upper byte in the Command register causes a SD command to be issued.
(7) Perform Command Complete Sequence
4.10 COMMAND COMPLETE SEQUENCE
The sequence for completing the SD Command is shown in Figure 20-10. There is a possibility that the errors
(Command Index/End bit/CRC/Timeout Error) occur during this sequence.
(1) Wait for the Command Complete Interrupt. If the Command Complete Interrupt has occurred, go to step (2).
(2) Write 1 to Command Complete(STACMDCMPLT) in the Normal Interrupt Status register to clear this bit.
(3) Read the Response register and get necessary information in accordance with the issued command.
(4) Judge whether the command uses the Transfer Complete Interrupt or not. If it uses Transfer Complete, go to
step (5). If not, go to step (7).
(5) Wait for the Transfer Complete Interrupt. If the Transfer Complete Interrupt has occurred, go to step (6).
(6) Write 1 to Transfer Complete(STATRANCMPLT) in the Normal Interrupt Status register to clear this bit.
(7) Check for errors in Response Data. If there is no error, go to step (8). If there is an error, go to step (9).
(8) Return Status of “No Error”.
(9) Return Status of “Response Contents Error”.
NOTES:
1. While waiting for the Transfer Complete interrupt, the Host Driver shall only issue commands that do not use the busy
signal.
2. The Host Driver shall judge the Auto CMD12(Stop Command) complete by monitoring Transfer Complete.
3. When the last block of un-protected area is read using memory multiple blocks read command (CMD18),
OUT_OF_RANGE error may occur even if the sequence is correct. The Host Driver should ignore it. This error will appear
in the response of Auto CMD12 or in the response of the next memory command.
Содержание 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 ...