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.

Device driver development for Davinci

I need to develop a device driver to DM6437 video port for interface a CCD image sensor and I would like to know which documentation are necessary to begin this development.

I was reading documentations about DDk but it show me that is not useful for davinci, is it right?

I'm using CCS3.3.

I've DM6437 EVM.

Thanks.

  • Marcio,

    a) The DM6437 EVM is provided with some SW (CCS 3.0 and DVSDK SW components). As part of the DVSDK you will find a SW package called PSP_xxxxxx. This SW packages includes the DSP BIOS drivers for the different peripherals. One of this driver is for the video interface (VPFE):
        dvsdk_1_xx_xx_xx\PSP_x_xx_xx\pspdrivers\drivers\vpfe

    If you look at the documentation provided in this document you can see that this drivers supports the Aptina MT9001 image sensor. It might be a good start to adapt it to an other image sensor.

    A basic loopback CCS 3.30 example (that make use of the TVP514x video decoder) is provided in:
        \dvsdk_1_xx_xx_xx\examples\video_preview

    b) The DDK was provided for earlier devices (C671x, DM642, ..etc). The C64x+ based devices (ie DM643x, C642x, DM648) are now provided with a PSP package that contains DSP BIOS drivers.

    Hope it helps.

    A.

     

     

  • Thanks AnBer...

    I will study this folder ... dvsdk...

    Could you tell me if the dvsdk_1_11_00_00 (I have this one) is the newest?

     

  • Hello,

    I took a look at the dvsdk folder but doesn't have any documentation about the Aptina MT9001 image sensor, can be that the documentation about is available only for who buy this?

    I saw documentation that show how the drivers works (BIOS_VPFE_Driver_UserGuide for instance), but any about how to create them.

    Please I still need some help.

     

  • Hello, I don't get any answer that could help me yet.

  • I am checking this with the Bios team. Please ping me again if this becomes urgent.

  • Yes, this is urgent.

    Thanks.

  • Marico,

    Marcio said:
    I saw documentation that show how the drivers works (BIOS_VPFE_Driver_UserGuide for instance), but any about how to create them

    I understand that you are looking for some examples on how to interface to the drivers using MT9001 in RAW mode. For this, you may refer to "system\dm6437\bios\evmDM6437\video\sample\src\psp_vpss_integrated.c" in the pspdrivers_xx_xx_xx directory.

    This contains a sample application which interfaces with the driver in RAW mode, using MT9001 sensor.

    Hope this helps.

     

  • Hello Sriram,

    Thanks for your reply.

    I find these files and will study them.

    At really I'm not intend to use the MT9001 but another CCD with AFE, but i will study this for give a way.