Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

General • Re: N phase shifted pwm signals

$
0
0
Yep, you can also nudge the signals back and forth using the PH_ADV and PH_RET bits to adjust the relative phase on the fly.

The one thing you can't do is adjust the frequencies of multiple channels at once, since there's no way of atomically writing to all of those registers at the same time. The best you can do is momentarily stop all of the channels (simultaneously, via the EN register), then update all their dividers or periods, then start them again. There'll be a brief wobble in duty cycle when you do this.

Statistics: Posted by LukeW — Tue Nov 05, 2024 3:57 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles