SLYA060 August   2022 TMAG5110 , TMAG5110-Q1 , TMAG5111 , TMAG5111-Q1

 

  1.   Abstract
  2.   Trademarks
  3. Introduction
  4. System Block Diagram
  5. Key System Specifications
  6. HW Connections
  7. Software
    1. 5.1 TI-RSLK LaunchPad Software
    2. 5.2 LaunchPad Software
  8. How to Design With Hall-Effect Latches
  9. Simulation Results
    1. 7.1 Select Device Sensitivity
    2. 7.2 Select Axis of Sensitivity
  10. Performance Comparison
    1. 8.1 Speed and Direction
    2. 8.2 Power Consumption
    3. 8.3 Susceptibility to External Particles
  11. Encoder Board Schematic and Image
  12. 10Summary

HW Connections

To prepare the TI-RSLK:

  1. Solder an external wire from Pin 9 on header J1 to the ELA pad on the TI-RSLK.
  2. Solder an external wire from Pin 10 on header J1 to the ERA pad on the TI-RSLK.
  3. Connect an external wire from 3V3 on LaunchPad to the 3V3 header pin on the TI-RSLK.
  4. Connect an external wire from GND on LaunchPad to the GND header pin on the TI-RSLK.
  5. Make your following jumper changes to the default emulator jumper settings.
  6. Remove the 5V jumper.
  7. Remove the 3V3 jumper.
  8. Move the jumper from the XDS110 Power position to the External Pwr position.
  9. Place the CC26x2R1 LaunchPad kit onto TI-RSLK robot.

The following table shows the connections from the TI-RSLK to the LaunchPad after following these steps:

Table 4-1 LaunchPad to TI-RSLK Hardware Connections

CC26x2 LaunchPad Pin Number

IO Name

Function1

Pin 1 (Header J1)

3V3

Power. Must connect external wire from here to the 3V3 on the TI-RSLK

Pin 9 ( Header J1)

DIO4

ELA: OUT2 pin (direction) of TMAG511x on left wheel encoder. Must solder external wire from here to the ELA on the TI-RSLK.

Pin 10 ( Header J1)

DIO5

ERA: OUT2 pin (direction) of TMAG511x on right wheel encoder. Must solder external wire from here to the ERA on the TI-RSLK.

Pin 11 (Header J2)

DIO15

nSLPR: DRV8838 Motor driver nSLEEP pin on the right motor

Pin 12 (Header J2)

DIO14

ELB: OUT1 pin (speed) of TMAG511x on left wheel encoder

Pin 13 (Header J2)

DIO13

ERB: OUT1 pin (speed) of TMAG511x on right wheel encoder

Pin 20 (Header J2)

GND

Board GND

Pin 21 (Header J3)

5V

Pin 22 (Header J3)

GND

Board GND. Must connect external wire from here to GND on the TI-RSLK.

Pin 29 (Header J3)

DIO0

DIR_L: DRV8838 Motor driver PH (direction) pin of the left motor

Pin 30 (Header J3)

DIO1

DIR_R: DRV8838 Motor driver PH (direction) pin of the right motor

Pin 31 (Header J4)

DIO17

nSLPL: DRV8838 Motor driver nSLEEP pin of the left motor

Pin 39 (Header J4)

DIO6

PWMR: DRV8838 Motor driver EN (PWM) pin of the right motor

Pin 40 (Header J4)

DIO7

PWML: DRV8838 Motor driver EN (PWM) pin of the left motor

To connect the joystick, TMAG5273EVM, and CC26x2R1 LaunchPad together:

  1. Connect an external wire from GND on the LaunchPad to pin 4 (top row, second pin on left) of TMAG5273EVM. This connects the GND pins together.
  2. Connect an external wire from 3V3 on the LaunchPad to pin 6 (top row, third pin on left) of TMAG5273EVM. This connects the power pins together.
  3. Connect an external wire from DIO4 on the LaunchPad to pin 10 (top row, fifth pin on left) of TMAG5273EVM. This connects the SCL pins together.
  4. Connect an external wire from DIO5 on the LaunchPad to pin 10 (top row, last pin on left) of TMAG5273EVM. This connects the SDA pins together.
  5. Connect the joystick to TMAG5273EVM.

The following table shows the connections from the TMAG5273EVM to the LaunchPad after following these steps:

Table 4-2 LaunchPad to TMAG5273EVM Hardware Connections

CC26x2 LaunchPad Pin Number

IO Name

Function1

Pin 1 (Header J1)

3V3

Power. Must connect external wire from here to pin 6 (top row, third pin on left) of the TMAG5273EVM.

Pin 9 (Header J1)

DIO4

SCL I2C line. Must connect external wire from here to pin 10 (top row, fifth pin on left) of the TMAG5273EVM.

Pin 10 (Header J1)

DIO5

SDA I2C line. Must connect external wire from here to pin 10 (top row, last pin on left) of the TMAG5273EVM

Pin 22 (Header J3)

GND

Board GND. Must connect external wire from here to pin 4 (top row, second pin on left) of the TMAG5273EVM.