Product details

Type 3-Axis linear Interface type SPI Sensitivity error (%) 2.5 Sample rate (ksps) 20 Rating Catalog Operating temperature range (°C) -40 to 150
Type 3-Axis linear Interface type SPI Sensitivity error (%) 2.5 Sample rate (ksps) 20 Rating Catalog Operating temperature range (°C) -40 to 150
VSSOP (DGK) 8 14.7 mm² (3 mm × 4.9 mm)
  • High-precision linear 3D Hall-effect sensor to optimize position sensing speed and accuracy:
    • Linear measurement total error: ±2.6% (maximum at 25°C)
    • Sensitivity temperature drift: ±2.8% (maximum)
    • 20-Ksps conversion rate for single axis
  • 10-MHz serial peripheral interface (SPI) with cyclic redundancy check (CRC)
  • Built-in temperature sensor with < ±2°C error
  • Independently selectable X, Y, and Z magnetic ranges:
    • TMAG5170A1: ±25, ±50, ±100 mT
    • TMAG5170A2: ±75, ±150, ±300 mT
  • 5-nA (typical) deep sleep mode current
  • Autonomous wake-up and sleep mode for threshold detection consuming only 1.5 µA
  • ALERT function to initiate sensor conversion or indicate conversion complete
  • Integrated diagnostics for fault detection
  • Integrated angle CORDIC calculation with gain and offset adjustment
  • 2.3-V to 5.5-V supply voltage range
  • Operating temperature range: –40°C to +150°C
  • High-precision linear 3D Hall-effect sensor to optimize position sensing speed and accuracy:
    • Linear measurement total error: ±2.6% (maximum at 25°C)
    • Sensitivity temperature drift: ±2.8% (maximum)
    • 20-Ksps conversion rate for single axis
  • 10-MHz serial peripheral interface (SPI) with cyclic redundancy check (CRC)
  • Built-in temperature sensor with < ±2°C error
  • Independently selectable X, Y, and Z magnetic ranges:
    • TMAG5170A1: ±25, ±50, ±100 mT
    • TMAG5170A2: ±75, ±150, ±300 mT
  • 5-nA (typical) deep sleep mode current
  • Autonomous wake-up and sleep mode for threshold detection consuming only 1.5 µA
  • ALERT function to initiate sensor conversion or indicate conversion complete
  • Integrated diagnostics for fault detection
  • Integrated angle CORDIC calculation with gain and offset adjustment
  • 2.3-V to 5.5-V supply voltage range
  • Operating temperature range: –40°C to +150°C

The TMAG5170 is a high-precision linear 3D Hall-effect sensor designed for a wide range of industrial and personal electronics applications. The high level of integration offers flexibility and accuracy in a variety of position sensing systems. This device features 3 independent Hall sensors at X, Y, and Z axes.

A precision signal-chain along with an integrated 12-bit ADC enables high accuracy and low drift magnetic field measurements while supporting a sampling of up to 20 ksps. On-chip temperature sensor data is available for system-level drift compensation.

Integrated angle calculation engine (CORDIC) provides full 360° angular position information for both on-axis and off-axis angle measurement topologies. The angle calculation is performed using two user-selected magnetic axes. The device features magnetic gain and offset correction to mitigate the impact of system mechanical error sources.

The TMAG5170 can be configured through the SPI to enable any combination of magnetic axes and temperature measurements. Multiple sensor conversion schemes and SPI read frames help optimize throughput and accuracy. A dedicated ALERT pin can act as a system interrupt during low power wake-up and sleep mode, and can also be used by a microcontroller to trigger a new sensor conversion.

The TMAG5170 offers multiple diagnostics features to detect and report both system and device-level failures. The SPI communication features a user-enabled cyclic redundancy check to enhance the data integrity.

The device is offered in two different orderables to support wide magnetic fields ranges from ±25mT to ±300mT.

The device performs consistently across a wide ambient temperature range of –40°C to +150°C.

The TMAG5170 is a high-precision linear 3D Hall-effect sensor designed for a wide range of industrial and personal electronics applications. The high level of integration offers flexibility and accuracy in a variety of position sensing systems. This device features 3 independent Hall sensors at X, Y, and Z axes.

A precision signal-chain along with an integrated 12-bit ADC enables high accuracy and low drift magnetic field measurements while supporting a sampling of up to 20 ksps. On-chip temperature sensor data is available for system-level drift compensation.

Integrated angle calculation engine (CORDIC) provides full 360° angular position information for both on-axis and off-axis angle measurement topologies. The angle calculation is performed using two user-selected magnetic axes. The device features magnetic gain and offset correction to mitigate the impact of system mechanical error sources.

