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.

TMS320F28375D: HRPWM in up-down mode duty control both edge

Part Number: TMS320F28375D


Tool/software:

Hi experts,

My customer is evaluating HREPWM using F28375D but is having trouble.

Q1: Could you tell me how to control both the rising and falling edges of EPWMxA with high resolution in Up-Count mode as shown in the diagram below.

Q2:When using CMPAHR and CMPBHR to control both the rising and falling edges of EPWMxA in Up-Count mode as shown in the diagram below:
Does this mean that even if I set CMAPBHR of EPWMxA, it doesn't work properly? (Will it work as 0 even if I put a value in CMAPBHR?)

From our research so far, I understand that the CMPAHR value applies only to the EPWM channel A output, and the CMPBHR value applies only to the EPWM channel B output.
If CMAPAHR and CMAPBHR are the same, the position of the rising edge can be controlled by CMAPBHR. However, if CMAPAHR and CMAPBHR are different values, jitter will occur.

Best regards,
O.H