JAJSOV9A March   2023  – December 2023 TMAG5170D-Q1

PRODUCTION DATA  

  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 Recommended Operating Conditions
    4. 5.4 Thermal Information
    5. 5.5 Electrical Characteristics
    6. 5.6 Magnetic Characteristics
    7. 5.7 Power up Timing
    8. 5.8 SPI Interface Timing
    9. 5.9 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 Magnetic Range Selection
      4. 6.3.4 Update Rate Settings
      5. 6.3.5 ALERT Function
        1. 6.3.5.1 Interrupt and Trigger Mode
        2. 6.3.5.2 Magnetic Switch Mode
      6. 6.3.6 Threshold Count
      7. 6.3.7 Diagnostics
        1. 6.3.7.1  Memory Cyclic Redundancy Check (CRC)
        2. 6.3.7.2  ALERT Integrity Check
        3. 6.3.7.3  VCC Check
        4. 6.3.7.4  Internal LDO Undervoltage Check
        5. 6.3.7.5  Digital Core Power-On Reset Check
        6. 6.3.7.6  SDO Output Check
        7. 6.3.7.7  Communication Cyclic Redundancy Check (CRC)
        8. 6.3.7.8  Oscillator Integrity Check
        9. 6.3.7.9  Magnetic Field Threshold Check
        10. 6.3.7.10 Temperature Alert Check
        11. 6.3.7.11 Analog Front-End (AFE) Check
        12. 6.3.7.12 Hall Resistance and Switch Matrix Check
        13. 6.3.7.13 Hall Offset Check
        14. 6.3.7.14 ADC Check
    4. 6.4 Device Functional Modes
      1. 6.4.1 Operating Modes
        1. 6.4.1.1 Active Mode
        2. 6.4.1.2 Standby Mode
        3. 6.4.1.3 Configuration Mode (DEFAULT)
        4. 6.4.1.4 Sleep Mode
        5. 6.4.1.5 Wake-Up and Sleep Mode
        6. 6.4.1.6 Deep-Sleep Mode
    5. 6.5 Programming
      1. 6.5.1 Data Definition
        1. 6.5.1.1 Magnetic Sensor Data
        2. 6.5.1.2 Temperature Sensor Data
        3. 6.5.1.3 Magnetic Sensor Offset Correction
        4. 6.5.1.4 Angle and Magnitude Data Definition
      2. 6.5.2 Serial Peripheral Interface (SPI)
        1. 6.5.2.1 SCK
        2. 6.5.2.2 CS
        3. 6.5.2.3 SDI
        4. 6.5.2.4 SDO
          1. 6.5.2.4.1 Regular 32-Bit SDO Read
          2. 6.5.2.4.2 Special 32-Bit SDO Read
        5. 6.5.2.5 SPI CRC
        6. 6.5.2.6 SPI Frame
          1. 6.5.2.6.1 32-Bit Read Frame
          2. 6.5.2.6.2 32-Bit Write Frame
  8. Application and Implementation
    1. 7.1 Application Information
      1. 7.1.1 Selecting 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 Error Calculation During Linear Measurement
      5. 7.1.5 Error Calculation During Angular Measurement
    2. 7.2 Typical Application
      1. 7.2.1 Design Requirements
        1. 7.2.1.1 Gain Adjustment for Angle Measurement
      2. 7.2.2 Detailed Design Procedure
      3. 7.2.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 ドキュメントの更新通知を受け取る方法
    2. 9.2 サポート・リソース
    3. 9.3 Trademarks
    4. 9.4 静電気放電に関する注意事項
    5. 9.5 用語集
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

パッケージ・オプション

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

Register Map

All register addresses not listed should be considered as reserved locations and the register contents should not be modified.

