Can't capture data from adv7611 with CSI0 on MX6Q

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't capture data from adv7611 with CSI0 on MX6Q

3,527件の閲覧回数
RobbieJiang
Contributor IV

Hi,

I'm currently working with two sensor inputs on i.mx6q/linux platform.

One is adv7180 in PAL mode connected to CSI1 IPU2.

It works fairly well.

The other one is adv7611 connected to CSI0 IPU1.

We cannot get any data from CSI0 port by now.

The 'mxc_v4l2_capture.out' application gives

'ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0'.

It means that no data arrive CSI0.

We have setting adv7611 to work in free run mode,

which produces a 8Bit BT656 bit stream for 576i video mode.

The output Vsync, Hsync, Pixclk signals seem good.

And the register settings for CSI0 is basically the same as the settings of CSI1.

Any idea?

Thanks.

ラベル(3)
8 返答(返信)

1,820件の閲覧回数
allanmatthew
Contributor IV

Robbie-

Were you able to get the ADV7611 input running?  I seem to be having the same problem as you with the DE pin set correctly in the DTB.

Would you mind sharing your driver file?

Thanks,

-Allan

0 件の賞賛
返信

1,820件の閲覧回数
RobbieJiang
Contributor IV

Allan.

My 7611 works in 12bit BT.1120 mode.

First ensure that the hardware connection between 7611 and MX6 is compatible

with the way specified in MX6Q datasheet.

Also you need to set those IO pins in correct work mode by setting PAD_CTL registers.

Then the CSI interface must be set in the same mode as 7611's output.

Otherwise MX6 can not understand incoming data, even if there are video data arriving at CSI interface.

Robbie

0 件の賞賛
返信

1,820件の閲覧回数
clx
Contributor I

Hi RobbieJiang,

Could you please describe how did you connect ADV7611 in 12-bit mode to I.MX6?

I've checked Table 62. Camera Input Signal Cross Reference in "i.MX 6Dual/6Quad Applications Processors for Consumer Products - Data Sheet (REV 4)", but there is no mention of 12-bit mode at all.

0 件の賞賛
返信

1,820件の閲覧回数
RobbieJiang
Contributor IV

We did not use 12-bit input for our ADV7611, but 16-bit at last.

For 12-bit CSI input, it is still possible, by properly configuring SENS_CONF registers.

0 件の賞賛
返信

1,820件の閲覧回数
clx
Contributor I

Thank you for your answer!

One more question, did you connect it like this?

CSIx_DAT2   ~ CSIx_DAT9     <---->  ADV7611_P0 ~ ADV7611_P7

CSIx_DAT12 ~ CSIx_DAT19   <---->  ADV7611_P8 ~ ADV7611_P15

0 件の賞賛
返信

1,820件の閲覧回数
RobbieJiang
Contributor IV

Yes, exactly.

0 件の賞賛
返信

1,820件の閲覧回数
allanmatthew
Contributor IV

Hi Robbie-

Thanks for the reply.  My HSYNC/VSYNC/DE/PIXCLK signals all appear good.  All are active-high, there are blanking periods and the timing looks correct.  Were you able to get it working in BT656?

If you don't mind, are you using any of the sync pins?  What does your ioctl_g_ifparm() function look like?

Thanks very much,

-Allan

1,820件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Robbie,

had you checked link below

(problem was with the Data Enable)

IPU2 for CSI parallel camera

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信