Post Go back to editing

Configuring ADV7403 for 4-wire RGB input: R-G-B and external C-sync on CS input (pin 86)

Category: Datasheet/Specs
Product Number: ADV7403

Hi,

We are trying to configure the ADV7403 to accept a 4-wire RGB signal.
RGB along with C-sync fed to pin 86(H/C-sync)

1) Initially, by using external hardware circuitry, we inserted an external C-sync on G to make it Gs.
This R-Gs-B was input to the ADC: ADV7403, and configured it according to the attached script.
A valid video was observed when viewed on an appropriate monitor. We are sure that the C-sync and video signals are in phase (timings are met).

The configurations attached below work when we feed R-Gs-B (s=sync embedded on G).
R: Ain11, Gs: Ain9 and B: Ain8. Gs is also driven on SOG pin (pin 52).

2) Now, the changes we expect to do is:
> send R-G-B without sync embedded on G.
> use the same c-sync, now driven on pin 86 as the sync source(We are giving a 1.8V c-sync signal).
> we have not connected anything on the SOG pin(left floating).
We intend to use the c-sync(pin 86) as the only sync source.

3) We attempted modifying the register configuration of the following register:

i2c_write 0x85 0x73

Only change we expected was: ADC would use external c-sync (pin 86) as the sync source and not embedded sync.

But we observed the ADC is unable to generate a valid digital PAL 4:2:2 video stream. (Video is moving sideways on the monitor)
Can you kindly go through the script and let us know if we have to do any other modification in our script/approach??

//RGsB_config
i2c_write 0F  80
i2c_write C3  DB
i2c_write C4  CA
i2c_write 00  00
i2c_write 01  C8
i2c_write 05  01
i2c_write 06  0B
i2c_write 1D  47
i2c_write 3B  80
i2c_write 3C  52
i2c_write 6B  C1
i2c_write 7B  0e
i2c_write 86  0B
i2c_write 8F  77
i2c_write 90  29
i2c_write C5  01
i2c_write C9  0c
i2c_write F3  07
i2c_write 41  41
i2c_write 3A  10
i2c_write 73  D0
i2c_write 74  04
i2c_write 75  01
i2c_write 52  00
i2c_write 53  00
i2c_write 54  07
i2c_write 55  0C
i2c_write 56  99
i2c_write 57  A9
i2c_write 58  71
i2c_write 59  08
i2c_write 5A  00
i2c_write 5B  7A
i2c_write 5C  E1
i2c_write 5D  05
i2c_write 5E  39
i2c_write 5F  1F
i2c_write 60  08
i2c_write 61  00
i2c_write 62  20
i2c_write 63  A7
i2c_write 64  A9
i2c_write 65  1A
i2c_write 66  8F
i2c_write 0E  80
i2c_write 52  46
i2c_write 54  00
i2c_write 0E  00
i2c_write 85  19

Regards,

Darshan



attached script as code
[edited by: dss at 4:46 PM (GMT -4) on 8 Apr 2025]
  • Hi,

    Please configure the below '0x6B' register in addition to the '0x85' register for external C-Sync and let us know about it,

      

    Thanks,

    Poornima

  • Hi team,

    Thank you for your quick reply.

    We were able to configure the ADC for 4-wire RGB input: R-G-B and external C-sync input(pin 86) using the following script.

    ----------------------------------
    ADC Config: R-G-B & ext. C-sync
    (G on Ain 9, C-sync on pin 86)
    ----------------------------------
    i2c_write 0x0F  0x80
    i2c_write 0x00  0x00
    i2c_write 0x01  0xC8
    i2c_write 0x05  0x00
    i2c_write 0x06  0x0B
    i2c_write 0x1D  0x47
    i2c_write 0x3B  0x80
    i2c_write 0x3C  0x52
    i2c_write 0x6B  0xC1
    i2c_write 0x7B  0x0E
    i2c_write 0x86  0x0B
    i2c_write 0x8F  0x77
    i2c_write 0x90  0x29
    i2c_write 0xC5  0x01
    i2c_write 0xC9  0x0c
    i2c_write 0xF3  0x07
    i2c_write 0x41  0x41
    i2c_write 0x3A  0x10
    i2c_write 0x3D  0xA2
    i2c_write 0x3E  0x6A
    i2c_write 0x3F  0xA0
    i2c_write 0xF9  0x03
    i2c_write 0x69  0x40
    i2c_write 0x87  0x63
    i2c_write 0x52  0x00
    i2c_write 0x53  0x00
    i2c_write 0x54  0x07
    i2c_write 0x55  0x0C
    i2c_write 0x56  0x99
    i2c_write 0x57  0xA9
    i2c_write 0x58  0x71
    i2c_write 0x73  0xD0
    i2c_write 0X74  0X04
    i2c_write 0X75  0X01
    i2c_write 0x59  0x08
    i2c_write 0x5A  0x00
    i2c_write 0x5B  0x7A
    i2c_write 0x5C  0xE1
    i2c_write 0x5D  0x05
    i2c_write 0x5E  0x39
    i2c_write 0x5F  0x1F
    i2c_write 0x60  0x08
    i2c_write 0x61  0x00
    i2c_write 0x62  0x20
    i2c_write 0x63  0xA7
    i2c_write 0x64  0xA9
    i2c_write 0x65  0x1A
    i2c_write 0x66  0x8F
    i2c_write 0x0E  0x80
    i2c_write 0x52  0x46
    i2c_write 0x54  0x00
    i2c_write 0x7F  0xFF
    i2c_write 0x81  0x30
    i2c_write 0x90  0xC9
    i2c_write 0x91  0x40
    i2c_write 0x92  0x3C
    i2c_write 0x93  0xCA
    i2c_write 0x94  0xD5
    i2c_write 0xB1  0xFF
    i2c_write 0xB6  0x08
    i2c_write 0xC0  0x9A
    i2c_write 0xCF  0x50
    i2c_write 0xD0  0x4E
    i2c_write 0xD1  0xB9
    i2c_write 0xD6  0xDD
    i2c_write 0xD7  0xE2
    i2c_write 0xE5  0x51
    i2c_write 0x0E  0x00
    i2c_write 0xC3  0xDB
    i2c_write 0xC4  0xCA
    i2c_write 0x85  0x73

    Regards,

    Darshan