SLYU058D May   2021  – February 2024 TMAG5173-Q1 , TMAG5273

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Overview
    1. 1.1 Kit Contents
    2. 1.2 Related Documentation From Texas Instruments
  5. 2Hardware
    1. 2.1 Features
  6. 3Operation
    1. 3.1 Quick Start Setup
  7. 4EVM Operation
    1. 4.1 Setup
      1. 4.1.1 Driver Installation
      2. 4.1.2 Firmware
        1. 4.1.2.1 Updating Firmware on SCB
      3. 4.1.3 GUI Setup and Usage
        1. 4.1.3.1 Initial Setup
        2. 4.1.3.2 GUI Operation
    2. 4.2 Rotate and Push Demo
    3. 4.3 Joystick Demo
    4. 4.4 Direct EVM Serial Communication
  8. 5Circuitry
    1. 5.1 TMAG5x73 EVM Components
    2. 5.2 SCB LEDs
  9. 6Schematics, PCB Layout, and Bill of Materials
    1. 6.1 Schematics
    2. 6.2 PCB Layout
    3. 6.3 Bill of Materials
  10. 7Revision History

Rotate and Push Demo

The TMAG5273EVM comes with the rotate and push 3D print. However, this 3D print can also work with the TMAG5173 since both devices use the same magnetic range. To use the Rotate and Push Demo, follow these steps:

  1. Attach the Rotate & Push Module to the EVM (see Figure 4-10 for an example on how this module is connected to the A1 part of the EVM).
    GUID-20210911-SS0I-2VWQ-2BWF-GPKCSWQCZBHF-low.png Figure 4-10 Rotate & Push Module on EVM
  2. In the GUI register page:
    1. Select the DEVICE_CONFIG2 register and check the following:
      1. Make sure the drop-down menu option for the OPERATING_MODE register bits says 00b = Standby Mode
      2. Make sure the drop-down menu option for the TRIGGER_MODE register bits says 0b=Conversion Start at I2C Command Bits
    2. Click the SENSOR_CONFIG1 register and select the 0011b= X, Y channel enabled option under the MAG_CH_EN drop-down menu to enable the X and Y channels.
    3. Click the SENSOR_CONFIG2 register and set the X_Y_RANGE drop-down menu to one of the below options (note that the same range option is selected for the X and Y axes; however, the Z axis range can be set independently of the x and y axes range setting):
      1. If the TMAG5273A1 part of the EVM is connected to the SCB, then select the 1b = ±80 mT (TMAG5273x1)/ ±266mT (TMAG5273x2) option. This makes sure that the 80-mT variant is selected for the TMAG5273A1. Note that the demo does not work with the 40-mT range because the magnetic flux density produced by the Rotate and Push Module is greater than 40 mT, which is why the 80-mT range is selected.
      2. If the TMAG5273A2 part of the EVM is connected to the SCB, then select the 0b = ±40 mT (TMAG5273x1)/ ±133mT (TMAG5273x2) option. This makes sure that the 133-mT range option is selected. The 266 mT can also be used here instead, but the results using this range is not as good as the results with the 133-mT range.
    4. Optional: Click the SENSOR_CONFIG2 register and set the ANGLE_EN drop-down menu to 01B = X 1ST, y 2ND. Performing this step enables the TMAG5273’s angle measurement calculation.
    5. Set the Auto Read at the top of the register map to As fast as possible.
  3. Go to the Rotate & Push tab inside the plots page (see Figure 4-11).
    GUID-20220801-SS0I-JSST-PWNH-BCRK1GS9RVMN-low.jpg Figure 4-11 Rotate & Push GUI Page
  4. As the user turns the knob on the Rotate & Push Module, the angle displayed on the dial and text below the dial changes accordingly. Click the Plots tab to see the resulting X and Y channel waveforms (Figure 4-12), device angle measurement (Figure 4-13), and magnitude (Figure 4-14) during this process.
    GUID-20220802-SS0I-6KHH-GFV5-JR5NGMZSNJCM-low.png Figure 4-12 X and Y Channel GUI Plots
    GUID-20220802-SS0I-2GFC-KKJJ-J95KNHCJSGR9-low.png Figure 4-13 Device's Angle Measurement Plot
    GUID-20220802-SS0I-TLPC-FX7X-WHSKZGXG1R0J-low.png Figure 4-14 Device's Magnitude Plot
  5. Press the STOP COLLECT button to stop collecting data.
  6. After testing a particular TMAG5x73 device variant, make sure to first disconnect the SCB USB cable from the PC before connecting the SCB to another part of the EVM board associated with the other TMAG5x73 device variant. After disconnecting the cable, the part of the EVM board associated with the other TMAG5x73 variant must be connected to the SCB before reconnecting the SCB USB cable to the PC.