The TMAG5170 can be configured through the SPI to enable any combination of magnetic axes and temperature measurements. Multiple sensor conversion schemes and SPI read frames help optimize throughput and accuracy. A dedicated ALERT pin can act as a system interrupt during low power wake-up and sleep mode, and can also be used by a microcontroller to trigger a new sensor conversion.

The TMAG5170 offers multiple diagnostics features to detect and report both system and device-level failures. The SPI communication features a user-enabled cyclic redundancy check to enhance the data integrity.

The device is offered in two different orderables to support wide magnetic fields ranges from ±25mT to ±300mT.

The device performs consistently across a wide ambient temperature range of –40°C to +150°C.

Download View video with transcript Video

TMAG5170 won second in Elektronik’s Product of the Year Measurement & Sensing category.

Similar products you might be interested in

open-in-new Compare alternates
Pin-for-pin with same functionality to the compared device.
TMAG5170-Q1 ACTIVE Automotive, high-precision linear 3D Hall-effect sensor with serial peripheral interface Automotive version
Same functionality with different pin-out to the compared device.
TMAG5173-Q1 ACTIVE Automotive, high-precision, linear 3D Hall-effect sensor with I²C interface I2C interface
TMAG5170D-Q1 ACTIVE Automotive, high-precision, 3D linear Hall-effect dual-die sensor with SPI interface Dual-die version for enhanced safety

Technical documentation

No results found. Please clear your search and try again.
View all 40
Top documentation Type Title Format options Date
* Data sheet TMAG5170 High-Precision 3D Linear Hall-Effect Sensor With SPI datasheet PDF | HTML Sep 1, 2021
Application brief How Hall-Effect Sensors are Used in Electronic Smart Locks (Rev. B) PDF | HTML Jul 22, 2025
Application note Position Sensing in Electronic Smart Locks Using Hall-Effect Sensors (Rev. B) PDF | HTML Jul 22, 2025
Analog design Journal Choosing a position sensor in motor control PDF | HTML Jun 27, 2025
User guide ROTATEPUSH-MAG-ACC User's Guide PDF | HTML Dec 20, 2024
User guide JOYSTICK-MAG-ACC (Rev. B) PDF | HTML Dec 11, 2024
Application note Linear Hall-Effect Sensor Array Design (Rev. B) PDF | HTML May 24, 2024
Application brief Absolute Angle Measurements for Rotational Motion Using Hall-Effect Sensors (Rev. B) PDF | HTML May 24, 2024
Application brief Mechanical Advantages of 3D Hall-Effect Sensors in Robotics Designs (Rev. A) PDF | HTML May 24, 2024
Application brief Measuring 3D Motion With Absolute Position Sensors (Rev. B) PDF | HTML May 23, 2024
Application brief Head-on Linear Displacement Sensing Using Hall-Effect Sensors (Rev. A) PDF | HTML May 22, 2024
Application brief Multi-mover Position Sensing With Linear Motor Transport Systems (Rev. A) PDF | HTML May 21, 2024
User guide TMAG5170 Slide-By Attachment (Rev. A) PDF | HTML May 21, 2024
Application brief Tracking Slide-By Displacement With Linear Hall-Effect Sensors (Rev. B) PDF | HTML May 21, 2024
Application note Magnet Selection for Linear Position Applications (Rev. B) PDF | HTML May 14, 2024
Application note Gear-Tooth Detection With Back-Biased 3D Hall-Effect Sensors PDF | HTML Apr 29, 2024
Product overview Introduction to Hall-Effect Sensors (Rev. B) PDF | HTML Apr 25, 2024
Certificate TIDA-060045 EU Declaration of Conformity (DoC) PDF | HTML Apr 9, 2024
Certificate TMAG5170UEVM EU RoHS Declaration of Conformity (DoC) (Rev. A) Jan 23, 2024
Application note Joystick and Lever Design With Hall-Effect Sensors (Rev. A) PDF | HTML Dec 21, 2023
Application brief Introduction to TI Magnetic Sense Simulator Features PDF | HTML Dec 5, 2023
User guide Texas Instruments' Magnetic Sense Simulator User's Guide PDF | HTML Dec 4, 2023
Application brief Angle Calculation Methods Using Position Sensor Output Data (Rev. A) PDF | HTML May 19, 2023
Application brief Hall-Effect Sensors for Steering Column Control (Rev. A) PDF | HTML May 8, 2023
Application brief Sensor Array Fan-out Techniques and Implementation (Rev. A) PDF | HTML May 5, 2023
White paper Using Hall-Effect Sensors For Contactless Rotary Encoding and Knob Applications (Rev. A) PDF | HTML May 1, 2023
Application note Angle Measurement With Multi-Axis Hall-Effect Sensors (Rev. A) PDF | HTML Apr 30, 2023
Application note Achieving Highest System Angle Sensing Accuracy (Rev. A) PDF | HTML Apr 19, 2023
Application note 3D Hall-Sensor Application in Vacuum Robots Collision PDF | HTML Mar 29, 2023
Certificate TMAG5170DEVM EU RoHS Declaration of Conformity (DoC) Jan 20, 2023
Technical article 3 tips to optimize data reliability with sensors in real-time control systems PDF | HTML Aug 9, 2022
Technical article 6 more myths about Hall-effect sensors PDF | HTML May 31, 2022
Analog design Journal Using hall-effect sensors for contactless linear movement sensing PDF | HTML Mar 31, 2022
Application brief Hall-Effect Sensors in Vacuum Robots PDF | HTML Mar 22, 2022
User guide Magnetic Sensing Enhanced Proximity Tool PDF | HTML Feb 22, 2022
Application note Reed Switch Replacement with TI's Hall-effect and Linear 3D Hall-effect Sensors PDF | HTML Oct 13, 2021
Technical article How 3D Hall-effect sensors deliver precise, real-time position control to autonomo PDF | HTML Oct 11, 2021
White paper Improve System Performance With Linear 3D Hall-Effect Position Sensors PDF | HTML Sep 24, 2021
Application brief Limit Detection for Tamper and End-of-Travel Detection Using Hall-Effect Sensors (Rev. A) PDF | HTML Aug 24, 2021
User guide TMAG5170 Orbital Attachment (Rev. A) PDF | HTML Jul 19, 2021

