-
Bug
-
Resolution: Unresolved
-
Medium
-
PDK
-
PDK-13543
-
PROCESSOR_SDK_09.00.00
-
PROCESSOR_SDK_10.01.00
-
Description
When dual pixel or quad pixel mode is enabled for RAW8, the data captured is incorrect.
Workaround
Enable dualPkgMode, as show below in csirx_drvUdma.c file.
else if (chObj->chCfg->inCsiDataType == FVID2_CSI2_DF_RAW8) { if (createParams->instCfg.numPixelsStrm0 == 0U) { chObj->dmaCfgParams.dataSizeShift = (uint32_t)CSL_CSIRX_DMA_DATA_SIZE_SHIFT_8BITS; } else if(createParams->instCfg.numPixelsStrm0 == 1U) { chObj->dmaCfgParams.dataSizeShift = (uint32_t)CSL_CSIRX_DMA_DATA_SIZE_SHIFT_16BITS; chObj->dmaCfgParams.dualPkgEnable = 1U; } else if(createParams->instCfg.numPixelsStrm0 == 2U) { chObj->dmaCfgParams.dataSizeShift = (uint32_t)CSL_CSIRX_DMA_DATA_SIZE_SHIFT_32BITS; chObj->dmaCfgParams.dualPkgEnable = 1U; } else { /* Do nothing as above two conditions should be hit and check has done before entering this function */ } }