10.07.2015 Views

SanDisk SD Card

SanDisk SD Card

SanDisk SD Card

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Revision 2.2Chapter 3 – <strong>SD</strong> <strong>Card</strong> Interface Description<strong>SD</strong> <strong>Card</strong> Product Manual3.3 SPI Bus TopologyThe <strong>SD</strong> <strong>Card</strong> SPI Interface is compatible with SPI hosts available on the market. Similar toany other SPI device, the <strong>SD</strong> <strong>Card</strong> SPI channel consists of the following four signals:• CS—Host-to-card Chip Select signal• CLK—Host-to-card Clock signal• DataIn—Host-to-card Data signal• DataOut—<strong>Card</strong>-to-host Data signalAnother SPI common characteristic implemented in the <strong>SD</strong> <strong>Card</strong> are byte transfers. Alldata tokens are multiples of 8-bit bytes and always byte-aligned to the CS signal. The SPIstandard defines the physical link only and not the complete data transfer protocol. In SPIbus mode, the <strong>SD</strong> <strong>Card</strong> uses a subset of the <strong>SD</strong> <strong>Card</strong> protocol and command set.The <strong>SD</strong> <strong>Card</strong> identification and addressing algorithms are replaced by the hardware CSsignal. A card (slave) is selected for every command by asserting the CS signal (activelow). Refer to Figure 3-2.The CS signal must be continuously active for the duration of the SPI transaction(command, response and data). The only exception is card-programming time. At this timethe host can de-assert the CS signal without affecting the programming process.The bi-directional CMD and DAT lines are replaced by unidirectional dataIn and dataOutsignals. This eliminates the ability to execute commands while data is being read or writtenwhich prevents sequential multi read/write operations. The Stop Transmission commandcan be sent during data read. In the multi block write operation a Stop Transmission tokenis sent as the first byte of the data block.Figure 3-4<strong>SD</strong> <strong>Card</strong> Bus SystemPower SupplySPI Bus MasterCSCSSPI Bus (CLK, DataIn, DataOut)SPI <strong>Card</strong>SPI <strong>Card</strong>© 2004 <strong>SanDisk</strong> Corporation 3-5 12/08/04

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

Saved successfully!

Ooh no, something went wrong!