IMX6 - Parallel Camera driver for FPGA

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

IMX6 - Parallel Camera driver for FPGA

1,736 Views
sylvainlehenaff
Contributor III

Good evening,

I am working on connecting a FPGA module which deliver a YUV video signal to the IMX6q. I need to connect it using the parallel port. I am using the IPU0 + CSI0 and I have modified the IOMUX register to activate the parallel way. I am using a kernel based on the 3.14.53 release.

I have read the v4l2 driver, some ov5640 driver but none of them provide me some information regarding the connection of a component which does not answer to I2C. My FPGA is only sending me data in a particular format, I do not intend to change any configuration, it cannot answer to any request. 

I understand the basic of the video configuration but for the detection part, I am stuck. I don't understand how to make the connection from /dev/video0 to the FPGA without I2C. Does a hard coded configuration will work ?

Is there anybody that can give me some help on this part ? 

Regards,

Sylvain

0 Kudos
3 Replies

1,177 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sylvain

yes hard coded configuration will work, one can remove i2c references from

driver codes using attached Linux Manual sect.6.3 Source Code Structure,

Chapter 20 MIPI CSI2 Driver. Supported formats described in

Table 66. Camera Input Signal Cross Reference, Format, and Bits Per Cycle

i.MX6DQ Datasheet

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf

Some useful links:

https://community.freescale.com/message/309833#309833

MX53 CSI/IDMAC config for Aptina 12-bit graysca... | NXP Community

Best regards

igor

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

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

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

0 Kudos

1,177 Views
sylvainlehenaff
Contributor III

Hi Igor,

Thanks for the help, I get further but remains stop when launching the video stream.

I get a timeout while waiting for an interrupt  in mxc_v4l_dqueue. I have to check the configuration.

regards,

Sylvain

0 Kudos

1,116 Views
zhouqi
Contributor II

Sylvain

    sorry to bother you. But i also need help for this development.

    I have the same situation with you. Do you sovle this problem later?

    If you sovled in the end, can you give any help about this?

    Thank you very much !

Best regards

zhou

0 Kudos