I am working on the OMAP-L138 evm. In my evm, eCAP module output is interfaced to the LCD backlight and is used to control the brightness. i am working on the eCAP driver to generate the PWM pulse to control the brightness. With my driver, i am able to vary the brightness from 0 to 100%. The problem arises when the module state of LPSC is set to 'Disable state' for 0% duty cycle.
when the eCAP registers are configured for 0% duty cycle , Module LPSC is disabled on the assumption that the output would remain low. Instead, the output is going to high. If a delay (Minimum delay of 10 ms)is introduced between register write and LPSC disable , the output goes to low.
So i have few questions ,
1. why doesn't the output state remain low (on 0% duty cycle ) when the LPSC is disabled ?
2 . why does the o/p state change to low on inclusion of delay?
3. what would be the o/p state if LPSC is disabled while the eCAP module is functioning with 50% duty cycle (or non-zero value). Will it go to high or low ?
4. With module LPSC disabled, will the eCAP module still drive the output pin or not?