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 Disconnections

This diagnostic technique was also tested by disconnecting the TMAG5328 ADJ pin from the DAC, disconnecting the TMAG5328 VCC pin from the power supply, and disconnecting the TMAG5328 OUT pin from the OUT signal probed by the logic analyzer and microcontroller.

When the ADJ pin was disconnected from the DAC, the output of the TMAG5328 was either asserted low (Figure 4-6) or high (Figure 4-7). In both cases, the TMAG5328 OUT pin did not have a square wave with frequency equal to the DAC voltage frequency, which would indicate that a fault occurred.

GUID-20220801-SS0I-KN8C-60RX-GNRPZMRLFTJ4-low.pngFigure 4-6 Logic Analyzer Screenshot of TMAG5328 OUT Pin When ADJ Pin Disconnected and TMAG5328 OUT Pin is Low.
GUID-20220801-SS0I-P8ZB-MQQ8-TZ3TRJ8QTNTC-low.pngFigure 4-7 Logic Analyzer Screenshot of TMAG5328 OUT Pin When ADJ Pin Disconnected and TMAG5328 OUT Pin is High.

When VCC was disconnected from the TMAG5328, the OUT pin was observed low, as shown in Figure 4-8. This was logged by the EVM’s microcontroller as a fault event.

GUID-20220801-SS0I-WK6C-DHKC-0MPLJFGHZBMM-low.pngFigure 4-8 Logic Analyzer Screenshot of TMAG5328 OUT Pin When VCC Disconnected.

Similarly, the OUT pin was also observed low when the TMAG5328 OUT pin was disconnected, as shown in Figure 4-9. As a result of the OUT pin being stuck low, the EVM’s microcontroller also logged this as a fault event.

GUID-20220801-SS0I-WC7F-HLCJ-LXNKWZFWZRZW-low.pngFigure 4-9 Logic Analyzer Screenshot When OUT Pin Disconnected.

The TMAG5328 OUT pin did not have a square wave after VCC or OUT were disconnected, therefore this technique was able to detect these signal disconnection faults.