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.

RGB Analog Output from DM644x

Other Parts Discussed in Thread: THS8200

I want to output a VGA signal from the DM644x processor.  Has anyone successfully done this?  Can I do this with just the DM644x SoC or do I need some external chip to general the RGB analog signals?  I can generate RS170 video without a problem, but I haven't been able to write to an RGB device.  Our software is on a MontaVista linux platform, is there a device driver available that controls this device?  If not, is there some same driver available that I can modify to do this?

 Thanks.

  • I am not aware of anyone that has VGA analog output using analog DACs built into the DM644X.  As a matter of fact, OSD hardware block which precedes analog DACs in the video display path converts all OSD and VID windows to YCbCr 422 format and merges them for video output.  There is no hardware block to convert YCbCr 422 to RGB after the data leaves OSD hardware block, hence the built-in analog DACs are limited to YCbCr data input and outputs TV formats such as NTSC or PAL.  For RGB output, you will probably need an external video part. 

  • Unfortunately the way the DACs are setup on the DM644x you cannot output VGA directly, they are only capible of outputting TV standard signals because to have the DACs enabled you must have the video encoder enabled. This said you could still have an external device output an analog VGA signal, something like a THS8200 could do the job nicely. Unfortunately I do not know of any drivers that currently would output VGA like this, however the application note below should be a good place to start to help you modify the drivers to do it.

    http://focus.ti.com/dsp/docs/dspsupporttechdocsc.tsp?sectionId=3&tabId=409&familyId=1302&abstractName=spraan0

  • If the output can not be RGB, then why do the Functional Block Diagrams of all the Davinci devices include it as a valid DAC output option?  I thought that the VENC could be put into a RGB mode. The digital LCD data can clearly be (hence all the discussions of setting up RGB666 and RGB888 throughout the datasheet and app notes)  This RGB digital LCD data is not presented to the DACS??  (example block diagram on page 5 of the DM6441 RevD datasheet).  I was about to try this myself, This forum post has just saved me a lot of frustration ... thanks.

    Where one would get the syncs is a different question. I didnt know if the digtal LCD hsync/vsync could be used with a buffer assuming the bus was in RGB mode. Perhaps the question is now moot.

     

  • The digital output certainly can be RGB compliant, and that does work, however the analog cannot output a compliant VGA/PC type monitor signal. I think this block diagram should probably be changed to not mention RGB, though it is technically correct, it is not practically correct. In other words there is nothing stopping you from outputting RGB data on the analog bus that I know of, however you would need a display that can handle RGB input in a TV standard timing pattern.

    The key place I see this mentioned is the VMD bit in the VMOD register discussed in SPRUE37, in particular section 4.4.1.2 of this document mentions specifically that the DACS are disabled when VMD is set for non standard mode. This means that you cannot specify custom timings with the DACs enabled, which effectively prohibits anything other than TV standard timings, meaning a VGA/PC type output is not possible.

  • You can probably deduce this from Bernie's comments, but just to be clear, RGB digital LCD data is not present at the analog DACs; also, hsync/vsync are considered digital interface signals (not used with analog output), hence the reason only standard video timing modes are supported.