Quantcast
Viewing all articles
Browse latest Browse all 36216

Re: Some questions about ADV212

Hi Dave,

 

There is a 8-bit gray-level raw image of 128 pixels X 128 pixels stored in a SRAM. All the pixels are active pixels. MCLK=20MHz,VCLK=20MHz. I use custom sepcific mode to put the image on VDATA by HVF signals as follows. Do all the registers setting sound correct to you?

1. Set the function registers.

BUSMODE = 0x05 (BCFG: Normal Mode DWIDTH: 16 bits HWIDTH: 16 bits)

PMODE1 = 0x0004 (PREC: 8-bit precision PFMT: VDATA-Single Component)

XTOT = 0x0080 (128 samples per line)

YTOT = 0x0080 (128 liens per frame)

V0_START = 0x0001 (Start of valid line:1)

V0_END = 0x0080 (End of valid line:128)

PIXEL_START = 0x0001 (Start of horizonal active pixel: 1)

PIXEL_END = 0x0080 (End of horizonal active pixel: 128)

PMODE2 = 0x0031 (CUNI:1 YUNI:1 FIELD_POL:0 HSYNC_POL:0 VSYNC_POL:0 VCLK_POL:1)

VMODE = 0x0086 (PRGRSV_SCN: on RAW_MODE: off MP_656: HVF mode ENC_DEC: ENCODE MAS_SLV: SLAVE)

2. Input the image as shown in Fig.25 in 'ADV212 Programming Guide Rev 2.0'. Since there is no blanking pixels in the image, so the waveform of HSYNC should keep valid throughout the whole frame transmission process, just like VSYNC. Is that right?


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>