HIgh speed GPIO
Posted: Sun Mar 31, 2024 11:34 pm
Hi
I have noticed that there are some different libraries and software out there that makes the ESP32 output VGA.
One lib offers 640x480 resolution at 60Hz framerate. So this means a pixel rate of more than 18MHz, or about 50 nS per pixel.
While the ESP32 is also doing other stuff.
So I made a simple program that just toggled a GPIO on/off.
Basicly like this
But it's nowhere near the speeds needed to output a VGA signal.
So, I would like to start off by learning the basics on how to output signals with such high speed as a VGA signal.
Can someone please point me in the direction where I can find information/tutorials to start learning about this?
Just toggling a pin at 18MHz, or faster, and to understand what goes into making that happen, would be a good start.
Thanks!
I have noticed that there are some different libraries and software out there that makes the ESP32 output VGA.
One lib offers 640x480 resolution at 60Hz framerate. So this means a pixel rate of more than 18MHz, or about 50 nS per pixel.
While the ESP32 is also doing other stuff.
So I made a simple program that just toggled a GPIO on/off.
Basicly like this
Code: Select all
while(1) {
digitalWrite(Outpin,LOW);
digitalWrite(Outpin,HIGH);
}
So, I would like to start off by learning the basics on how to output signals with such high speed as a VGA signal.
Can someone please point me in the direction where I can find information/tutorials to start learning about this?
Just toggling a pin at 18MHz, or faster, and to understand what goes into making that happen, would be a good start.
Thanks!