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
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.