Hi,
we try to implement peak current control with compensation ramp and are using the ramp generator in the CMPSS comparator subsystem.
Datasheet says the reference 12-bit DAC uses the most significant 12 bits of the RAMPSTS countdown register as its input. The low 4 bits of the RAMPSTS countdown register effectively act as a prescale for the falling-ramp rate configurable with RAMPDECVALA.
The problem is that even with the lowest RAMPDECVAL of 1 and the fix prescale of 4 bits, the slope (decrement) is too big.
The RAMPSTS is decremented at SYSCLK, so no chance to reduce the slope further, right?
Any help is appreciated.
Stephan