how to connect camera to imx53_loco board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to connect camera to imx53_loco board

跳至解决方案
3,989 次查看
yennivenkateswa
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

标签 (5)
1 解答
3,624 次查看
CommunityBot
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!

在原帖中查看解决方案

0 项奖励
回复
11 回复数
3,625 次查看
CommunityBot
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!
0 项奖励
回复
3,624 次查看
yennivenkateswa
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 项奖励
回复
3,624 次查看
art
NXP Employee
NXP Employee

Where did you get this sample ADV7180 driver?

Best Regards,

Artur

0 项奖励
回复
3,624 次查看
yennivenkateswa
Contributor II

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

Best Regards

Venkatesh

0 项奖励
回复
3,624 次查看
art
NXP Employee
NXP Employee

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 项奖励
回复
3,624 次查看
yennivenkateswa
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 项奖励
回复
3,624 次查看
yennivenkateswa
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 项奖励
回复
3,624 次查看
Yuri
NXP Employee
NXP Employee

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

$ gst-inspect

~Yuri.

0 项奖励
回复
3,624 次查看
art
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

3,624 次查看
yennivenkateswa
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 项奖励
回复
3,623 次查看
Yuri
NXP Employee
NXP Employee

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 项奖励
回复