2 Replies Latest reply on Feb 6, 2018 4:00 AM by savj

    How can debug CX3 MIPI CSI-2 RX to GPIF?

    user_386725449

      Hi,

         I want to use CX3 to receive 1280x720p@15hz YUV422 sensor input and My CX3 MIPI Setting is as follow,

      CY_U3P_CSI_DF_YUV422_8_2,//CY_U3P_CSI_DF_YUV422_8_2, //CY_U3P_CSI_DF_RAW10,     /* dataFormat   */
      2,                          /* numDataLanes */
      7,                            /* pllPrd (0x0F = 15)  */
      333,                         /* pllFbd (0x1FF = 511)   */  //400.8MHz  19.2*(333+1)/(7+1)/2^1 = 400.8
      CY_U3P_CSI_PLL_FRS_250_500M, /* pllFrs  */
      CY_U3P_CSI_PLL_CLK_DIV_8,   /* csiRxClkDiv  */  //mipi detect clk 100 mhz  ,
      CY_U3P_CSI_PLL_CLK_DIV_8,   /* parClkDiv*/  //para 100Mhz
      0x0806,                       /* mclkCtl  */
      CY_U3P_CSI_PLL_CLK_DIV_2,   /* mClkRefDiv   */  //12  400.8/2 / (8+1+6+1) = 12.525  (12.5)
      1280,           /* uint16_t hResolution */
      1  

       

      When I use AMPCAP to preview, CX3 Firmware UVCGpifCB always stay in state "CX3_PARTIAL_BUFFER_IN_SCK1" so the DMA callback is not work. What does it mean? How can I debug this issue? Thanks.