ADV7180

Hello

I am using the ADV7180 in combination with the Epson graphic Controller S1D13719 and a TFT 320x240 color display. Unfortunately I only get a black/white screen on the display. But the test colors (Register 0x0D) from the ADV7180 are correct on the display. It seems to be there is a problem with the video signal input recognition on the ADV7180. All ADV7180 registers do have the default value. What do I wrong?

Thanks for any help

  • 0
    •  Analog Employees 
    on Jan 10, 2020 9:14 AM

    Hi,

    Please configure ADV7180 according to ADI recommended script.Please make sure with below things.
             Set DEF_VAL_EN User Map register 0x0C bit [0] to 1. This will cause the ADV7180 to ignore the CVBS input and output a blue screen.   
             Changing User Map register 0x0D bits [7:4] will change the Cr value in free-run mode
             Changing User Map register 0x0D bits [3:0] will change the Cb value in free-run mode

    For color output, you need to set the data has a range of 0-255 where 16-235 are valid levels.
                  Y  =      (0.257 * R) + (0.504 * G) + (0.098 * B) + 16
                  Cr = V =  (0.439 * R) - (0.368 * G) - (0.071 * B) + 128
                  Cb = U = -(0.148 * R) - (0.291 * G) + (0.439 * B) + 128

    Check the color value of DEF_C register from the below table,

      

    If the color subcarrier is below 14.275mVpp,then the ADV7180 will not be able to lock to the color subcarrier and it will output a black and white image and also make with crystal clock.

    Thanks,

    Poornima

  • Hi

    The colors are correct in free-run mode. But I still get a black/white screen with the camera.
    I am not so familiar with the details of a video signal. But I have done a screenshot of the video signal direct by the ADV7180 Input:

    For me it seems to be nice and clear. The input circuit is done as according the datasheet.

    Any other suggestions?

    Best regards

    Marcel

  • 0
    •  Analog Employees 
    on Jan 13, 2020 10:53 AM in reply to bornm

    Hi,

     Could you please share your register configuration?

    Thanks,

    Poornima

  • 42 00 00 ; INSEL = CVBS in on AIn 1
    42 04 57 ; Enable SFL
    42 17 41 ; select SH1
    42 31 02 ; Clears NEWAV_MODE, SAV/EAV  to suit ADV video encoders
    42 3D A2 ; MWE Enable Manual Window, Colour Kill Threshold to 2
    42 3E 6A ; BLM optimisation
    42 3F A0 ; BGB
    42 0E 80 ; ADI Recommended Write
    42 55 81 ; ADI Recommended Write
    42 0E 00 ; ADI Recommended Write

    Best regards
    Marcel

  • 0
    •  Analog Employees 
    on Jan 14, 2020 1:13 PM in reply to bornm

    Hi,

     Please let us know,whether color kill enabled by reading register 0x2b.

     If enabled,try to disable color kill and check it in your side.

     And make sure with register 0x27 according to your input video source.

     

    Thanks,

    Poornima