Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hi experts,
My customer is experiencing the same problem as the original thread.
[Problem]
When using HRPWM + deadband module in UpCount mode, a jitter of about 10ns (1TBCLK) appears on the PWM pulse (PWM〇A, PWM〇B).
[Question]
Q1. When using the deadband module, the sample source code and E2E recommend up-down counting of PWM operation. Is it related to the range shown in Figure 15-88 of TMR's "15.14.1.5.3 Duty Cycle Range Limitation"?
Q2. Is there no problem even in Up count mode as long as it is within the range of Duty Cycle Range Limitation (CMPA, CMPB values are within the range of 4 to TBPRD-4)?
[Conditions]
・The following C2000Wave sample source code is used
C2000Ware_5_01_00_00\device_support\f2837xd\examples\cpu1\hrpwm_deadband_sfo_v8\cpu01\hrpwm_deadband_sfo_v8.c
The parts used when implementing it are as follows.
・CTRMODE=TB_COUNT_UPDOWN
・HRCNFG.all = 0x1353
・HRPCTL.bit.HRPE = 1;
- Implemented according to the PWMx register that uses the DEADBAND settings on lines 501 to 516.
・Changed only the values of DBRED and DBFED to 20cnt
Best regards,
O.H