High-precision, linear 3D Hall-effect sensor with SPI bus interface


Product details


Type 3-Axis linear Supply voltage (Vcc) (Min) (V) 2.3 Supply voltage (Vcc) (Max) (V) 5.5 Accuracy (%) 2.6 Rating Catalog Output SPI Operating temperature range (C) -40 to 150 open-in-new Find other Linear Hall-effect sensors

Package | Pins | Size

VSSOP (DGK) 8 15 mm² 3 x 4.9 open-in-new Find other Linear Hall-effect sensors


  • 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
open-in-new Find other Linear Hall-effect sensors


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.

open-in-new Find other Linear Hall-effect sensors
Similar products you might be interested in
open-in-new Compare products
Same functionality with different pin-out to the compared device.
NEW TMAG5273 PREVIEW Three-axis linear Hall-effect sensor with I²C output interface 3D linear Hall-effect sensor with I2C output

Technical documentation

star = Top documentation for this product selected by TI
No results found. Please clear your search and try again.
View all 14
Type Title Date
* Data sheet TMAG5170 High-Precision 3D Linear Hall-Effect Sensor With SPI datasheet Sep. 01, 2021
User guide TMAG5170UEVM User's Guide Sep. 02, 2021
Certificate TMAG5170UEVM EU RoHS Declaration of Conformity (DoC) Sep. 01, 2021
Application note Limit Detection for Tamper and End-of-Travel Detection Using Hall-Effect Sensors (Rev. A) Aug. 24, 2021
User guide Joystick Attachment Guide (Rev. A) Jul. 22, 2021
User guide TMAG5170 Orbital Attachment Assembly Guide (Rev. A) Jul. 19, 2021
Application note Measuring 3D Motion With Absolute Position Sensors Jul. 16, 2021
Application note Head-on Linear Displacement Sensing Using Hall-Effect Sensors Jun. 28, 2021
Technical article What is a Hall-effect sensor? May 17, 2021
Application note Absolute Angle Measurements for Rotational Motion Using Hall-Effect Sensors Mar. 30, 2021
Application note Linear Hall Effect Sensor Array Design Oct. 08, 2020
Application note Angle Measurement With Multi-Axis Hall-Effect Sensors Aug. 06, 2020
User guide TMAG5170EVM User's Guide Jun. 03, 2020
Certificate TMAG5170EVM EU Declaration of Conformity (DoC) May 29, 2020

Design & development

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

Hardware development

document-generic User guide

The TMAG5170UEVM is an easy-to-use platform for evaluating the main features and performance of the TMAG5170. The evaluation module (EVM) includes a graphical user interface (GUI) used to read and write registers as well as view and save measurement results. Also included is a 3D printed Rotate (...)

  • GUI support to read and write device registers as well as view and save measurement results
  • 3D print rotate and push module
  • Detachable EVM for custom-use cases
  • Conveniently powered from a common micro-USB connector

Design tools & simulation

SBAR012.ZIP (197 KB)

CAD/CAE symbols

Package Pins Download
VSSOP (DGK) 8 View options

Ordering & quality

Information included:
  • RoHS
  • Device marking
  • Lead finish/Ball material
  • MSL rating/Peak reflow
  • MTBF/FIT estimates
  • Material content
  • Qualification summary
  • Ongoing reliability monitoring

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. ​​​​​​​​​​​​​​