This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: DCC ISP Tuning

Part Number: TDA4VM

Hi,

In the past we have been able to tune the ISP for TDA3x using DCC tool from TI. Now we are moving to TDA4x with the same camera, for which the driver is working properly.

Is the ISP configuration from TDA3 compatible with TDA4 ISP? If not we will go through the tuning process again with DCC tool for TDA4 (which we also have access to) .

Is there any documentation on how to integrate the tuning results (either bin, xml or header) into TDA4 ISS drivers?

Thanks,

David

  • Hello David,

    TDA4 ISP has a different architecture than TDA3, therefore ISP configuration is not compatible.

    For the second question -  you may refer to the appnote

    TDA4VMid VPAC ISP Tuning Overview (Rev. A)

  • HI Mayank, thanks for sharing. The app note explains pretty well the live tuning and how to load the DCC config from SD card, but I couldnt find anything in relation to include it on the sensor driver code (as xml or header file).

    Is there any guide for the sensor driver creating that includes DCC integration? 

  • David,

    dc_xmls folder in the sensor driver has a script generate_dcc.sh. You can run that script to generate header files for inclusion in sensor driver code. Please edit the script accordingly. For e.g. ar0233/dcc_xmls/wdr/generate_dcc.sh creates 3 header files

    1. dcc_viss_ar0233_wdr.h

    2. dcc_2a_ar0233_wdr.h

    3. dcc_ldc_ar0233_wdr.h

    These header files are created in the folder sensor_drv/include and have tuning parameters in C style arrays

    1. DCC_VISS_AR0233_WDRDCC_CFG

    2. DCC_2A_AR0233_WDRDCC_CFG

    3. DCC_LDC_AR0233_WDRDCC_CFG

    The file names and array names are picked from generate_dcc.sh script. For e.g. the command

    $DCC_TOOL_PATH/dcc_bin2c ../../dcc_bins/dcc_viss_wdr.bin $OUT_PATH/dcc_viss_ar0233_wdr.h dcc_viss_ar0233_wdr

    generates the file dcc_viss_ar0233_wdr.h with the array DCC_VISS_AR0233_WDRDCC_CFG

    Once the header files are created, they need to be included in vision_apps/utils/iss/src/app_iss_common.c. You can refer to how existing sensors DCC buffer are included.

    Please feel free to ask if you have further questions.

    Regards,

    Mayank

  • Thanks so much Mayank, this is very helpful and should be all we needed.