When I set that register 0x83 of Adv7612 is 0xFC, the value is not be set , when I read this register, the value is 0x00. I use ADV7612-ADV7511 evm, when I set it ,the value is 0x6b, so I do not know why it is not set by me. Please help!
You should be able to write 98 03 = 68 and read it back.
You should be able to write 98 FB = 68 and read it back, also.
Register 0x83 in what map? In the main IO map that is a read-only register which you can't write.
Register 0x83 in HDMI map, the reference setting is 0xFC, but when I set it, The value is 0x00 when reading back.
In ADV7612-EVM, the value is 0x5b when reading back.
Only bits 0 and 1 matter... rest are reserved. Writing 0xFC is the same as writing 0x00. The value of bits 2-7 aren't important.
I connect our board with ADV7612 Evm using BT656 mode, When I set IO,CP and HDMI using I2C bus using our board, our board can not get video with adv7612 A port, the register 0x83 of HDMI map is 0x00 when reading it,only I set this register by AVS software of ADI, the value is 0x6b when reading it, and our board can get video by this. So I do not know what action is done when setting this regiser by AVS software of ADI.
I'm not sure I understand what you are doing. BT656 is an output mode from ADV7612, not an input. Feeding in BT656 will not produce an HDMI output from port A. How did you make the connection?
Or do you mean you have a video input on Port A and you've connected the output from 7612 to your board?
Hi,DaveD,Thank you for you help!
I use ADV7612 connect with DM368, I can get video using DM368 connect with ADV7612, but setting by ADV7612-ADV7511 evm using I2C bus. When setting by DM368 of our board using I2C bus, I can not get video,so I connect as follow:
HDMI PLYAER------HDMI APORT(ADV7612) ---------------ADV7612-ADV7511EVM (I2C BUS)
----------------DM368 (I2C BUS and Y0--Y7 )
First, when I set using ADV7612-ADV7511EVM (I2C BUS), Dm368 can get video,and I find 0x83 register of HDMI map value is 0x6b,
Second, when I set using DM368 (I2C BUS), Dm368 can not get video, and next step I find 0x83 register of HDMI map value is 0x00, so I set 0x83 = 0xFC by ADV7612-ADV7511EVM (I2C BUS), I can get video.If I set 0x83 = 0xFC by DM368 (I2C BUS), I can not get video.
So I do not know what action is done when setting 0x83 regiser of HDMI map by AVS software of ADI, Why ADV7612-ADV7511EVM is OK?
I just checked this board. Both the firmware and the scripts are setting HDMI map (0x68) 0x83 to 0xFC.
When you control I2C bus with DM368, are you using one of our scripts? You will need to set the HDMI map to 0x68.
Can you write and read back ADV7612 IO map 0x03?
Can you write and read back ADV7612 IO map 0xFB?
Yes, I using your scripts, I set HDMI map to 0x68 too. When DM368 setting using same scripts, Dm368 can not get video. Only set 0x83==0xfc of HDMI map by ADV7612-7511EVM, DM368 works OK.
If I set HDMI map error, DM368 can not work.
The script as follow:
98 FF 80 ; I2C reset98 F4 80 ; CEC98 F5 7C ; INFOFRAME98 F8 4C ; DPLL98 F9 64 ; KSV98 FA 6C ; EDID98 FB 68 ; HDMI98 FD 44 ; CP98 01 06 ; Prim_Mode =110b HDMI-GR98 02 F5 ; Auto CSC, YCrCb out, Set op_656 bit98 03 42 ; 36 bit SDR 444 Mode 098 05 28 ; AV Codes Off98 0B 44 ; Power up part98 0C 42 ; Power up part98 14 7F ; Max Drive Strength98 15 80 ; Disable Tristate of Pins98 19 83 ; LLC DLL phase98 33 40 ; LLC DLL enable98 00 0A ;98 01 05 ; Prim_Mode =110b HDMI-GR98 03 00 ;98 04 42 ;98 05 2C ;98 19 C3 ; LLC DLL phase
44 BA 01 ; Set HDMI FreeRun64 40 81 ; Disable HDCP 1.1 features
68 9B 03 ; ADI recommended setting68 00 08 ; Set HDMI Input Port A (BG_MEAS_PORT_SEL = 001b)68 02 03 ; Enable Ports A & B in background mode68 83 FC ; Enable clock terminators for port A & B68 6F 0C ; ADI recommended setting68 85 1F ; ADI recommended setting68 87 70 ; ADI recommended setting68 8D 04 ; LFG Port A68 8E 1E ; HFG Port A68 1A 8A ; unmute audio68 57 DA ; ADI recommended setting68 58 01 ; ADI recommended setting68 75 10 ; DDC drive strength68 90 04 ; LFG Port B68 91 1E ; HFG Port B
Only the value of 0x83 register of HDMI MAP is not same after writing by DM368 and ADV7612-ADV7511 evm.
Were you able to get this working?
I checked on ADV7612 HDMI map 0x83. The default setting appears to be 0xFF. The scripts change write 0xFC to this register (enabling termination for RxA and RxB) and I can read back 0xFC.
HDMI map 0x83 bits 7:2 are unused and appear to be hardwired to 1. Therefore, I think the only values you will be able to read back are 0xFF, 0xFC, 0xFD, or 0xFE.
Have you been able to make any progress on this?
Retrieving data ...