Specifications
118 Issue Date: 2004/11/05 │ CONFIDENTIAL
CL765 │ Camera Application Processor
Datasheet
│ Doc. #: CLQP-DS-743
4.20.4.2. SD Core Read from Card, No FAT Table Pre-read
Polling Mode
1) Set TrNum_L(20h). (C)
2) Set DmEn(15) and DmBkNum(1:0) of DmaCtl(82h). (C)
3) Set SdArg_L and SdArg_H(08h, 0Ah). (C)
4) Set SdCmHit(15), SdCmd(5:0) and RspR(14:12) of SdCtl_L(04h). (C)
5) When SD I/F checks SdCmHit, SdCmSm block transmits a command. (S)
6) SD I/F waits for a relative response after transmitting the command. (S)
7) When a relative response is received, SD I/F decodes this and stores in
SdRsp[0-4]_L and SdRsp[0-4]_H(0x0C-0x1E). (S)
8) Read SdRsp. (C)
9) Set SdDrHit(4) of SdCtl_H(06h). (C)
10) When SD I/F checks SdDrHit, SD I/F waits for Data. When start bit is
detected, SD I/F receives Data from SD card. (S)
11) Fill 16bit and write in 16bit register; 256*16*2 DMA buffer. (S)
12) CPU reads RdDtReg(8Ch) of DMA.(C)
13) After completing transmissions as many as the number of TrNUMs, SD I/F
generates an interrupt. (S)
14) After completing all transmissions, CPU activates DmIdle of DMA. (C)
Figure 4-50. SD Polling Mode Read without FAT










