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

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

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

Jump to solution
1,579 Views
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

Labels (4)
0 Kudos
Reply
1 Solution
1,256 Views
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

View solution in original post

4 Replies
1,256 Views
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 Kudos
Reply
1,256 Views
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 Kudos
Reply
1,257 Views
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

1,256 Views
alleenwang
Contributor II

Hi igorpadykov,

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

Alleen Wang

0 Kudos
Reply