1 Reply Latest reply on Jun 25, 2018 5:02 AM by KandlaguntaR_36

    RAW10 and 8 bits GPIF bus

    user_2884081

      If I configure the MIPI block as RAW10 (as shown in the code below), but the GPIF bus is set to 8 bits, what will happen?

      My guess is only the first 8 bits of each pixel get sent.

      i.e. Camera sends this info for each pixel: Pix[9:0]; MIPI block sends to GPIF only Pix[7:0]

      Is this correct?

       

      MIPI configuration:

      CyU3PMipicsiCfg_t cfgUvc1080p30NoMclk =  {

      CY_U3P_CSI_DF_RAW10,      /* dataFormat   */

      2,                          /* numDataLanes */

      1,                        /* pllPrd       */

      62,                          /* pllFbd       */

      CY_U3P_CSI_PLL_FRS_500_1000M, /* pllFrs      */

      CY_U3P_CSI_PLL_CLK_DIV_8,    /* csiRxClkDiv  */

      CY_U3P_CSI_PLL_CLK_DIV_8,    /* parClkDiv    */

      0x00,                        /* mclkCtl      */

      CY_U3P_CSI_PLL_CLK_DIV_8,    /* mClkRefDiv   */

      1920,                        /* hResolution  */

      0x01                        /* fifoDelay    */

      };

       

      GPIF configuration:

      status = CyU3PMipicsiGpifLoad(CY_U3P_MIPICSI_BUS_8, ES_UVC_DATA_BUF_SIZE);