Detection of VSYNC

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

Detection of VSYNC

980 Views
eishishibusawa
Contributor III

Dear Sir

 

Customer is considering to develop the system using i.MX6DualLite.

Customer wants to generate the interrupt to CPU core with VSYNC.

I think that i.MX6DL has two camera I/F, Parallel interface and MIPI CSI-2.

 

1. Parallel interface

I think that it is able to connect the VSYNC signal with GPIO when it use the Parallel interface for the camera I/F.

Q1.

Is my understanding correct?

2. MIPI CSI-2

Q2.

How is it able to detect the VSYNC and notice it to the CPU core when it use the MIPI for camera I/F?

Is there any register to detect the VSYNC when it use the MIPI for the camera I/F?

 

Best Regards.

Eishi SHIBUSAWA

Labels (2)
0 Kudos
3 Replies

727 Views
joanxie
NXP TechSupport
NXP TechSupport

Q1) for connecting, pls refer to the CSI0_VSYNC in the Table 4-1. Pin Assignments of Reference Manual

Q2)For CSI non-gated mode, the IPU will only capture the low to high modification on VSYNC, so if your sensor can generate such trigger for each frame, it is OK to keep the VSYNC in high for whole frame.


And for non-gated clock mode, data enable was also needed, and pixel clock should be ticking only when data is valid.

 

VIDIOC_STREAMOFF was supported in mxc_v4l2_capture.c of freescale kernel.

0 Kudos

727 Views
eishishibusawa
Contributor III

Dear joanxie

Please tell me a little more.

When using MIPI CSI - 2, I'd like to generate an interrupt for the core for each frame.

How can I do it?

Best Regards,

Eishi SHIBUSAWA

0 Kudos

727 Views
joanxie
NXP TechSupport
NXP TechSupport

what mode do you use? why do you need to generate an interrupt for each frame?

0 Kudos