SLYA065 October   2022 TMAG5328

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 Mapping Switching Distance to Magnetic Flux Density
    2. 1.2 How to Program BOP of TMAG5328
    3. 1.3 Advantages of TMAG5328 Adjustable BOP
  4. 2Determining Sensed Magnetic Flux Density Seen by TMAG5328
  5. 3Implementing a Software-Programmable Hall-Effect Switch With Microcontroller-Less Standalone Mode
  6. 4Implementing Diagnostics and a Magnetic Window Comparator
    1. 4.1 Conducting Diagnostic Tests With TMAG5328EVM and Head-On Linear Displacement 3D Print
      1. 4.1.1 Magnet Out-of-Range Testing (Magnetic Window Comparator Testing)
        1. 4.1.1.1 Signal Disconnections
        2. 4.1.1.2 Signal Shorts
  7. 5Summary

Signal Shorts

This diagnostic implementation was tested when the TMAG5328 OUT pin was shorted to GND and shorted to VCC. When the TMAG5328 OUT pin was shorted to GND, the OUT pin stayed low, as shown in Figure 4-10. Shorting the TMAG5328 OUT pin to VCC caused the OUT pin to stay high, as shown in Figure 4-11. For both signal shorts, a square wave was no longer available on the TMAG5328 OUT pin, so the EVM’s microcontroller was able to log these events as faults.

GUID-20220801-SS0I-5WCR-JL3J-ZHGHNP7BT0C8-low.pngFigure 4-10 Logic Analyzer Screenshot of TMAG5328 OUT Pin When it is Shorted to GND.
GUID-20220801-SS0I-WZCT-SWRQ-K7RRQHM84XZL-low.pngFigure 4-11 Logic Analyzer Screenshot of TMAG5328 OUT Pin When it is Shorted to VCC.