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.

TMS320F28035: F28035 PWM action when setting PWMx.CMPA/CMPB with the maximum value

Part Number: TMS320F28035


Hi,

There is a project that uses PWM1/2, both PWMs work at 50KHz and they are synchronized.

The system's schematic is as below:

The system works when when PWM2's CMPA/B values are below TBPRD value and switched at 11 and 588. 

PWM output signals are as below:

But when setting CMP2.CMPA/CMPB to switch between 0 and TBPRD (600), The program above are changed as below:

PWM output signals are as below:

PWM2A's falling edge is changed at the center of its period. PWM2 is set to load CMPA/B shadow values

at TBCTR=0.

I don't know if this is a hardware bug, do I have any way to avoid it?

The project can be reached at the link below:

www.powersimtech2.com/.../Test1_Project.zip

thanks,

Jiakai