Autofocus on OV5640 with IMX8MM

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

Autofocus on OV5640 with IMX8MM

跳至解决方案
738 次查看
ajita02
Contributor IV

Hi all,

I want to configure OV5640 with autofocus onIMX8MM. My BSP version is 5.4.70. Can someone provide me a lead?

Thanks,

Ajita

#imx8mm #ov5640

标签 (1)
0 项奖励
回复
1 解答
628 次查看
ajita02
Contributor IV

Hi @Bio_TICFSL ,

Thanks for the reply.

Those who want to integrate Auto focus with OV5640 on IMX8MM. Please follow below link for reference:

https://github.com/boundarydevices/linux/tree/boundary-imx_5.15.y/drivers/media/platform/mxc/capture

Change kernel version according to you BSP. By referring files preset in mentioned directory you can enable below functionalities:

Auto focus functionalityAuto focus functionality

You need to have OV5640 module with VCM. Above driver implementation doesn't support continuous auto focus. User need to pass "v4l2-ctl -d /dev/video0 -c auto_focus_start=1" command each time to get focus.

Thanks,

Ajita

在原帖中查看解决方案

0 项奖励
回复
2 回复数
708 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

auto focus doesn't defined in the dts file, should support in the ISP v4l2 API, you can refer to the document as below:

"https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-proces..."

for more detailed information, pls contact professional service support team

"https://www.nxp.com/support/support/nxp-engineering-services/professional-support-for-processors-and..."

Regards

0 项奖励
回复
629 次查看
ajita02
Contributor IV

Hi @Bio_TICFSL ,

Thanks for the reply.

Those who want to integrate Auto focus with OV5640 on IMX8MM. Please follow below link for reference:

https://github.com/boundarydevices/linux/tree/boundary-imx_5.15.y/drivers/media/platform/mxc/capture

Change kernel version according to you BSP. By referring files preset in mentioned directory you can enable below functionalities:

Auto focus functionalityAuto focus functionality

You need to have OV5640 module with VCM. Above driver implementation doesn't support continuous auto focus. User need to pass "v4l2-ctl -d /dev/video0 -c auto_focus_start=1" command each time to get focus.

Thanks,

Ajita

0 项奖励
回复