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.

DM368 vbfe initialization



Hi

 

I am using DM368 TI board with leopard camera header board(5M aptina MT9P031 sensor)..now am

developing firmware for video loop back display using   sample test code

but i can't get the video image output...it display only blank nothing in it.. Sensor output is RGB bayer

please help me....

 

 

 

  ISIF_SYNCEN =  0x0000;  // Disable VPFE during setup   

  ISIF_MODESET = 0x1000

  ISIF_HDW     = 0x0000;  

   ISIF_VDW     = 0x0000;

 ISIF_PPLN    = width;    

 ISIF_LPFR    = height;

    ISIF_SPH     = 0x0000;   

  ISIF_LNH     = width;               // Horizontal lines   

  ISIF_HSIZE   = width >> 4;                 // Horizontal line offset    

 ISIF_SLV0    = 0x0010;                     // Vertical start line    

 ISIF_SLV1    = 0x0010;

   ISIF_LNV     = height;                     // Vertical lines

    ISIF_CULH    = 0xffff;                     // Disable culling  

   ISIF_CULV    = 0x00ff;

   ISIF_SDOFST      = 0x0000;

     ISIF_CADU        = 0x0400;                 // Frame buffer address high   

  ISIF_CADL        = 0x0000;                 // Frame buffer address low  

   ISIF_REC656IF    = 0x0001;  

 ISIF_CCDCFG      = 0x0800;                 // CCD configuration   

  ISIF_FMTCFG      = 0x0000;                 // Disable formatter   

  ISIF_SYNCEN      = 0x0003;                 // Enable CCDC