On the evaluation board ADV7842-ADV7511, can I get input from DVI port of PC through HDMI port? Or does device ADV7842 supports DVI digital video.
If I can do so, which Script I should used? For output, I use DVI mode.
The 7842 should work just fine with DVI. Use script
##Script 9 DVI##
:DVI RGB In, RGB Out DVI:
Another note. Depending if you are using a TV for a monitor, some TV don't accept PC formats. We have one in the lab that doesn't like PC formats.
Thanks Guenter L.
I tried but still not works. When I use this setup, what display resolution should I set?
Would you please send the Script that has been used.
Here you go. If this doesn't work, let me know what resolution your trying to run and I'll test it back in the lab with the quantum data source.
:DVI RGB In, RGB Out DVI:
;50 10 05 ; 36 output through AV02
;50 11 08 ; Bus Reversal
;50 19 10 ; ADV7844 Mode
;50 1B 02 ; ADV7511
40 FF 80 ; I2C reset
40 F1 90 ; SDP map
40 F2 94 ; SDPIO map
40 F3 84 ; AVLINK
40 F4 80 ; CEC
40 F5 7C ; INFOFRAME
40 F8 4C ; AFE
40 F9 64 ; KSV
40 FA 6C ; EDID
40 FB 68 ; HDMI
40 FD 44 ; CP
40 FE 48 ; VDP
50 20 00 ; De-assert HDP
40 01 06 ; Prim_Mode =110b HDMI-GR
40 02 F2 ; Auto CSC, RGB out
40 03 42 ; 36 bit SDR 444 Mode 0
40 05 28 ; AV Codes Off
40 06 A6 ; Invert HS and VS for 861 compliance.
68 C1 FF ; HDMI power control (power saving)
68 C2 FF ; HDMI power control (power saving)
68 C3 FF ; HDMI power control (power saving)
68 C4 FF ; HDMI power control (power saving)
68 C5 00 ; HDMI power control (power saving)
68 C6 00 ; HDMI power control (power saving)
68 C0 FF ; HDMI power control (power saving)
40 0C 40 ; Power up part and power down VDP
40 14 3F ; Disable Tristate of Pins
40 15 80 ; Disable Tristate of Pins
40 19 83 ; LLC DLL adjustment
40 33 43 ; LLC DLL Enable
44 BA 01 ; Set HDMI FreeRun
44 6C 00 ; Use fixed clamp values
4C 00 FF ; Power Down ADC's and there associated clocks
4C 01 FE ; Power down ref buffer_bandgap_clamps_sync strippers_input mux_output buffer
4C B5 00 ; Setting MCLK to 128Fs
68 44 85 ; ADI recommended writes
68 00 32 ; Set HDMI Input Port A (Enable BG monitoring)
68 01 00 ; Enable clock terminators
68 0D F4 ; ADI recommended writes
68 14 1F ; Disable compressed Audio Mute Mask
68 3D 10 ; HDMI ADI recommended write
68 44 85 ; TMDS PLL Optimization
68 46 1F ; ADI Recommended Write
68 60 88 ; TMDS PLL Optimization
68 61 88 ; TMDS PLL Optimization
68 6C 10 ; Disable ISRC clearing bit
68 57 B6 ; TMDS PLL Optimization
68 58 03 ; TMDS PLL Setting
68 75 10 ; DDC drive strength
68 85 1F ; ADI Equaliser Setting
68 87 70 ; ADI Equaliser Setting
68 89 04 ; ADI Equaliser Setting
68 8A 1E ; ADI Equaliser Setting
68 8D 04 ; ADI Equaliser Setting
68 8E 1E ; ADI Equaliser Setting
68 90 04 ; ADI Equaliser Setting
68 91 1E ; ADI Equaliser Setting
68 93 04 ; ADI Equaliser Setting
68 94 1E ; ADI Equaliser Setting
68 9D 02 ; ADI Equaliser Setting
68 99 A1 ; HDMI ADI recommended write
68 9B 09 ; HDMI ADI recommended write
68 C9 01 ; HDMI free Run based on PRIM_MODE, VID _STD
72 15 00 ; 444 RGB input
72 16 60 ; RGB 444
72 18 46 ; Disable CSC
72 41 10 ; Power down control
72 49 A8 ; ADI recommended write
72 4C 00 ; 8 bit Output (Set to 0x16 for 12 bit )
72 96 20 ; HPD interrupt clear
72 98 03 ; ADI recommended write
72 99 02 ; ADI recommended write - lock count limit
72 9C 30 ; PLL filter R1 value
72 9D 61 ; Set clock divide
72 A2 A4 ; ADI recommended write
72 A3 A4 ; ADI Recommended Write
72 A5 44 ; ADI Recommended Write
72 AB 40 ; ADI Recommended Write
72 AF 14 ; Select DVI mode
72 DE 9C ; ADI Recommended Write
72 BA A0 ; Adjust clock delay
72 D1 FF ; ADI Recommended Write
72 E4 60 ; VCO_Swing_Reference_Voltage
72 FA 7D ; Nbr of times to look for good phase
This is same as I used and it doesn’t work as well.
My laptop resolution is 1024 by 768.
I Just check the 7842-7511 evaluation board with the DVI scripts using a Quantum Data as a source and it worked as expected.
1) First thing I'd check is your DVI to HDMI adapter or cabling. Make sure it is really working well. Any impedance mismatch in the cable/adapter can cause TMDS clocking issues.
2) Try a lower resolution like VGA60. If there's a clocking problem this might work were XGA doesn't. If there's noise or sparkling in the image this also points to a cabling issue.
I make it works eventually which is good news. However, I found this is not easy as PLUG-and-PLAY. In most worst case, I have to follow the sequence:
· Disconnect all, board, USB and DVI cable
· Power up the eval board
· Connect USB
· Connect DVI cable
· Check Display from Windows’s control Panel to see the Windows if has detected the Eval board as second or third display. IF does,
· Start AVES2
· Run Script 9 (not 6)
I can see the video output through ADV7842 and ADV7511.
I have found that the Eval board will not work when power up the board with DVI cable already connected, in this case the Windows cannot detect the Eval board. This is big problem. I think that this is the main reason I couldn’t make it work until I realize occasionally today.
Our device uses PC DVI output as Video source in practice use. This is due to the most input signal to our device comes from PC based unit.
Also I found that the Eval board doesn’t work with the PC has XP Windows but works with Windows 7.
I appreciate Analog Device can confirm the problem I found, figure out and improve.
When the eval. board is off or first powered up there is no valid EDID information for the PC to read so the PC won't recognize the board as a display. The board has repeater code that copies the real display monitor EDID data from your display to the input side of the 7842. This is what the PC needs to read to see if there's a valid monitor connected. The repeater code takes about 10 seconds from power up to begin executing. However depending on which board you ordered the repeater code may not execute at startup at all. Keyless boards (P) do not run the repeater code automatically but can be started with a "Start Rep" and stopped with a "Stop Rep" command. When AVES starts, it automatically sends a "Stop Rep" command to the target.
USB is a problem in general. When you plug in a USB device the first thing the PC does is enumerate through the device to determine what it is and load its driver. When you disconnect all the cables, you're essentially resetting the PC USB driver.
So here's what I'd try for your setup
1) From a power off state and USB not connected and monitor connected, power up the board. wait ~10 seconds
2) plug in USB cable. Check the device manager->Ports, "Analog Devices Advantiv...." should show up
3) Start AVESServer, then AVES. It should automatically connect over USB and load up the script files.
4) If you have a keyless board, then hit the "Start Rep" button, wait ~10 seconds,
5) Now your PC should see both displays.
6) Hit the "Stop Rep" button to stop the repeater code if you want to use AVES and run scripts
Don't leave the repeater code running if you are running scripts. The two will collide and cause all sorts of problems.
I'm not sure what the issue is with XP but I run the code in a virtual machine without issues.
For JP1 and JP2, the EDID memory is blank. Those connectors were put there if you wanted the board to act as an end point (final sink). If you want to use them then you'll need to program them with a valid EDID block. Under these circumstances you'll have to stop the 7842 from responding to DDC requests
More questions, with DVI input, do I need to connect PIN_1 and PIN_2 on JP1 and JP2? During my test, I connected them. has EDID been programmed or not?
From: Guo, Jay
Sent: Thursday, May 10, 2012 4:36 PM
Subject: RE: New message: "DVI input on ADV7842"
Retrieving data ...