Post Go back to editing

adv7343 problem

Thread Summary

The user is experiencing issues with I2C communication and video output when using the ADV7343 with an FPGA and ADV7180 to transform PAL to NTSC in real-time. The final answer suggests the problem lies in the generated BT.656 stream, which has incorrect video data in the active region, causing striped patterns on the screen. The user is advised to verify the I2C address (0xD4 or 0xD6) and ensure the data stream matches the expected BT.656 encoding, as the current data does not produce the correct image.
AI Generated Content

hi i am using the adv7343 with fpga and adv7180 in order to transform pal to ntsc in real time. the adv7180 is part of my altera board (de2 115 cyclon 4E) and i have no problems with it. the adv7343 i bought separately and i have assembled it on my own with the tools and parts I had. I followed the circuit in the adv7343 datasheet as close as i could ,i attached the scheme with the exact values i used in my circuit.

the problem i am having is with the i2c, the component is not reacting well. it gives ack when it doesn't need to give one like when i send to address 0x50 data and it doesn't give a NACK

so my problem is that i don't know if the component is good or is it a problem with my circuit.

in addition i used an oscillator to generate the 27MHz freq and this is the clock:

the i2c writes i'm using is:

0x5600FC

0x568440

0x5682CB  \\ i am using cbvs on DAC1


thanks a lot

BARUPDATE.pdf
Parents
  • the data stream is as flowes:

    Field 1 - First Vertical Blanking (Top) - Repeat for 19 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 182 128 16 128 16 255 0 0 171 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 1 - Active Video - Repeat for 240 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 157 128 16 128 16 255 0 0 128 128 235 128 235
    Repeat 1  time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 1 - Second Vertical Blanking (Bottom) - Repeat for 3 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 182 128 16 128 16 255 0 0 171 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360  times
    Field 2 - First Vertical Blanking (Top) - Repeat for 20 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 241 128 16 128 16 255 0 0 236 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 2 - Active Video - Repeat for 240 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 218 128 16 128 16 255 0 0 199 128 235 128 235
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 2 - Second Vertical Blanking (Bottom) - Repeat for 3 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 241 128 16 128 16 255 0 0 236 128 16 128 16
    Repeat 1  time Repeat 67 times Repeat 1 time Repeat 360 times

    i am using :

    1. Mode 0 (CCIR-656)—Slave Option with h_sync,v_sync and blank tide up
    2. chroma is off -  i want a black and white picture
    3. using dac 1

    i would like it if you could have gave me an example for data stream of one frame so i could compare it to mine

Reply
  • the data stream is as flowes:

    Field 1 - First Vertical Blanking (Top) - Repeat for 19 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 182 128 16 128 16 255 0 0 171 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 1 - Active Video - Repeat for 240 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 157 128 16 128 16 255 0 0 128 128 235 128 235
    Repeat 1  time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 1 - Second Vertical Blanking (Bottom) - Repeat for 3 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 182 128 16 128 16 255 0 0 171 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360  times
    Field 2 - First Vertical Blanking (Top) - Repeat for 20 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 241 128 16 128 16 255 0 0 236 128 16 128 16
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 2 - Active Video - Repeat for 240 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 218 128 16 128 16 255 0 0 199 128 235 128 235
    Repeat 1 time Repeat 67 times Repeat 1 time Repeat 360 times
    Field 2 - Second Vertical Blanking (Bottom) - Repeat for 3 lines
    EAV Code Blanking Video SAV Code Active Video
    255 0 0 241 128 16 128 16 255 0 0 236 128 16 128 16
    Repeat 1  time Repeat 67 times Repeat 1 time Repeat 360 times

    i am using :

    1. Mode 0 (CCIR-656)—Slave Option with h_sync,v_sync and blank tide up
    2. chroma is off -  i want a black and white picture
    3. using dac 1

    i would like it if you could have gave me an example for data stream of one frame so i could compare it to mine

Children
No Data