IPU, CSI Timing

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

IPU, CSI Timing

892 Views
ieio
Contributor IV

Hi all,

I am working to a camera driver, and I am testing it with gstreamer.

My gst pipe is gst-launch-1.0 -e -v imxv4l2videosrc device=/dev/video0 ! imxipuvideosink so I a using mxc_v4l2_capture.c

If I well understood I set CSIn (primary, secondary) and I link it to a IPU (IPU0 and IPU1) and in the IPU the image can be elaborated (deinterlaced,rotated, converted).

My doubt is: as I have camera timings like, Active Vertical Width, Total Vertical Width, Vertical Back Porch and so on, where I should set this timings in the IPU?

If it is not in the IPU where they should be set where, should I set them?

Please point me to the code that handle input video timings.

0 Kudos
2 Replies

657 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi ieio,

The following link will help you with timming:

https://community.nxp.com/message/579476

AC timing of IPUx_CSI input signals. 

0 Kudos

657 Views
ieio
Contributor IV

Thanks Bio_TICFSL,

I have not found where they talk about timing in the first link, while the second one is really a good hint.

I found in the manual that there are special register in the IPU for image timing: SENS_FRM_WIDTH, SENS_FRM_HEIGHT, HSC, VSC, ACT_FRM_HEIGHT and ACT_FRM_WIDTH.

Any good starting points about understating how this registers are integrating in the mxc_capture framework?

0 Kudos