10.07.2015 Views

SanDisk SD Card

SanDisk SD Card

SanDisk SD Card

SHOW MORE
SHOW LESS

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 4 – <strong>SD</strong> <strong>Card</strong> Protocol Description<strong>SanDisk</strong> <strong>SD</strong> <strong>Card</strong> Product Manual4 <strong>SD</strong> <strong>Card</strong> Protocol Description4.1 <strong>SD</strong> Bus ProtocolCommunication over the <strong>SD</strong> bus is based on command and data bit streams, which areinitiated by a start bit and terminated, by a stop bit:• Command—token that starts an operation. A command is sent from the host either to asingle card (addressed command) or to all connected cards (broadcast command). Acommand is transferred serially on the CMD line.• Response—token that is sent from an addressed card, or (synchronously) from allconnected cards, to the host as an answer to a previously received command. Aresponse is transferred serially on the CMD line.• Data—Data can be transferred from the card to the host or vice versa. Data istransferred via the data lines.Figure 4-1 “No Response” and “No Data” OperationsFrom hostto card(s)From hostto cardFrom cardto hostCMDCommandCommandResponseDATOperation (no response)Operation (no data)<strong>Card</strong> addressing is implemented using a session address that is assigned to the card duringthe initialization phase. The basic transaction on the <strong>SD</strong> bus is the command/responsetransaction (see Figure 4-1). This type of bus transaction transfers their information directlywithin the command or response structure. In addition, some operations have a data token.Data transfers to and from the <strong>SD</strong> <strong>Card</strong> are done in blocks. CRC bits always follow datablocks. Single and multiple block operations are defined. Note that the Multiple BlockOperation mode is better for faster write operation. A multiple block transmission isterminated when a stop command follows on the CMD line. The host can configure a datatransfer to use single or multiple data lines (provided the card supports this feature).© 2004 <strong>SanDisk</strong> Corporation 4-1 12/08/04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!