News:

;) This forum is the property of Proton software developers

Main Menu

Generating two PWM signals with a known phase relationship

Started by Wimax, Dec 29, 2023, 04:56 PM

Previous topic - Next topic

Wimax

Hello Friends !  ;D

With only a few hours to go before the end of the year, I am plagued by a doubt...is there a "simple" way to generate two PWM signals with a defined and programmable phase relationship between them using a PIC24FJ64GA004 without resorting to PIC24/DSPIC33 MCUs with high-speed PWM modules inside ?

Wimax


John Lawton

You haven't described the end application, would software generated PWM be adequate (low prf)?

John
-----------------------------------------------------------------------------------------
Amicus 8 and Amicus 16A/16B dev boards
Especially created for Positron development
https://www.easy-driver.co.uk/Amicus

Wimax

Hi John,

Two signals of identical frequency, less than 10 KHz and with 50% duty.
Theoretically it could be done with two suitably programmed timers and interrupt handling, I was wondering if it was possible at the HPWM level, also considering the achievable accuracy.