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
GUI DAC Configuration Page

The DAC on the EVM is configured using the DAC configuration page on the GUI. When configuring the DAC using the EVM, make sure that the EVM is configured to set the BOP using the DAC (see Section 4.1.1). To go to the DAC configuration page on the GUI, click the DAC configuration icon GUID-20211108-SS0I-7N6B-FRP6-V97K0JLTWQLW-low.png. Figure 5-10 shows the DAC configuration page.

GUID-20211108-SS0I-FZVH-2253-RKDDN4D4GHT9-low.png Figure 5-10 TMAG5328 GUI DAC Configuration Page
  • Modification Method Drop-Down Box: This drop-down box selects which method is used for setting the DAC voltage after you click the CHANGE VALUE button. There are four modification methods offered in this drop-down box:
    • Voltage sweep Drop-Down Box Option: This method sweeps the DAC output voltage to find the sensed magnetic flux density and then sets the BOP to this sensed magnetic flux density. Completeing the voltage sweep operation takes 20 seconds. During this time, the screen in Figure 5-11 is shown. After 20 seconds has passed, the screen in Figure 5-11 disappears and the status text box states one of the following:
      • If the operation is successful: "BOP updated to" followed by the sensed magnetic flux density value (see Figure 5-10).
      • If the operation was successful but the sensed magnetic flux density was greater than the maximum 15-mT BOP supported by the device: "Magnetic Flux Density > 15 mT device maximum Bop."
      • If the operation was successful but the sensed magnetic flux density was less than the minimum 2-mT BOP supported by the device: Magnetic Flux Density < 2 mT device minimum Bop.
      • If the operation was not successful: Sweep started. Next update in 20 seconds.
        GUID-20220307-SS0I-5KRT-WK42-SP5QZVHMVPQ0-low.png Figure 5-11 DAC Sweep in Progress Screen
    • Manual B Drop-Down Box Option: This allows the user to enter a magnetic flux density into the "Implemented Magnetic Flux Density (BOP)" textbox. When you click the CHANGE VALUE button, the DAC is configured to output the voltage needed to generate the BOP that was input into the "Implemented Magnetic Flux Density (BOP)" textbox.
    • Manual V Drop-Down Box Option: This allows the user to enter a DAC output voltage into the "Voltage Applied to TMAG5328 ADJ Pin" textbox. When you click the CHANGE VALUE button, the DAC's output voltage is set to the output voltage that was entered into the "Voltage Applied to TMAG5328 ADJ Pin" textbox.
    • Manual R Drop-Down Box Option: This setting simulates applying a resistor on the ADJ pin by applying an equivalent DAC voltage that creates the same BOP as the input provided into the "Equivalent Resistance to Apply on TMAG5328 ADJ Pin" textbox. Any resistors entered into this textbox are not programmed into the DAC until you click the CHANGE VALUE button.
  • Textboxes
    • Implemented Magnetic Flux Density (BOP) Textbox: Displays the TMAG5328 BOP value based on the DAC settings. If the Modification Method drop-down box has the "Manual B" option selected, this textbox is also used to enter the desired BOP to change to.
    • Voltage Applied to TMAG5328 ADJ Pin Textbox: Displays the DAC output voltage. If the Modification Method drop-down box has the "Manual V" option selected, this textbox is also used to enter the desired DAC output voltage to change to.
    • Equivalent Resistance to Apply on TMAG5328 ADJ Pin Textbox: Displays the resistor that can be applied to the ADJ pin to produce the same BOP produced by the currently set DAC output voltage. If the Modification Method drop-down box has the "Manual R" option selected, this textbox is also used to enter the desired equivalent resistance value to change to.
    • Status Textbox: This displays the status associated with pressing different action buttons.
  • Action Buttons
    • CHANGE VALUE button: When you click this button, the DAC output voltage is changed according to the selected option in the "Modification Method" Drop-Down Box.
    • STORE TO NVM button: Pressing this button stores the current DAC output voltage to nonvolatile memory. If the EVM is power cycled, then the DAC is automatically set to the last output voltage stored in nonvolatile memory without requiring the microcontroller performing any reconfigurations steps on the DAC. As a result, the BOP is also retained after the power cycle.
    • RELOAD FROM NVM button: Sets the current DAC output voltage to the DAC output voltage that is stored in nonvolatile memory.