IMX6Q LINUX CAMERA CAPTURE

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

IMX6Q LINUX CAMERA CAPTURE

1,300 Views
caiyuzheng
Contributor I

I am programming in linux userspace that capture camera data from CSI interface.my camera sensor is tw9900.and the input signal is NTSC

I meet some program.

1.v4l2 capture API can only work for Block mode. and captue data is rolling.

2. v4l2 overlap mode is useless.

when I use mxc_v4l2_tvin -ow 640 -oh 480

It returns ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

So I write a simple program captured a picture for once.

and the picture turns out

I also notices the overlap mode is just put the v4l2 capture chanel output adress into v4l2 output chanel input adress.

I notice tw9900 output format is BT656 which is no-gate mode. does imx6q CSI support this format? if not . how can I fix this?

Labels (2)
0 Kudos
Reply
1 Reply

795 Views
igorpadykov
NXP Employee
NXP Employee

Hi caiyu

BT656 is supported in linux with i.MX6Q using ADV7180, example below

IPU2 for CSI parallel camera

for twx cameras one can check

Debuging tw9900 report error:ERROR:v4l2 capture:width or height too small

I.MX6: TW8836_TVIN(BT656) ===> CSI0 (8-Bit / CSI0_DAT12 : CSI0_DAT19)

Best regards

igor

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

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

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

0 Kudos
Reply