Capture VGA signal with ADV7181C on IMX6Q

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

Capture VGA signal with ADV7181C on IMX6Q

1,929 Views
gangli
Contributor II

Hi All,

     Has anyone got the ADV7181C working with i.MX6?  I want to capture VGA signal with ADV7181C.

 

     Would anyone share the code with me ?

Original Attachment has been moved to: adv7181c.c.zip

Tags (3)
0 Kudos
7 Replies

1,074 Views
igorpadykov
NXP Employee
NXP Employee

Hi Gang

please look at example on

Re: ADV7181 on IMX6Q board

Best regards

igor

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

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

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

0 Kudos

1,074 Views
gangli
Contributor II

Hi Igor,

     I had already patched my kernel from that post, but it didn't work.

     IPUx_CONF (0x02600000) : 00000665

     IPUx_CSI0_SENS_CONF (0x02630000): 0200C97B

The error message is:

TV decoder chip is adv7181c_decoder

        ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

        VIDIOC_DQBUF failed

0 Kudos

1,074 Views
igorpadykov
NXP Employee
NXP Employee

for ADV7180 mxc_v4l2_tvin should be used, there are some examples on

Patch to support adv7180 TVin chip for Freescale Android R10.4 BSP on iMX53 -blog archive

~igor

0 Kudos

1,074 Views
gangli
Contributor II

Hi igor,

     Any advice? Thanks!!!

0 Kudos

1,074 Views
igorpadykov
NXP Employee
NXP Employee

Hi Gang

ADV7180 is supported on Sabre AI boards so suggest to test on that board

SABRE|Automotive-Infotainment|i.MX6|NXP

~igor

0 Kudos

1,074 Views
gangli
Contributor II

Hi igor,

     Thank you for the reply!

     But I want to capture a VGA picture by adv7181c, which ADV7180 does not support.

0 Kudos

1,074 Views
gangli
Contributor II

Hi igor,

     My test app is copy from mxc_v4l2_tvin.c, i had tried mxc_v4l2_tvin, it failed too.  I don't think this is the problem, I think there must be something wrong with the kernel or the driver, would you please give me some advice, thanks!

0 Kudos