Scrolling video MIPI

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

Scrolling video MIPI

649 Views
pierre-olivierh
Contributor III

Hello,

I have successfully interfaced my MIPI camera (Sony MA130) but I have a strange behavior.

When I power up the board and start the pipeline, everything works fine.

When I stop and restart the pipeline (without restarting the board) I have the following warning :

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00000001

And the video is scrolling down until reaching the correct position.

On the documentation this register means :

Frame Lost of SMFC channel 0 interrupt.
This bit indicates on an interrupt that is a result of a result of a Frame Lost of SMFC channel 0

I have tried to modify lot of registers but I can't find the source of my issue.

Best regards,

Pierre-Olivier Huard

Labels (3)
Tags (3)
0 Kudos
2 Replies

484 Views
joanxie
NXP TechSupport
NXP TechSupport

did you see the interrupt when video scrolling? and try to check if your VSYNC and HSYNC are correct or not, I'm not sure what do you set them,

0 Kudos

484 Views
pierre-olivierh
Contributor III

The IPU warning occurs when I start the gstreamer pipeline. It does not occurs during the video.

This is my registers:

[  185.121846] IPU ID = 0, CSI ID = 0
[  185.125253] IPU_CONF = 0x10000761
[  185.128571] CSI_SENS_CONF = 0x00008A10
[  185.132355] CSI_SENS_FRM_SIZE = 0x02CF04FF
[  185.136462] CSI_ACT_FRM_SIZE = 0x02CF04FF
[  185.140548] CSI_OUT_FRM_CTRL = 0x00000000
[  185.144564] CSI_TST_CTRL = 0x00000000
[  185.148231] CSI_CCIR_CODE_1 = 0x00040030
[  185.152183] CSI_CCIR_CODE_2 = 0x00000000
[  185.156118] CSI_CCIR_CODE_3 = 0x00FF0000

The MIPI is 2 lanes, 648MHz DDR clock. VC=0, IPU10 CSI0

The Format is YCbCr (YUV422)

How can I check the Vsync Hsync? It's embedded in the MIPI lanes.

0 Kudos