Table 8-1 TMAG5170D-Q1 Registers
Address Type Reset Acronym Register Name Section
00h R/W 0000h DEVICE_CONFIG Configure Device Operation Modes Go
01h R/W 0000h SENSOR_CONFIG Configure Device Operation Modes Go
02h R/W 0000h SYSTEM_CONFIG Configure Device Operation Modes Go
03h R/W 0000h ALERT_CONFIG Configure Device Operation Modes Go
04h R/W 7D83h X_THRX_CONFIG Configure Device Operation Modes Go
05h R/W 7D83h Y_THRX_CONFIG Configure Device Operation Modes Go
06h R/W 7D83h Z_THRX_CONFIG Configure Device Operation Modes Go
07h R/W 6732h T_THRX_CONFIG Configure Device Operation Modes Go
08h R/W 0000h CONV_STATUS Conversion Status Register Go
09h R 0000h X_CH_RESULT Conversion Result Register Go
0Ah R 0000h Y_CH_RESULT Conversion Result Register Go
0Bh R 0000h Z_CH_RESULT Conversion Result Register Go
0Ch R 0000h TEMP_RESULT Conversion Result Register Go
0Dh R 8000h AFE_STATUS Status Register Go
0Eh R 0000h SYS_STATUS Status Register Go
0Fh R/W 00x0h TEST_CONFIG Test Configuration Register Go
10h R 0000h OSC_MONITOR Conversion Result Register Go
11h R/W 0000h MAG_GAIN_CONFIG Configure Device Operation Modes Go
12h R/W 0000h MAG_OFFSET_CONFIG Configure Device Operation Modes Go
13h R 0000h ANGLE_RESULT Conversion Result Register Go
14h R 0000h MAGNITUDE_RESULT Conversion Result Register Go
Table 8-2 TMAG5170D-Q1 Access Type Codes
Access Type Code Description
Read Type
R R Read
RC R
C
Read
to Clear
Write Type
W W Write
Reset or Default Value
-n Value after reset or the default value

8.1 DEVICE_CONFIG Register (Address = 00h) [Reset = 0000h]

Return to Register Map.

Table 8-3 DEVICE_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15 RESERVED R 0h Reserved
14-12 CONV_AVG R/W 0h Enables additional sampling of the sensor data to reduce the noise effect (or to increase resolution)
0h = 1x - 10.0 kSPS (3-axes) or 20 kSPS (1 axis)
1h = 2x - 5.7 kSPS (3-axes) or 13.3 kSPS (1 axis)
2h = 4x - 3.1 kSPS (3-axes) or 8.0 kSPS (1 axis)
3h = 8x - 1.6 kSPS (3-axes) or 4.4 kSPS (1 axis)
4h = 16x - 0.8 kSPS (3-axes) or 2.4 kSPS (1 axis)
5h = 32x - 0.4 kSPS (3-axes) or 1.2 kSPS (1 axis)
6h = Code not used, defaults to 000b if selected
7h = Code not used, defaults to000b if selected
11-10 RESERVED R 0h Reserved
9-8 MAG_TEMPCO R/W 0h Temperature coefficient of sense magnet
0h = 0%/ deg C (Current sensor applications)
1h = 0.12%/deg C (NdBFe)
2h = 0.03% /deg C (SmCo)
3h = 0.2%/deg C (Ceramic)
7 RESERVED R 0h Reserved
6-4 OPERATING_MODE R/W 0h Selects operating mode
0h = Configuration mode, Default (TRIGGER_MODE active)
1h = Stand-by mode (TRIGGER_MODE active)
2h = Active measure mode (Continuous conversion)
3h = Active trigger mode (TRIGGER_MODE active)
4h = Wake-up and sleep mode (duty-cycled mode)
5h = Sleep mode
6h = Deep sleep mode (wakes up at CS signal from controller)
7h = Code not used, defaults to 000b if selected
3 T_CH_EN R/W 0h Enables temperature compensation of the sensor data. Set this bit to '1b' for precision performance. If only temperature channel is enabled, the CONV_AVG register bits need to set at 000b.
0h = Temp channel disabled, Default
1h = Temp channel enabled
2 T_RATE R/W 0h Temperature conversion rate. The rate is linked to the CONV_AVG field
0h = Same as other sensors per CONV_AVG, Default
1h = Once per conversion set
1 T_HLT_EN R/W 0h Enables temperature limit check
0h = Temperature limit check off, Default
1h = Temperature limit check on
0 RESERVED R 0h Reserved

8.2 SENSOR_CONFIG Register (Address = 01h) [Reset = 0000h]

Return to Register Map.

