| Electronic Components Datasheet Search |
|
ADXL363 Datasheet(PDF) 21 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADXL363 Datasheet(HTML) 21 Page - Analog Devices |
|
21 / 48 page ![]() Data Sheet ADXL363 Rev. 0 | Page 21 of 48 SERIAL COMMUNICATIONS The ADXL363 communicates via a 4-wire SPI and operates as a slave. Ignore data that is transmitted from the ADXL363 to the master device during writes to the ADXL363. As shown in Figure 36 to Figure 40, the MISO pin is in a high impedance state, held by a bus keeper, except when the ADXL363 is sending read data (to conserve bus power). Wire the ADXL363 for SPI communication as shown in the connection diagram in Figure 35. The recommended SPI clock speeds are 1 MHz to 5 MHz, with 12 pF maximum loading. The SPI timing scheme follows CPHA = CPOL = 0. Figure 36 to Figure 40 show the data sequences for SPI transactions. For correct operation of the part, the logic thresholds and timing parameters in Table 11 and Table 12 must be met at all times. Figure 36 to Figure 40 are divided into send (shaded) and receive portions. Refer to Figure 41 and Figure 42 for visual diagrams of the timing parameters for the receive and send portions, respectively. Figure 35. 4-Wire SPI Connection Diagram SPI COMMANDS The SPI port uses a multibyte structure wherein the first byte is a command. The ADXL363 command set is • 0x0A: write register • 0x0B: read register • 0x0D: read FIFO Read and Write Register Commands The command structure for the read register and write register commands is as follows (see Figure 36 and Figure 37): <CS down> <command byte (0x0A or 0x0B)> <address byte> <data byte> <additional data bytes for multi-byte> … <CS up> The read and write register commands support multibyte (burst) read/write access. The waveform diagrams for multibyte read and write commands are shown in Figure 38 and Figure 39. Read FIFO Command Reading from the FIFO buffer is a command structure that does not have an address. <CS down> <command byte (0x0D)> <data byte> <data byte> … <CS up> It is recommended that an even number of bytes be read (using a multibyte transaction) because each sample consists of two bytes: two bits of axis information and 14 bits of data. If an odd number of bytes is read, it is assumed that the desired data was read; therefore, the second half of the last sample is discarded so that a read from the FIFO always starts on a properly aligned even-byte boundary. Data is presented least significant byte first, followed by the most significant byte. MULTIBYTE TRANSFERS Multibyte transfers, also known as burst transfers, are supported for all SPI commands: register read, register write, and FIFO read commands. It is recommended that data be read using multibyte transfers to ensure that a concurrent and complete set of x-, y-, and z-acceleration (and temperature, where applicable) data is read. The FIFO runs on the serial port clock during FIFO reads and sustains bursting at the SPI clock rate as long as the SPI clock is 1 MHz or faster. Register Read/Write Auto-Increment A register read or write command begins with the address specified in the command and auto-increments for each additional byte in the transfer. To avoid address wrapping and side effects of reading registers multiple times, the auto- increment halts at the invalid Register Address 63 (0x3F). INVALID ADDRESSES AND ADDRESS FOLDING The ADXL363 has a 6-bit address bus, mapping only 64 registers in the possible 256 register address space. The addresses do not fold to repeat the registers at addresses above 64. Attempted access to register addresses above 64 map to the invalid register at 63 (0x3F) and have no functional effect. Address 0x00 to Address 0x2E are for customer access, as described in the Register Map section. Address 0x2F to Address 0x3F are reserved for factory use. LATENCY RESTRICTIONS Reading any of the data registers (Register 0x08 to Register 0x0A or Register 0x0E to Register 0x15) clears the data ready interrupt. There can be as much as an 80 µs delay from reading a register to the clearing of the data ready interrupt. Other register reads, register writes, and FIFO reads have no latency restrictions. INVALID COMMANDS Commands other than 0x0A, 0x0B, and 0x0D have no effect. The MISO output remains in a high impedance state, and the bus keeper holds the MISO line at its last value. ADXL363 PROCESSOR CS MOSI MISO SCLK DOUT DOUT DIN DOUT |
|
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 |