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.

dm6437 rawcapture problem

Hi,

By using the dvsdk rawcapture sample.

I can get the image from my cmos sensor, which is mt9p001 connecting the databus to the DC_P1 & P2 on the dm6437 board.

The sensor outputs raw bayer pattern in 12-bits , and I use 8-bits only .

The following is my CCDC configuration :

static PSP_VPFECcdcConfigParams ccdcParams =
{
    FVID_CCDC_RAW_FORMAT,               /* dataFlow     */
    FVID_FIELD_MODE,                    /* ffMode       */
    480,                                /* height       */
    640,                              /* width        */
    640,                              /* pitch        */
    0,                                  /* horzStartPix */
    0,                                  /* vertStartPix */
    NULL,                               /* appCallback  */
    {
        NULL,                           /* extVD Fxn    */
        NULL,
        NULL,
    },
    0,                                  /*segId         */
    {
        FVID_BPP_BITS8,                 /* dataSize     */
        PSP_VPFE_PACK8_8BITS_PIXEL,     /* pack8        */
        PSP_VPFE_DataPol_Normal,        /* dataPol      */
        PSP_VPFE_SyncPol_Positive,      /* VDSyncPol    */
        PSP_VPFE_SyncPol_Positive,      /* HDSyncPol    */
        PSP_VPFE_SyncDir_Input,         /* HDVDMaster   */
        50,                             /* HDSyncWidth  */
        4,                              /* VDSyncWidth  */
        800,                            /* numPxlPerLine*/
        1000,                           /* numLinPerFld */
        PSP_VPFE_ALaw_Disable,          /* ALawEnable   */
        PSP_VPFE_ALaw_bits15_6,         /* ALaw_Width   */
        
    }
};

I put the breakpoint right after the CCDC channel is created , so the VPBE is not open yet !

I use the view >> graph >> image by the configuration and two types palette option (gray & uniform).

The image is my desk with two computer screens ~

I'm not sure if the configuration is correct .......

It's strange that if I cover the image sensor , it should output all black 0x00 , right ?

I've checked the CMOS sensor output pins ,it outputs 0x00 for sure !!!

But there's always value at MSB in DDR memory like this:

hope for your help .

thanks.

Ellen