VGAtonic gives a computer without a display interface a way to use a VGA monitor: send pixels over SPI and let a separate board handle the video output. PK, the creator sharing VGAtonic on Hackaday.io, set out to fit that job into a small programmable-logic device rather than a full graphics processor. The result pairs a 144-macrocell CPLD with external SRAM, producing 640×480 video with 256 colors.
This is a 2014–2015 build, not a new launch. Created on July 17, 2014, it reached its declared version-one finish on June 14, 2015, when PK reported a Raspberry Pi 2 Model B framebuffer implementation running at 25 frames per second. That software milestone matters: the board had moved beyond displaying prepared pictures to serving as a Linux display.
Small logic, separate pixel storage
The main parts divide the work neatly. A Xilinx XC95144XL CPLD supplies the control and video timing, while a 4-Mbit ISSI IS61LV5128AL-10 SRAM stores the image. The roughly three-inch-square reference board also includes an LTC6903 programmable oscillator and an ATtiny2313A for board support and experimentation.
At eight bits per pixel, a 640×480 image occupies 307,200 bytes. Keeping those pixels in external SRAM leaves the CPLD to manage movement and timing rather than hold the picture itself. In the version-one completion log, PK reported roughly 30 macrocells still spare on the 144-macrocell part—the original uncertainty had been whether the logic would fit at all.
The board’s electrical requirements are worth keeping distinct: PK lists SPI compatibility with 5 V, 3.3 V and 2.5 V signaling, but specifies a 5 V power supply. Signal-level tolerance is not an invitation to power the whole board from any of those voltages.
The SPI link sets a useful limit
The Raspberry Pi implementation used a 62.5 MHz SPI clock. A little arithmetic explains why its reported 25-frame-per-second result is interesting: 640 × 480 × 8 × 25 equals 61.44 million pixel-data bits per second. That is nearly the entire raw capacity of a 62.5 MHz, one-bit-per-clock link, before allowing for commands or gaps between transfers.
This is a limit on how quickly the host can replace full images, not a statement that the monitor’s scan refresh is 25 Hz. The framebuffer separates the two jobs: the host sends new pixel data, while the video hardware reads stored pixels to generate the display signal. The useful design question becomes how much of the image must change, and how often—not simply whether the hardware can produce VGA timing.
The early prototype makes that distinction tangible. In the August 21, 2014 log, PK reported working 640×480, eight-bit VGA with an 8.33 MHz SPI input. Prepared bitmaps came from a Python conversion script and were stored in Intel Galileo Arduino header files. Even the software packaging hit a size boundary: one 307,200-byte bitmap exceeded the Galileo configuration’s default 262,144-byte sketch limit, so PK changed that setting.
That prototype still had rough edges. PK described unnecessary, very short RAM write-enable pulses as disturbing the board and planned to clean them up before releasing code. A recognizable picture was an important milestone, but not the same thing as finished timing and firmware.
Lower resolutions buy breathing room
By July 18, 2015, PK listed examples or driver support for Arduino, Raspberry Pi, BeagleBone Black and Odroid C1. The same update reported hardware-supported resolutions of 640×480, 320×240, 160×120 and 80×60, plus color depths of eight, four, two and one bit per pixel.
Those modes offer a practical escape from the full-frame bandwidth demand. Halving both image dimensions cuts the pixel count to one quarter; reducing color depth cuts the data further. For a small host displaying text, status information or simple graphics, those choices can matter more than preserving the maximum resolution and palette.
The latest supplied log, dated September 20, 2015, reports alternate firmware for 848×480 and 424×240 VESA-compatible widescreen output, and for 320×240 NTSC with 16 colors. It also mentions a smaller second board revision. Incremental development had moved to a separate 2015 project log; these excerpts do not document its full history. Asynchronous serial work and an Intel Edison Linux-driver update were still described as future work in July, so they should not be counted among the demonstrated features here.
Reproducing the picture means testing the timing
PK linked the VGAtonic repository for build materials and the First_Draft directory for early design documents and demonstration code. The August 2014 firmware post identifies Xilinx ISE WebPack as the synthesis tool used for the VHDL. Those are historical starting points, not a claim that the old toolchain or drivers will work unchanged today.
The discussion adds a useful testing lesson. Responding to another builder in November 2014, PK said they had eliminated off-by-one errors and minor timing errors that produced vertical banding. PK also recommended trying multiple monitors rather than treating one successful display as the final test.
That is the enduring value of VGAtonic: it separates a seemingly large task into pixel storage, precisely timed output and a slower host-update path. The logic can fit in a small device, but the pixels still have to travel. For a similar design, calculating the bytes per update—and deciding which pixels actually need to change—is as important as getting the first monitor to lock onto the signal.
Source: VGAtonic