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

LaunchPad Software

After the PC LaunchPad is powered, the following peripherals are initialized on the CC26x2 microcontroller:

  • I2C: The I2C first configures the TMAG5273 to enable conversions on the X and Y channels.

  • Serial Terminal: The backchannel UART on the XDS110 debugger is enabled so that a serial port is created when the LaunchPad USB connection is connected to a USB port on the laptop. The baudrate for this backchannel UART is 115200 baud per second with the 8N1 configuration.

While the PC LaunchPad waits for a packet, it triggers a new reading of the TMAG52730 X and Y channels. When the PC LaunchPad receives a packet from the TI-RSLK LaunchPad, it converts the number of falling edge transitions indicated by ELA, ERA, ELB, and ERB into frequency readings by dividing the number of transitions by the time interval between packets. The frequency readings output to a terminal. After outputting the parameters onto the terminal, the PC LaunchPad sends the TMAG5273 X and Y readings to the TI-RSLK kit.