Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI C/C++ Compiler
Hi,
i would like know how edit phase of pwm2A and pwm2b.
In practical i would wish have PWM2A and PWM2B non in phase
Thanks
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.
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI C/C++ Compiler
Hi,
i would like know how edit phase of pwm2A and pwm2b.
In practical i would wish have PWM2A and PWM2B non in phase
Thanks
Hi,
If you've to maintain phase shift across 2 PWM outputs of the same module - you can simply achieve that by using appropriate values in the CMPx registers used to generate the PWM outputs.
If you've to maintain phase shift across multiple modules (ex: PWM1 and PWM2) then you can use synchronization method along with TBPHS register set to the desired phase shift.
-Bharathi.