SLYS053C November   2023  – May 2025 TMAG3001

PRODUCTION DATA  

  1.   1
  2. Features
  3. Applications
  4. Description
  5. Pin Configuration and Functions
  6. Specifications
    1. 5.1  Absolute Maximum Ratings
    2. 5.2  ESD Ratings
    3. 5.3  Recommended Operating Conditions
    4. 5.4  Thermal Information
    5. 5.5  Electrical Characteristics
    6. 5.6  Temperature Sensor
    7. 5.7  Magnetic Characteristics For A1
    8. 5.8  Magnetic Characteristics For A2
    9. 5.9  Magnetic Temp Compensation Characteristics
    10. 5.10 I2C Interface Timing
    11. 5.11 Power up Timing
    12. 5.12 Timing Diagram
    13. 5.13 Typical Characteristics
  7. Detailed Description
    1. 6.1 Overview
    2. 6.2 Functional Block Diagram
    3. 6.3 Feature Description
      1. 6.3.1 Magnetic Flux Direction
      2. 6.3.2 Sensor Location
      3. 6.3.3 Interrupt Function
      4. 6.3.4 Wake on Change
      5. 6.3.5 Device I2C Address
      6. 6.3.6 Magnetic Range Selection
      7. 6.3.7 Update Rate Settings
    4. 6.4 Device Functional Modes
      1. 6.4.1 Standby (Trigger) Mode
      2. 6.4.2 Sleep Mode
      3. 6.4.3 Wake-Up and Sleep (W&S) Mode
      4. 6.4.4 Continuous Measure Mode
    5. 6.5 Programming
      1. 6.5.1 I2C Interface
        1. 6.5.1.1 Conversion Trigger
        2. 6.5.1.2 Bus Transactions
          1. 6.5.1.2.1 Three Channels I2C Write
          2. 6.5.1.2.2 General Call Write
          3. 6.5.1.2.3 Standard I2C Read
          4. 6.5.1.2.4 I2C Read Command for 16-Bit Data
          5. 6.5.1.2.5 I2C Read Command for 8-Bit Data
          6. 6.5.1.2.6 I2C Read CRC
      2. 6.5.2 Data Definition
        1. 6.5.2.1 Magnetic Sensor Data
        2. 6.5.2.2 Temperature Sensor Data
        3. 6.5.2.3 Magnetic Sensor Gain Correction
        4. 6.5.2.4 Magnetic Sensor Offset Correction
        5. 6.5.2.5 Angle and Magnitude Data Definition
        6. 6.5.2.6 Angle Offset Correction
  8. Register Maps
    1. 7.1 TMAG3001 Registers
  9. Application and Implementation
    1. 8.1 Application Information
      1. 8.1.1 Select the Sensitivity Option
      2. 8.1.2 Temperature Compensation for Magnets
      3. 8.1.3 Sensor Conversion
        1. 8.1.3.1 Continuous Conversion
        2. 8.1.3.2 Trigger Conversion
        3. 8.1.3.3 Pseudo-Simultaneous Sampling
      4. 8.1.4 Magnetic Limit Check
      5. 8.1.5 Magnitude Limit Check
      6. 8.1.6 Angle Limit Check
      7. 8.1.7 Switch Mode
        1. 8.1.7.1 Unipolar Switch Mode
        2. 8.1.7.2 Omnipolar Switch Mode
        3. 8.1.7.3 Tamper Detection
        4. 8.1.7.4 Angle Switch
        5. 8.1.7.5 Magnitude Switch (Button Press Detection)
      8. 8.1.8 Error Calculation During Linear Measurement
      9. 8.1.9 Error Calculation During Angular Measurement
    2. 8.2 Typical Application
      1. 8.2.1 Angle Measurement
        1. 8.2.1.1 Design Requirements
        2. 8.2.1.2 Detailed Design Procedure
          1. 8.2.1.2.1 Gain Adjustment for Angle Measurement
        3. 8.2.1.3 Application Curves
    3. 8.3 Best Design Practices
    4. 8.4 Power Supply Recommendations
    5. 8.5 Layout
      1. 8.5.1 Layout Guidelines
      2. 8.5.2 Layout Example
  10. Device and Documentation Support
    1. 9.1 Documentation Support
      1. 9.1.1 Related Documentation
    2. 9.2 Receiving Notification of Documentation Updates
    3. 9.3 Support Resources
    4. 9.4 Trademarks
    5. 9.5 Electrostatic Discharge Caution
    6. 9.6 Glossary
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

Wake on Change

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.

TMAG3001 Wake on Change
                                        With Magnetic Axes Measurements , WOC_SEL = 2h, INT_State =
                                        1h Figure 6-8 Wake on Change With Magnetic Axes Measurements , WOC_SEL = 2h, INT_State = 1h

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.

TMAG3001 Wake on Change
                                        With Angle Measurements , WOC_SEL = 1h, INT_State =
                                        1h Figure 6-9 Wake on Change With Angle Measurements , WOC_SEL = 1h, INT_State = 1h
Table 6-3 Relevant Wake on Change Register Settings
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