Hi All,
I'm putting together a project that needs two PWM outputs.
The frequency will be fixed (non-changing) and the same frequency for both. I'm thinking it will end up around 500kHz to 1MHz.
The only strange thing about this is that the phase of the two outputs must be adjustable. The first PWM output can be fixed, with the second PWM changing phase. In other words the second PWM can have a delay compared to the first PWM. In the case of a 1MHz, 50% duty cycle output, the rising edge of the second PWM may be 100 to 900 nanoseconds after the rising edge of the first.
Is this possible?
Can it be done with a single group?
Like FlexPWM1.0 and FlexPWM1.1?
Or, would it have to be with two different groups, FlexPWM1.0 and FlexPWM2.0?
Thanks in advance for any responses.
robin
I'm putting together a project that needs two PWM outputs.
The frequency will be fixed (non-changing) and the same frequency for both. I'm thinking it will end up around 500kHz to 1MHz.
The only strange thing about this is that the phase of the two outputs must be adjustable. The first PWM output can be fixed, with the second PWM changing phase. In other words the second PWM can have a delay compared to the first PWM. In the case of a 1MHz, 50% duty cycle output, the rising edge of the second PWM may be 100 to 900 nanoseconds after the rising edge of the first.
Is this possible?
Can it be done with a single group?
Like FlexPWM1.0 and FlexPWM1.1?
Or, would it have to be with two different groups, FlexPWM1.0 and FlexPWM2.0?
Thanks in advance for any responses.
robin