AnsweredAssumed Answered

IMX6SX- CSI ERROR

Question asked by moowonlee on Nov 17, 2016
Latest reply on Nov 23, 2016 by igorpadykov

hi 

 

I planed that I capture using 2 cameras on I.MX6sx using linux-3.10.53 

 

NSTC CAM 1 -> CSI0( using VADC)

NSTC CAM 2 -> TW9900(decoder) -> CSI1

 

I success to use VADC. and it' frame rate 30fps.

But It is possible to capture using CSI1. but its frame rate doesn't meet 30 fps.

 

I printout dmesg script. I found a one difference point between CSI0(VADC) and CSI1(TW9900).

this script is about VADC capture process.
******************************************************************** 
[   44.671643] In MVC: csi_v4l_do_ioctl, c0445611
[   44.671656]    case VIDIOC_DQBUF
[   44.682108] [camera_callback] pingpongcsi:2
[   44.682126] [camera_callback] done frame queue
[   44.682151] [camera_callback] ready_frame->csi_buf_num:2
[   44.682166] [camera_callback] done
[   44.682180] [csi_irq_handler] DMA_DONE_FB2! 46
[   44.682196] [csi_irq_handler] CSI status = 0x8E326000
[   44.682230] [csi_irq_handler] Start of frame irq
[   44.682247] [csi_irq_handler] CSI status = 0x8021A000
[   44.682364] [pxp_process_update]Starting PxP Send Buffer
[   44.682380] dmaengine: private_candidate: dma0chan0 busy
[   44.682397] dmaengine: private_candidate: dma0chan1 filter said false
[   44.682413] dmaengine: private_candidate: dma0chan2 filter said false
[   44.682428] dmaengine: private_candidate: dma0chan3 filter said false
[   44.682443] dmaengine: private_candidate: dma0chan4 filter said false
[   44.682459] dmaengine: private_candidate: dma0chan5 filter said false
[   44.682474] dmaengine: private_candidate: dma0chan6 filter said false
[   44.682491] dmaengine: private_candidate: dma0chan7 filter said false
[   44.682505] dmaengine: private_candidate: dma0chan8 filter said false
[   44.682520] dmaengine: private_candidate: dma0chan9 filter said false
[   44.682539] dmaengine: private_candidate: dma0chan10 filter said false
[   44.682554] dmaengine: private_candidate: dma0chan11 filter said false
[   44.682569] dmaengine: private_candidate: dma0chan12 filter said false
[   44.682584] dmaengine: private_candidate: dma0chan13 filter said false
[   44.682601] dmaengine: private_candidate: dma0chan14 filter said false
[   44.682617] dmaengine: private_candidate: dma0chan15 filter said false
[   44.682635] dmaengine: __dma_request_channel: success (dma1chan0)
[   44.682660] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   44.682720] [pxp_process_update] done
[   44.682737] [pxp_complete_update] start
[   44.685309] [pxp_complete_update] TX completed
[   44.699049] [csi_v4l_dqueue] done
[   44.706016] In MVC: csi_v4l_do_ioctl, c044560f
[   44.706033]    case VIDIOC_QBUF
 ----------------------------------
