Is there documentation regarding the PWM configuration registers? Sample code?
Any suggestions on how I create one or two extra PWM outputs with a different duty cycle (but same startphase)?
I'm trying to avoid involving yet another MCU.
This begs the question though, what is the resolution of the PWM pulses, and how accurate does it maintain fixed phase relationships between different PWM channels?
How well can it guarantee that the width of the pulses stays unaltered?
I'm trying to reach 25ns resolution with respect to pulsewidth and phase difference in order to be able to switch 240VAC MOSFETs on and off in sync without creating electrical shorts among them.
Look at the PWM example code included in SDK version 1.0.1b2 (and earlier). It is quite likely (probably certain) that the PWM code now part of the SDK is based on the earlier example code.BuGless wrote:what is the resolution of the PWM pulses, and how accurate does it maintain fixed phase relationships between different PWM channels?
I would guess that 25nS resolution is not likely.
Beaverton, OR, USA
Who is online
Users browsing this forum: No registered users and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!