Rohm Kionix KX132-1211 Technical Reference Manual

Tri-axis digital accelerometer
Table of Contents

Advertisement

Quick Links

A ROHM Group Company
TECHNICAL REFERENCE MANUAL
KX132-1211
Rev. 1.0
31-Jul-2019
Kionix, Inc.
36 Thornwood Drive
Ithaca, NY 14850
USA
TEL: +1-607-257-1800
http://www.kionix.com
info@kionix.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Kionix KX132-1211 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Rohm Kionix KX132-1211

  • Page 1 A ROHM Group Company TECHNICAL REFERENCE MANUAL KX132-1211 Rev. 1.0 31-Jul-2019 Kionix, Inc. 36 Thornwood Drive Ithaca, NY 14850 TEL: +1-607-257-1800 http://www.kionix.com info@kionix.com...
  • Page 2: Overview

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Overview This technical reference manual contains information for KX132-1211. Explanation for embedded registers and embedded applications are included. For pin assignment and specifications of the device, please also refer to KX132-1211 Specifications.
  • Page 3: Table Of Contents

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Table of Contents OVERVIEW ....................................2 TABLE OF CONTENTS .................................. 3 EMBEDDED REGISTERS ..............................6 ..................................6 EGISTER MAN_ID (0 00) ..................................
  • Page 4 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.16 TAP / DOUBLE-TAP CONTROL REGISTERS (0 2A – 0 31) ....................33 TDTRC ...................................... 33 TDTC ......................................34 TTH ......................................34 TTL ......................................
  • Page 5 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Debounce Counter ................................... 52 Pulse Reject Mode ................................... 52 Integration with Advanced Data Path (ADP) ........................... 52 Threshold Resolution ................................53 Threshold Calculation ................................
  • Page 6: Embedded Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Embedded Registers Register Map The KX132-1211 has embedded 8-bit registers that are accessible by the user. This section contains the addresses for all embedded registers and describes bit functions of each register.
  • Page 7: Man_Id

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 MAN_ID (0x00) A burst read (reading using the auto-increment) of 4 bytes starting at address 00, returns the manufacturing ID: "K" "i" "o"...
  • Page 8: Adp Output Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ADP OUTPUT REGISTERS (0x02 – 0x07) Output from the Advanced Data Path is routed to registers 0x02 – 0x07 (XADP_L – ZADP_H) when ADPE bit is set to 1 in CNTL5 register.
  • Page 9: Zadp_L

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ZADP_L Z-axis Advanced Data Path (ADP) output least significant byte. ZHP7 ZHP6 ZHP5 ZHP4 ZHP3 ZHP2 ZHP1 ZHP0 Bit7 Bit6 Bit5 Bit4 Bit3...
  • Page 10: Accelerometer Output Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ACCELEROMETER OUTPUT REGISTERS (0x08 – 0x0D) When accelerometer is enabled (PC1 bit is set to 1 in CNTL1 register), the 16-bits of valid acceleration data for each axis is routed to registers 0x08-0x0D (XOUT_L –...
  • Page 11: Xout_L

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 XOUT_L X-axis accelerometer output least significant byte XOUT7 XOUT6 XOUT5 XOUT4 XOUT3 XOUT2 XOUT1 XOUT0 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0...
  • Page 12: Zout_L

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ZOUT_L Z-axis accelerometer output least significant byte. ZOUT7 ZOUT6 ZOUT5 ZOUT4 ZOUT3 ZOUT2 ZOUT1 ZOUT0 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0...
  • Page 13: Tilt Position Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 TILT POSITION REGISTERS (0x14 – 0x15) These two registers report previous and current position data that is updated at the user-defined ODR frequency determined by OTP<1:0>...
  • Page 14: Interrupt Source Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INTERRUPT SOURCE REGISTERS (0x16 – 0x18) These three registers report interrupt state changes. The status is updated when a new interrupt event occurs, and the bit remains set until it is cleared as indicated in each case.
  • Page 15 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 WMI – Watermark Interrupt bit indicates that user-defined buffer’s sample threshold (watermark) has been exceeded when in FIFO or Stream modes. Not used in Trigger mode. This bit is automatically cleared when buffer is read, and the content is below the watermark.
  • Page 16: Ins3

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INS3 This register reports the axis and direction of detected motion that triggered the wakeup interrupt. WUFS XNWU XPWU YNWU YPWU ZNWU ZPWU...
  • Page 17: Status_Reg (0X19)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.10 STATUS_REG (0X19) This register reports the status of the interrupt. WAKE Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Address: 0x19 INT –...
  • Page 18: Control Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.12 CONTROL REGISTERS (0x1B – 0x20) The main control functions of the accelerometer can be set via CNTL1 – CNTL6 registers. CNTL1 Control register 1.
  • Page 19: Cntl2

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 CNTL2 Control register 2. Read/write control register that primarily controls tilt position state enabling. This register has also settings to verify proper power up. This register is On-The-Fly (OTF) register and can be written to while the KX132- 1211 is enabled (PC1 bit in CNTL1 register is set to “1”) and the change will be accepted with no interruption in the operation.
  • Page 20: Cntl3

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 CNTL3 Control register 3. Read/write control register that provides control of the Output Data Rate (ODR) for Tilt, Tap, and Wake-up engines.
  • Page 21 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 OWUF2 OWUF1 OWUF0 Output Data Rate (Hz) 0.781 1.563 3.125 6.25 12.5 Table 11: Motion Wake Up Function Output Data Rate 36 Thornwood Dr.
  • Page 22: Cntl4

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 CNTL4 Control register 4. Read/write control register that provides more feature set control. Note that to properly change the value of these registers, the PC1 bit in CNTL1 register must first be set to “0”. C_MODE TH_MODE WUFE...
  • Page 23: Cntl5

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 CNTL5 Control register 5. Read/write control register that provides more feature set control. This register is On-The-Fly (OTF) register and can be written to while the KX132-1211 is enabled (PC1 bit in CNTL1 register is set to “1”) and the change will be accepted with no interruption in the operation.
  • Page 24: Cntl6

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 CNTL6 Control register 6. Read/write control register that provides more feature set control. This register is On-The-Fly (OTF) register and can be written to while the KX132-1211 is enabled (PC1 bit in CNTL1 register is set to “1”) and the change will be accepted with no interruption in the operation.
  • Page 25: Odcntl (0X21)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.13 ODCNTL (0X21) Output data control register that configures the acceleration outputs. Note that to properly change the value of these registers, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 26 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 FSTUP – Fast Start Up Enable bit. The setting of this bit controls the start up time only when accelerometer operates in High-Performance mode with ODR ≤ 200Hz. If fast start up is disabled (FSTUP=0), the start up time in High-Performance mode would vary with ODR.
  • Page 27: Interrupt Control Registers (0X22 - 0X27)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.14 INTERRUPT CONTROL REGISTERS (0X22 – 0X27) INC1 Interrupt Control 1. This register controls the settings for the physical interrupt pin INT1. Note that to properly change the value of this register, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 28: Inc2

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INC2 Interrupt Control 2. This register defines interrupt behavior for the Wake-Up Function (WUF) and Back-to-Sleep (BTS) engines. Note that to properly change the value of this register, the PC1 bit in CNTL1 register must first be set to “0”. Reserved XNWUE XPWUE...
  • Page 29: Inc3

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INC3 Interrupt Control 3. This register controls which axis and direction of tap/double tap can cause an interrupt. If a direction’s bit is set to “1”, a single or double tap in that direction will generate an interrupt.
  • Page 30: Inc4

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INC4 Interrupt Control 4. This register controls routing of an interrupt reporting to physical interrupt pin INT1. Note that to properly change the value of this register, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 31: Inc5

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INC5 Interrupt Control 5. This register controls the settings for the physical interrupt pin INT2. Note that to properly change the value of this register, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 32: Inc6

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 INC6 Interrupt Control 6. This register controls routing of interrupt reporting to physical interrupt pin INT2. Note that to properly change the value of this register, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 33: Tilt_Timer (0X29)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.15 TILT_TIMER (0X29) Initial count register for the tilt position state timer (0 to 255 counts). Every count is calculated as 1/ODR delay period, where the ODR is user-defined per Table 9.
  • Page 34: Tdtc

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 TDTC This register contains counter information for the detection of a double tap event. When the Directional-Tap ODR is 400Hz or less, every count is calculated as 1/ODR delay period. When the Directional-Tap ODR is 800Hz, every count is calculated as 2/ODR delay period.
  • Page 35: Ftd

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 This register contains counter information for the detection of any tap event. When the Directional-Tap ODR is 400Hz or less, every count is calculated as 1/ODR delay period. When the Directional-Tap ODR is 800Hz, every count is calculated as 2/ODR delay period.
  • Page 36: Tws

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 This register contains counter information for the detection of single and double taps. When the Directional-Tap is 400Hz or less, every count is calculated as 1/ODR delay period. When the Directional-Tap ODR is 800Hz, every count is calculated as 2/ODR delay period.
  • Page 37: Ffcntl

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 FFCNTL Free Fall Control. This register provides the main control of the free fall engine. Note that to properly change the value of these registers, the PC1 bit in CNTL1 register must first be set to “0”.
  • Page 38: Tilt Angle Control Registers (0X37 - 0X39)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.18 TILT ANGLE CONTROL REGISTERS (0X37 – 0X39) The Tilt engine is enabled with TPE bit in CNTL1 register and can be configured via control registers 0x37 – 0x39. Please refer to Orientation Detection Feature section for detailed information on the Tilt engine.
  • Page 39: Lp_Cntl1 (0X3A)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.19 LP_CNTL1 (0X3A) Low Power Control 1: The Averaging Filter Control setting determines both - the number of internal acceleration samples to be averaged in Low Power mode and the number of internal acceleration samples to be averaged for digital engines operation (Directional-Tap / Double-Tap...
  • Page 40: Wake-Up & Back-To-Sleep Threshold And Counter Setup Registers (0 4D)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.21 WAKE-UP & BACK-TO-SLEEP THRESHOLD AND COUNTER SETUP REGISTERS (0x49 – 0x4D) The threshold and counter values of the Wake-up and Back-to-Sleep engines of the KX132-1211 can be configured via registers 0x49 –...
  • Page 41: Self_Test (0X5D)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.22 SELF_TEST (0X5D) Self-Test Enable register. Reset Value Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 00000000 Address: 0x5D To perform the self-test, the following procedure is required: 1.
  • Page 42: Output Buffer Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.23 OUTPUT BUFFER REGISTERS (0x5E – 0x63) BUF_CNTL1 Read/write control register that controls the buffer sample threshold. This register is On-The-Fly (OTF) register and can be written to while the KX132-1211 is enabled (PC1 bit in CNTL1 register is set to “1”) and the change will be accepted with no interruption in the operation.
  • Page 43: Buf_Cntl2

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 BUF_CNTL2 Read/write control register that controls sample buffer operation. This register is On-The-Fly (OTF) register and can be written to while the KX132-1211 is enabled (PC1 bit in CNTL1 register is set to “1”) and the change will be accepted with no interruption in the operation.
  • Page 44: Buf_Status_1 And Buf_Status_2

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 BUF_STATUS_1 and BUF_STATUS_2 These register reports the status of the sample buffer. Note that BUF_STATUS_1 and BUF_STATUS_2 registers may have a delay of up to 1µsec to update the sample level after a buffer read. BUF_STATUS_1 SMP_LEV7 SMP_LEV6 SMP_LEV5 SMP_LEV4 SMP_LEV3 SMP_LEV2 SMP_LEV1 SMP_LEV0...
  • Page 45: Advanced Data Path Control Registers

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 1.24 ADVANCED DATA PATH CONTROL REGISTERS (0x64 – 0x76) The advanced data path (ADP) engine of the KX132-1211 can be configured via control registers 0x64 – 0x76 shown below.
  • Page 46: Adp_Cntl2

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ADP_CNTL2 Advanced Data Path (ADP) Control register 2. ADP_BUF_SEL ADP_WB_ISEL RMS_WB_OSEL ADP_FLT2_BYP ADP_FLT1_BYP ADP_RMS_OSEL ADP_F2_HP Reset Value Bit7 Bit6 Bit5 Bit4 Bit3 Bit2...
  • Page 47: Adp_Cntl3

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ADP_CNTL3 Advanced Data Path (ADP) Control register 3. ADP_F1_1A6 ADP_F1_1A5 ADP_F1_1A4 ADP_F1_1A3 ADP_F1_1A2 ADP_F1_1A1 ADP_F1_1A0 Reset Value Bit7 Bit6 Bit5 Bit4 Bit3 Bit2...
  • Page 48: Adp_Cntl7, Adp_Cntl8, Adp_Cntl9

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ADP_CNTL7, ADP_CNTL8, ADP_CNTL9 Advanced Data Path (ADP) Control registers 7, 8 and 9. ADP_CNTL7 ADP_F1_CA7 ADP_F1_CA6 ADP_F1_CA5 ADP_F1_CA4 ADP_F1_CA3 ADP_F1_CA2 ADP_F1_CA1 ADP_F1_CA0 Reset Value Bit7 Bit6 Bit5...
  • Page 49: Adp_Cntl12, Adp_Cntl13

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 ADP_CNTL12, ADP_CNTL13 Advanced Data Path (ADP) Control registers 12 and 13. ADP_CNTL12 ADP_F2_BA7 ADP_F2_BA6 ADP_F2_BA5 ADP_F2_BA4 ADP_F2_BA3 ADP_F2_BA2 ADP_F2_BA1 ADP_F2_BA0 Reset Value Bit7 Bit6...
  • Page 50: Embedded Applications

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Embedded Applications Orientation Detection Feature The orientation detection feature of the KX132-1211 will report changes in face up, face down, ± vertical and ± horizontal orientation.
  • Page 51: Device Orientation Angle (Tilt Angle)

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Device Orientation Angle (Tilt Angle) To ensure that horizontal and vertical device orientation changes are detected, even when it isn’t in the ideal vertical orientation –...
  • Page 52: Motion Interrupt Feature Description

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Motion Interrupt Feature Description KX132-1211 features an advanced threshold interrupt by the internal Wake-Up and Back-to-Sleep digital engines. These engines allow the KX132-1211 to trigger interrupts when accelerometer activity falls below a defined threshold window (Back-to-Sleep) or exceeds a threshold window (Wake-Up event).
  • Page 53: Threshold Resolution

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Threshold Resolution The motion interrupt threshold values are set by WUFTH<10:0> and BTSTH<10:0> bits in WUFTH, BTSWUFTH, BTSTH registers. The values in these registers are compared to the top 11 bits of the accelerometer 8g output (regardless of GSEL<1:0>...
  • Page 54 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 reset of the reference sample. At this point, the algorithm starts evaluating the difference between the current and the previous acceleration samples again. On the 9 clock cycle, the difference has exceeded the threshold.
  • Page 55 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Absolute Threshold Mode 2.2.1.2 The Absolute Threshold Mode of the KX132-1211 operates similar to the Relative Threshold Mode described in details before with the only difference being that each acceleration sample is being compared to the same user defined wake- up threshold (WUFTH) or back-to-sleep threshold (BTSTH) regardless of previous sample.
  • Page 56: Examples

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Examples Case 1: XPWUE=1, XNWUE=0, C_MODE=0, PR_MODE=0 2.2.1.3 Positive direction enabled, negative direction disabled, reset debounce counter, pulse reject disabled Figure 7: Case 1 Positive Motion Figure 8: Case 1 Negative Motion 36 Thornwood Dr.
  • Page 57 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Case 2: XPWUE=0, XNWUE=1, C_MODE=0, PR_MODE=0 2.2.1.4 Positive direction disabled, negative direction enabled, reset debounce counter, pulse reject disabled Figure 9: Case 2 Positive Motion Figure 10: Case 2 Negative Motion 36 Thornwood Dr.
  • Page 58 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Case 3: XPWUE=1, XNWUE=0, C_MODE=1, PR_MODE=0 2.2.1.5 Positive direction enabled, negative direction disabled, decrement debounce counter, pulse reject disabled Figure 11: Case 3 Positive Motion Figure 12: Case 3 Negative Motion 36 Thornwood Dr.
  • Page 59 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Case 4: XPWUE=1, XNWUE=1, C_MODE=0, PR_MODE=0 2.2.1.6 Positive direction enabled, negative direction enabled, reset debounce counter, pulse reject disabled Figure 13: Case 4 Positive Motion Figure 14: Case 4 Negative Motion 36 Thornwood Dr.
  • Page 60 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Case 5: XPWUE=1, XNWUE=1, C_MODE=0, PR_MODE=1 2.2.1.7 Positive direction enabled, negative direction enabled, reset debounce counter, pulse reject enabled Figure 15: Case 5 Positive Motion Figure 16: Case 5 Negative Motion 36 Thornwood Dr.
  • Page 61: Directional-Tap Detection Feature Description

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Directional-Tap Detection Feature Description The Directional-Tap Detection feature of the KX132-1211 recognizes single and double tap inputs and reports the acceleration axis and direction that each tap occurred.
  • Page 62: Single Tap Detection

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Single Tap Detection The latency timer (TLT) sets the time period that a tap event will only be characterized as a single tap. A second tap must occur outside of the latency timer.
  • Page 63: Double-Tap Detection

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Double-Tap Detection An event can be characterized as a double tap if the second tap crosses the performance index (TTL) inside the TWS period and ends outside the TDTC.
  • Page 64: Free Fall Detect

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Free fall Detect The KX132-1211 features a Free fall interrupt that sends a flag through the INT1 or the INT2 output pins when the accelerometer senses a Free fall event.
  • Page 65 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Typical Freefall Interrupt Example (nonLatching) Pos. Motion limit Pos. Freefall limit Neg. Freefall limit Neg. Motion limit Freefall debounce timer Set to 10 counts.
  • Page 66: Sample Buffer Feature Description

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Sample Buffer Feature Description The sample buffer feature of the KX132-1211 accumulates and outputs acceleration data based on how it is configured. There are 3 buffer modes available, and samples can be accumulated at either low (8-bit) or high (16-bit) resolution.
  • Page 67: Buffer Operation

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Buffer Operation The following diagrams illustrate the operation of the buffer conceptually. Actual physical implementation has been abstracted to offer a simplified explanation of how the different buffer modes operate. Figure 22 represents a high- resolution 3-axis sample within the buffer.
  • Page 68 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 The buffer continues to fill sequentially until the Sample Threshold is reached. Index Sample ← FIFO read pointer Data0 Data1 Data2 Data3 Data4...
  • Page 69 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 In trigger mode, data is accumulated in the buffer sequentially until the Sample Threshold is reached. Once the Sample Threshold is reached, the oldest samples are discarded when new samples are collected. Note in Figure 26 how Data0 was thrown out to make room for Data8.
  • Page 70 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 In FIFO, Stream, and Trigger (after a trigger event has occurred) modes, the buffer continues filling sequentially after the Sample Threshold is reached. Sample accumulation after the buffer is full depends on the selected operation mode. FIFO and Trigger modes stop accumulating samples when the buffer is full, and Stream mode begins discarding the oldest data when new samples are accumulated.
  • Page 71 PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 In FIFO, Stream, or Trigger mode, reading one sample from the buffer will remove the oldest sample and effectively shift the entire buffer contents up, as seen in Figure 30. Index Sample ←...
  • Page 72: Advanced Data Path Feature

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Advanced Data Path Feature Please refer to AN109 Introduction to Advanced Data Path AN097 Getting Started with Advanced Data Path application notes for detailed information about the ADP Engine feature.
  • Page 73: Revision History

    PART NUMBER: ± 2g / 4g / 8g / 16g Tri-axis Digital KX132-1211 Accelerometer Technical Rev. 1.0 Reference Manual 31-Jul-2019 Revision History Revision Description Date Production Release. 31-Jul-2019 "Kionix" is a registered trademark of Kionix, Inc. Products described herein are protected by patents issued or pending. No license is granted by implication or otherwise under any patent or other rights of Kionix.

Table of Contents