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

Key System Specifications

The key specifications of this reference design are provided in Table 1-1. The reference design can be directly connected to a C2000 MCU LaunchPad.

Table 1-1 Key Design Specifications
PARAMETERVALUE (TYPICAL)COMMENT
Maximum sensing range100mm
Position accuracy±0.15mm (±0.15%)Measured at 25°C
3D Hall-effect sensorTMAG5170A1±100mT (MAX) for A1, drop-in version A2 supports ±300mT(MAX)
Sensor full-scale range±50mT (Z-Axis), ±25mT (X-Axis)Programmable ±25mT, ±50mT, ±100 mT
Number of sensors4Scalable
Sensor distance (x-axis)25mmSelected for 25mm magnetic
Sensor distance to magnet (y-axis)1.52mmadjustable
Moving magnetN45-1350NdFeB axial disc magnet: , 1350mT, 25mm diameter, 3mm height
Sensor sample rate4kHz8kHz possible
Simultaneous sensingYesAll four TMAG5170 are triggered at the same time
SPI to host MCUup to 10MHz
Latency57.5usTime from effective sampling point to ADC results ready to read through SPI
Interface to host MCU (1)3.3V I/OCompatible to C2000 LaunchPad interface, refer to table 4-1 and 4-2 pin assignment
Supply voltage3.3V