ESP8266 Developer Zone The Official ESP8266 Forum 2016-09-12T21:58:42+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=2431 2016-09-12T21:58:42+08:00 2016-09-12T21:58:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2431&p=9797#p9797 <![CDATA[Re: PWM, Sigma_Delta reference clocks]]>
Besides, above explanation deals with theory. The PWM code inside the SDK can't achieve this, it cannot distinguish between the 1/2/3/4/5/6/7/8/9/10/11/12/13/14/15 duty values. All others are fine. Making it, afaic make it a lot less useful. You may consider using one of alternative, open, implementations that actually CAN achieve all of this.

And BTW, if you didn't already understood, the ESP8266 doesn't have a hardware PWM implementation. It's not that bad actually, because one can make a pretty decent implementation in software, it's fast enough for that.

There IS a SigmaDelta implemention in hardware, though, which, afaik, can run at pretty high speeds. It's limited to 8 bits though, so it may or may not suit your needs.

Statistics: Posted by eriksl — Mon Sep 12, 2016 9:58 pm


]]>
2016-07-14T13:41:23+08:00 2016-07-14T13:41:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2431&p=7956#p7956 <![CDATA[Re: PWM, Sigma_Delta reference clocks]]>
The timer interrupts are used to generate PWM. Therefore, a frequency of over 1kHz is not really practical as it takes up a lo of CPU.
What are you using it for? Lights or motors or something else?
Sometimes it may be possible to modulate the PWM output at 100kHz again using a simple 555 timer circuit. That would work well with lights and motors.

Statistics: Posted by Guest — Thu Jul 14, 2016 1:41 pm


]]>
2016-07-14T01:44:40+08:00 2016-07-14T01:44:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2431&p=7947#p7947 <![CDATA[PWM, Sigma_Delta reference clocks]]>
I have the same question for the Delta_Sigma hardware.

Statistics: Posted by tekguy49 — Thu Jul 14, 2016 1:44 am


]]>