Generate VGA Signals Using a PSoC 5LP

by mcgurkryan in Circuits > Electronics

854 Views, 1 Favorites, 0 Comments

Generate VGA Signals Using a PSoC 5LP

psoc 5LP VGA

This is a remix of an excellent project by Ben Eater, in which he build a VGA card from discrete components. His tutorial is amazing and it has inspired me to replicate his project on a PSoC. The great thing about using the PSoC is that I can write to the image buffer to create moving pictures.

Ben Eater's Project

The world's worst video card?
timing.png

For the project to work we must accurately generate the VGA signals as per the timing diagram. Please check out Ben Eater's tutorial as he explains his circuit and design in great detail.

My Build

sche.png

I replicated Ben's design on a PSoC 5LP.

The end of line signal triggers an ISR, in which I load the data to a buffer array. Then use DMA to output the data to a register, so as to have minimal delay.

The moving skull clip uses double buffering, i.e. while a buffer is being displayed I write data to a second buffer, when the end of data is reached I switch pointer addresses.

ECG Pulse

vga ecg psoc

Small section of the screen is blanked out to create the illusion of a flowing ECG signal.

Source Code

Please contact me if you would like me to upload more project files

Downloads