Table 8-4 SENSOR_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:14 ANGLE_EN R/W 0h Enable angle calculation using two axis data
0h = No angle calculation (default)
1h = X-Y-angle calculation enabled
2h = Y-Z-angle calculation enabled
3h = X-Z-angle calculation enabled
13:10 SLEEPTIME R/W 0h Selects the time spent in low power mode between conversions when OPERATING_MODE =010b
0h = 1 ms
1h = 5 ms
2h = 10 ms
3h = 15 ms
4h = 20 ms
5h = 30 ms
6h = 50 ms
7h = 100 ms
8h = 500 ms
9h = 1000 ms
Ah = Code not used, defaults to 0000b if selected
Bh = Code not used, defaults to 0000b if selected
Ch = Code not used, defaults to 0000b if selected
Dh = Code not used, defaults to 0000b if selected
Eh = Code not used, defaults to 0000b if selected
Fh = Code not used, defaults to 0000b if selected
9:6 MAG_CH_EN R/W 0h Enables data acquisition of the magnetic axis channel(s)
0h = All magnetic channels of OFF, DEFAUT
1h = X channel enabled
2h = Y channel enabled
3h = X, Y channels enabled
4h = Z channel enabled
5h = Z, X channels enabled
6h = Y, Z channels enabled
7h = X, Y, Z channels enabled
8h = XYX channels enabled
9h = YXY channels enabled
Ah = YZY channels enabled
Bh = ZYZ channels enabled
Ch = ZXZ channels enabled
Dh = XZX channels enabled
Eh = XYZYX channels enabled
Fh = XYZZYX channels enabled
5:4 Z_RANGE R/W 0h Enables different magnetic ranges to support magnetic fields from ±25 mT to ±300 mT
0h = ±50 mT (TMAG5170A1)/ ±150 mT(TMAG5170A2), Default
1h = ±25 mT (TMAG5170A1)/ ±75 mT(TMAG5170A2)
2h = ±100 mT (TMAG5170A1)/ ±300 mT(TMAG5170A2)
3h = Code not used, defaults to 00b if selected
3:2 Y_RANGE R/W 0h Enables different magnetic ranges to support magnetic fields from ±25 mT to ±300 mT
0h = ±50 mT (TMAG5170A1)/ ±150 mT(TMAG5170A2), Default
1h = ±25 mT (TMAG5170A1)/ ±75 mT(TMAG5170A2)
2h = ±100 mT (TMAG5170A1)/ ±300 mT(TMAG5170A2)
3h = Code not used, defaults to 00b if selected
1:0 X_RANGE R/W 0h Enables different magnetic ranges to support magnetic fields from ±25 mT to ±300 mT
0h = ±50 mT (TMAG5170A1)/ ±150 mT(TMAG5170A2), Default
1h = ±25 mT (TMAG5170A1)/ ±75 mT(TMAG5170A2)
2h = ±100 mT (TMAG5170A1)/ ±300 mT(TMAG5170A2)
3h = Code not used, defaults to 00b if selected

SYSTEM_CONFIG Register (Address = 02h) [Reset = 0000h]

Return to Register Map.

Table 8-5 SYSTEM_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:14 RESERVED R 0h Reserved
13:12 DIAG_SEL R/W 0h Selects a diagnostic mode run
0h = Run all data path diagnostics all together, Default
1h = Run only enabled data path diagnostics all together
2h = Run all data path diagnostics in sequence
3h = Run only enabled data path diagnostics in sequence
11 RESERVED R 0h Reserved
10:9 TRIGGER_MODE R/W 0h Selects a condition which initiates a single conversion based off already configured registers. A running conversion completes before executing a trigger. Redundant triggers are ignored. TRIGGER_MODE is available only during the modes explicitly mentioned in OPERATING_MODE.
0h = Conversion start at SPI command, Default
1h = Conversion start at CS pulse
2h = Conversion start at ALERT pulse
3h = Code not used, defaults to 00b if selected
8:6 DATA_TYPE R/W 0h Data Type to be accessed from results registers via SPI
0h = Default 32-bit register access
1h = 12-Bit XY data access
2h = 12-Bit XZ data access
3h = 12-Bit ZY data access
4h = 12-Bit XT data access
5h = 12-Bit YT data access
6h = 12-Bit ZT data access
7h = 12-Bit AM data access
5 DIAG_EN R/W 0h Enables user controlled AFE diagnostic tests
0h = Execution of AFE diagnostics is disabled, Default
1h = Execution of AFE diagnostics is enabled
4:3 RESERVED R 0h Reserved
2 Z_HLT_EN R/W 0h Enables magnetic field limit check on Z axis
0h = Z axis limit check off, Default
1h = Z axis limit check on
1 Y_HLT_EN R/W 0h Enables magnetic field limit check on Y axis
0h = Y axis limit check off, Default
1h = Y axis limit check on
0 X_HLT_EN R/W 0h Enables magnetic field limit check on X axis
0h = X axis limit check off, Default
1h = X axis limit check on

