Part Number: F28E120SC
Other Parts Discussed in Thread: SYSCONFIG
Hi,
customer want to implement over voltage detection and trip the PWM. He programmed CMP, X-BAR, PWM and recognised that the PWM tripped by a low voltage not at high voltage. After further evaluation he recognised that he has to set the OUT bit to 1 (invert) in register TRIPOUTINV and so that high voltage trips the PWM as expected. He verified that the comparator is running well as he routed the CMPOUT to a GPIO pin.
It seems that somewhere the CMPOUT signal is inverted inside the F28E12 to the PWM trip. Can you verify that?
I can send you also the sysconfig file.
Regards, Holger