SLYS053B November 2023 – June 2024 TMAG3001
PRODUCTION DATA
The TMAG3001 enables magnetic limit checks for single or multiple axes at the same time. The device can be configured to be sensitive for X, Y and Z magnetic axes thresholds when THR_SEL[1:0] is set to 2h.
Register Name | Register alias when THR_SEL[1:0] = 1h |
Description |
---|---|---|
THR_Config_1 |
X_THR_LO |
Sets the lower threshold limit for X channel |
THR_Config_2 | Y_THR_LO | Sets the lower threshold limit for Y channel |
THR_Config_3 | Z_THR_LO | Sets the lower threshold limit for Z channel |
Register Name | Register alias when THR_SEL[1:0] = 2h and Angle_EN[1:0] = 0h |
Description |
---|---|---|
Sensor_Config_4 | X_THR_HI |
Sets the upper threshold limit for X channel |
Sensor_Config_5 | Y_THR_HI | Sets the upper threshold limit for Y channel |
Sensor_Config_6 | Z_THR_HI | Sets the upper threshold limit for Z channel |
The magnetic higher and lower thresholds are 8-bit, 2's complement numbers, with the possible range of threshold entrees to be ±128. Both the higher and lower threshold limits can be enabled independently. No threshold comparison is done if the thresholds are set to 0h. The lower threshold for X channel can be calculated using Equation 13.
For example, for the A1 device version, the default magnetic range is ±40mT. If X_Y_RANGE=0 and THR_SEL= 10b, for a threshold configuration of 0000111b in THR_CONFIG_1, the X channel lower threshold is given by
Figure 7-5 and Figure 7-5 show examples of magnetic 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 magnetic limit check can be performed in standby, continuous or wake and sleep operating modes.