8.3 ALERT_CONFIG Register (Address = 03h) [Reset = 0000h]

Return to Register Map.

Table 8-6 ALERT_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:14 RESERVED R 0h Reserved
13 ALERT_LATCH R/W 0h Latched ALERT mode select
0h = ALERT sources are not latched. ALERT is asserted only while the source of the ALERT response is present
1h = ALERT sources are latched. ALERT response is latched when the source of the ALERT is asserted until cleared on Read of the corresponding status register (AFE_STATUS, SYS_STATUS, or result registers)
12 ALERT_MODE R/W 0h ALERT mode select
0h = Interrupt mode
1h = Switch mode. This mode overrides any interrupt function (ALERT trigger is also disabled), and implements Hall switch function based off the *_THRX_ALRT settings. In the switch mode the corresponding X_HLT_EN, Y_HLT_EN, Z_HLT_EN need to be set.
11 STATUS_ALRT R/W 0h Enable ALERT response when any flag in the AFE_STATUS or SYS_STATUS registers are set
0h = ALERT is not asserted when any of the AFE_STATUS or SYS_STATUS bit is set
1h = ALERT output is asserted when any of the AFE_STATUS or SYS_STATUS bit is set
10:9 RESERVED R 0h Reserved
8 RSLT_ALRT R/W 0h Enable ALERT response when the configured set of conversions is complete
0h = ALERT is not used to signal when the configured set of conversions are complete
1h = ALERT output is asserted when the configured set of conversions are complete
7:6 RESERVED R 0h Reserved
5:4 THRX_COUNT R/W 0h Number of conversions above the HIGH threshold or below the LOW threshold before the ALERT response is initiated
0h = 1-Conversion result
1h = 2-Conversion results
2h = 3-Conversion results
3h = 4-Conversion results
3 T_THRX_ALRT R/W 0h Temperature threshold ALERT enable
0h = ALERT is not used to signal when temperature thresholds are crossed
1h = ALERT output is asserted when temperature thresholds are crossed
2 Z_THRX_ALRT R/W 0h Z-Channel threshold ALERT enable
0h = ALERT is not used to signal when Z-Axis magnetic thresholds are crossed
1h = ALERT output is asserted when Z-Axis magnetic thresholds are crossed
1 Y_THRX_ALRT R/W 0h Y-Channel threshold ALERT enable
0h = ALERT is not used to signal when Y-Axis magnetic thresholds are crossed
1h = ALERT output is asserted when Y-Axis magnetic thresholds are crossed
0 X_THRX_ALRT R/W 0h X-Channel threshold ALERT enable
0h = ALERT is not used to signal when X-Axis magnetic thresholds are crossed
1h = ALERT output is asserted when X-Axis magnetic thresholds are crossed

8.4 X_THRX_CONFIG Register (Address = 04h) [Reset = 7D83h]

Return to Register Map.

Table 8-7 X_THRX_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:8 X_HI_THRESHOLD R/W 7Dh X-Axis maximum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as: (X_RANGE/128)*X_HI_THRESHOLD. Default to 98% of the full-scale
7:0 X_LO_THRESHOLD R/W 83h X-Axis minimum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as: (X_RANGE/128)*X_LO_THRESHOLD. Default to -98% of the full-scale

Y_THRX_CONFIG Register (Address = 05h) [Reset = 7D83h]

Return to Register Map.

