Hi,
I'm working with the F28035 Piccolo Experimenter's Kit and the TMX320F28027 Piccolo controlSTICK. My goal is to control a buck boost converter with 6 transistor. The main problem is that all of the signal edges have to be placed with a accuracy of max. 5ns. So every transistor gets his own PWM module (not with the F28027, this is only for debugging reason).
My problem right now is that I want to sweep in the PWM signal from high side 0% and low side 100% to 50% duty cycle. I have a function - ISR exchange procedure which prepares and sets the needed registers, but the PWM signals are not synchronized.
In the initialisation when I start the micro all of the PWM registers are set and finally when the interrupts are activated I have this code line to start and synchronize the modules to the mein system clock
SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 1; // ePWM syncronisation enabled
After this I assumed that the signal counters will start from zero all at the same time. And knowing that all period.registers are set to the same value I should have the same frequency at all modules. But unfortunatly this doesn't work.
So if somebody has encounter the same issue or has a tip for me...
I appriciate any help!
Cheers, Moe