| Electronic Components Datasheet Search |
|
AFE032 Datasheet(PDF) 26 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
AFE032 Datasheet(HTML) 26 Page - Texas Instruments |
|
26 / 77 page ![]() AFE032 SBOS669A – AUGUST 2013 – REVISED DECEMBER 2013 www.ti.com SPI Mode Holding the DAC pin low places the device in SPI mode. The following rules apply to the SPI slave operation when the device is in SPI mode: • Each SPI operation is 16 bits wide. • The CS pin is set to '0' for each 16-bit SPI operation. • The CS pin is set to '1' between consecutive SPI operations. • A minimum of ten DAC_CLK cycles must be inserted after a write operation and a minimum of five DAC_CLK cycles must be inserted after a read operation. During these cycles, the CS pin is set to '1'. • The device DIN pin value is latched in during the SCLK rising edge. • The device drives DOUT on the SCLK falling edge. • DOUT assumes a high-impedance state when CS is set to '1'. During an SPI operation in SPI mode, the following protocol is applied to the DIN pin by the SPI master: • The first bit of the operation is the read and write (R/W) bit. An SPI read is specified when an R/W bit is '1'. An SPI write is specified when an R/W bit is '0'. • The next seven bits are the SPI address. • The next eight bits are the SPI data. Table 5 lists a complete example of the 16-bit codeword format. Table 5. 16-Bit Codeword Format for an SPI Operation in SPI Mode LOCATION BIT NAME (0 = LSB, 15 = MSB) FUNCTION DATA0 0 LSB of SPI data DATA1 1 SPI data DATA2 2 SPI data DATA3 3 SPI data DATA4 4 SPI data DATA5 5 SPI data DATA6 6 SPI data DATA7 7 MSB of SPI data ADDR0 8 LSB of register address bit ADDR1 9 Register address bit ADDR2 10 Register address bit ADDR3 11 Register address bit ADDR4 12 Register address bit ADDR5 13 Register address bit ADDR6 14 MSB of register address bit R/W 15 Read or write: 0 = write, 1 = read During an SPI operation, the following protocol is applied to the DOUT pin: • If the current SPI operation from the master is a write operation, the AFE032 displays the previous operation received from the master on DOUT. • If the current SPI operation from the master is a read operation, the AFE032 displays the R/W bit of the previous operation followed by the 7-bit address of the previous operation on DOUT. The remaining eight bits that follow depend on whether the previous operation was a read or write operation. – If a read request immediately follows a write operation, then the last eight bits are whatever was written to the device on DIN by the SPI master. – If a read request immediately follows a read operation, then the last eight bits are the contents of the AFE032 address used in the previous read operation. Note that two SPI operations are required for the device to transmit status bits over the SPI. The first operation provides the AFE032 with the SPI register address to be read. The second operation transfers the data. 26 Submit Documentation Feedback Copyright © 2013, Texas Instruments Incorporated Product Folder Links: AFE032 |
|
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 |