| Electronic Components Datasheet Search |
|
SH7721 Datasheet(PDF) 1160 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7721 Datasheet(HTML) 1160 Page - Renesas Technology Corp |
|
1160 / 1524 page ![]() Section 31 MultiMediaCard Interface (MMCIF) Rev. 3.00 Jan. 18, 2008 Page 1098 of 1458 REJ09B0033-0300 31.5.2 Operation of Write Sequence For transfer with DMAC, set MMCIF (DMACR) after setting DMAC. The FIFO ready flag is generated after DMACR is set and data more than threshold set in DMACR is written to the FIFO. Start transmission to the MMC after setting the flag. Figures 31.28 to 31.31 show the operational flowcharts for write sequence in MMC mode. • FIFO is cleared. • Write command is transmitted. • DMACR is set and write data is set to the FIFO. • Confirmed that the data more than DMACR setting condition is written to the FIFO by the FIFO ready flag (FRDYI), or that all data is written to the FIFO by the DMAC, and then the DATAEN bit in OPCR is set to 1 to start write data transmission. • The end of the transfer with the DMAC is confirmed, and 0 is set to the DMAEN bit in DMACR. • When the CRC error (CRCERI) or the command timeout error (CTERI) occurs during command response reception, write 1 to the CMDOFF bit. • When the CRC error (CRCERI), write error (WRERI), or data timeout error (DTERI) occurs during write data transmission, 1 is written to the CMDOFF bit and DMACR is set to H'00 to clear the FIFO. When the DMA is in use, an interrupt between blocks in pre-defined multiblock transfer can be processed by hard by setting the AUTO bit in DMACR to 1. Figure 31.32 shows the operational flowchart for pre-defined multi write sequence in MMC mode. • FIFO is cleared. • The number of blocks is set to TBNCR. • The START bit in CMDSTRT is set to 1 and command transmission is started. • Command response is received from the MMC. • If the MMC does not return the command response, it detected by the command timeout error flag (CTERI). • DMACR is set and write data is set to the FIFO. • The end of the transfer with the DMAC is confirmed, and 0 is set to the DMAEN bit in DMACR. • Command sequence end is detected by polling the BUSY flag in CSTR or the multiblock transfer (pre-defined) end flag (BTI). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |