Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

TMS320F28P550SJ: HRPWM Phase shift validation

Part Number: TMS320F28P550SJ

Hello TI Team,

I am using the hrpwm_ex10_phaseshift_updown_sfo example on an F28P55x device to validate high-resolution phase shift functionality between synchronized ePWM modules. 

The example is working correctly, and I can vary the phase shift using TBPHS and TBPHSHR. However, I would like to understand how TI validated the actual phase-shift timing accuracy, especially since HRPWM supports very fine timing resolution in the picosecond range.

We are currently measuring the timing difference between the ePWM1 pulse and ePWM2 pulse using a 2 GS/s oscilloscope and 500 MHz probes.

Is this setup sufficient for validating HRPWM phase-shift accuracy, or does TI recommend an alternative measurement approach for observing sub-nanosecond timing changes introduced by TBPHSHR?

While testing the example, I observed that when:

  • TBPHS = 0
  • TBPHSHR = 0

there is still approximately 13 ns delay between the ePWM1 pulse and ePWM2 pulse. As I have configured clock of 150MHz

EPWM1-Frequency 100KHz,TBPRD-750, CMPA-375.

EPWM2-Frequency 100KHz,TBPRD-750, CMPA-375,PHSEN-1.