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.
Hi, Experts
I meet a question when I debug the demo code "hrpwm_ex1_duty_sfo". the project run on the LAUNCHXL-F28P65X board. and I modified the oringnal code for verified hrpwm take effect in 10ns. the code modofied as below screenshot shows:
Running the project, and use oscilloscope(enable the persistance function) monitor the HRPWM2. the waveform is showed in below screenshot.
while I am Running the same modified demo code "hrpwm_ex1_duty_sfo" on LAUNCHXL-F280039C board. I got a different waveform about F28P65. the hrpwm waveform for F280039C is showed in below screenshot.
obviously, HRPWM for F280039 can work normal, the waveform can fill full of 10ns timer step, while HRPWM for F28P65 only can fill half of 10ns timer step.
by the way, I verified other DSP(F280025, F2800137, F2800157). and the outcome is alike to F280039.
So, can you give me some advice about hrpwm for F28P65.
Hi Steven,
Could you verify that when setting ClkCfgRegs.PERCLKDIVSEL.bit.EPWMCLKDIV = 0; the behavior is the same as F28003x?
We have had a similar issue with this because HRCLK is coming from PLLSYSCLK instead of EPWMCLK, and the SFO library has not been updated to reflect this. I have already filed a ticket to fix this in our SFO library.
Best,
Ryan Ma