Other Parts Discussed in Thread: CONTROLSUITE
Hi folks,
I'm using the F2802x DPLib (v3.4) and have the ISR and sveral other macros working fine (2P2Z, PWM_1ch, ADC, etc).
I am trying to use the PWM_PFC2PhiL macro to output two complementary pulses with some deadtime on ePWM1 on an F28027.
I can get complementary pulses out no problem but not with any deadtime. Altering the PWM_PFC2PhiL_Adj variable does seem to alter the EPWM1.CMPB value as expected (e.g. if I set a duty of 0.25 and an Adj of 0.25 the CMPA is equal to a quarter of the period amd CMPB is equal to the period minus a quarter). However the pulse that is output on the pin never changes, the pulse trains stay exactly complementary.
Im using the TI supplied CNF C and macro asm files and all values seem to be correct and in the required registers.... just no change in pulse?? :\
I have the period set to 231 for ~260kHz pulse on a 60MHz SYSCLKOUT, and the PWM is also generating an ADC SOC on every second zero event and the interrupt for the DPL ISR on every second period event.
Is there something I'm missing?