SLUSD66D September 2019 – February 2021 TPS92520-Q1
PRODUCTION DATA
The TPS92520-Q1 incorporates an internal 10-bit counter to independently configure PWM dimming for each channel. To use the internal PWM, set the CHxINTPWM bit in the SYSCFG1 register. The duty cycle of the internal PWM can be set using a 10-bit value in the CHxPWML and CHxPWMH registers. Since CHxPWM is a 10-bit value, a PWM duty cycle update can require two SPI writes, one to the CHxPWMH and another to the CHxPWML register. In order to prevent transferring unintentional values, the contents of the two registers are only transferred to the CHxPWM counter upon the write to the CHxPWML register. Therefore, to update the PWM duty cycle, it is required to write a value to the CHxPWMH first, and in a consecutive command, write a value to the CHxPWML register. In addition, to avoid corrupting the progress of the current PWM duty cycle, the update from the CHxPWM register to the CHxPWM counter occurs two PWMCLK counts before the end of each PWM period (at the count of 1022).
The clock to the 10-bit PWM counter is set by a 3-bit value in the PWMDIV register. Equation 11 and Equation 12 show the relationship between the PWMCLK and PWM frequency with a 10.8-MHz oscillator, CLKM.
For example, a PWMDIV[2:0] register setting of decimal value 5 sets the division ratio to 24 and results in a PWM frequency of 439 Hz. Refer to Section 7.6.3.7 for more details.
The device can be controlled through the input of the UDIM independent of the internal PWM setting. The signal at the UDIM input is ANDed with the internal PWM to generate a combined output which controls the switching operation. Therefore, each channel can be independently disabled based on the external UDIM signal, even when the device is configured to operate based on internal PWM settings.