[   44.706058] In MVC: csi_v4l_do_ioctl, c0445611
[   44.706072]    case VIDIOC_DQBUF
[   44.715468] [camera_callback] pingpongcsi:1
[   44.715487] [camera_callback] done frame queue
[   44.715512] [camera_callback] ready_frame->csi_buf_num:1
[   44.715527] [camera_callback] done
[   44.715542] [csi_irq_handler] DMA_DONE_FB1! 47
[   44.715558] [csi_irq_handler] CSI status = 0x8E2A6000
[   44.715597] [csi_irq_handler] Start of frame irq
[   44.715614] [csi_irq_handler] CSI status = 0x8021A000
[   44.715700] [pxp_process_update]Starting PxP Send Buffer
[   44.715718] dmaengine: private_candidate: dma0chan0 busy
[   44.715735] dmaengine: private_candidate: dma0chan1 filter said false
[   44.715751] dmaengine: private_candidate: dma0chan2 filter said false
[   44.715767] dmaengine: private_candidate: dma0chan3 filter said false
[   44.715781] dmaengine: private_candidate: dma0chan4 filter said false
[   44.715796] dmaengine: private_candidate: dma0chan5 filter said false
[   44.715812] dmaengine: private_candidate: dma0chan6 filter said false
[   44.715827] dmaengine: private_candidate: dma0chan7 filter said false
[   44.715842] dmaengine: private_candidate: dma0chan8 filter said false
[   44.715857] dmaengine: private_candidate: dma0chan9 filter said false
[   44.715872] dmaengine: private_candidate: dma0chan10 filter said false
[   44.715887] dmaengine: private_candidate: dma0chan11 filter said false
[   44.715902] dmaengine: private_candidate: dma0chan12 filter said false
[   44.715918] dmaengine: private_candidate: dma0chan13 filter said false
[   44.715932] dmaengine: private_candidate: dma0chan14 filter said false
[   44.715947] dmaengine: private_candidate: dma0chan15 filter said false
[   44.715965] dmaengine: __dma_request_channel: success (dma1chan0)
[   44.715991] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   44.716051] [pxp_process_update] done
[   44.716067] [pxp_complete_update] start
[   44.718624] [pxp_complete_update] TX completed
[   44.732413] [csi_v4l_dqueue] done
[   44.738309] In MVC: csi_v4l_do_ioctl, c044560f
[   44.738325]    case VIDIOC_QBUF
 ----------------------------------
[   44.738350] In MVC: csi_v4l_do_ioctl, c0445611
[   44.738363]    case VIDIOC_DQBUF
[   44.748833] [camera_callback] pingpongcsi:2
[   44.748851] [camera_callback] done frame queue
[   44.748877] [camera_callback] ready_frame->csi_buf_num:2
[   44.748892] [camera_callback] done
[   44.748907] [csi_irq_handler] DMA_DONE_FB2! 48
[   44.748923] [csi_irq_handler] CSI status = 0x8E326000
[   44.748963] [csi_irq_handler] Start of frame irq
[   44.748981] [csi_irq_handler] CSI status = 0x8021A000
[   44.749066] [pxp_process_update]Starting PxP Send Buffer
[   44.749083] dmaengine: private_candidate: dma0chan0 busy
[   44.749100] dmaengine: private_candidate: dma0chan1 filter said false
[   44.749116] dmaengine: private_candidate: dma0chan2 filter said false
[   44.749131] dmaengine: private_candidate: dma0chan3 filter said false
[   44.749146] dmaengine: private_candidate: dma0chan4 filter said false
[   44.749161] dmaengine: private_candidate: dma0chan5 filter said false
[   44.749176] dmaengine: private_candidate: dma0chan6 filter said false
[   44.749192] dmaengine: private_candidate: dma0chan7 filter said false
[   44.749208] dmaengine: private_candidate: dma0chan8 filter said false
[   44.749223] dmaengine: private_candidate: dma0chan9 filter said false
[   44.749239] dmaengine: private_candidate: dma0chan10 filter said false
[   44.749255] dmaengine: private_candidate: dma0chan11 filter said false
[   44.749269] dmaengine: private_candidate: dma0chan12 filter said false
[   44.749284] dmaengine: private_candidate: dma0chan13 filter said false
[   44.749299] dmaengine: private_candidate: dma0chan14 filter said false
[   44.749314] dmaengine: private_candidate: dma0chan15 filter said false
[   44.749333] dmaengine: __dma_request_channel: success (dma1chan0)
[   44.749360] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   44.749421] [pxp_process_update] done
[   44.749437] [pxp_complete_update] start
[   44.752012] [pxp_complete_update] TX completed
[   44.765773] [csi_v4l_dqueue] done
[   44.772722] In MVC: csi_v4l_do_ioctl, c044560f
[   44.772739]    case VIDIOC_QBUF
 ----------------------------------
