Wicked Minds Electronics Posted June 26, 2012 Report Share Posted June 26, 2012 Awhile back I was playing with a CS4954 Video Encoder. It's a great little chip, inexpensive, supports NTSC/PAL, S-Video, SCART, etc via 6 on board 10-bit DACs. Here is my NTSC/PAL breakout board:It runs off 5V or 3.3v and requires a 27MHz clock. The interface is via 8bit parallel bus or I2C. If you use I2C, the 8 bit parallel I/O bus becomes an 8 bit GPIO! The pixel data is fed to it via a dedicated 8 bit bus. Using I2C you basically get these I/O lines back with the GPIO. It supports both Master mode where it will supply the vertical and horizontal syncs or Slave where those signals are provided by the host device.I have seen some cool things done with this chip in the 6502.org forums with FPGAs and was curious if anyone would like to help me get some VHDL going on Papilio for this thing. I have the i2c start up sequences to get output running and have drawn some simple patterns with it using an Arduino, but that's about it. This post has been promoted to an article Link to comment Share on other sites More sharing options...
alvieboy Posted June 26, 2012 Report Share Posted June 26, 2012 Nice You think you can bring the design inside FPGA itself ? Link to comment Share on other sites More sharing options...
Wicked Minds Electronics Posted June 26, 2012 Author Report Share Posted June 26, 2012 I'm sure a lot of the functionality could be, but you would still need the external 10 bit DACs and all the I/O that goes with them. For a $7 chip, I'm not sure what the advantage would be. I'm personally interested in it to do text and graphic OSD type things for video that will be transmitted with a cheap NTSC/PAL transmitter. Thought it might also be useful for the retro computer projects as well. Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 27, 2012 Report Share Posted June 27, 2012 Wicked, I like the chip, it looks interesting. When we talked earlier about it I thought it was meant to capture composite video rather then output it. You might want to take a look at Ben L's TV output Wing, it uses less then $.30 in parts! Full VHDL source code is available. I've actually got this to work on my end without very much trouble. http://papilio.cc/index.php?n=Playground.TVOutputWing Jack. Link to comment Share on other sites More sharing options...
Wicked Minds Electronics Posted June 27, 2012 Author Report Share Posted June 27, 2012 That does look fun to play with, it won't give me full color reproduction from the camera image but I can think of a lot of other things to try with it Think I might build one this weekend. Link to comment Share on other sites More sharing options...
Wicked Minds Electronics Posted August 16, 2012 Author Report Share Posted August 16, 2012 I went ahead and made a wing in my spare time and have been able to pipe the picture from the camera to the cs4954 and also used the closed caption I2C commands to overlay text! No char rom needed Link to comment Share on other sites More sharing options...
Wicked Minds Electronics Posted August 16, 2012 Author Report Share Posted August 16, 2012 Here is the schematics for it Link to comment Share on other sites More sharing options...
Wicked Minds Electronics Posted August 17, 2012 Author Report Share Posted August 17, 2012 Here are some snaphots of the wing displaying data from the camera (center) and Closed Caption text.For default register settings the color looks great Since the cs4954 provides a Frame signal I am able to interlace the image from the camera and not just doube the scan lines which keeps things at the right ratio.The garbage on the left is a display of internal color map data for debugging. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.