| Electronic Components Datasheet Search |
|
ADIS16505-2/PCBZ Datasheet(PDF) 18 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIS16505-2/PCBZ Datasheet(HTML) 18 Page - Analog Devices |
|
18 / 41 page ![]() ADIS16505 Data Sheet Rev. C | Page 18 of 41 READING SENSOR DATA Reading a single register requires two 16-bit cycles on the SPI: one to request the contents of a register and another to receive those contents. The 16-bit command code (see Figure 40) for a read request on the SPI has three parts: the read bit (R/W = 0), either address of the register, [A6:A0], and eight don’t care bits, [DC7:DC0]. Figure 39 shows an example that includes two register reads in succession. This example starts with DIN = 0x0C00 to request the contents of the Z_GYRO_LOW register, and follows with 0x0E00 to request the contents of the Z_GYRO_OUT register. The sequence in Figure 39 also shows full duplex mode of operation, which means that the ADIS16505 can receive requests on DIN while also transmitting data out on DOUT within the same 16-bit SPI cycle. DIN DOUT 0x0C00 0x0E00 NEXT ADDRESS Z_GYRO_LOW Z_GYRO_OUT Figure 39. SPI Read Example Figure 41 provides an example of the four SPI signals when reading the PROD_ID register (see Table 120) in a repeating pattern. This pattern can be helpful when troubleshooting the SPI interface setup and communications because the signals are the same for each 16-bit sequence, except during the first cycle. R/W R/W A6 A5 A4 A3 A2 A1 A0 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CS SCLK DIN DOUT A6 A5 D13 D14 D15 NOTES 1. DOUT BITS ARE PRODUCED ONLY WHEN THE PREVIOUS 16-BIT DIN SEQUENCE STARTS WITH R/W = 0. 2. WHEN CS IS HIGH, DOUT IS IN A THREE-STATE, HIGH IMPEDANCE MODE, WHICH ALLOWS MULTIFUNCTIONAL USE OF THE LINE FOR OTHER DEVICES. Figure 40. SPI Communication Bit Sequence CS SCLK DIN DOUT DIN = 0x7200 = 0111 0010 0000 0000 DOUT = 0100 0000 0111 1001 = 0x4079 = 16505 (PROD_ID) HIGH-Z HIGH-Z Figure 41. SPI Signal Pattern, Repeating Read of the PROD_ID Register |
|
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 |