[   44.772765] In MVC: csi_v4l_do_ioctl, c0445611
[   44.772779]    case VIDIOC_DQBUF
[   44.782198] [camera_callback] pingpongcsi:1
[   44.782218] [camera_callback] done frame queue
[   44.782244] [camera_callback] ready_frame->csi_buf_num:1
[   44.782260] [camera_callback] done
[   44.782275] [csi_irq_handler] DMA_DONE_FB1! 49
[   44.782291] [csi_irq_handler] CSI status = 0x8E2A6000
[   44.782317] [csi_irq_handler] Start of frame irq
[   44.782333] [csi_irq_handler] CSI status = 0x8021A000
[   44.782457] [pxp_process_update]Starting PxP Send Buffer
[   44.782475] dmaengine: private_candidate: dma0chan0 busy
[   44.782492] dmaengine: private_candidate: dma0chan1 filter said false
[   44.782508] dmaengine: private_candidate: dma0chan2 filter said false
[   44.782523] dmaengine: private_candidate: dma0chan3 filter said false
[   44.782538] dmaengine: private_candidate: dma0chan4 filter said false
[   44.782553] dmaengine: private_candidate: dma0chan5 filter said false
[   44.782568] dmaengine: private_candidate: dma0chan6 filter said false
[   44.782584] dmaengine: private_candidate: dma0chan7 filter said false
[   44.782599] dmaengine: private_candidate: dma0chan8 filter said false
[   44.782613] dmaengine: private_candidate: dma0chan9 filter said false
[   44.782629] dmaengine: private_candidate: dma0chan10 filter said false
[   44.782646] dmaengine: private_candidate: dma0chan11 filter said false
[   44.782662] dmaengine: private_candidate: dma0chan12 filter said false
[   44.782677] dmaengine: private_candidate: dma0chan13 filter said false
[   44.782691] dmaengine: private_candidate: dma0chan14 filter said false
[   44.782706] dmaengine: private_candidate: dma0chan15 filter said false
[   44.782726] dmaengine: __dma_request_channel: success (dma1chan0)
[   44.782752] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   44.782812] [pxp_process_update] done
[   44.782829] [pxp_complete_update] start
[   44.785397] [pxp_complete_update] TX completed
[   44.799138] [csi_v4l_dqueue] done
[   44.805080] In MVC: csi_v4l_do_ioctl, c044560f
[   44.805098]    case VIDIOC_QBUF
********************************************************************
you can see that pingpong'value is changed( 1->2->1->2 ... ) in camera_callback function @ csi_v4l2_capture.c.
And this script is about TW9900 capture process.
********************************************************************
[   47.679075] In MVC: csi_v4l_do_ioctl, c0445611
[   47.679088]    case VIDIOC_DQBUF
[   47.688391] [camera_callback] pingpongcsi:1
[   47.688410] [camera_callback] done frame queue
[   47.688435] [camera_callback] ready_frame->csi_buf_num:1
[   47.688450] [camera_callback] done
[   47.688465] [csi_irq_handler] DMA_DONE_FB1! 211
[   47.688481] [csi_irq_handler] CSI status = 0x8A2A6000
[   47.688584] [pxp_process_update]Starting PxP Send Buffer
[   47.688600] dmaengine: private_candidate: dma0chan0 busy
[   47.688617] dmaengine: private_candidate: dma0chan1 filter said false
[   47.688632] dmaengine: private_candidate: dma0chan2 filter said false
[   47.688647] dmaengine: private_candidate: dma0chan3 filter said false
[   47.688662] dmaengine: private_candidate: dma0chan4 filter said false
[   47.688678] dmaengine: private_candidate: dma0chan5 filter said false
[   47.688693] dmaengine: private_candidate: dma0chan6 filter said false
[   47.688708] dmaengine: private_candidate: dma0chan7 filter said false
[   47.688723] dmaengine: private_candidate: dma0chan8 filter said false
[   47.688738] dmaengine: private_candidate: dma0chan9 filter said false
[   47.688753] dmaengine: private_candidate: dma0chan10 filter said false
[   47.688770] dmaengine: private_candidate: dma0chan11 filter said false
[   47.688785] dmaengine: private_candidate: dma0chan12 filter said false
[   47.688800] dmaengine: private_candidate: dma0chan13 filter said false
[   47.688816] dmaengine: private_candidate: dma0chan14 filter said false
[   47.688832] dmaengine: private_candidate: dma0chan15 filter said false
[   47.688852] dmaengine: __dma_request_channel: success (dma1chan0)
[   47.688877] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   47.688937] [pxp_process_update] done
[   47.688958] [csi_irq_handler] Start of frame irq
[   47.688974] [csi_irq_handler] CSI status = 0x80216001
[   47.688993] [pxp_complete_update] start
[   47.691673] [pxp_complete_update] TX completed
[   47.705451] [csi_v4l_dqueue] done
[   47.711371] In MVC: csi_v4l_do_ioctl, c044560f
[   47.711388]    case VIDIOC_QBUF
 ----------------------------------
