Can not to enable the OV5640 on imx6DL (Android 5.0)

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

Can not to enable the OV5640 on imx6DL (Android 5.0)

跳至解决方案
1,239 次查看
alleenwang
Contributor II

Hi All,

I want to porting ov5640 on ours device.

My board use imx6dl and Android 5.0 (BSP : android_L5.0.0_1.0.0-ga_core_source.gz).

And we can't to enable ov5640.

We check the device, and found the GPIO_0 didn't to generate the clock.

But, when we use the android_kk4.4.2_1.0.0-ga_core_source.tar.gz, this pin of GPIO_0 can generate the clock.

So, How can I set the GPIO_0 to clock source ?

Anyone to help me with this problem?

Thanks!!!

BR.

Alleen Wang

标签 (4)
0 项奖励
回复
1 解答
916 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alleen

this may be hardware issue, could you try this clock on sabre sd board

with Demo images

Board Support Packages (32)

IMX6_L5.1.1_2.1.0_ANDROID_DEMO_SD_BSP (REV L5.1.1_2.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

~igor

在原帖中查看解决方案

4 回复数
916 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alleen

GPIO_0 (CLKO) clock is enabed by default, please check if correct

dts file is used, it should have line similar to:

pinctrl_hog_1: hoggrp-1 {  MX6QDL_PAD_GPIO_0__CCM_CLKO1

0x130b0

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

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

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

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

0 项奖励
回复
916 次查看
alleenwang
Contributor II

Hi igor,

Thanks for reply.

I know this setting, and we didn't change anything about this.

When we used the default setting, it didn't generate the clock from GPIO_0.

So, besides setting the "MX6QDL_PAD_GPIO_0__CCM_CLKO1", does need to set other settings?

Thanks!!!

BR.

Alleen Wang

0 项奖励
回复
917 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alleen

this may be hardware issue, could you try this clock on sabre sd board

with Demo images

Board Support Packages (32)

IMX6_L5.1.1_2.1.0_ANDROID_DEMO_SD_BSP (REV L5.1.1_2.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

~igor

916 次查看
alleenwang
Contributor II

Hi igorpadykov,

Thanks for your reply. We find the hardware design issue and we have already solved it.

Alleen Wang

0 项奖励
回复