Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS320F28020: The DBRED value could not be load when CMPA value exceed TBPRD

$
0
0

Part Number:TMS320F28020

Hi Expert,

Customer has met the DBRED load issue as the below shown.

In the below figure, 

The green EPWM3A and blue EPWM2A are synchronous and have same TBPRD configuration.

The differences of the two PWMs are the blue EPWM2A could be load DBRED value while the green EPWM3A  with no DB register setting; the blue EPWM2A  is set low when CBC event occurs while there is no action on green EPWM3A .

The purple wave will be low when the "EPwm1Regs.TZFLG.bit.CBC==1".

The yellow pulse means the CBC event which could trigger EPWM3A occur at that moment.

The below is the PWM configuration code.

(Please visit the site to view this file)

Thanks!

-Rayna


Viewing all articles
Browse latest Browse all 262198

Trending Articles