[   47.711414] In MVC: csi_v4l_do_ioctl, c0445611
[   47.711428]    case VIDIOC_DQBUF
[   47.721757] base address switching Change Err.
[   47.721778] [camera_callback] pingpongcsi:2
[   47.721793] [camera_callback] done frame queue
[   47.721819] [camera_callback] ready_frame->csi_buf_num:2
[   47.721834] [camera_callback] done
[   47.721849] [csi_irq_handler] DMA_DONE_FB2! 212
[   47.721864] [csi_irq_handler] CSI status = 0x9E326001
[   47.721987] [pxp_process_update]Starting PxP Send Buffer
[   47.722005] dmaengine: private_candidate: dma0chan0 busy
[   47.722021] dmaengine: private_candidate: dma0chan1 filter said false
[   47.722037] dmaengine: private_candidate: dma0chan2 filter said false
[   47.722052] dmaengine: private_candidate: dma0chan3 filter said false
[   47.722069] dmaengine: private_candidate: dma0chan4 filter said false
[   47.722084] dmaengine: private_candidate: dma0chan5 filter said false
[   47.722100] dmaengine: private_candidate: dma0chan6 filter said false
[   47.722115] dmaengine: private_candidate: dma0chan7 filter said false
[   47.722131] dmaengine: private_candidate: dma0chan8 filter said false
[   47.722147] dmaengine: private_candidate: dma0chan9 filter said false
[   47.722162] dmaengine: private_candidate: dma0chan10 filter said false
[   47.722179] dmaengine: private_candidate: dma0chan11 filter said false
[   47.722195] dmaengine: private_candidate: dma0chan12 filter said false
[   47.722210] dmaengine: private_candidate: dma0chan13 filter said false
[   47.722226] dmaengine: private_candidate: dma0chan14 filter said false
[   47.722241] dmaengine: private_candidate: dma0chan15 filter said false
[   47.722261] dmaengine: __dma_request_channel: success (dma1chan0)
[   47.722287] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   47.722319] [csi_irq_handler] Start of frame irq
[   47.722337] [csi_irq_handler] CSI status = 0x84216000
[   47.722386] [pxp_process_update] done
[   47.722403] [pxp_complete_update] start
[   47.725117] [pxp_complete_update] TX completed
[   47.738875] [csi_v4l_dqueue] done
[   47.745839] In MVC: csi_v4l_do_ioctl, c044560f
[   47.745856]    case VIDIOC_QBUF
 ----------------------------------
[   47.745882] In MVC: csi_v4l_do_ioctl, c0445611
[   47.745895]    case VIDIOC_DQBUF
[   47.755118] base address switching Change Err.
[   47.755140] [camera_callback] pingpongcsi:1
[   47.755155] [camera_callback] done frame queue
[   47.755179] [camera_callback] ready_frame->csi_buf_num:1
[   47.755194] [camera_callback] done
[   47.755209] [csi_irq_handler] DMA_DONE_FB1! 213
[   47.755226] [csi_irq_handler] CSI status = 0x9A2A6000
[   47.755330] [pxp_process_update]Starting PxP Send Buffer
[   47.755348] dmaengine: private_candidate: dma0chan0 busy
[   47.755366] dmaengine: private_candidate: dma0chan1 filter said false
[   47.755383] dmaengine: private_candidate: dma0chan2 filter said false
[   47.755400] dmaengine: private_candidate: dma0chan3 filter said false
[   47.755415] dmaengine: private_candidate: dma0chan4 filter said false
[   47.755430] dmaengine: private_candidate: dma0chan5 filter said false
[   47.755446] dmaengine: private_candidate: dma0chan6 filter said false
[   47.755463] dmaengine: private_candidate: dma0chan7 filter said false
[   47.755479] dmaengine: private_candidate: dma0chan8 filter said false
[   47.755496] dmaengine: private_candidate: dma0chan9 filter said false
[   47.755511] dmaengine: private_candidate: dma0chan10 filter said false
[   47.755526] dmaengine: private_candidate: dma0chan11 filter said false
[   47.755541] dmaengine: private_candidate: dma0chan12 filter said false
[   47.755557] dmaengine: private_candidate: dma0chan13 filter said false
[   47.755572] dmaengine: private_candidate: dma0chan14 filter said false
[   47.755588] dmaengine: private_candidate: dma0chan15 filter said false
[   47.755606] dmaengine: __dma_request_channel: success (dma1chan0)
[   47.755631] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   47.755685] [csi_irq_handler] Start of frame irq
[   47.755704] [csi_irq_handler] CSI status = 0x84216001
[   47.755735] [pxp_process_update] done
[   47.755750] [pxp_complete_update] start
[   47.758423] [pxp_complete_update] TX completed
[   47.772224] [csi_v4l_dqueue] done
[   47.778113] In MVC: csi_v4l_do_ioctl, c044560f
[   47.778129]    case VIDIOC_QBUF
 ----------------------------------
