AnsweredAssumed Answered

ADV7403 Test Script for RGB (1024x768 @60Hz) to 24 bit RGB out

Question asked by reepoman on Jul 12, 2013
Latest reply on Jul 28, 2013 by mattp

I am working on a project to use an ADV7403 to convert a standard RGB graphics (VGA source) into digital RGB 24 bit data. I have been reviewing the Data Manual and the example scripts that come with the evaluation board that has an ADV7403.  I have written several scripts for the microprocessor I am using to load the ADV7403.  I have generated an Array to send over some I2C routines on the processor and one such array is like:


                                       { 0x42, 0x03, 0x14,        //!

                                        0x42, 0x04, 0x4E,        //! Sets Extended output Control... force HS/VS/Field and ITU-R BT.656 compliance

                                        0x42, 0x05, 0x02,        //! RGB Graphics Mode Set

                                        0x42, 0x06, 0x0C,        //! PRIMMODE=2; WVGA 1024 x 768 @60

                                        0x42, 0x1D, 0x47,        //! ADI Control: 28MHz with LLC Active

                                        0x42, 0x3A, 0x21,        //! ADC Control.  Power down ADC 3

                                        0x42, 0x3B, 0x80,        //! BIAS Control: Defaults

                                        0x42, 0x3C, 0x5D,        //! TLLC Control: QPUMP

                                        0x42, 0x6A, 0x00,        //! TLLC Phase adjust:

                                        0x42, 0x6B, 0xC2,        //! CP Output Selection:

                                        0x42, 0x73, 0x90,         //! A_GAIN Manual...

                                        0x42, 0x7B, 0x1D,        //! CP AV Control:

                                        0x42, 0x85, 0x03,        //! CP Detection Control:

                                        0x42, 0x86, 0x0B,        //! CP MISC Control 1:

                                        0x42, 0xF4, 0x15,        //! Drive Strength: Recommended values of drive strength

                                        0x42, 0x0E, 0x80,        //! Sets to ADI Control

                                        0x42, 0xBF,    0x06,        //! Blue screen start

                                        0x42, 0xC0, 0x00,        //! Blue screen 2

                                        0x42, 0xC1, 0x87,        //! Blue screen 3

                                        0x42, 0xC2, 0x00,        //! Blue screen 4

                                        0x42, 0x52, 0x46,        //!

                                        0x42, 0x52, 0x00,        //!

                                        0x42, 0x0E, 0x00,        //!

                                        0x42, 0x0E, 0x00 };


I can read back the ADV7403 and see that the data is being written correctly (0x42-> ADV7403, then address, then the data to fill that address).  My routine is not perfect as it writes one address at a time.  However, I was able to start from the scripts provided with the eval board.  I would ideally like a blue screen to show whenever no valid video is present ( I think I added that correctly to).  On the hardware, I see the correct HSYNC, VSYNC, and pixel clock timings.  What I am not seeing is A) a blue screen or B) much color transitioning on the 24 bit output lines.  A few of the lines seem to be toggling but without a logic analyzer here I wouldn't be able to say for certain.


I am really looking to see if anyone out there has a test script of similar nature that is known to work? I would like to try it just to ensure that the hardware is working and allow me to track down software bugs.


Any help would be greatly appreciated,