ADV7180 on IMX6 giving magenta output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADV7180 on IMX6 giving magenta output

Jump to solution
1,733 Views
jamiew
Contributor III

magenta.jpeg.jpg


Hello

I'm trying to get the ADV7180 working with the Bluechip Technologies RM3 based on the quad core i.mx6.


I'm using Yocto with the Bluechip layer for the RM3.

I have connected:

 

P0-P7  on the ADV go to IPU1_CSI0_D_13-19 (I think)

LLC to MX6Q_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK

VS/FIELD to MX6Q_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC

HS to MX6Q_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC

RESET to MX6Q_PAD_NANDF_CS2__GPIO_6_15

INTRQ to CAM_IRQ (not that I think this is used)

PWRDWN to MX6Q_PAD_CSI0_DATA_EN__GPIO_5_20


With adv7180.c as is the tvin unit test times out.

However if I set p->u.bt656.clock_curr = 27000000; as mentioned in another post on this forum I get the image below.


Anyone seen an image like this before?

I think it could be today with EAV SAV not being read? But I'm new to bt656 and I'm not sure how to check!

Tags (3)
0 Kudos
1 Solution
819 Views
jamiew
Contributor III

Turns out the problem was the 8bit bt.656 being connected to the lower 8 bits of the 10bits available. Had to physically move connection up by two bits. Now works fine. Thanks.

View solution in original post

0 Kudos
4 Replies
820 Views
jamiew
Contributor III

Turns out the problem was the 8bit bt.656 being connected to the lower 8 bits of the 10bits available. Had to physically move connection up by two bits. Now works fine. Thanks.

0 Kudos
819 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jamie

for ADV7180 testing one can use unit test mxc_v4l2_tvin (bt656 configuration)

Re: ADV7180 on imx6 quad

Re: ADV7181 on IMX6Q board

Re: How to test TV-IN ( ADV7180) for IMX53 ARD board

Best regards

igor

819 Views
jamiew
Contributor III

Hi Igor


Thank you for your reply.

The output shown is from mxc_v4l2_tvin, however I haven't seen any options for "bt656 configuration". Where do I set that?

Thanks for the links too, I had already read the first two but will read through the third one now.

Jamie

0 Kudos
819 Views
igorpadykov
NXP Employee
NXP Employee

I think "bt656 configuration" refers to ADV7180,

please read its documentation.

For mxc_v4l2_tvin there is no need for configuration,

it is already configured for bt656.

0 Kudos