| データシートサーチシステム |
|
ADXL346ACCZ-R2 データシート(PDF) 26 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADXL346ACCZ-R2 データシート(HTML) 26 Page - Analog Devices |
|
26 / 40 page ![]() ADXL346 Data Sheet Register 0x31—DATA_FORMAT (Read/Write) D7 D6 D5 D4 D3 D2 D1 D0 SELF_TEST SPI INT_INVERT 0 FULL_RES Justify Range The DATA_FORMAT register controls the presentation of data to Register 0x32 through Register 0x37. All data, except that for the ±16 g range, must be clipped to avoid rollover. SELF_TEST Bit A setting of 1 in the SELF_TEST bit applies a self-test force to the sensor, causing a shift in the output data. A value of 0 disables the self-test force. SPI Bit A value of 1 in the SPI bit sets the device to 3-wire SPI mode, and a value of 0 sets the device to 4-wire SPI mode. INT_INVERT Bit A value of 0 in the INT_INVERT bit sets the interrupts to active high, and a value of 1 sets the interrupts to active low. FULL_RES Bit When this bit is set to a value of 1, the device is in full resolution mode, where the output resolution increases with the g range set by the range bits to maintain a 4 mg/LSB scale factor. When the FULL_RES bit is set to 0, the device is in 10-bit mode, and the range bits determine the maximum g range and scale factor. Justify Bit A setting of 1 in the justify bit selects left-justified (MSB) mode, and a setting of 0 selects right-justified mode with sign extension. Range Bits These bits set the g range as described in Table 21. Table 21. g Range Setting Setting D1 D0 g Range 0 0 ±2 g 0 1 ±4 g 1 0 ±8 g 1 1 ±16 g Register 0x32 to Register 0x37—DATAX0, DATAX1, DATAY0, DATAY1, DATAZ0, DATAZ1 (Read Only) These six bytes (Register 0x32 to Register 0x37) are eight bits each and hold the output data for each axis. Register 0x32 and Register 0x33 hold the output data for the x-axis, Register 0x34 and Register 0x35 hold the output data for the y-axis, and Register 0x36 and Register 0x37 hold the output data for the z-axis. The output data is twos complement, with DATAx0 as the least significant byte and DATAx1 as the most significant byte, where x represents X, Y, or Z. The DATA_FORMAT register (Address 0x31) controls the format of the data. It is recommended that a multiple-byte read of all registers be performed to prevent a change in data between reads of sequential registers. Register 0x38—FIFO_CTL (Read/Write) D7 D6 D5 D4 D3 D2 D1 D0 FIFO_MODE Trigger Samples FIFO_MODE Bits These bits set the FIFO mode, as described in Table 22. Table 22. FIFO Modes Setting D7 D6 Mode Function 0 0 Bypass FIFO is bypassed. 0 1 FIFO FIFO collects up to 32 values and then stops collecting data, collecting new data only when FIFO is not full. 1 0 Stream FIFO holds the last 32 data values. When FIFO is full, the oldest data is overwritten with newer data. 1 1 Trigger When triggered by the trigger bit, FIFO holds the last data samples before the trigger event and then continues to collect data until FIFO is full. New data is collected only when FIFO is not full. Trigger Bit A value of 0 in the trigger bit links the trigger event of trigger mode to INT1, and a value of 1 links the trigger event to INT2. Samples Bits The function of these bits depends on the FIFO mode selected (see Table 23). Entering a value of 0 in the samples bits immediately sets the watermark bit in the INT_SOURCE register (Address 0x30), regardless of which FIFO mode is selected. Undesirable operation may occur if a value of 0 is used for the samples bits when trigger mode is used. Table 23. Samples Bits Functions FIFO Mode Samples Bits Function Bypass None. FIFO Specifies how many FIFO entries are needed to trigger a watermark interrupt. Stream Specifies how many FIFO entries are needed to trigger a watermark interrupt. Trigger Specifies how many FIFO samples are retained in the FIFO buffer before a trigger event. Rev. C | Page 26 of 40 |
|
リンク URL |
| 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 |