ESP8266 Developer Zone The Official ESP8266 Forum 2015-10-01T15:48:24+08:00 https://bbs.espressif.com:443/feed.php?f=6&t=1144 2015-10-01T15:48:24+08:00 2015-10-01T15:48:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1144&p=3953#p3953 <![CDATA[Re: PWM registers?]]> Statistics: Posted by BuGless — Thu Oct 01, 2015 3:48 pm


]]>
2015-10-01T10:39:09+08:00 2015-10-01T10:39:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1144&p=3950#p3950 <![CDATA[Re: PWM registers?]]>
BuGless wrote:
what is the resolution of the PWM pulses, and how accurate does it maintain fixed phase relationships between different PWM channels?
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.

I would guess that 25nS resolution is not likely.

Statistics: Posted by dkinzer — Thu Oct 01, 2015 10:39 am


]]>
2015-10-01T08:27:19+08:00 2015-10-01T08:27:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1144&p=3948#p3948 <![CDATA[Re: PWM registers?]]> 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.

Statistics: Posted by BuGless — Thu Oct 01, 2015 8:27 am


]]>
2015-09-30T14:06:45+08:00 2015-09-30T14:06:45+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1144&p=3934#p3934 <![CDATA[Re: PWM registers?]]> Statistics: Posted by ESP_Sprite — Wed Sep 30, 2015 2:06 pm


]]>
2015-09-23T18:19:00+08:00 2015-09-23T18:19:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1144&p=3821#p3821 <![CDATA[PWM registers?]]> 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.

Statistics: Posted by BuGless — Wed Sep 23, 2015 6:19 pm


]]>