MCIMX6SL camera problem afte idling.

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

MCIMX6SL camera problem afte idling.

跳至解决方案
915 次查看
satoshishimoda
Senior Contributor I

Hi community,

I have a problem on MCIMX6SLEVK.

Actually, MCIMX6SLEVK camera input does not works correctly after about 10 min from boot.

Please see the detail as below.

=====

[Board]

MCIMX6SLEVK

[BSP]

L3.0.35_4.1.0

[Condition]

1. A camera is connected to J24 connector on MCIMX6SLEVK.

2. Camera capture and I2C3 communication to the camera work continuously.

[Procedure]

1. Boot MCIMX6SLEVK with L3.0.35_4.1.0 BSP.

2. Leave MCIMX6SLEVK idle about 10 minutes.

[Problem]

After idling, sometime I2C3 SCL is pulled "low" and I2C communication does not work well.

Additionally, capturing from a camera which is connected to J24 and uses I2C3 does not work well.

(lack some frame, and jumble capture image)

=====

[Q]

Do you have a information about similar issue?

If you have it, could you tell me what should we modify?

If you need more information, please tell me it.

Best Regards,

Satoshi Shimoda

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
766 次查看
satoshishimoda
Senior Contributor I

Hi all,

I found the root cause.

It was caused by bus frequency scaling.

After about 10 min, set_low_bus_freq() and reduce_bus_freq_handler() function in /linux-3.0.35/arch/arm/mach-mx6/bus_freq.c is called.

Maybe, the reduced bus frequency is not sufficient to work camera and I2C.

We can avoid this issue by commenting out "reduce_bus_freq_handler()" or disable CONFIG_CPU_FREQ_GOV_POWERSAVE when building.

Best Regards,

Satoshi Shimoda

在原帖中查看解决方案

0 项奖励
回复
1 回复
767 次查看
satoshishimoda
Senior Contributor I

Hi all,

I found the root cause.

It was caused by bus frequency scaling.

After about 10 min, set_low_bus_freq() and reduce_bus_freq_handler() function in /linux-3.0.35/arch/arm/mach-mx6/bus_freq.c is called.

Maybe, the reduced bus frequency is not sufficient to work camera and I2C.

We can avoid this issue by commenting out "reduce_bus_freq_handler()" or disable CONFIG_CPU_FREQ_GOV_POWERSAVE when building.

Best Regards,

Satoshi Shimoda

0 项奖励
回复