AnsweredAssumed Answered

AD9380B - Video Format Detection

Question asked by mrts on Oct 31, 2011
Latest reply on Nov 2, 2011 by DaveD

I have a product that incorporates an AD9380B part. I am having a particular problem of it being able to detect the video format 100% of the time. I have been relying on reg 0x84 to get the current video format being fed into the AD9380B via HDMI. The only resolutions that I need it to support are standard consumer TV resolutions (480i/p, 576i/p, 720p-50/60, 1080i-50/60, 1080p24, ...). Using the standard equipment (dvd, Bluray, sat, cable, ...) we have in house I havn't had any problems with the format detection logic. I basically use the detected format to configure an onboard encoder we have processing the video.


Hooking up a ned Mac mini I have run into problems. I am sure the Mac mini is outputting 1080i60. I have verified this by hooking the Mac up to a HDMI distribution amp and feeding its output #1 to a standard display and output #2 to our eqiupment. The Mac reads the #1 EDID and the dispaly is showing the proper 1080i60 video. At this point reg 0x84 continuously is read as being 0x00. And because I depend on the detected format to configure my encoder my product fails to function. If I force a VIC of 5 (1080i60) (knowing that is what the incoming format is) instead of directly reading reg 0x84 everything else starts working as it should. This is true also when I do a direct connection between the Mac mini and my product. During this entire time reg 0x84 continuosly reads 0x00.


I am also getting problem reports from the field that might be caused byt this same problem.


So the question I have is can I or can't I depend on reg 0x84 as being a fullproof method of format detection? If I can what am I doing wrong. If I can't, what should I be doing to get solid/robust video format detection.


Here is a reg dump of the AD9380 when I am bypassing reading of reg 0x84 and instead force a VIC of 5 (1080i60). The video encoding is functioning correctly while this dump was made.



0x00: 0x14  0x00  0x40  0x54  0x80  0x80  0x80  0x80

0x08: 0x00  0x80  0x00  0x80  0x00  0x80  0x20  0x40

0x10: 0x40  0x03  0xa9  0x04  0x04  0x00  0xf8  0x00

0x18: 0x47  0x28  0x14  0x06  0x4e  0xff  0x20  0x32

0x20: 0x32  0xfc  0x04  0x20  0xfe  0x52  0x00  0x00

0x28: 0x61  0x04  0x05  0x00  0x02  0xd0  0x18  0x6f

0x30: 0xa0  0x96  0x0d  0x95  0xa0  0x2c  0x52  0x08

0x38: 0x00  0x00  0x00  0x19  0xd7  0x1c  0x54  0x08

0x40: 0x00  0x1e  0x89  0x02  0x92  0x00  0x00  0x08

0x48: 0x00  0x0e  0x87  0x18  0xbd  0x3b  0x6d  0x54

0x50: 0x90  0x40  0x01  0x3f  0x00  0x01  0x0f  0x00

0x58: 0x91  0x20  0x00  0x04  0xee  0xae  0x00  0x00

0x60: 0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0x68: 0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0x70: 0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0x78: 0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0x80: 0x02  0x40  0x08  0x00  0x00  0x00  0x00  0x00

0x88: 0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0x90: 0x9e  0x3e  0x6b  0xd5  0xfb  0xbd  0x75  0x00

0x98: 0xfe  0xbc  0x7b  0x45  0xe3  0xaf  0x65  0x00

0xA0: 0x3b  0xca  0xf1  0x95  0xf3  0x6d  0x65  0x00

0xA8: 0xbe  0xfe  0x79  0x91  0xa2  0x2f  0x47  0x00

0xB0: 0xbe  0xfc  0x47  0xb5  0x72  0x2d  0x78  0x00

0xB8: 0xb1  0xb8  0x78  0x05  0xe3  0xae  0x71  0x00

0xC0: 0x90  0x00  0x00  0x00  0x00  0x00  0x00  0x00

0xC8: 0xbf  0x2c  0xf3  0xd7  0xc2  0xa7  0x6d  0x00

0xD0: 0x3e  0x9e  0xf9  0xf1  0xf3  0x2f  0xff  0x00

0xD8: 0x81  0xb6  0x7a  0xd5  0xfb  0xe7  0x76  0x00

0xE0: 0xaf  0x9e  0x7b  0xed  0xff  0xaf  0xc5  0x00

0xE8: 0xbd  0xfa  0x7b  0xdc  0xf7  0x3f  0x63  0x00

0xF0: 0x3e  0xfe  0x4b  0x94  0xa3  0xbd  0x26  0x00

0xF8: 0x9f  0xee  0x7f  0xb8  0xfb  0xef  0x7f  0x00