rudy wrote:http://www.analog.com/media/en/technical-documentation/data-sheets/AD9560.pdf
Thanks for reporting this component, but I need to do with esp. It is unacceptable that the arduino does much more than esp!
i need up to 1MHz
Explore... Chat... Share...
rudy wrote:http://www.analog.com/media/en/technical-documentation/data-sheets/AD9560.pdf
urbanze wrote:rudy wrote:http://www.analog.com/media/en/technical-documentation/data-sheets/AD9560.pdf
Thanks for reporting this component, but I need to do with esp. It is unacceptable that the arduino does much more than esp!
i need up to 1MHz
btidey wrote:I think you need to clarify the clock terminology here.
Analog output using PWM starts off with a base clock which can be quite high frequency. This is then used to give a rectangular waveform where the ratio between high and low periods determines the equivalent analog output. The resolution for the output is determined by the number of high frequency clocks in the overall period. So for example 256 hf clocks allows the output to be set to 8 bit precision. It also means that the output can only be meaningfully changed at the lower period rate.
So, for example a 1MHz base clock, and 8 bit precision gives a period frequency of 4KHz and this is then the rate at which you can change the output level.
A standard arduino can have the base clock up to 16MHz and has timer control hardware to allow the period to be set and run without further cpu involvement. (e.g. 62Khz with 8 bit precision)
The esp8266 does not have equivalent timer control hardware so has to simulate this with either delays or interrupts. It starts off with a theoretical base frequency of up to 80MHz but practical considerations in the software and the rate at which you can change the GPIO pins means that the base rate is limited to about 5MHz in practice. This is one area where the timer control hardware on an arduino CPU gives an advantage.
What are you trying to control with the PWM output?
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]