Part Number: TMS320F28377S
Hi all,
I have a small issue. I'm using a TMS320F28377S to drive 5 H Bridges. Each bridge requires 4 PWM signals with a bit of dead time and 180° phase shift between the two legs of the H bridge.
I'm linking the CMPA registers (EPWMXLINK.bit.CMPALINK ) of two ePWM modules for each H bridge so that I can just program one ePWM and the change takes effect for both legs.
I'm using the CLA the calculate and update the duty cycle for each of my H bridge and connected ePWM modules.
This works perfectly fine for 4 of my H bridges. These use ePWM1/2, ePWM3/4, ePWM6/7 and ePWM8/9. So no problem here.
But the linking doesn't work for ePWM10/11. CLA updates value the CMPA register of ePWM10 and as for all the other ePWM pairs I expect to reflect the new value in ePWM11 too, but it doesn't.
I have one configuration routine that I use for all PWM modules on startup. I just give it different pointer for each PWM module that needs to be configured. Looking at the EPWM11.EPWMXLINK.bit.CMPALINK register I see that the configuration is as expected and is linked to ePWM10 (= 0x09).
Anybody any idea why it works for all pairs of ePWM but 10/11?
Cheers,
Jens