Table 8-8 Y_THRX_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:8 Y_HI_THRESHOLD R/W 7Dh Y-Axis maximum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as: (Y_RANGE/128)*Y_HI_THRESHOLD. Default to 98% of the full-scale.
7:0 Y_LO_THRESHOLD R/W 83h Y-Axis minimum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as: (Y_RANGE/128)*Y_LO_THRESHOLD. Default to -98% of the full-scale.

Z_THRX_CONFIG Register (Address = 06h) [Reset = 7D83h]

Return to Register Map.

Table 8-9 Z_THRX_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:8 Z_HI_THRESHOLD R/W 7Dh Z-Axis maximum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as:(Z_RANGE/128)*Z_HI_THRESHOLD. Default to 98% of the full-scale
7:0 Z_LO_THRESHOLD R/W 83h Z-Axis minimum magnetic field threshold. User input as 2's complement 8-bit binary number. The threshold in mT can be calculated as: (Z_RANGE/128)*X_LO_THRESHOLD. Default to -98% of the full-scale

T_THRX_CONFIG Register (Address = 07h) [Reset = 6732h]

Return to Register Map.

Table 8-10 T_THRX_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:8 T_HI_THRESHOLD R/W 67h Temperature maximum threshold. User input as 2's complement 8-bit binary number. Each LSB in this field corresponds to 4.267°C. Default value of 67h represents 172°C.
7:0 T_LO_THRESHOLD R/W 32h Temperature minimum threshold. User input as 2's complement 8-bit binary number. Each LSB in this field corresponds to 4.267°C. Default value of 32h represents -53°C.

CONV_STATUS Register (Address = 08h) [Reset = 0000h]

Return to Register Map.

Table 8-11 CONV_STATUS Register Field Descriptions
Bit Field Type Reset Description
15:14 RESERVED R 0h Reserved
13 RDY R 0h Conversion data buffer is ready.
0h = Conversion data not valid (result registers hold previous conversion value)
1h = Conversion data valid
12 A R 0h Angle/Magnitude data from current conversion
0h = Data is not current
1h = Data is current
11 T R 0h Temperature data from current conversion
0h = Temperature data is not current
1h = Temperature data is current
10 Z R 0h Z-Channel data from current conversion
0h = Z-Channel data is not current
1h = Z-Channel data is current
9 Y R 0h Y-Channel data from current conversion
0h = Y-Channel data is not current
1h = Y-Channel data is current
8 X R 0h X-Channel data from current conversion
0h = X-Channel data is not current
1h = X-Channel data is current
7 RESERVED R 0h Reserved
6:4 SET_COUNT R 0h Rolling count of conversion data sets
3:2 RESERVED R 0h Reserved
1:0 ALRT_STATUS R 0h State of ALERT response
0h = No ALERT conditions
1h = AFE status flag set
2h = SYS status flag set
3h = Flags set in both AFE and SYS status registers

X_CH_RESULT Register (Address = 09h) [Reset = 0000h]

Return to Register Map.

Table 8-12 X_CH_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:0 X_CH_RESULT R 0000h X-Channel data conversion results

Y_CH_RESULT Register (Address = 0Ah) [Reset = 0000h]

Return to Register Map.

Table 8-13 Y_CH_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:0 Y_CH_RESULT R 0000h Y-Channel data conversion results

8.5 Z_CH_RESULT Register (Address = 0Bh) [Reset = 0000h]

Return to Register Map.

Table 8-14 Z_CH_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:0 Z_CH_RESULT R 0000h Z-Channel data conversion results

TEMP_RESULT Register (Address = 0Ch) [Reset = 0000h]

Return to Register Map.

Table 8-15 TEMP_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:0 TEMP_RESULT R 0000h Temperature sensor data conversion results

AFE_STATUS Register (Address = 0Dh) [Reset = 8000h]

Return to Register Map.

