How to set CSI0 register value for change image size?

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

How to set CSI0 register value for change image size?

Jump to solution
2,572 Views
hanseunglee
Contributor III

My configure below.
Linux kernel 3.0.35

OS Ubuntu 12.04

I.mx6dl Board

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

Hi everyone.

In my case, not use camera. just use csi0 driver(mxc_v4l2_capture) and ov5640 camera driver and app.

ov5640 driver set image is below

ov5640_mode_VGA_640_480
ov5640_mode_QVGA_320_240
ov5640_mode_NTSC_720_480
ov5640_mode_PAL_720_576
ov5640_mode_720P_1280_720
ov5640_mode_1080P_1920_1080
ov5640_mode_QSXGA_2592_1944
ov5640_mode_QCIF_176_144
ov5640_mode_XGA_1024_768

If i want to add size 6144 X 3072 , how to change code?

According to the manual(IMX6SDLRM : 2818p, 2877p ) that can

change elements (sensor frame width (height)and active frame width(height) and clock(F=FH*FW*FPS*BI*DF) )

I don't know. what files are check .I already check like that  mxc_v4l2_capture.c(in kernel) , ov5640.c(in kernel), ,ipu_capture.c ,ipu_regs.h(in linux/ipu3) ..

How to check and modify correct files?

Labels (3)
0 Kudos
Reply
1 Solution
2,383 Views
art
NXP Employee
NXP Employee

Please refer to the Chapter 7 of the attached document.


Have a great day,
Artur

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

View solution in original post

0 Kudos
Reply
3 Replies
2,383 Views
art
NXP Employee
NXP Employee

The document is attached to my previous post. I'm attaching it once again. Also, this i.MX6Solo/DualLite BSP Porting Guide document can be found as the part of the L3.0.35 BSP Documentation package, available for download on the NXP web site:

https://www.nxp.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Su...

Best Regards,

Artur

0 Kudos
Reply
2,384 Views
art
NXP Employee
NXP Employee

Please refer to the Chapter 7 of the attached document.


Have a great day,
Artur

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

0 Kudos
Reply
2,383 Views
hanseunglee
Contributor III

Hi Artur.

Thank you for your reply.

By the way, where is the attached document?

Have a nice day~!

0 Kudos
Reply