SBAU388C September   2021  – February 2024 TMAG5170 , TMAG5170-Q1

 

  1.   1
  2.   TMAG5170 Evaluation Module Abstract
  3. 1Trademarks
  4. 2Overview
    1. 2.1 Kit Contents
    2. 2.2 Related Documentation From Texas Instruments
  5. 3Hardware
    1. 3.1 Features
  6. 4Operation
    1. 4.1 Quick Start Setup
    2. 4.2 EVM Operation
      1. 4.2.1 Setup
        1. 4.2.1.1 Driver Installation
        2. 4.2.1.2 Firmware
          1. 4.2.1.2.1 Firmware Debug
        3. 4.2.1.3 GUI Setup and Usage
          1. 4.2.1.3.1 Initial Setup
          2. 4.2.1.3.2 GUI Operation
      2. 4.2.2 Rotate and Push Demo
      3. 4.2.3 Direct EVM Serial Communication
  7. 5Schematics, PCB Layout, and Bill of Materials
    1. 5.1 Schematics
    2. 5.2 PCB Layout
    3. 5.3 Bill of Materials
  8. 6Revision History

Rotate and Push Demo

To use the rotate and push demo:

  1. Attach the Rotate & Push Module to the EVM as shown in Figure 4-10.
    GUID-20210813-SS0I-XFN8-TQF6-0VLMFHB6R3QV-low.svg Figure 4-10 Rotate & Push Module on EVM
  2. In the GUI register page:
    1. Make sure that the DEVICE_CONFIG → OPERATING_MODE says (TRIGGER_MODE Active).
    2. Make sure that SYSTEM_CONFIG → TRIGGER_MODE is set to the default value.
    3. Under the SENSOR_CONFIG register:
      1. Make sure both the x and y channels are enabled (MAG_CH_EN).
      2. Set X_RANGE and Y_RANGE to ±100mT for A1 versions, and ±133mT for A2 versions.
      3. Optional: Set ANGLE_EN to X-Y angle calculation.
    4. At the top of the register map, set Auto Read to As fast as possible.
  3. Go to the Rotate & Push tab inside the plots page (see Figure 4-11).
    GUID-4E0BA66C-081B-40C7-93F2-61741C6B9971-low.png Figure 4-11 Rotate & Push GUI Page
  4. If the push button LEDs are not triggering at every angle or trigger when they are not supposed to, calibrate the module by doing the following:
    1. With the settings set to run the demo, slowly rotate the module 360° and use the plots page to record the absolute value of the minimum and maximum magnetic field measurements (in mT) for both the X and Y channels.
    2. Adjust the Push threshold calibration value found in the Rotate & Push tab to be about 3-5mT larger than the maximum value recorded above.