Post Go back to editing

adv7343 problem

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

The schematic looks good.  I assume you have pull up resistors on SDA and SCL lines off board.

Please verify your I2C address you are using.

The ADV7343 will be at either 0xD4 or 0xD6 (8-bit addressing)

The AVV7180 will be at either 0x40 or 0x42 (8-bit addressing)

0x56 does not appear to be the correct address

  • I am trying to sand a sequence of 1 frame to the adv7343 in the pixel port with master mode and h_sync v_sync blank signals are unused using only the pixel port in ccir656 the the data is as falow in the web site i am using

    http://www.spacewire.co.uk/video_standard.html

    But i am geting a weird looking pic of  stripes like there is some problem with synchronization?  Help?

  • this is the picture :

    and this is what I am sending :

    i am sending in ntsc so i am using the settings that are in -()-

    it is in black and white because i cancel chroma in the settings.

  • The scope wave from looks good.  Try turning off the Chroma in the ADV7343.  0x84[4] = 1

  • GuenterL wrote:

    The scope wave from looks good.  Try turning off the Chroma in the ADV7343.  0x84[4] = 1

    The picture is after chroma cancellation "it is in black and white because i cancel chroma in the settings."

    The protocol that I am using is good ?


  • Looking at the scope, I see two complete horizontal lines.  The first line is black about 2/3 away across then white the remaining 1/3.  The second line is white the first 1/3 of the line and black the remaining line.  The left half of the image is generated by the second scope horizontal line and the right half of the screen is generated by the white part of the first scope horizontal line.

    From the scope it looks also like the horizontal line after the second complete is all black.  This would produce product a complete black line across the entire screen. 

    It appears the screen shows exactly what the scope shows so the problem is the generated 656 stream has incorrect video in the active region.

    What is the data between the SAV and EAV.  All you show above is the blanking area which should be black

  • 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

  • Please get the book Video Demystified

    Video Demystified: A Handbook for the Digital Engineer, 5th Edition: Keith Jack: 9780750683951: Amazon.com: Books

    It explains all the requirements of BT.656 encoding.

    If you are truly doing 525i or 625i over an 8-bit bus then the clock should be 27MHz.

    The table above does not match the monitor image above.  both active video regions are white.  The display is showing interleaved black lines with the white ares and the scope does not match the table either.

    The table should produce a solid white screen.

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin