how to connect camera to imx53_loco board

cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect camera to imx53_loco board

Jump to solution
478 Views
Contributor II

hi all,

i am planing to connect camera to imx53 board. so can anyone tell me the procedure and related documents.

Thanks in Advance

Labels (5)
1 Solution
113 Views
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

View solution in original post

0 Kudos
11 Replies
114 Views
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

View solution in original post

0 Kudos
113 Views
Contributor II

hi,

please observe these images, in this images some noise is there.

can you please tell me,why blur images are coming from my analog camera ?

and can you please tell me is it hardware issue or my driver issue ?

test.jpgotest.jpg

Thanks&Regards

Venkatesh

0 Kudos
113 Views
NXP TechSupport
NXP TechSupport

Where did you get this sample ADV7180 driver?

Best Regards,

Artur

0 Kudos
113 Views
Contributor II

in ltib/rpm/Build/linux2.6/drivers/media/mxc/video/capture/...

Best Regards

Venkatesh

0 Kudos
113 Views
NXP TechSupport
NXP TechSupport

The sample v4l2 driver you've mentioned only manages the parallel CSI interface module, but does not handle the setup of the ADV7180 chip itself. Have you performed the ADV7180 chip configuration/setup correctly? Please check. Also, please check with the oscilloscope the ADV7180 chip's output signal timings. Are they all correct?

Best Regards,

Artur

0 Kudos
113 Views
Contributor II

i am using adv7180 driver as a reference

modprobe adv7180_camera

modprobe mxc_v4l2_capture

cd /unit_tests

lucid@lucid-desktop:/unit_tests$ ./mxc_v4l2_tvin.out -ot 0 -ol 10 -ow 720 -oh 480 -m 2

problem is iam getting blur video,can you please tell me why like this it is coming?

0 Kudos
113 Views
Contributor II

Thanks Yuri,

i am getting this error

gst-launch v4l2src ! mfw_v4lsink

MFW_GST_V4LSINK_PLUGIN 2.0.3-1-179-e630aa8d build on Sep 28 2011 15:04:02.

Setting pipeline to PAUSED ...ERROR: v4l2 capture: slave not found!

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing.

Additional debug info:

v4l2_calls.c(502): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: Resource temporarily unavailable

Setting pipeline to NULL ...

Total rendered:0

Freeing pipeline ...

[--->FINALIZE v4l_sink

gst-launch v4l2src ! decodebin2 ! mfw_v4lsink

MFW_GST_V4LSINK_PLUGIN 2.0.3-1-179-e630aa8d build on Sep 28 2011 15:04:02.

Setting pipeline to PAUSED ...ERROR: v4l2 capture: slave not found!

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open d

evice '/dev/video0' for reading and writing.

Additional debug info:

v4l2_calls.c(502): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: Resource temporarily unavailable

Setting pipeline to NULL ...

Total rendered:0

Freeing pipeline ...

[--->FINALIZE v4l_sink

0 Kudos
113 Views
NXP TechSupport
NXP TechSupport

Please try the next command (to define what is Your configuration)

$ gst-inspect

~Yuri.

0 Kudos
113 Views
NXP TechSupport
NXP TechSupport

Do you mean the i.MX53 QuickStart Board (QSB)? If so, this board does not have a dedicated connector for camera connection. All of the CSI0 interface signals are routed to the J13 expansion connctor, please refer to the board's schematic, available on the i.MX53 QSB Downloads web page (chek under the "Printed Circuit Boards and Schematics-Schematics" tab):

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab

There is no dedicated camera module for this connector, so, first, you have to build the camera hardware. Then, the Linux BSP provides a prototype camera driver that you have to modify according to the camera you use.

Or, you can use an USB camera that supports the UVC specification:

http://www.ideasonboard.org/uvc/


Have a great day,
Artur

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

113 Views
Contributor II

Thanks artur

I built the camera hardware and i am using the on of the prototype camera driver. but how can i test the camera video in my module and how can i know if it is capture or not.

0 Kudos
113 Views
NXP TechSupport
NXP TechSupport

You may use the Gstreamer to test the cam.

$ gst-launch v4l2src ! mfw_v4lsink

if doesn't work, please try:

$ gst-launch v4l2src ! decodebin2 ! mfw_v4lsink

To install Gstreamer parsers under Ubuntu :


$ sudo apt-get install gstreamer0.10-plugins-good && sudo apt-get install gstreamer0.10-plugins-bad

~Yuri.

0 Kudos