VGA demo on Black Black F407VET6 (using STM32F407VE microcontroller)
It displays "Hello, world!" on a VGA connected to a Black F407VET6 board. It also display 64 supported colors.
This is the what you need to try this project:
Hardware | Qty |
---|---|
Black F407VET6 board | 1 |
Resistors 470 Ohm | 3 |
Resistors 680 Ohm | 3 |
Breadboard | 1 |
VGA connector (I used one from the old video card) | 1 |
Jumper wires | 15 |
ST-Link v2 or clone | 1 |
Software: Install free IDE STM32CubeIDE. I am using Windows 10, however STMicroelectronics claims that it also supports Linux and Mac.
How to connect wires:
PIN | Description | Connect To | Output |
---|---|---|---|
PE8 | Red 1 | Resistor 470 Ohm | VGA red (1) |
PE9 | Red 2 | Resistor 680 Ohm | VGA red (1) |
PE10 | Green 1 | Resistor 470 Ohm | VGA green (2) |
PE11 | Green 2 | Resistor 680 Ohm | VGA green (2) |
PE12 | Blue 1 | Resistor 470 Ohm | VGA blue (3) |
PE13 | Blue 2 | Resistor 680 Ohm | VGA blue (3) |
PD15 | HSync | VGA HSync (13) | |
PD14 | VSync | VGA VSync (14) | |
G | Ground | VGA Ground (5,6,7,8,10) |
Alternative pinout (define BOARD2):
PIN | Description | Connect To | Output |
---|---|---|---|
PD0 | Red 1 | Resistor 470 Ohm | VGA red (1) |
PD1 | Red 2 | Resistor 680 Ohm | VGA red (1) |
PD2 | Green 1 | Resistor 470 Ohm | VGA green (2) |
PD3 | Green 2 | Resistor 680 Ohm | VGA green (2) |
PD4 | Blue 1 | Resistor 470 Ohm | VGA blue (3) |
PD5 | Blue 2 | Resistor 680 Ohm | VGA blue (3) |
PB6 | HSync | VGA HSync (13) | |
PB7 | VSync | VGA VSync (14) | |
G | Ground | VGA Ground (5,6,7,8,10) |
This project uses Cliff L. Biffle's m4vgalib to display "Hello, world".