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: How to use a DCC feature for a new Image Sensor Driver?

Part Number: TDA4VM

Hi,

I'm working on adding a new Image Sensor Driver on the TI-RTOS Imagine SDK and I would like to clarify how to use DCC feature when adding a new driver.

Currently I have a driver that works, but selecting a DCC ID for another existing driver (233). I validated RAW12 capture with this implementation.

So, ISS driver I defined:

dccId=233

Also, I enabled the Vision Apps support on app_iss_common.c file by adding similar definitions like the following:

            else if (0 == strcmp(sensor_name, SENSOR_MY_CAM))
                size = DCC_VISS_AR0233_DCC_CFG_NUM_ELEM;
            .
            .
            .

            else if (0 == strcmp(sensor_name, SENSOR_MY_CAM))
                memcpy(dcc_buf, dcc_viss_ar0233_linear, num_bytes);
            .
            .
            .

Currently, I'm using the settings for AR0233 sensor and it looks more like a hack. I wonder what it's the best way to implement this?

Thanks,

-Enrique

  • Hello Enrique,

    The best way is to use a new DCC Id and then create a new profile for your sensor using the scripts in the folder imaging/tools/default_DCC_profile_gen

    After that you may start tuning each XML file using DCC Tuning Tool.

    But the shortcut you have taken is also acceptable. You may start modifying XML files using tuning tool and replace the ones in imaging/sensor_drv/src/ar0233/dcc_xmls folder.

    Regards,

    Mayank

  • Hello Mayank,

    That was very useful, I was able to generate default DCC XML files by running those scripts. Now the sensor has its unique DCC Id.

    I was wonder about how to use this DCC Tuning Tool that you mentioned.

    Where can I find this tool and how to use it? Is there any documentation available?

    Thanks,

    -Enrique

  • Hello Enrique,

    Tuning tool is distributed through CDDS, a secure TI portal. Please work with your TI representative to request access.

    Regards,

    Mayank