SLYS053C November 2023 – May 2025 TMAG3001
PRODUCTION DATA
The TMAG3001 enables relative magnetic limit checks for either magnetic fields or the angle measurements. For applications where only relative measurements are of interest, the device can be configured to respond through the WOC_SEL bits. In this mode, the device monitors either one of the magnetic axes or the angle output for a change and wakes up the system by providing an interrupt response based on INT_Mode[2:0] bits. When an interrupt response is obtained, the new sensor measurement is used as the reference threshold for the successive measurements. The wake on change feature is disabled when INT_Mode[2:0] is set to Unipolar or Omnipolar switch mode, or when THR_SEL ≠ 0h. The device can be configured to provide a wake on change response in standby, active or the wake and sleep mode. If the host reads from the device after a wake on change interrupt when the device is in wake and sleep mode, the host must initiate a conversion before re-entering wake and sleep mode to save the result.
When WOC_SEL is set to 2h, the device monitors for a change in output measurements on only the first of the enabled magnetic axes according to MAG_CH_EN. For example, if MAG_CH_EN is set to 5h, only the Z channel are monitored for wake on change. If MAG_CH_EN is set to 9h, only the Y channel are monitored for wake on change. In this mode, Figure 6-8 shows the device response. In this example, MAG_CH_EN is set to 1h, where the device is responsive to the X magnetic field. The new values of the reference thresholds are set to the sensor output value when the threshold is crossed. The hysteresis is configured using the THR_HYST bits. If the new measurement changes more than the previous measurement by the set hysteresis value, then an interrupt response is provided. Here the INT_Mode[2:0] is to 1h to provide interrupt response through the INT pin and INT_State is set to 1h, to provide a fixed interrupt response.
The wake on change with magnetic axes measurements feature triggers an interrupt upon transition from positive to negative field and vice-versa. The wake on change with angle feature treats an angle transition from 0° to 359°, or 359° to 0°, as a net change of 359° to compare against the threshold settings.
Figure 6-9 shows the device response, when WOC_SEL = 1h, where the device is responsive to the angle measurements as set using the ANGLE_EN bits. The thresholds of the present measurement are set based on the previous measured value and the hysteresis as configured using the ANG_HYS bits. If the new measurement changes more than the previous measurement by the set hysteresis value, then an interrupt response is provided.
| WOC_SEL SETTING | THR_SEL SETTING | INT_MODE SETTING | HYSTERESIS CONFIGURED BY | |
|---|---|---|---|---|
| Wake on change (angle) | WOC_SEL = 1h | THR_SEL = 0h | INT_MODE ≠ 5h, 6h | Angle_HYS |
| Wake on change (magnetic field) | WOC_SEL = 2h | THR_SEL = 0h | INT_MODE ≠ 5h, 6h | THR_HYST |