SLYS053B November 2023 – June 2024 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. The device can be configured to provide a wake on change response in standby, active or the wake and sleep mode.
When WOC_SEL is set to 2h, the device monitors for a change in output measurements on one of the configured magnetic axes. In this mode, tFigure 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 was 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 feature will treat 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.