Part Number:TDA2PXEVM
Tool/software: TI-RTOS
Hi
I am currently using Vision SDK 3.05 . I have ported the Vision SDK 3.06 changes for capturing with CSI2_PHY2 on VSDK 3.05.I am working on captureIss PDK Demo application. I have added the decoder in capture options as shown below:
{"ISL79987 on 2 Lanes capture on PHY 1",
0U, TRUE,
FVID2_VIFM_SCH_CSI2,
FVID2_VIFW_2LANES, 4U, 0U, VPS_ISS_CAL_CSI2_YUV422_8B, FVID2_BPP_BITS16,
CAPT_APP_RUN_COUNT, 640U, 480U, (640U * 2U),
FVID2_VID_DECODER_ISL79987_DRV,
FVID2_STD_1080P_30, FVID2_DF_YUV422I_UYVY, FVID2_BPP_BITS16,
BSP_BOARD_MODE_DEFAULT, CAPT_APP_PHY_1},
4 CVBS cameras are used to capture and its output is decoded by the ISL79987 decoder and it sends the YUV422 data onto the 2 lanes of CSI2_PHY2.
Will the number of streams will be 4 as highlighted above.
I have two queries.
1) I am actually stuck at a function appCaptSetDrvCfg(). In this function each stream is assigned a csi2VirtualChannelNo.
Is the number of streams is related to virtualChannel.
2) I have a query regarding adding submodules of CAL inside the function appCaptDeriveCfg(). As seen from the code that sensors in the Surround view systems have been allocated 4 sub modules as shown below
if ((FVID2_VID_SENSOR_TIDA00262_APT_AR0140_DRV == pCfg->sensorDrvId) ||
(FVID2_VID_SENSOR_MULDES_OV1063X_DRV == pCfg->sensorDrvId) ||
(FVID2_VID_SENSOR_IMI_OV10640_DRV == pCfg->sensorDrvId))
{
appObj->issOpenPrms.subModules[1U] =
(
VPS_ISS_CAPT_CAL_SUB_PPI_ID_0 |
VPS_ISS_CAPT_CAL_SUB_CSI2_ID |
VPS_ISS_CAPT_CAL_SUB_CPORT_ID |
VPS_ISS_CAPT_CAL_SUB_DMA_WR_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_EXTRACT_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_DEC_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_ENC_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_PACK_ID);
appObj->issOpenPrms.subModules[2U] =
(
VPS_ISS_CAPT_CAL_SUB_PPI_ID_0 |
VPS_ISS_CAPT_CAL_SUB_CSI2_ID |
VPS_ISS_CAPT_CAL_SUB_CPORT_ID |
VPS_ISS_CAPT_CAL_SUB_DMA_WR_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_EXTRACT_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_DEC_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_ENC_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_PACK_ID);
appObj->issOpenPrms.subModules[3U] =
(
VPS_ISS_CAPT_CAL_SUB_PPI_ID_0 |
VPS_ISS_CAPT_CAL_SUB_CSI2_ID |
VPS_ISS_CAPT_CAL_SUB_CPORT_ID |
VPS_ISS_CAPT_CAL_SUB_DMA_WR_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_EXTRACT_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_DEC_ID |
VPS_ISS_CAPT_CAL_SUB_DPCM_ENC_ID |
VPS_ISS_CAPT_CAL_SUB_PIX_PACK_ID);
}
Do I need to do the same for the decoder?
Currently I do not have the decoder EVM to test. I am preparing the code for the same.
Regards,
Deepika