[   47.778154] In MVC: csi_v4l_do_ioctl, c0445611
[   47.778167]    case VIDIOC_DQBUF
[   47.788478] base address switching Change Err.
[   47.788500] [camera_callback] pingpongcsi:1 <<----- here is prolblem!!!!!!!!
[   47.788516] [camera_callback] working_q csi_buf_num:2
[   47.788529] [camera_callback] working_q csi_buf_num:2  
[   47.793688] [camera_callback] ready_frame->csi_buf_num:1
[   47.793703] [camera_callback] done
[   47.793717] [csi_irq_handler] DMA_DONE_FB1! 214
[   47.793732] [csi_irq_handler] CSI status = 0x9A2A6000
[   47.793764] [csi_irq_handler] Start of frame irq
[   47.793781] [csi_irq_handler] CSI status = 0x8421A001
[   47.821847] [camera_callback] pingpongcsi:1 <<----- here is prolblem!!!!!!!!
[   47.821865] [camera_callback] working_q csi_buf_num:2
[   47.821880] [camera_callback] ready_frame->csi_buf_num:1
[   47.821893] [camera_callback] done
[   47.821907] [csi_irq_handler] DMA_DONE_FB1! 215
[   47.821921] [csi_irq_handler] CSI status = 0x8A2A6001
[   47.822411] [csi_irq_handler] Start of frame irq
[   47.822429] [csi_irq_handler] CSI status = 0x80216000
[   47.855206] base address switching Change Err.
[   47.855224] [camera_callback] pingpongcsi:2
[   47.855238] [camera_callback] done frame queue
[   47.855262] [camera_callback] ready_frame->csi_buf_num:2
[   47.855277] [camera_callback] done
[   47.855292] [csi_irq_handler] DMA_DONE_FB2! 216
[   47.855306] [csi_irq_handler] CSI status = 0x9E326000
[   47.855428] [pxp_process_update]Starting PxP Send Buffer
[   47.855444] dmaengine: private_candidate: dma0chan0 busy
[   47.855462] dmaengine: private_candidate: dma0chan1 filter said false
[   47.855481] dmaengine: private_candidate: dma0chan2 filter said false
[   47.855496] dmaengine: private_candidate: dma0chan3 filter said false
[   47.855511] dmaengine: private_candidate: dma0chan4 filter said false
[   47.855527] dmaengine: private_candidate: dma0chan5 filter said false
[   47.855542] dmaengine: private_candidate: dma0chan6 filter said false
[   47.855556] dmaengine: private_candidate: dma0chan7 filter said false
[   47.855571] dmaengine: private_candidate: dma0chan8 filter said false
[   47.855586] dmaengine: private_candidate: dma0chan9 filter said false
[   47.855602] dmaengine: private_candidate: dma0chan10 filter said false
[   47.855617] dmaengine: private_candidate: dma0chan11 filter said false
[   47.855633] dmaengine: private_candidate: dma0chan12 filter said false
[   47.855649] dmaengine: private_candidate: dma0chan13 filter said false
[   47.855664] dmaengine: private_candidate: dma0chan14 filter said false
[   47.855679] dmaengine: private_candidate: dma0chan15 filter said false
[   47.855699] dmaengine: __dma_request_channel: success (dma1chan0)
[   47.855725] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   47.855779] [csi_irq_handler] Start of frame irq
[   47.855798] [csi_irq_handler] CSI status = 0x84216001
[   47.855828] [pxp_process_update] done
[   47.855843] [pxp_complete_update] start
[   47.858518] [pxp_complete_update] TX completed
[   47.872322] [csi_v4l_dqueue] done
[   47.879240] In MVC: csi_v4l_do_ioctl, c044560f
[   47.879256]    case VIDIOC_QBUF
 ----------------------------------
