JAJSP86A November   2023  – March 2024 TMAG3001

PRODMIX  

  1.   1
  2. 特長
  3. アプリケーション
  4. 概要
  5. Pin Configuration and Functions
  6. Specifications
    1. 5.1  Absolute Maximum Ratings
    2. 5.2  ESD Ratings
    3. 5.3  Thermal Information
    4. 5.4  Recommended Operating Conditions
    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. Application and Implementation
    1. 7.1 Application Information
      1. 7.1.1 Select the Sensitivity Option
      2. 7.1.2 Temperature Compensation for Magnets
      3. 7.1.3 Sensor Conversion
        1. 7.1.3.1 Continuous Conversion
        2. 7.1.3.2 Trigger Conversion
        3. 7.1.3.3 Pseudo-Simultaneous Sampling
      4. 7.1.4 Magnetic Limit Check
      5. 7.1.5 Magnitude Limit Check
      6. 7.1.6 Angle Limit Check
      7. 7.1.7 Switch Mode
        1. 7.1.7.1 Unipolar Switch Mode
        2. 7.1.7.2 Omnipolar Switch Mode
        3. 7.1.7.3 Tamper Detection
        4. 7.1.7.4 Angle Switch
        5. 7.1.7.5 Magnitude Switch (Button Press Detection)
      8. 7.1.8 Error Calculation During Linear Measurement
      9. 7.1.9 Error Calculation During Angular Measurement
    2. 7.2 Typical Application
      1. 7.2.1 Angle Measurement
        1. 7.2.1.1 Design Requirements
        2. 7.2.1.2 Detailed Design Procedure
          1. 7.2.1.2.1 Gain Adjustment for Angle Measurement
        3. 7.2.1.3 Application Curves
    3. 7.3 Best Design Practices
    4. 7.4 Power Supply Recommendations
    5. 7.5 Layout
      1. 7.5.1 Layout Guidelines
      2. 7.5.2 Layout Example
  9. Register Map
  10. Device and Documentation Support
    1. 9.1 Documentation Support
      1. 9.1.1 Related Documentation
    2. 9.2 ドキュメントの更新通知を受け取る方法
    3. 9.3 サポート・リソース
    4. 9.4 Trademarks
    5. 9.5 静電気放電に関する注意事項
    6. 9.6 用語集
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

パッケージ・オプション

メカニカル・データ(パッケージ|ピン)
サーマルパッド・メカニカル・データ
発注情報

Interrupt Function

The TMAG3001 supports flexible and configurable interrupt functions through either the INT or the SCL pin. The INT pin operates as an open drain output. The INTB_POL bit selects the output level during an interrupt even when the INT pin is used for interrupt output. Table 6-1 shows the different interrupt modes supported by the device.

Table 6-1 Interrupt Modes
INT_MODEMODE DESCRIPTIONOUTPUT PIN
0hNo interruptNone
1hInterrupt through INTINT
2hInterrupt through INTINT
3hInterrupt through SCLSCL
4hInterrupt through SCL except when I2C busySCL
5h

Unipolar Switch Mode through INT

INT
6hOmnipolar Switch Mode through INTINT

Table 6-1 shows different conversion completion events where result registers and SET_COUNT bits update, and where they do not. The result registers that are used to create the interrupt events are updated only after the I2C bus is not busy.

Table 6-2 Result Register and SET_COUNT Update After Conversion Completion
OUTPUT PININT_MODEI2C BUS BUSY, NOT TALKING TO DEVICEI2C BUS BUSY and TALKING TO DEVICEI2C BUS NOT BUSY
RESULT UPDATE?SET_COUNT UPDATE?RESULT UPDATE?SET_COUNT UPDATE?RESULT UPDATE?SET_COUNT UPDATE?
INTYesYesNoNoYesYes
SCLInterrupt through SCLYesYesNoNoYesYes
SCLInterrupt through SCL except when I2C busyNoNoNoNoYesYes
Note:

TI does not recommend sharing the same I2C bus with multiple target devices when using the SCL pin for interrupt function. The SCL interrupt can corrupt transactions with other target devices if present in the same I2C bus.

Interrupt Through SCL

Figure 7-36 shows an example for interrupt function through the SCL pin with the device programmed to wake up and sleep mode for threshold cross at a predefined intervals. The wake-up intervals can be set through the SLEEPTIME bits. After the magnetic threshold cross is detected, the device asserts a fixed width interrupt signal through the SCL pin, and remains in a low power wait state for a set period of time before the controller can address the interrupt event. The figure below shows a case where the controller responds to the interrupt event during the wait state and places the part back in the wake up and sleep mode.

GUID-20221207-SS0I-2K3D-6NCJ-NP4F9NRTFPFZ-low.svgFigure 6-3 Interrupt Through SCL

Fixed Width Interrupt Through INT

Figure 6-4 shows an example for fixed-width interrupt function through the INT pin. The INT_STATE register bit is set 1b. After the magnetic threshold cross is detected, the device asserts a fixed width interrupt signal through the INT pin. If the device is programmed to be in wake-up and sleep mode to detect a magnetic threshold, then the device remains in a low power wait state for a set period of time before the controller can address the interrupt event. The latest results are saved and are accessible through the I2C bus in the wait state. If the controller does not read the result registers in the wait time, the device enters to a low power state and continues to remain in the wake and sleep mode.

GUID-20221208-SS0I-JRG9-T521-V7XFLGCNQBTG-low.svgFigure 6-4 Fixed Width Interrupt Through INT

Latched Interrupt Through INT

Figure 6-5 shows an example for latched interrupt function through the INT pin. The INT_STATE register bit is set 0b. After the magnetic threshold cross is detected, the device asserts a latched interrupt signal through the INT pin, and goes back to config mode. The interrupt latch is cleared only after the device receives a valid address through the SCL line. If the device is programmed to be in wake-up and sleep mode to detect a magnetic threshold, then the device remains in a low power wait state for a set period of time before the controller can address the interrupt event. If the controller enters the wait state, the device remains in the wait state where the I2C is kept active.

GUID-20221207-SS0I-WRCJ-R2CH-RWNN8QBRQPCW-low.svgFigure 6-5 Latched Interrupt Through INT

Unipolar Switch Through INT

The TMAG3001 supports switch mode through the INT pin, where the device acts as a smart switch that can be configured to be sensitive for magnetic or angle threshold crossing. The device can be placed in this unipolar switch mode in standby, active or wake up and sleep modes. If the device is configured as a switch and placed in a low power wake up and sleep mode, the device remains in a low power wake up and sleep mode in case if any interrupt event is detected. Figure 6-6 shows an example for switch mode interrupt function through the INT pin. After the magnetic threshold cross is detected, the INT pin changes state.

GUID-20221209-SS0I-PW5Z-MJZC-LGW35BKGJHR6-low.svgFigure 6-6 Unipolar Switch Through INT

Omnipolar Switch Through INT

The TMAG3001 supports omnipolar switch mode through the INT pin, where the device acts as a smart switch that can be configured to be sensitive for magnetic threshold crossing. Figure 6-7 shows an example for an omnipolar switch mode interrupt function through the INT pin. After the magnetic threshold cross is detected, the INT pin changes state. If the device is configured as an omnipolar switch, the device remains in a low power wake up and sleep mode in case if any interrupt event is detected.

GUID-20221209-SS0I-X88X-CBCR-6XMVVWCVQDHK-low.svgFigure 6-7 Omnipolar Switch Through INT