AnsweredAssumed Answered

AD9889 Y & C components swapped

Question asked by cdsteinkuehler on May 24, 2010
Latest reply on Jun 10, 2010 by DaveD

I have the AD9889 HDMI transmitter working properly in HD modes (1080i, 720p) with 16-bit YCrCb data.


I am having problems, however, getting 480p mode working with 8-bit YCrCb data (input_ID 4).  I get a display, but the Y and Cr/Cb components are swapped.  I am sending a standard ITU-656 video stream (ie: Cb, Y, Cr, Y), with the DE signal asserted along with the first valid data (Cb compnent of the first pixel).  In crude ascii art:

 

DE   : 0  0  1  1  1  1  1  1 ... 1  1  1  1  1  1  0  0
Data : xx xx Cb Y  Cr Y  Cb Y ... Cr Y  Cb Y  Cr Y  xx xx

 

I haven't found any timing diagrams of DE vs. data for the 8-bit 4:2:2 video input modes, nor have I found any register settings that allow swapping of the components.  Can you tell me if I need to adjust a register setting or two, or perhaps change the DE timings when running in input_ID 4 (8-bit 4:2:2 video with separate syncs)?

 

If it helps, following is a register dump of the part when it is transmitting 480p, input_ID 4, with swapped Y and Cb/Cr compoonents:

 

0x00 = 0x00 0x00 0x18 0x00 0x00 0x69 0x78 0x00
0x08 = 0x00 0x00 0x01 0x0e 0x06 0x18 0x01 0x13
0x10 = 0x25 0x37 0x00 0x00 0x00 0x26 0x70 0x0a
0x18 = 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x20 = 0x00 0x00 0x08 0x00 0x00 0x00 0x00 0x00
0x28 = 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x00
0x30 = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x38 = 0x00 0x00 0x00 0x81 0x00 0x03 0x0c 0x00
0x40 = 0x40 0x10 0xe0 0x7e 0x78 0xae 0x68 0x80
0x48 = 0x00 0x00 0x04 0x38 0x00 0x00 0x07 0x80
0x50 = 0x00 0x00 0x4e 0x65 0x77 0x54 0x65 0x6b
0x58 = 0x00 0x00 0x58 0x44 0x38 0x35 0x30 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 = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x88 = 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x90 = 0x00 0x00 0x00 0x00 0x84 0xc0 0x30 0x00
0x98 = 0x03 0x02 0x00 0x18 0x38 0x61 0x10 0x00
0xa0 = 0x00 0x00 0x87 0x87 0x08 0x04 0x00 0x00
0xa8 = 0x00 0x00 0x00 0x40 0x00 0x00 0x40 0x16
0xb0 = 0x01 0xb8 0x59 0x34 0xa9 0x88 0x95 0xe5
0xb8 = 0xb0 0x00 0x60 0xff 0x00 0x00 0x00 0x00
0xc0 = 0x00 0x00 0x00 0x00 0x00 0x10 0x14 0x00
0xc8 = 0x02 0x03 0x00 0x01 0x02 0x00 0x00 0x70
0xd0 = 0x70 0x70 0x70 0x70 0x70 0x70 0x70 0x70
0xd8 = 0x70 0x70 0x70 0x70 0x70 0x70 0x70 0x70
0xe0 = 0x70 0x70 0x70 0x70 0x70 0x70 0x70 0x70
0xe8 = 0x70 0x70 0x70 0x70 0x70 0x70 0x70 0x70
0xf0 = 0x70 0x70 0x70 0x70 0x70 0x70 0x70 0x70
0xf8 = 0x70 0x70 0x7d 0xaa 0x1c 0x00 0xb0 0x00

Outcomes