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

Joystick Demo

The TMAG5173EVM comes with the Joystick 3D print. However, this 3D print canalso work with the TMAG5273 since both devices use the same magnetic range. To use the joystick demo, follow these steps:

  1. Attach the joystick module to the EVM. See Figure 4-15 for an example on how this module is connected to one of the two TMAG5173 EVM parts.
    GUID-20220802-SS0I-29GC-W8M9-BCC2HHPC7DG9-low.png Figure 4-15 Joystick Module on EVM
  2. In the GUI register page:
    1. Select the DEVICE_CONFIG2 register and check the following:
      1. Make sure that drop-down menu option for the OPERATING_MODE register bits says 00b = Standby Mode (starts new conversion at trigger event)
      2. Make sure that 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. The user can also select the 0111b= X, Y, Z channel enabled option to enable the Z channel, but only the X and Y channels are required to observe the effect of the motion of the joystick. If the Z channel is enabled, then remember that this channel sees larger fields than the X and Y channel. Select the 1b = ±80 mT (TMAG5x73A1)/ ±266mT (TMAG5X73A2) option under the Z_RANGE register bit drop-down menu to make sure the Z_RANGE bit in the SENSOR_CONFIG2 register is set to 1.
  3. Go to the Plots tab within the Results Data page. Make sure that at least the X Component and Y Component checkboxes are selected under the Results to collect/show box, then press the COLLECT DATA button shown in Figure 4-16.
    GUID-20220802-SS0I-B4QB-W9WG-0MM8CLWLM4HC-low.png Figure 4-16 GUI Before Data Collection Begins With Joystick Module
    1. When the user moves the joystick around, the X and Y readings change.
      GUID-20220802-SS0I-W3QG-VJ08-LFWF7CBLWCTP-low.png Figure 4-17 Example X and Y Channel GUI Plots After Joystick Movement
      1. Note that different joysticks can have different magnetic readings for a specific joystick position due to differences in the installation position of the spherical magnet within the joystick. However, this can be dealt with by mapping the different joystick positions to the magnetic flux density readings during calibration, similar to the approach shown in this video: https://training.ti.com/designing-joysticks-hall-effect-sensors
  4. Press the STOP COLLECT button to stop collecting data.
  5. 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.