| 数据搜索系统,热门电子元器件搜索 |
|
ADIS16228/PCBZ 数据表(PDF) 8 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIS16228/PCBZ 数据表(HTML) 8 Page - Analog Devices |
|
8 / 28 page ![]() ADIS16228 Data Sheet Rev. B | Page 8 of 28 BASIC OPERATION The ADIS16228 uses a SPI for communication, which enables a simple connection with a compatible, embedded processor platform, as shown in Figure 8. The factory default configuration for DIO1 provides a busy indicator signal that transitions low when an event completes and data is available for user access. Use the DIO_CTRL register (see Table 66) to reconfigure DIO1 and DIO2, if necessary. SYSTEM PROCESSOR SPI MASTER ADIS16228 SCLK CS DIN DOUT SCLK SS MOSI MISO 3.3V IRQ2 IRQ1 DIO2 VDD I/O LINES ARE COMPATIBLE WITH 3.3V OR 5V LOGIC LEVELS 14 13 11 12 7 DIO1 15 1 2 3 4 5 8 Figure 8. Electrical Hook-Up Diagram Table 6. Generic Master Processor Pin Names and Functions Pin Name Function SS Slave select SCLK Serial clock MOSI Master output, slave input MISO Master input, slave output IRQ1, IRQ2 Interrupt request inputs (optional) The ADIS16228 SPI interface supports full duplex serial communication (simultaneous transmit and receive) and uses the bit sequence shown in Figure 12. Table 7 provides a list of the most common settings that require attention to initialize a processor serial port for the ADIS16228 SPI interface. Table 7. Generic Master Processor SPI Settings Processor Setting Description Master The ADIS16228 operates as a slave. SCLK Rate ≤ 2.5 MHz Bit rate setting. SPI Mode 3 Clock polarity/phase (CPOL = 1, CPHA = 1). MSB First Bit sequence. 16-Bit Shift register/data length. Table 8 provides a list of user registers with their lower byte addresses. Each register consists of two bytes that each has its own unique 7-bit address. Figure 9 relates the bits of each register to their upper and lower addresses. UPPER BYTE 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 LOWER BYTE Figure 9. Generic Register Bit Definitions SPI WRITE COMMANDS User control registers govern many internal operations. The DIN bit sequence in Figure 12 provides the ability to write to these registers, one byte at a time. Some configuration changes and functions require only one write cycle. For example, set GLOB_CMD[11] = 1 (DIN = 0xBF08) to start a manual capture sequence. The manual capture starts immediately after the last bit clocks into DIN (16th SCLK rising edge). Other configurations may require writing to both bytes. CS DIN SCLK Figure 10. SPI Sequence for Manual Capture Start (DIN = 0xBF08) SPI READ COMMANDS A single register read requires two 16-bit SPI cycles that also use the bit assignments that are shown in Figure 12. The first sequence sets R/W = 0 and communicates the target address (Bits[A6:A0]). Bits[D7:D0] are don’t care bits for a read DIN sequence. DOUT clocks out the requested register contents during the second sequence. The second sequence can also use DIN to set up the next read. Figure 11 provides a signal diagram for all four SPI signals while reading the PROD_ID. In this diagram, DIN = 0x5600 and DOUT reflects the decimal equivalent of 16,228. DOUT = 0011 1111 0110 0100 = 0x3F64 = 16,228 = PROD_ID SCLK CS DIN DOUT Figure 11. Example SPI Read, PROD_ID, Second Sequence R/W R/W A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 DB8 DB9 DB10 DB11 DB12 DB13 DB14 DB15 NOTES 1. DOUT BITS ARE BASED ON THE PREVIOUS 16-BIT SEQUENCE (R/W = 0). CS SCLK DIN DOUT A6 A5 DB13 DB14 DB15 Figure 12. Example SPI Read Sequence |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |