Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11703

CSIRX: Dual and 4 Pixels mode for RAW8 data is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • PDK
    • PDK-13543
    • PROCESSOR_SDK_09.00.00
    • PROCESSOR_SDK_10.00.00
    • Hide
      j721e-evm
      j721s2-evm
      j784s4-evm
      Show
      j721e-evm j721s2-evm j784s4-evm

      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 */
          }
      }
      
      

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: