The Channel Sub-Window is broken down into basic features and settings set by selecting boxes or slide, measurements of VIN and LED, and fault status boxes (see Figure 6-20).
There are three slide bars that can be adjusted. The
Analog Current bar
sets the CHxIADJ registers to control the reference voltage (V
IADJ) used
for setting the LED current of that channel. It has a decimal value from 0 to 1023,
which coincides with voltage from 0 to 2.45 V to the V-I Converter, see the
LED
Current Regulation and Error Amplifier section of the
TPS92520-Q1 data sheet for additional information. The current
setpoint is also a function of the selected current sense resistor. The
TPS92520EVM-133 uses a 100-mΩ resistor and to get 1 A at the output then
slide bar must be move to 586 (decimal value), see
Figure 6-21.
The On Time slide adjust CHxTON registers
which controls the switching frequency of the constant current LED buck driver, see
Figure 6-22. The default
value is 7 (decimal) which coincides with a 437-kHz switching frequency. The
switching frequency ranges from 100 kHz to 2,200 kHz, see the Switching Frequency
and Adaptive On-Time Control section of the TPS92520-Q1 data
sheet for detailed calculations. The EVM is optimized to operate
at the default switching frequency.
The PWM slide adjusts the internal 10 bit PWM duty cycle (CHxPWM registers) from 0 to 1023, which coincides with 0 (off) and 1023 (full ON), see Figure 6-23. For example, if you want to operate at a 50% duty cycle slide the bar to 512 (decimal value), which is half of the full scale of 1024 or 50%. The PWM Source Internal box much be selected for the PWM slide bar setting to be implemented. The PWM Source Internal box sets the CHxINTPWM bit high and enables the use of the internal PWM registers to generate the PWM function for that channel.
The Enable box set the CHxEN bit to 1 for that channel, which means the associated channel is turned on, see Figure 6-24.
The
PWM Source Internal controls the CHxINTPWM register. If the box is selected then the device uses the register settings for
PWM slide bar to determine the PWM duty cycle and uses the PWMDIV register to set the PWM frequency. Note that the PWM frequency (PWMDIV register) sets the frequency for both channels. If this box is not selected then then the device does PWM dimming based on the signal seen on the UDIM x pins for each respective channel. The frequency and duty cycle are independent.
The Low iLimit Resp, High iLimit Resp, and Therm Response buttons coincide with setting the device to auto-restart after a fault time (IFT register setting) has elapsed or if it will latch off when the fault occurs. If box is selected then the device will latch off when the fault occurs and then reset the EN bit to the default of 0 (off) and will only continue to run when the EN bit is set to 1 (enabled).
Each channel window also reads the input voltage (VIN) and the output LED voltage (LED) at the CSNx pin for each respective channel using the internal ADC of the device. VIN is a reading of the CHxVIN registers and LED is a reading of CHxVLED registers, see Figure 6-25.
At the bottom of the channel window are several boxes, that are either red or green, that indicate the status of specific warnings or faults, see
Figure 6-26. The
STATUS box reads the CHxSTATUS bit and is logic OR of all the fault bits for that channel with the exception of the overtemperature thermal warning bit. The "TP" box reads the CHxTP bit and indicates overtemperature thermal protection for that channel. The BSTUV box reads the CHxBSTUV bit and indicates the boostrap undervoltage fault condition where the BSTx voltage is less than 2.95 V. The OFFMIN box reads the CHxOFFMIN bit and indicates if the maximum duty cycle of that channel has been reached. The LSILIM box reads the CHxLSILM bit and indicates that the low-side switch current limit fault has occurred on that channel, which is 1.5 A typical. The HSILIM box reads the CHxHSILIM bit and indicates that the high-side switch current limit fault has occurred on that channel, which is 2.7 A typical. The SHORT box reads the CHxSHORT bit and indicates output short circuit fault on that channel, which means the CSPx pin is less than 2.45 V. The COMPOV box reads the CHxSHORT bit for each channel and indicates that an overvoltage condition on the COMPx pin, which indicates the COMPx pin is greater than 3.2 V.