Other Parts Discussed in Thread: TMS320F28379D
Tool/software: Code Composer Studio
Now I'm using the digital compare trip(DC) TZ1 to generate a DCAEVT1.sync signal to my PWM module and I found in the datasheet I must set the PHSEN to 1 as following figures:
But when I set the PHSEN of EPWM1 to 1, I found the frequency of output waveform become higher, as you can see in the below pictures before and after I set the PHSEN to 1;
before I set PHSEN to 1, the frequency is 1MHz as I want(EPWMCLK=100MHz, TBPRD=99), But after I set the PHSEN to 1, the frequency becomes to 2.5MHz, so what's the problem and should PHSEN of EPWM1 must set to 0?