| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 212 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 212 Page - Microchip Technology |
|
212 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 212 2013 - 2014 Microchip Technology Inc. If the SDC is operating in MMC Streaming mode, the transfer is started and stopped manually by the Processor. The length is ignored and the device is programmed to stream data. In all probability the FMDU endpoint is programmed for continuous operation. Once streaming starts, it continues until a new command is issued. If the FMDU endpoint is not programmed for continuous mode, the streaming ends when the block transfer is complete. 19.3.2.1 SD/MMC FMDU Command – NEW_READ The SDC goes through the following steps: 1. If the media is greater than 4Gbyte, then LBA is used. If is less than 4GByte, the length is converted into a byte address by multiplying the length by 512. The length is loaded into an internal length counter. 2. The starting address is converted to a byte address by multiplying the block address by 512. If in MMC streaming mode (MMC_STREAM = 1) then length has no meaning. 3. If there is a transaction in progress, close the current transaction with a stop command.The appropriate SD read multiple command is generated to the media using the starting address calculated above. 4. The response from the media is checked for errors, if there is no error, the SDC kicks off the DMA. 5. Once the DMA starts, the SDC controller tracks the data transfer. When the length counter goes to zero, the clocks stop to the media at the correct bit number, including control bits. 6. When the DMA is over, the SDC will freeze in the current busy state if the CONT_RD bit is set. If the CONT_RD is not set, the SDC closes the transaction by sending a stop command to the media and goes to the Idle state. If a new command does not come within 1ms, the SDC will terminate the transaction by sending a stop command to the media. 19.3.2.2 SD/MMC FMDU Command – CONTINUE_READ The SDC goes through the following steps: 1. If the media is greater than 4Gbyte, then LBA is used. If is less than 4GByte, the length is converted into a byte address by multiplying the length by 512. The length is loaded into an internal length counter. 2. If there is a transaction in progress, the SDC signals the FMDU that it is ready. The FMDU kicks off the DMA. Go to step 6. 3. If there is not a transaction in progress, the starting address is converted to a byte address by multiplying the block address by the 512. 4. The appropriate SD read multiple command is generated to the media using the starting address calculated above. 5. The response from the media is checked for errors, if there is no error, the SDC kicks off the DMA. 6. Once the DMA starts, the SDC controller decrements its length counter every byte. When the length counter goes to zero, the clocks stop to the media at the correct bit number, including control bits. 7. When the DMA is over, the SDC will freeze in the current busy state if the CONT_RD bit is set. If the CONT_RD is not set, the SDC closes the transaction by sending a stop command to the media and goes to the Idle state. If a new command does not come within 1ms, the SDC will terminate the transaction by sending a stop command to the media. 19.3.2.3 SD/MMC FMDU Command – NEW_WRITE The SDC is Idle and a NEW_WRITE comes in. The SDC goes through the following steps: 1. If the media is greater than 4Gbyte, then LBA is used. If is less than 4GByte, the length is converted into a byte address by multiplying the length by 512. The length is loaded into an internal length counter. If in MMC streaming mode (MMC_STREAM = 1) then transfer length has no meaning. 2. The starting address is converted to a byte address by multiplying the block address by the 512. The starting address is loaded into an internal start address. 3. If there is a transaction in progress, close the current transaction with a stop command. 4. The SDC generates an APP Command to the media using the RCA programmed in the RCA register. 5. If the CONT_WR bit is NOT set, the SDC will generate the appropriate multi-block pre-erase commands to the media. If it is set, the pre-erase will not be used. 6. The SDC will generate the write multiple command to the media using the starting address calculated before. 7. With each command the response from the media is checked for errors, if there is no error, the SDC kicks off the DMA. 8. Once the DMA starts, the SDC controller advances its internal start address every byte, and decrements its |
|
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 |