Using a PIC32MK to generate VGA
The PIC32MK has plenty of SPI interfaces that can be synchronized. Here three are used to create VGA with one bit per color (RGB).
This is the list of used pins:
/*
* RB6 RefClock1 Output the peripheral clock (2x the VGA pixel clock)
*
* RB9 T9CK Input
* RC2 T5CK Input
* RC6 T4CK Input
*
* RB7 SDO2 Output VGA output one Bit color 1
* RA0 SDO1 Output VGA output one Bit color 2
* RA14 SDO3 Output VGA output one Bit color 3
*
* RB0 SS2 Input signalling frame start input
* RD4 SS1 Input signalling frame start input
* RC1 SS3 Input signalling frame start input
*
* RF9 HSYNC Output
* RF10 VSYNC Output
*
* RF1 TX1 Output for Debug messages
* RA7 RX1 Input for Debug messages
*/
Timer 4, timer 5 and timer 9 are used for synchronization of horizontal and vertical VGA signals.
Build This Project
Bring this design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Diskussion (0 Kommentare)