SLYA092 June   2025 TMAG3001

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Z-Axis Pressing Offset Issue in 3D Linear Hall Sensor
    1. 2.1 Root Cause of X, Y Offsets in Z-axis Pressing Action
  6. 3The Z-Axis Pressing Detection Method
    1. 3.1 General Introduction of Proposed Method
    2. 3.2 Software Slew Rate Detection
    3. 3.3 Hardware Threshold Detection and Interrupt
    4. 3.4 Latching Method
      1. 3.4.1 Implementation of Two-Level Detection Method
    5. 3.5 Test Result
  7. 4Summary
  8. 5References

Hardware Threshold Detection and Interrupt

If the users presses slowly, the amplitude difference between two or more conversion results might not exceed the setting software threshold. In this situation, a second-level hardware detection is required to make sure that the pressing action is detected quickly. By setting a magnetic flux threshold in the TMAG3001 register, once the magnetic flux amplitude in the Z-axis exceeds the hardware threshold. The Hall-effect sensor creates an interrupt signal using the INT pin to be captured by the GPIO of the MCU. If desired, this threshold crossing can also be transmitted through I2C communication to indicate that the magnetic threshold has been exceeded. Figure 3-3 shows the simplified hardware interrupt function.

 Hardware Detection MethodFigure 3-3 Hardware Detection Method