Table 8-16 AFE_STATUS Register Field Descriptions
Bit Field Type Reset Description
15 CFG_RESET RC 1h Device power up status. This bit is reset when microcontroller reads the AFE_STATUS register.
0h = Device reset has been acknowledged and cleared
1h = Device has experienced a hardware reset after a power down or brown-out
14:13 RESERVED R 0h Reserved
12 SENS_STAT RC 0h Analog front end sensor diagnostic status
0h = No error detected
1h = Analog front end sensor diagnostic test failed
11 TEMP_STAT RC 0h Temperature sensor diagnostic status
0h = No error detected
1h = Analog front end temperature sensor diagnostic test failed
10 ZHS_STAT RC 0h Z-Axis hall sensor diagnostic status
0h = No error detected
1h = Z-Axis hall sensor diagnostic test failed
9 YHS_STAT RC 0h Y-Axis hall sensor diagnostic status
0h = No error detected
1h = Y-Axis hall sensor diagnostic test failed
8 XHS_STAT RC 0h X-Axis hall sensor diagnostic status
0h = No error detected
1h = X-Axis hall sensor diagnostic test failed
7:2 RESERVED R 0h Reserved
1 TRIM_STAT RC 0h Trim data error
0h = No trim data errors were detected
1h = Trim data error was detected
0 LDO_STAT RC 0h LDO error
0h = No faults in the internal LDO supplied power were detected
1h = A fault in the internal LDO supplied power was detected

8.6 SYS_STATUS Register (Address = 0Eh) [Reset = 0000h]

Return to Register Map.

Table 8-17 SYS_STATUS Register Field Descriptions
Bit Field Type Reset Description
15 ALRT_LVL R 0h Reflects the current state of the ALERT pin feed-back path
0h = The input ALERT logic level is low
1h = The input ALERT logic level is high
14 ALRT_DRV RC 0h Each time the open drain ALERT signal is driven, the feedback circuit checks if the ALERT output goes Low. An error flag is generated at the ALRT_DRV bit if the output does not go Low.
0h = No ALERT drive error detected
1h = ALERT drive error detected
13 SDO_DRV RC 0h The Logic value driven output on SDO was not the value of the SDO Pin Feed-back path when SDO is being driven by the device
0h = No SDO drive error detected
1h = SDO drive error detected
12 CRC_STAT RC 0h Cyclic redundancy check error
0h = No cyclic redundancy check error was detected
1h = Cyclic redundancy check error was detected for a SPI transaction
11 FRAME_STAT RC 0h Incorrect number of clocks in SPI frame
0h = No frame error was detected
1h = Incorrect number of clocks detected for a SPI transaction
10:8 OPERATING_STAT R 0h Reports the status of operating mode
0h = Config state
1h = Standby state
2h = Active measure (Continuous Mode) state
3h = Active triggered mode state
4h = DCM active state
5h = DCM Sleep state
6h = Sleep state
7:6 RESERVED R 0h Reserved
5 VCC_OV RC 0h VCC over-voltage detection in active or stand-by mode
0h = No over-voltage detected on VCC
1h = VCC was detected to be over-voltage
4 VCC_UV RC 0h VCC under voltage detection in active or stand-by mode
0h = No under-voltage was detected on VCC
1h = VCC was detected to be under-voltage
3 TEMP_THX RC 0h Temperature threshold crossing detected
0h = No temperature threshold crossing detected
1h = Temperature threshold crossing detected
2 ZCH_THX RC 0h Z-Channel threshold crossing detected
0h = No Z-Axis magnetic field threshold crossing detected
1h = Z-Axis magnetic field threshold crossing detected
1 YCH_THX RC 0h Y-Channel threshold crossing detected
0h = No Y-Axis magnetic field threshold crossing detected
1h = Y-Axis magnetic field threshold crossing detected
0 XCH_THX RC 0h X-Channel threshold crossing detected
0h = No X-Axis magnetic field threshold crossing detected
1h = X-Axis magnetic field threshold crossing detected

8.7 TEST_CONFIG Register (Address = 0Fh) [Reset = 00x0]

Return to Register Map.

Table 8-18 TEST_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:6 RESERVED R 001h Reserved
5:4 VER R xh Indicates the version of the device
0h = A1 rev
1h = A2 rev
2h = reserved
3h = reserved
3 RESERVED R 0h Reserved
2 CRC_DIS R/W 0h Enable or disable CRC in SPI communication
0h = CRC enabled in SPI communication (Default)
1h = CRC disabled in SPI communication
1:0 OSC_CNT_CTL R/W 0h Oscillator count control - starts, stops, and resets the counter driven by the HFOSC or LFOSC oscillator to facilitate oscillator frequency and integrity checks
0h = Reset OSC counter (default)
1h = Start OSC counter driven by HFOSC
2h = Start OSC counter driven by LFOSC
3h = Stop OSC counter

