TIDUF78 May   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   Design Images
  7. 1System Description
    1. 1.1 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
  9. 3System Design Theory
    1. 3.1 Hardware Design
    2. 3.2 Software Design
      1. 3.2.1 TMAG5170 SPI Frame
        1. 3.2.1.1 Serial Data In 32-Bit Frame
        2. 3.2.1.2 Serial Data Out 32-Bit Frame
      2. 3.2.2 TMAG5170 Register Configuration
      3. 3.2.3 SPI and Start-of-Conversion Timing
      4. 3.2.4 Linear Position Calculation
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware
      1. 4.1.1 PCB Overview
      2. 4.1.2 MCU Interface Connector
    2. 4.2 Test Setup
    3. 4.3 Test Results
      1. 4.3.1 Magnetic Z and X Field Measurement
      2. 4.3.2 Linear Position Measurement
      3. 4.3.3 SPI Signal Measurement
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
      3. 5.1.3 PCB Layout
        1. 5.1.3.1 Layout Prints
        2. 5.1.3.2 Layout Guidelines
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6About the Author

Highlighted Products

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-effect 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 20ksps. On-chip temperature sensor data is available for system-level drift compensation. Among the many features of TMAG5170 are:

  • Independently selectable X, Y, and Z magnetic ranges:
    • TMAG5170A1: ±25, ±50, ±100 mT
    • TMAG5170A2: ±75, ±150, ±300 mT
  • Dedicated ALERT pin enables simultaneous start-of-conversion of X,Y,Z axis across multiple 3D Hall-effect sensors.
  • Pseudo-simultaneous sampling mode
  • 10MHz serial peripheral interface (SPI) with cyclic redundancy check (CRC)
  • 2.3V to 5.5V supply voltage range
  • Operating temperature range: –40°C to +150°C
  • Oversampling which reduces output noise by averaging 2,4,8,16, or 32 conversions
TIDA-060045 TMAG5170 Functional Block
                    Diagram Figure 2-2 TMAG5170 Functional Block Diagram