This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049C: CMPSS Comparator Cycle by Cycle COMPDAC Value Update

Part Number: TMS320F280049C

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,