[   47.879281] In MVC: csi_v4l_do_ioctl, c0445611
[   47.879295]    case VIDIOC_DQBUF
[   47.888570] [camera_callback] pingpongcsi:1
[   47.888589] [camera_callback] done frame queue
[   47.888613] [camera_callback] ready_frame->csi_buf_num:1
[   47.888629] [camera_callback] done
[   47.888643] [csi_irq_handler] DMA_DONE_FB1! 217
[   47.888658] [csi_irq_handler] CSI status = 0x8A2A6000
[   47.888760] [pxp_process_update]Starting PxP Send Buffer
[   47.888775] dmaengine: private_candidate: dma0chan0 busy
[   47.888792] dmaengine: private_candidate: dma0chan1 filter said false
[   47.888808] dmaengine: private_candidate: dma0chan2 filter said false
[   47.888824] dmaengine: private_candidate: dma0chan3 filter said false
[   47.888840] dmaengine: private_candidate: dma0chan4 filter said false
[   47.888855] dmaengine: private_candidate: dma0chan5 filter said false
[   47.888870] dmaengine: private_candidate: dma0chan6 filter said false
[   47.888885] dmaengine: private_candidate: dma0chan7 filter said false
[   47.888899] dmaengine: private_candidate: dma0chan8 filter said false
[   47.888914] dmaengine: private_candidate: dma0chan9 filter said false
[   47.888930] dmaengine: private_candidate: dma0chan10 filter said false
[   47.888945] dmaengine: private_candidate: dma0chan11 filter said false
[   47.888960] dmaengine: private_candidate: dma0chan12 filter said false
[   47.888975] dmaengine: private_candidate: dma0chan13 filter said false
[   47.888990] dmaengine: private_candidate: dma0chan14 filter said false
[   47.889004] dmaengine: private_candidate: dma0chan15 filter said false
[   47.889023] dmaengine: __dma_request_channel: success (dma1chan0)
[   47.889049] srect l: 0, t: 0, w: 720, h: 480; drect l: 0, t: 0, w: 720, h: 480
[   47.889107] [pxp_process_update] done
[   47.889125] [pxp_complete_update] start
[   47.889144] [csi_irq_handler] Start of frame irq
[   47.889160] [csi_irq_handler] CSI status = 0x8021A001
[   47.891865] [pxp_complete_update] TX completed
[   47.905619] [csi_v4l_dqueue] done
[   47.911695] In MVC: csi_v4l_do_ioctl, c044560f
[   47.911704]    case VIDIOC_QBUF
 ----------------------------------
[   47.911716] In MVC: csi_v4l_do_ioctl, c0445611
[   47.911722]    case VIDIOC_DQBUF
[   47.911728] [csi_v4l_dqueue] start
[   47.921925] base address switching Change Err.
[   47.921935] [camera_callback] pingpongcsi:2 <<----- here is prolblem!!!!!!!!
[   47.921943] [camera_callback] working_q csi_buf_num:1
[   47.921949] [camera_callback] ready_frame->csi_buf_num:2
[   47.921955] [camera_callback] done
[   47.921962] [csi_irq_handler] DMA_DONE_FB2! 218
[   47.921969] [csi_irq_handler] CSI status = 0x9E326000
[   47.922494] [csi_irq_handler] Start of frame irq
[   47.922501] [csi_irq_handler] CSI status = 0x84216000
[   47.955288] [camera_callback] pingpongcsi:1
[   47.955297] [camera_callback] done frame queue
[   47.955306] [camera_callback] ready_q empty
[   47.955312] [camera_callback] done
[   47.955319] [csi_irq_handler] DMA_DONE_FB1! 219
[   47.955325] [csi_irq_handler] CSI status = 0x8A2A6000
[   47.955369] [pxp_process_update]Starting PxP Send Buffer
********************************************************************
you can see that pingpong'value is changed( 1->2->1->2 ...)  in camera_callback function @ csi_v4l2_capture.c well, but suddenly pingpong's value sequence is broken.  
I Know that pingpong value is decided by csi_irq_handler in fsl_csi.c. 
Q. Why pingpong' value sequence is broken? did you konw that? 
because this problem occur, TW9900(CSI1) caputre framerate is down.
sometimes, It occurs "base address switching Chang Err". 
 
Q. Why does it occur? 

hlep me.

Outcomes