Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: PMP23126, TIDM-02009, C2000WARE,
Hi,
Nowadays, I'm trying to test my PCMC software in SR mode 2. It is event based software that is explained in PMP23126 and TIDM-02009. I explained as below.
I used demoboard of F280049C to test the software. I'm trying to test inner loop (PCMC) with SR mode 2 and I designed my software using reference software.


Test case on demoboard F280049C is as below. I just implemented inner CMPSS configuration and trying test whether it is working or not. It is event based CMPSS software that is explained for both PMP23126 and TIDM-02009.
EPWM3A tests is as below.
Case #1: I want to see ORing of EPWM1A and 2B and monitor ORing for ePWM3A. I write 0 to RAMPMAXREF of CMPSS and see minimum duty case.

YELLOW:ePWM1A, GREEN: ePWM2B, BLUE: ePWM3A
I don't get stable waveforms at ePWM3A. It should rise to high when ePWM1A is high. The position of rise of ePWM3A varies when I change .
Case #2: In below lines, I provided external ramp signal to my ADC port. I wrote 32767 as CMPSS max ramp value. I got following waveforms, which also shows instability at ePWM3A.

YELLOW:ePWM1A, GREEN: ePWM2B, BLUE: ePWM3A, RED: External Ramp Signal to CMPSS
EPWM3B tests is as below.
Case #3: I want to see ORing of EPWM1B and 2A and monitor ORing for ePWM3B. I write 0 to RAMPMAXREF of CMPSS and see minimum duty case.
It works fine.

BLUE: ePWM1B, RED: ePWM2A, GREEN: ePWM2B, YELLOW:ePWM3B,
CASE 4: I provided external same ramp signal as above and monitored whether ePWM3B follows it or not.

YELLOW:ePWM3B, BLUE: ePWM1B, RED: ePWM2A, GREEN: external RAMP signal,
Waveform is as expected at ePWM3B. 3B follows to the events. It is fine.
I provided same blanking window timings on for both 1A and 1B and 3A and 3B.
Could you please comment how ePWM3A doesn't follow the event although ePWM3B follows the same event? How can ı fix it?
Why does ePWM3A has instable signals, I also can provide video.
Thank you in advance.






















