cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

user_2884081
New Contributor II

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);

0 Likes
1 Solution
KandlaguntaR_36
Moderator
Moderator

Yes, your guess is correct.

View solution in original post

0 Likes
1 Reply