PAL RGB Video Driver
macca
Posts: 782
in Propeller 1
Hi,
I wrote this experimental video driver that uses the VGA mode to output a PAL RGB video signal suitable to drive a TV set with SCART-RGB input. The connections are fairly simple, just connect the RGB lines from the VGA pins to the corresponding RGB pins on the SCART connector, the VGA HSync pin to the SCART composite out (or in depending on where you connect) pin and all grounds. Make also sure that the SCART pin 16 is connected to a 3v line (3.3v is fine) to signal the RGB input. I have used the standard VGA DAC resistors as the levels looks compatible so it can be tested on any standard board.
The driver outputs a colorbars pattern with a resolution of 320x240 pixels, 50Hz, single field, it looks good on the TV sets I was able to test so far, one 20+ years old 14" CRT TV and a more recent 22" LCD TV.
If you can test on other devices I would like to get your opinion and suggestions on how to improve the driver.
The driver is written in C with propeller gcc, hope is not a problem, I have included a precompiled binary file that uses pins 16-23 to output video.
Enjoy!
I wrote this experimental video driver that uses the VGA mode to output a PAL RGB video signal suitable to drive a TV set with SCART-RGB input. The connections are fairly simple, just connect the RGB lines from the VGA pins to the corresponding RGB pins on the SCART connector, the VGA HSync pin to the SCART composite out (or in depending on where you connect) pin and all grounds. Make also sure that the SCART pin 16 is connected to a 3v line (3.3v is fine) to signal the RGB input. I have used the standard VGA DAC resistors as the levels looks compatible so it can be tested on any standard board.
The driver outputs a colorbars pattern with a resolution of 320x240 pixels, 50Hz, single field, it looks good on the TV sets I was able to test so far, one 20+ years old 14" CRT TV and a more recent 22" LCD TV.
If you can test on other devices I would like to get your opinion and suggestions on how to improve the driver.
The driver is written in C with propeller gcc, hope is not a problem, I have included a precompiled binary file that uses pins 16-23 to output video.
Enjoy!