13.07.2015 Views

VDrive2 Datasheet - FTDI

VDrive2 Datasheet - FTDI

VDrive2 Datasheet - FTDI

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.

2.3 SPI Interface Signal Descriptions and Timing DiagramsPage Table 3 - Data and Control us Signal Mode Options - SPI InterfacePin No. Name Type Description5 SCLK Input SPI Clock input 12MHz maximum.4 SDI Input SPI Serial Data Input2 SDO Output SPI Serial Data Output6 CS Input SPI Chip Select InputFigure 2 - SPI Slave Data Read CycleR/W ADDD7D6D5D4D3D2D1D0SPICLKSPI CSSPI Data InSPI Data Out1 1 0StartFrom Start - SPI CS must be held high for the entire read cycle and must be taken low for at least one clock periodafter the read is copleted. The first bit on SI Data In is the R/W bit - inputting a ‘1’ here allows data to be read frothe chip. The next bit is the address bit ADD which is used to indicate whether the data register (‘0’) or the statusregister (‘1’) is read from. During the SPI read cycle a byte of data will start being output on SPI Data Out on the nextclock cycle after the address bit MSB first. After the data has been clocked out of the chip the status of SI DataOut should be checked to see if the data read is new data. A ‘0’ level here on SPI Data Out means that the data readis new data. A ‘1’ indicates that the data read is old data and the read cycle should be repeated to get new data.Remember that CS must be held low for at least one clock period before being taken high again to continue with thenext read or write cycle.StatusFigure 3 - SPI Slave Data Write CycleR/W ADDD7D6D5D4D3D2D1D0SPICLKSPI CSSPI Data InSPI Data Out1 0 0StartStatusFrom Start - SPI CS must be held high for the entire write cycle and must be taken low for at least one clock periodafter the write is copleted. The first bit on SI Data In is the R/W bit - inputting a ‘0’ here allows data to be writtento the chip. The next bit is the address bit ADD which is used to indicate whether the data register (‘0’) or the statusregister (‘1’) is written to. During the SPI write cycle a byte of data can be input to SPI Data In on the next clock cycleafter the address bit MSB first. After the data has been clocked in to the chip the status of SI Data Out should be<strong>VDrive2</strong> Vinculum VNC1L Module<strong>Datasheet</strong> Version 0.99 © Future Technology Devices International Ltd. 2007

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

Saved successfully!

Ooh no, something went wrong!