Part Number: LAUNCHXL-F28377S
Tool/software: Code Composer Studio
Dear all,
I have C2000 Delfino MCUs F28377S LaunchPad. I want to obtain two signals, vs1 and vs2, as it is shown in the picture. After reading datas from ADCs, the microcontroller will do some basic calculation, and it will adjust frequency, duty cycle, phase shift and number of pulses.
The max switching frequency of the first signal, vs1, is 250kHz. Number of pulses can be 1, 2, 3 or 4.
At first, I used PWM chopper, but minimum number of pulses was 4, and there was a phase jittering.
Secondly, I tried CPU timer to obtain vs2 signal, but there was a phase jittering, again, even if the switching frequency is 16 kHz.
At last, I decided to use multiple PWMs with "or gate" . Each pulse will be obtained by PWM module, and after it be summed by or gate. In order to obtain a signal vs2, which has 3 pulses, I used 3 PWMs for only this signal. However, after synchronization these 3 signal with the first signal vs1, I could not adjust the phase shift. My question: Is it possible to synchronize 4 or 5 PWMs with phase shift control? If it is possible, how?
Second question: I can synchronize 1.PWM with 2. PWM, and I can control the phase between 1.PWM and 2. PWM, but I could not control the phase between 3.PWM with 4.PWM, If I synchronize them. How can I synchronize them with phase control?
Thank you in advance