Problem with Parallel interface of CSI interface

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

Problem with Parallel interface of CSI interface

Jump to solution
1,733 Views
paul_lee
Contributor II

Hi All,

I am using i.mx 6q processor. Following are my configuration of IPU0.

-16 bit parallel interface with CSI0.

-DATA_WIDTH=16bit, all polarity are inverted, gated mode, generic data

Refernece source code: Android source code of Sabre SD board.

I set: SENS_FRM_WIDTH=1920, SENS_FRM_HEIGHT=1080,

ACT_FRM_WIDTH=1920, ACT_FRM_HEIGHT=1080.

HSC=1920, VSC=0

IDMAC channel-0 [ CSI0 -> SMFC -> MEM ] is properly set up for generic data.

I am facing problem of getting entire image in MEMORY.


Initially, i was not able to receive entire image from 0 horrizontal offset. Hence, from trial & error, i had set above value (SENS_FRM WIDTH & HEIGHT, HSC,VSC).

Now, i m receiving full frame with horrizontal offset start from '0' for every line of frame, but starting vertical offset comes at random offset from actual image 1920x1080, althoug i receive one entire frame.

Can you please try to solve me this above problem.

For reference, i placed image attached here with (vertical_offset.jpg).

U can see, vertical offset start from 130th line instead of '0' the line & horizontal offset is correct (full 1920).

-Paul Lee.

0 Kudos
1 Solution
1,315 Views
max_tsai
NXP Employee
NXP Employee

hi,

You may go to assign a proper value into IPUx_CSI0_OUT_FRM_CTRL:CSI0_VSC, if scrolling is incessant.

Try to increase the number of rows to skip to make scroll slow down, until stop.

Regards,

Max

View solution in original post

0 Kudos
2 Replies
1,315 Views
paul_lee
Contributor II

Hi,

Community members...

Can you provides any suggestions for this issue I am facing?

-Paul

0 Kudos
1,316 Views
max_tsai
NXP Employee
NXP Employee

hi,

You may go to assign a proper value into IPUx_CSI0_OUT_FRM_CTRL:CSI0_VSC, if scrolling is incessant.

Try to increase the number of rows to skip to make scroll slow down, until stop.

Regards,

Max

0 Kudos