OSC_MONITOR Register (Address = 10h) [Reset = 0000h]

Return to Register Map.

Table 8-19 OSC_MONITOR Register Field Descriptions
Bit Field Type Reset Description
15:0 OSC_COUNT R 0000h Oscillator Counter. The number of selected oscillator clock cycles that have been counted since Oscillator Counter was started. The HFOSC and LFOSC clock roll-over the 16-bit counter once reaching the max value.

MAG_GAIN_CONFIG Register (Address = 11h) [Reset = 0000h]

Return to Register Map.

Table 8-20 MAG_GAIN_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:14 GAIN_SELECTION R/W 0h Enables the selection of a particular Hall axis for amplitude correction to get accurate angle measurement
0h = No axis is selected (Default)
1h = X-axis is selected
2h = Y-axis is selected
3h = Z-axis is selected
13:11 RESERVED R 0h Reserved
10:0 GAIN_VALUE R/W 000h 11-bit gain value determined by controller to adjust the a particular Hall axis value. The gain value is anywhere between 0 and 2. Gain is calculated as 'user entered value/1024'.

8.8 MAG_OFFSET_CONFIG Register (Address = 12h) [Reset = 0000h]

Return to Register Map.

Table 8-21 MAG_OFFSET_CONFIG Register Field Descriptions
Bit Field Type Reset Description
15:14 OFFSET_SELECTION R/W 0h Enables the selection of a particular Hall axis for offset correction to get accurate angle measurement:
00b = No axis is selected for offset correction (Default).
01b = Only OFFSET_VALUE1 is used for offset correction. Applied to X axis when ANGLE_EN = 01b or 11b, and to Y axis when ANGLE_EN =10b. No axis is selected if ANGLE_EN =00b.
10b = Only OFFSET_VALUE2 is used for offset correction. Applied to Y axis when ANGLE_EN = 01b, and to Z axis when ANGLE_EN =10b or 11b. No axis is selected if ANGLE_EN =00b.
11b = Both OFFSET_VALUE1 and OFFSET_VALUE2 are used for offset correction. OFFSET_VALUE1 applied to X axis when ANGLE_EN = 01b or 11b, and to Y axis when ANGLE_EN =10b. OFFSET_VALUE2 applied to Y axis when ANGLE_EN = 01b, and to Z axis when ANGLE_EN =10b or 11b. No axis is selected if ANGLE_EN =00b.
13:7 OFFSET_VALUE1 R/W 00h 7-bit, 2' complement offset value determined by controller to adjust a particular Hall axis value. The range of possible offset valid entries can be +/-64. The offset value is calculated from the user input as the 7 LSB bits of a 11-bit range per SENSOR_CONFIG register setting for the corresponding axis. Default offset value is 0.
6:0 OFFSET_VALUE2 R/W 00h 7-bit, 2' complement offset value determined by controller to adjust a particular Hall axis value. The range of possible offset valid entries can be +/-64. The offset value is calculated from the user input as the 7 LSB bits of a 11-bit range per SENSOR_CONFIG register setting for the corresponding axis. Default offset value is 0.

ANGLE_RESULT Register (Address = 13h) [Reset = 0000h]

Return to Register Map.

Table 8-22 ANGLE_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:13 Reserved R 0h Reserved
12:2 ANGLE_RESULT[10:0] R 000h Angle measurement result in degree. The data is displayed from 0 to 360 degree in 11 LSB bits. The LSB size is 0.25°
1:0 Reserved R 0h Reserved

MAGNITUDE_RESULT Register (Address = 14h) [Reset = 0000h]

Return to Register Map.

Table 8-23 MAGNITUDE_RESULT Register Field Descriptions
Bit Field Type Reset Description
15:0 MAGNITUDE_RESULT R 0000h Resultant vector magnitude (during angle measurement) result. This value should be constant during 360 degree measurements