how to connect ov5642 camera module Pixel clock (8MHz) to imx6 quad

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

how to connect ov5642 camera module Pixel clock (8MHz) to imx6 quad

813 次查看
sebaseba
Contributor II

Hello.

 

I am using i.mx6quad with debian jessie (3.14.60-fslc-imx6-sr).

I want co connect ov5642 camera module with PARALLEL 8BIT interface (using 8gpios for data and 3 for control signals).

I wrote a linux kernel module to service interrupts from control signals. Interrupts from VSYNC and HREF signals are serviced properly but when I connect a PCLK (about 8MHz) signal which is much faster than HREF or VSYNC my linux hangs up untill I disconnect a wire with PCLK (everything stucks).
To connect PCLK I use GPIO90 (DISP1_DATA22) but I tried also with other gpios.

 

Now My question is which GPIO should I use to service such fast signals like PCLK properly or what can i do to avoid linux hang ups ??

 

I include a linux kernel module code that I use.

Original Attachment has been moved to: camera_LKM_module_test.c.zip

0 项奖励
回复
0 回复数