SLYA092 June 2025 TMAG3001
In general, this detection method uses a hardware threshold interrupt and software slew rate or absolute value detection to reduce the influence caused by the Z-axis pressing action in the X and Y axes. Figure 3-1 shows the magnetic flux change in the Z-axis during the Z-axis pressing process. The magnetic flux change along the Z-axis is similar to an exponential function. In order to detect the pressing action as soon as possible, this method applies two-level magnetic field detection.
Figure 3-1 The Magnetic Flux Change in Z-axis Pressing Action