Other Parts Discussed in Thread: C2000WARE
Hi,
Customer is using F28004x for their digital power application.
Now we have a issue based on our HRPWM demo code (from C2000ware). If we adjust these points, the PWM output duty will be not stable, 10ns difference, that's one PWM clock difference between each duty.
1) Fix the TBPRDHR with a value: (*ePWM[i]).TBPRDHR = 100<8;
2) Fix the TBPRD with a value: 1000;
3) UpDown mode;
4) Shadow load when HR_CTR_ZERO.
5) Fix CMPA with a value: 200;
6) Fix CMPAHR with a value: 100.
In this case, the duty one PWM clock varies. If we change the load mode from HR_CTR_ZERO to HR_CTR_ZERO_PRD, there's no this issue.
In all of these cases, HRPWM can output successfully.
We'd like to know, why in HR_CTR_ZERO mode, the duty can't be stable, but with one PWM clock difference between each duty.
Thanks a lot.
Br, Jordan