Design & development

For additional terms or required resources, click any title below to view the detail page where available.

Evaluation board

TMAG5170UEVM — TMAG5170 evaluation module

The TMAG5170UEVM is an easy-to-use platform to evaluate the main features and performance of the TMAG5170. The evaluation module (EVM) includes a graphical user interface (GUI) used to read and write registers, and to view and save measurement results. Also included is a 3D-printed rotate-and-push (...)
User guide: PDF | HTML
Supported products & hardware
In stock
Limit:
??asset.out-of-stock-ti_en_US??
Not available
Firmware

TMAG5170-CODE-EXAMPLE — TMAG5170 and TMAG5170-Q1 C code example

C code example for the TMAG5170 and TMAG5170-Q1
Supported products & hardware
Simulation tool

TI-MAGNETIC-SENSE-SIMULATOR — TI Magnetic sensing simulation tool

The TI-MAGNETIC-SENSE-SIMULATOR (TIMSS) webtool estimates magnetic flux density and TI magnetic sensor outputs for magnetic position sensing systems. Select from our portfolio of magnetic sensors to thoroughly emulate electro-mechanical performance of your design. The tool supports various magnet (...)
Supported products & hardware
Calculation tool

HALL-PROXIMITY-DESIGN — Magnetic Sensing Proximity Tool

HALL-PROXIMITY-DESIGN is a software tool that facilitates rapid iterative design for magnet and Hall-effect sensor systems.

Supported products & hardware
Calculation tool

SBAR012 — Angle Error Calculator for Linear 3D Hall-effect Sensors

Angle Error Calculator for Linear 3D Hall-effect Sensors
Supported products & hardware
Reference design

TIDA-010997 — Edge AI sensor BoosterPack™ reference design

This reference design introduces a plug-and-play time-series sensors BoosterPack™ that remains compatible with multiple TI Evaluation Modules (EVMs). The design offers direct access to different sensor types, enabling simple data collection for developing and evaluating Edge AI applications using (...)

Supported products & hardware
Reference design

TIDA-060040 — Absolute angle encoder reference design with Hall-effect sensors for precise motor position control

The TIDA-060040 reference design demonstrates a method for absolute angle encoding typical in precision motor-control applications, such as robotic arm control. Angle encoding can be achieved using various magnetic sensing technologies. This is done by detecting two magnetic flux density, B-field, (...)

Supported products & hardware
Reference design

TIDA-060045 — Accurate low-latency linear position sense reference design with quad 3D Hall-effect sensors

This reference design demonstrates precision, low-latency linear position sensing of a N45 magnet target using single or multiple equidistant placed 3D Hall-effect sensors TMAG5170 with high-speed 10MHz SPI interface, where the Z-axis and X-axis magnetic field strength as well as CRC data are (...)
Supported products & hardware
Package Pins CAD symbols, footprints & 3D models
VSSOP (DGK) 8 Ultra Librarian

Ordering & quality

Recommended products may have parameters, evaluation modules or reference designs related to this TI product.

Support & training

TI E2E™ forums with technical support from TI engineers

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support. ​​​​​​​​​​​​​​

Videos