Hi!
I am making a software using video_loopback as basis with the sensor MT9P031 (using XGA (2048x1536) configuration). Following the user´ s guide SPRU977 – VPFE (figure 11 up to 17) I had set the follow registers:
VPSS_CLKCTL.PLKINV = 0 // VENC clock mux and CCD receive noninverted PCLK SYS.MODE.DATAPOL = 0 // normal SYS_MODE.DATSIZ = 4 // 12 bits DCSUB.DCSUB = 0 // DC level to subtract from CCD data CLAMP.CLAMPEN = // disable SYN_MODE.INPMOD = 0 // CCD raw data COLPTN = 0xBB11BB11 BLKCMP = 0 FCP.FPCEN = 0 // disable FMTCFG.VPEN = 0 // disable SYN_MODE.VP2SDR = 0 HORZ_INFO.SPH = 0 HORZ_INFO.NPH= 0x7FF VERT_START.SLV0 = 0 VERT_START.SLV1 = 0 VERT_LINES.NLV = 0x5FF SYN_MODE.LPF = 0 ALAW.CCDTBL = 0 HSIZE_OFF.LNOFST = 0x00001000 SDOFST = 0x00000249 SYN_MODE.WEN = 1 //enable After it, the image never comes into DDR and the CCDC is never busy. Someone have an idea what I’ m doing wrong?
Thanks!