Skip to content

Using TCC to generate multi-pin PWM waveforms #7505

Open
@lloydaviation

Description

@lloydaviation

I asked a question about synchronous PWM on two pins and was redirected here by mikeysklar. It was suggested that this might have general application in other areas.

My immediate application requires synchronized PWM on two pins. Each pin represents half a cycle. Pulses are equally spaced. If the duty cycle is set 50% then each pin would have a square-wave and they would be 180° out of phase. Decreasing the duty cycle preserves the frequency, but the on time of each pin is decreased. The goal would be to support changes in duty cycle without change in frequency, change in frequency without change in duty cycle, or a combination of the two.

My specific application is to drive a push-pull transformer and be able to control the energy delivered to the windings without changing overall frequency.

As a general tool, I can see the use for generating various synchronized timing waveforms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions