This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Digitizing RGB Output from ADV7125

Other Parts Discussed in Thread: TVP5147, TVP7002, TVP5160, TVP5151, TVP5150, TVP5146

I am currently working to interface an existing video product that outputs video data from an ADV7125.  I am attempting to digitize this signal to something that is more friendly to video processors.  The signal that I get from the ADV7125 is 4 wire NTSC (R,G,B, and sync).  I am not too familiar with the different video standards so any direction would be much appreciated.

Thanks,
Dave

  • RGB + Syncs is not NTSC, it is VGA.

    What resolution is the output?

    Your best option is the TVP7002 for digitizing YPbPr and RGB+S signals. For single wire NTSC or S-Video you can use the TVP5150, TVP5151, TVP5146, TVP5147 or TVP5160 depending on the quality and other features you might require.

    BR,

    Steve

  • Steve,

    Thank you very much for the response. I hooked up the ADV7125 output into a monitor that is pretty old and the resolution came up detected as 720x480i. Does this make sense in any way? I will look at that part you suggested.

    Thanks again,
    Dave
  • If you are using a 9 pin connector (RGB+S) then you need to use the TVP700x devices.

    The TVP700x can decode many different formats, but if you KNOW your format then it is simpler to force the TVP700x to the specific format you are trying to decode.

    BR,

    Steve

  • 15 pin, not 9 pin... Sorry for the confusion :)

    BR,
    Steve
  • Thanks for the reply. I see that the TP7002 is end of life and has diminishing stock at least online. Are these parts being replaced by anything else?
  • The TVP700x is not end of life, but it is NRND.

    End of life means it is not being manufactured any more, NRND only means that design support is limited.

    Currently there are no plans to EoL the TVP or THS devices.

    BR,

    Steve

  • So I have made a quick proto board to test my conversion by inputting the analog RGB signal and outputting the digital data into a TFT panel. How do I get the program that is used in the TVP7002 evaluation kit so that I can send over commands using I2C to configure the mode and registers? I have the "TVP7002 Setup Files (Rev. A) " from the website but I need the software to execute them. Is there a place where I can download it?

    Thanks again,
    Dave
  • Dave,

    I can't seem to find the software at the moment. It used to ship directly with the EVMs.

    Additionally, if you have your own hardware then the software wouldn't work for you anyhow since it assumes the TI EVM I2C interface is present, and this is not the case for your custom hardware.

    Having said this, the setup files are really just a list of I2C commands which are sent so the TVP so if you have a quick look through you will see a section for each of the 'configurations'. Your custom I2C interface can then simply send the same I2C transactions as are described in the TVP setup files.

    Note though, if you are driving the TFT panel directly (i.e. no scaler or other video processing) then you will ONLY be able to support an analog resolution/frame rate which matches what the LCD is. i.e. if the LCD is 1024x768 @60 then that is the only analog input resolution you can provide.

    BR,

    Steve

  • Steve,

    Thanks for looking.  I was able to get the setup files in manually set up the registers one at a time using a USB to I2C utility. I am getting lines drawn across the screen but the not image that should be displayed.  I am having trouble getting the HSYCN pulse width to be the correct value to match the LCD spec.  I have been able to get the Data Enable, VSYNC, and Dot Clock to all be the correct frequency and duration but nothing I seem to do has an impact on the HSYNC.  I have data coming out on the data bus but obviously since my HYSNC is incorrect it all just looks like garbage.  While I am happy that at least something is coming out I seem to be spinning my wheels at the moment.  Below is an image of my entire memory space for all the registers.  I have tried adjusting the HYSNC width explicitly as well as other registers but to no avail.  The pulse width is currently around 400usec and needs to be around 70usec.  Any ideas what you would look for or that I am overlooking?

    Thanks again,

    Dave

  • What is the model # for your LCD? Does it support DE only mode (many LCD panels do).

    Can you send your schematic?

    BR,
    Steve
  • The LCD is a Tianma TM070RDH10 and the datasheet is attached.  It is capable of DE or sync mode.  A .pdf of the schematic is attached as well.  Thanks for taking a look at it.

    Thanks,

    DavidTVP7002 Test Board Rev 1.pdfProvisional Specification_TM070RDH10_V0.0 Shanghai.pdf

  • The LCD is 800x480 so the source MUST match this, otherwise you will get clipping and/or other issues.

    Earlier you mentioned that the analog source was 720x480i so you cannot simply connect the digital signal to the LCD.

    The resolution is wrong (720x480) and needs scaling to 800x480. More critically though the analog source is interlaced and the LCD requires progressive. This necessitates a de-interlacer.

    The TVP7002 is simply an ADC and does not contain either a scaler nor a de-interlace.

    BR,

    Steve

  • What would you recommend to scale and de-interlace as a hardware/software solution?
  • Would it be any easier to convert this into a source that could be input into a CSI device? In the end I am looking to input this video into a processor that inputs CSI and then can output multiple formats such as HDMI or digital RGB.
  • It really depends on what you are trying to achieve.


    If your goal is to simply take (a fixed but select-able) analog video and display on a very specific LCD then the simplest way is to make the source analog video format match the LCD requirements. The down side of this is that the system will only support one analog format (that which is the same as the LCD).

    If your goal is to have any video format captured and processed then re-displayed on a variable format output (or a fixed output resolution which is different to the source) then it is a completely different problem to solve.

  • At the end of the day I am trying to get the analog data stream that I am working with to display on the LCD. I am not tied down to that specific LCD but am fixed to that input data format and resolution. How would you recommend going about that?

    Thanks,
    Dave
  • If your source is fixed at 480i then you need to convert it to the format of whatever LCD panel you are trying to drive, unless you have a display which has a built in de-interlacer and scaler (i.e. a monitor and not just a simple LCD panel).

    De-interlacing and scaling is not a trivial task and TI does not have a single chip solution for that.

    BR,
    Steve
  • Steve,

    Again thanks for the info. Talking with colleagues I was told that I could get some help from them if I could serialize the data and input it to a linux processor. How would you recommend taking the analog signal from the beginning and serialize it. Would you recommend daisy-chaining this digital output I have created into a TI chip? What would you recommend?

    Thanks,
    Dave
  • Unfortunately this isn't a trivial task. (actually, it isn't too difficult, but there are many variables, e.g. what serial format? SDI, CSI, HDMI, DVI, DP etc...Is format conversion required, i.e. can the receiver accept any format? Do the formats acceptable match the source formats etc...)

    The TVP7002 can certainly perform the first part of the problem, i.e. digitize the analog video from any analog format into a digital representation of that analog stream. After that though is where the specifics become critical.

    BR,

    Steve

  • The serial format would be CSI.
  • Would you have a part recommendation for parallel RGB to CSI conversion?
  • Sorry for multiple responses but what would you recommend for the following 2 conversions?
    1. Convert analog video input to parallel digital and then convert that to serialized digital
    2. Convert analog video input to serialized digital

    In the recommended case what part would you suggest?
  • Unfortunately I don't know much about CSI so can't comment.

    BR,

    Steve

  • Is there someone else who I might be able to contact in regards to this?

    Thanks.
    David
  • As I mentioned previously, depending on the source format and target format this may not be a trivial exercise.

    If your target can accept CSI-2 then you could use a TVP7002 coupled to a DS90UR910, again, depending on the formats supported at each end.

    Search both TI and Google for "CSI" to determine more information about the interface requirements and capabilities to make sure that specific devices will meet your needs.

    You can also try the following link and possibly try the "Chat" to see if you can locate your local FAE (Field Applications Engineer) who tend to know a lot more about the available device families etc...

    Finally, you can also try the High Speed Interface E2E forums for help with the serial interfaces.

    Sorry I am not more help but I only have experience with the legacy video converter devices (i.e. TVP and THS families)

    BR,

    Steve