SNAS264D April 2006 – February 2024 LM94
PRODUCTION DATA
This function causes the duty cycle of the PWM outputs to gradually increase over time if VRD1_HOT or VRD2_HOT are asserted.
When VRDx_HOT is asserted, the ramp function is enabled. The enabling process involves two steps:
Once the function is enabled, it gradually adds additional duty cycle steps every X milliseconds whenever VRDx_HOT is asserted (X is programmable via the PWM Ramp Control register). If VRDx_HOT remains asserted for a long enough time, the duty cycle eventually reaches 100%.
Whenever VRDx_HOT is de-asserted, the ramp function begins to ramp down by subtracting one PWM duty cycle step every X milliseconds. If VRDx_HOT is currently de-asserted, and the ramp function is less than to the PWM duty cycle being requested by other functions, the ramp function is disabled.
As long as the function is enabled, it continues to ramp up or ramp down depending on the state of VRDx_HOT. The ramp enabling process described above can only re-occur after the ramp function has been disabled. Rapid assertion/de-assertion of VRDx_HOT does not trigger the enabling process unless VRDx_HOT was de-asserted long enough for the ramp function to disable itself.
This ramp function operates independently for VRD1_HOT and VRD2_HOT. In addition, the ramp function only applies to the PWM(s) that are bound to one or two VRDx_HOT inputs. Depending on the bindings, it is possible that up to four independent ramp functions are active at any given moment:
PWM1/VRD1
PWM1/VRD2
PWM2/VRD1
PWM2/VRD2
If a PWM is bound to both VRD1_HOT and VRD2_HOT, then two ramp functions are active for that PWM output. In this case the duty cycle that is used is the maximum of the two ramp functions.