SLYS053B November 2023 – June 2024 TMAG3001
PRODUCTION DATA
The TMAG3001 enables magnitude limit checks when the part is configured to calculate an angle using ANGLE_EN. The magnitude of the absolute magnetic field is stored in the Magnitude_Result register. The device can be configured to be configured for magnitude threshold checks when THR_SEL[1:0] is set to 3h. Register Configuration for Magnitude Limit Check shows the configuration of registers to enable magnetic limit checks.
Register Name |
Register alias when THR_SEL[1:0] = 3h |
Description |
---|---|---|
THR_Config_1 |
M_THR_LO |
Sets the lower threshold limit for magnitude check |
THR_Config_2 | M_THR_HI | Sets the higher threshold limit for the magnitude check |
The magnitude higher and lower thresholds are 8-bit numbers, with the possible range of threshold entries from 0 to 255. Both the higher and lower threshold limits can be enabled independently. No threshold comparison is done if the thresholds are set to 0h.
Figure 7-7 and Figure 7-6 show examples of magnitude limit cross detection events while the field going above, below, exiting a magnetic band, and entering a magnetic band. The device keeps generating an interrupt with each new conversion if the magnetic fields remain in the shaded regions in the figures. The MAG_THR_DIR register bit helps select the out of range regions for threshold crossings. The magnitude limit check can be performed in standby, continuous or wake and sleep operating modes.