IPU v3 CSI input with FV (Frame Valid) instead of VSYNC in gated clock mode.

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

IPU v3 CSI input with FV (Frame Valid) instead of VSYNC in gated clock mode.

Jump to solution
2,325 Views
austinphillips
Contributor II

Hello,

I am using an imx6 to capture data from a parallel Aptina MT9P031 camera via the CSI0 interface in gated clock mode.  As per other discussions in this forum, I've modified the Linux Freescale driver to support capturing 16 bit generic data through CSI->MEM.

Some captured frames appear to be a combination of two frames indicating a vertical synchronisation issue.  The MT9P031 camera uses a Line Valid (LV) signal and Frame Valid (FV) signal instead of a single HSYNC and VSYNC pulse indicating the start of a line/frame.  The FV signal remains active through the entire frame transfer and so does not match the timing diagrams shown in the imx6 RM which indicate HSYNC/VSYNC as having a single pulse.

The following thread indicates that for HSYNC, only the leading edge is important to determine the start of a line. IPU v3  CSI0, HSYNC and DATA_EN questions in gated clock mode.

Does the same apply for the VSYNC input?  ie Is the VSYNC input treated as an edge triggered or level triggered signal?

If this is a level triggered input, what is the suggested method to connect sensors which utilise line/frame valid signals instead of hsync/vsync inputs?

Thank you

Austin

Message was edited by: Austin Phillips Corrected title to specify frame valid rather than line valid

Labels (2)
Tags (3)
0 Kudos
1 Solution
1,218 Views
igorpadykov
NXP Employee
NXP Employee

Hi Austin

yes VSYNC input Is an edge triggered, as describes

i.MX6DQ Datasheet (rev.4, 7/2015)

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

1.jpg

Best regards

igor

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

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

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

View solution in original post

0 Kudos
2 Replies
1,219 Views
igorpadykov
NXP Employee
NXP Employee

Hi Austin

yes VSYNC input Is an edge triggered, as describes

i.MX6DQ Datasheet (rev.4, 7/2015)

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

1.jpg

Best regards

igor

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

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

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

0 Kudos
1,218 Views
austinphillips
Contributor II

Hi Igor,

Thank you for the clarification.  I had read this portion in the reference manual but was confused by the text which says '(all the timings correspond to straight polarity of the corresponding signals)' which I took to mean that the signal was level triggered, not edge triggered.  Do you have any insight into what is meant by this phrase in the reference manual?

Regards

Austin

0 Kudos