SLAU880C December   2022  – May 2024 ULC1001

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1General Texas Instruments High Voltage Evaluation (TI HV EVM) User Safety Guidelines
  5. 2Introduction
  6. 3Getting Started
    1. 3.1 Evaluation Kit Contents
    2. 3.2 Connection Procedure
    3. 3.3 GUI Setup
  7. 4System Overview
    1. 4.1 System ISR Period
    2. 4.2 System Drive Voltage
    3. 4.3 System Calibration
      1. 4.3.1 DC Bias Calibration
      2. 4.3.2 Temperature Calibration
      3. 4.3.3 Auto Sense Calibration
      4. 4.3.4 Cleaning and Power Calibration
    4. 4.4 System Cleaning
    5. 4.5 System Diagnostics
  8. 5GUI Overview
    1. 5.1 GUI Top Level Layout
      1. 5.1.1 North Pane
      2. 5.1.2 South Pane
      3. 5.1.3 Center Pane
    2. 5.2 High Level Page
      1. 5.2.1 Burst Parameters
      2. 5.2.2 Calibration Settings
        1. 5.2.2.1 Voltage and Current Sense Circuitry
      3. 5.2.3 Cleaning Mode Settings
        1. 5.2.3.1 Auto-Cleaning
        2. 5.2.3.2 Water Cleaning
        3. 5.2.3.3 Deice Cleaning
        4. 5.2.3.4 Mud Cleaning Mode
      4. 5.2.4 Power and Diagnostic Settings
    3. 5.3 Register Map Page
    4. 5.4 I2C Configuration Page
    5. 5.5 GUI Functions
      1. 5.5.1 Monitor Communication Status
      2. 5.5.2 Load and Save Configuration Files
        1. 5.5.2.1 MSP430 Firmware Programming
      3. 5.5.3 Re-initialize System
      4. 5.5.4 Fault and Flag Monitoring and Clearing
      5. 5.5.5 Run Calibration
      6. 5.5.6 Run Cleaning Modes
      7. 5.5.7 Run Diagnostic Mode
      8. 5.5.8 Run Abort
      9. 5.5.9 Script Recording
  9. 6Hardware Design Files
    1. 6.1 Schematics
    2. 6.2 PCB Layouts
    3. 6.3 Bill of Materials (BOM)
  10. 7Revision History

Fault and Flag Monitoring and Clearing

The GUI Monitor flags and faults are Green/Red LED boxes located in the North Pane. ULC1001 reports back 5 flags and also reads two faults from the DRV290x amplifier. On the right side of the North Pane, there is a check box to enable or disable the Fault Monitor feature of the GUI, which reads both flags and faults. The fault monitor period is 500ms. The reading of the fault registers is not logged by the Status Log detailed in Section 5.5.1 or in the Python Script Recorder described in Section 5.5.9. The Flag and Fault Indicators are cleared when the Clear Faults button is selected.

The Faults and Flags are described in Table 5-12. The sequences for reading faults is in Table 5-13, and the sequence for clearing faults is in Table 5-14.

Table 5-12 Faults and Flags
Flag Name Register Description
Over Power USER_Flags_flag_overPowerFault Sticky Flag set when power is over the Upper Threshold.
Under Power USER_Flags_flag_underPowerFault Sticky Flag set when power is under the Lower Threshold.
System Fault USER_Flags_flag_systemFault Sticky Flag set when System Fault Mode is run and the LCS has a mechanical failure.
Open Load USER_Flags_flag_openLoad Sticky Flag set when the measured LCS current is too low.
Over Temp USER_Flags_flag_overTemp Sticky Flag set when the measured LCS temperature is above user set OverTemp Threshold.
DRV_ERR INT_LTCH7, bit 6 Sticky Fault set by DRV290x.
DRV_ERR2 INT_LTCH7, bit 7 Sticky Fault set by DRV290x when over temperature event occurs.
Table 5-13 Read Flags and Faults Sequence
RegisterRead/WriteDataDescription
00W00Change to Page 0.
7FW00Change to Book 0.
02W00Put device in active mode.
NANANAWait 5ms.
00W1AChange to page 0x1A.
60RNAOpen Load Flag.
64RNAOver Power Flag.
68RNAOver Temp Flag.
6CRNASystem (LCS) Flag.
70RNAUnder Power Flag.
00W02Change to page 2.
34RNA

Bit 6 = DRV290x SDZ Fault.

Bit 7 = DRV290x OTW Fault.

00W00Change to page 0.
02W02Put device in software shutdown mode.
Table 5-14 Clear Flags and Faults Sequence
RegisterRead/WriteDataDescription
00W00Change to Page 0.
7FW00Change to Book 0.
02W00Put device in active mode.
NANANAWait 5ms.
00W1AChange to page 0x1A.
58W0000000DSet ClearFlags Command in the UserCommand Register.
5CW00000001Tells device there is a new command to be executed.
NANANAWait until above register, 0x5C, = 0. (5ms).
00W00Change to page 0.
30W05Bit 2 = 1 clears sticky faults. Default register value is 0x01.
02W02Put device in software shutdown mode.

In the GUI, the following script can be used in the Python window to clear the flags.

GUI_Module=__import__('ULC1001')
import time

GUI=GUI_Module.Device_GUI("ULC1001.exe",6640.000000)
GUI.write_register("ULC1001","PWR_CTL",0x0) # put device in active mode
GUI.write_register("USER_Commands","USER_Commands_userCommand",0xD) # command for ClearFaults
GUI.write_register("USER_Commands","USER_Commands_flag_newCommand",0x1) # sets lock bit
time.sleep(0.01)    #delay 10ms
GUI.write_register("ULC1001","INT & CLK CFG",0x1D) # clears hardware sticky flauts
GUI.write_register("ULC1001","PWR_CTL",0x02) # returns device to Software Shutdown