SanDisk SD Card
SanDisk SD Card
SanDisk SD Card
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Revision 2.2Chapter 5 – SPI Protocol<strong>SD</strong> <strong>Card</strong> Product ManualHost Command to <strong>Card</strong> Response—<strong>Card</strong> is BusyCSH L L L*******************LL L L H H H LL L L L L H HN CSN ECN DSN ECData InX H H HH 6 byte cmd H H H H H H H H H H HH H X X X H HHH H H X XData OutZ Z H H HN CRH ******** H H H H <strong>Card</strong> resp. Busy L Z Z Z BusyH H H H Z<strong>Card</strong> Response to Host CommandCSL L L L L*******************LL H H H HData InH H H HHH****************H H H H 6-byte commandHHH X X X XData OutH H H HHN CR1 or 2 byte resp. H H H H********************* H HH H Z Z Z5.23.3 Data ReadThe following timing diagram describes all single block read operations with the exceptionof SEND_C<strong>SD</strong> command.Single Block Read TimingCSH L L L***************************************L L L H H H HN CSN ECData InX H H HHRead Command H H H H H***********************HHH X X X XData OutZ Z H H HH********HN CRH H HN AC<strong>Card</strong> resp. H H H H Data Block H HH H Z Z ZThe following figure describes a Stop Transmission operation in case Multiple Block Readoccurs.Multiple Block Read TimingCSL L L L*******************Data InN CSX H H H Hstop tran cmd H H H H H ***************Data OutN CRdata transfer to host H Hcard response HReading the C<strong>SD</strong> RegisterThe following timing diagram describes the SEND_C<strong>SD</strong> command bus transaction. Thetimeout values for the response and the data block are N CR (because the N AC is stillunknown).Reading the C<strong>SD</strong> RegisterCSH L L L*******************LLL H H H HData InN CSN ECX H H H H read command H H H H H*********************H H H X X X XN CXData OutZ Z H HHN CRH ********** H H H H card response H H H H data blk H HH H Z Z Z© 2004 <strong>SanDisk</strong> Corporation 5-18 12/08/04