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

The Z-Axis Pressing Detection Method

As mentioned in Section 2 the mechanical error between the 3D linear Hall sensor and the joystick causes unwanted results on the X and Y axis during the Z-axis pressing process. For example, this can result in a step to the next menu option immediately prior to attempting to select a setting. This can result in unwanted operations form the MCU which adversely affect the user experience.

The functional goal is that the MCU can only detects the vertical button press with no operations are performed on the X and Y axes. This application note explores an algorithm for fast pressing detection method in the Z-axis while minimizing any influence in the X and Y axes.