-->
Page 1 of 1

Getting the ESP8266 to generate a 1MHz clock

PostPosted: Sat Mar 05, 2016 5:45 pm
by blark
I thought this would be a lot easier than it's turned out given that the uc is running at 80MHz.

Does anyone know if this would be possible? I've tried using timer1 but I can't get the pin to toggle faster than every 2us. This is obviously because the wifi stuff is busy, but I thought since toggling a pin is a relatively simple operation that I'd be able to make this work... advice?

This is a hacky solution, but what about using the SPI clock? Is there any way to turn just the SPI clock on? I know it runs at 1mhz.

Thanks.