Hi,
I perform the cycle by cycle pik current mode control. I use both high comparator and low comparator of the CMPSS. I update the value of COMPDAC with 100 kHz ISR. My code is working with constant COMPDAC value. But, when I update with the 100kHz ISR the COMPDAC value, my code behaves strangely. ADC readings, Cycle by Cycle PWM and the other functions is not working for variable COMPDAC value.
What is the problem ?
Thanks,