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 - How to get 720p raw capture?

I can not do in the RAW RGB(10-bit) image with DM6437.

I am try to get 720p raw image from the OV2715 (1080P, 720P support) sensor.

I am use 10-bit rgb raw, 720p, 30fps, and 40Mhz pixel clock in OV2715.

I use the video timing is illustrated in the following

 

OV2715 and the DM6437 hardware connections are as follows:
   D[7:0] -------------YI [7:0]/GP [43:36]
  D[9:8] --------------CI [1:0]/GP [45:44]
  VSYNC------------VD/GP [53]
  HREF--------------HD/GP [52]
  PCLK--------------PCLK/GP [54]

Between ov2715 and dm368, this method is operation normally.

 

Using the software dvsdk_1_11_00_00/pspdriver_1_10_00(rawcapure example), I am working.

My software is as follows.

    A) The SYS Module Register PINMUX0 and PINMUX1, VPSS_CLTL's settings.

        PINMUX0 = 0x40520005;
              /*| ( 1 << 30 )   // CI10SEL   - No CI[1:0] 10-bit CCDC.
                | ( 0 << 28 )   // CI32SEL   - No CI[3:2] 12-bit CCDC.
                | ( 0 << 26 )   // CI54SEL   - No CI[5:4] 14-bit CCDC
                | ( 0 << 25 )   // CI76SEL   - No CI[7:6] 16-bit CCDC
                | ( 0 << 24 )   // CFLDSEL   - No CCDC Field(C_FIELD)
                | ( 0 << 23 )   // CWENSEL   - No CCDC Write Enable(C_WEN)
                | ( 1 << 22 )   // HDVSEL    - CCDC HD and VD
                | ( 1 << 20 )   // CCDCSEL   - CCDC PCLK, YI[7:0] enabled
                | ( 3 << 16 )   // AEAW      - EMIFA full address mode
                | ( 0 << 15 )   // VPBECLK   - VPBECLK disable
                | ( 0 << 12 )   // RGBSEL    - No digital outputs
                | ( 0 << 10 )   // CS3SEL    - LCD_OE/EM_CS3 disabled
                | ( 0 <<  8 )   // CS4SEL    - CS4/VSYNC disabled
                | ( 0 <<  6 )   // CS5SEL    - CS5/HSYNC disabled
                | ( 0 <<  4 )   // VENCSEL   - Video encoder outputs disabled
                | ( 1 <<  0 ); // AEM       - 8-bit EMIFA, 8-bit CCDC in
                | ( 5 <<  0 );*/ // AEM       - 8-bit EMIFA, 16-bit CCDC in
        PINMUX1 = 0x01624500; // Mitul - debugging vlynq
              /*| ( 1 << 24 )   // SPBK1     - McBSP1 enabled
                | ( 1 << 22 )   // SPBK0     - McBSP0 enabled
                | ( 2 << 20 )   // TIM1BK    - UART1 enabled, Timer1 disabled
                | ( 2 << 16 )   // TIM0BK    - Timer0 enabled
                | ( 1 << 14 )   // CKOBK     - CLKOUT disabled, PWM2 enabled
                | ( 0 << 12 )   // PWM1BK    - PWM1 disabled, GIO84 enabled
                | ( 1 << 10 )   // UR0FCBK   - UART0 HW flow control enabled
                | ( 1 <<  8 )   // UR0DBK    - UART0 data enabled
                | ( 0 <<  4 )   // HOSTBK    - VLYNQ + MII + MDIO Mode
                | ( 0 <<  0 );*/// PCIEN     - PCI disabled

      VPSS_CLKCTL = 0x03;
                | (0 << 4)  //  DACCLKEN - Video DAC clock disable
                | (0 << 3)  // VENCLKEN  - Video Encoder clock disable
                | (0 << 2)  // PCLKINV     - VPSS receives normal PCLK
                | (3 << 0)  // MUXSEL     - PCLK(VENC CLK), DAC CLK(OFF)

  B) CCDC settings.

      ccdcParams->inpmod = FVID_CCDC_RAW_FORMAT; 
      ccdcParams->ffMode = FVID_FRAME_MODE;
      ccdcParams->height = 720;
      ccdcParams->width = 1280;
      ccdcParams->pitch = 2560; // (1280*2);
      ccdcParams->horzStartPix = 0;
      ccdcParams->vertStartPix = 13;
      ccdcParams->appCallback = NULL;
      ccdcParams->segId = 0;
      ccdcParams->rawParams.dataSize = PSP_VPFE_BITS10;
      ccdcParams->rawParams.pack8 = PSP_VPFE_PACK8_16BITS_PIXEL;
      ccdcParams->rawParams.dataPol = PSP_VPFE_DataPol_Normal;
      ccdcParams->rawParams.VDSyncPol = PSP_VPFE_SyncPol_Positive;
      ccdcParams->rawParams.HDSyncPol = PSP_VPFE_SyncPol_Positive;
      ccdcParams->rawParams.HDVDMaster = PSP_VPFE_SyncDir_Input;
      ccdcParams->rawParams.HDSyncWidth = 1;
      ccdcParams->rawParams.VDSyncWidth = 2; //(1 Line)
      ccdcParams->rawParams.numPxlPerLine = 1792;
      ccdcParams->rawParams.numLinPerFld = 774;
      ccdcParams->rawParams.ALawEnable = PSP_VPFE_ALaw_Disable;
      ccdcParams->rawParams.ALaw_Width = PSP_VPFE_ALaw_bits15_6;
      ccdcParams->extVDFxn = NULL;

Thanks!