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

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

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

656 Views
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 Kudos
0 Replies