SBAU376A December   2021  – March 2022 TMAG5328

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Overview
    1. 1.1 Features
  5. 2Kit Contents
  6. 3Related Documentation From Texas Instruments
  7. 4Hardware
    1. 4.1 EVM Threshold Adjustment Options
      1. 4.1.1 Adjusting Threshold With DAC
      2. 4.1.2 Adjusting Threshold With Potentiometer
        1. 4.1.2.1 Using the Potentiometer to Estimate the Magnetic Flux Density Sensed by the TMAG5328
      3. 4.1.3 Adjusting Threshold With Fixed Resistor
    2. 4.2 Power Supply Options and Jumper Settings
  8. 5EVM Operation
    1. 5.1 Evaluation With SCB and GUI
      1. 5.1.1 Driver Installation
      2. 5.1.2 Firmware
        1. 5.1.2.1 Updating Firmware on SCB
      3. 5.1.3 GUI Setup and Usage
        1. 5.1.3.1 Initial Setup
        2. 5.1.3.2 GUI Operation
          1. 5.1.3.2.1 GUI Results Page
          2. 5.1.3.2.2 GUI DAC Configuration Page
      4. 5.1.4 Direct EVM Serial Communication
    2. 5.2 Evaluation Without SCB and GUI (EVM Stand-Alone Mode)
    3. 5.3 Head-On Linear Displacement Demo
  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

Updating Firmware on SCB

Follow these steps to install the firmware.

  1. Configure the MCU on the SCB to be in Device Firmware Update (DFU) Mode. DFU mode can be entered manually through one of the following methods while the SCB is powered on:
    1. Through software:
      • Send the command "bsl" on the SCB's USB Serial (COM) port.
    2. Though hardware (with the EVM removed):
      • Short the two test points labeled DFU (see Figure 5-2) with a pair of tweezers (or wire) while pressing the RESET button. If this is done correctly, LED D1 on the SCB turns OFF while LED D5 (the power LED) is still ON. If LED D1 is still ON, then the GUI firmware is still active and the device has not entered DFU mode.
        GUID-20201124-CA0I-B9KK-FBFS-XTX0QHMJLRLZ-low.svg Figure 5-2 Test Points Used to Enter DFU Mode Manually
  2. With the MCU in DFU mode, the firmware can now be uploaded through one of the following methods:
    1. Bootstrap Loader (BSL) scripter tool and batch file

      1. Download the firmware package and BSL scripter tool from the EVM page, or use the link: https://www.ti.com/lit/zip/sbac297
      2. Unzip the firmware folder and run the .bat file.
      3. Unplug the USB cable from the PC after the firmware is flashed, then plug the cable back in to reset the SCB.
    2. TMAG5328GUI
      1. Go to the GUI menu bar and click File → Program Device
        GUID-20211108-SS0I-GZSD-1CFM-XXWJGDBNNJFL-low.png Figure 5-3 Program Device Option in Menu
      2. The screen below pops up while the firmware is updating.
        GUID-20211108-SS0I-BFVJ-W0LR-D1XBCW0L0SQB-low.png Figure 5-4 Firmware Update Screen
      3. After the firmware updates successfully, the GUI reloads automatically.