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.

C2000WARE: Do you need to program CMPB and CMPBHR if using active high complimentary mode?

Part Number: C2000WARE


Hi all,

I am using active high complimentary mode programming and from the examples it seems that one does not need to physically program the CMPB register, just the CMPA register and then the MCU can handle the generation of the B output of the PWM by using the edge delays that are programmed and the existing CMPA value. 

Is this true, or does one need to program both the CMPA and CMPB registers regardless of the POLSEL bit?

If directly programmed, how to ensure that the duty cycle signals have the right delays, and never overlap? To ensure that shoot-through type conditions do not occur.

Thanks!
Joel