Hello all,
I'd like to use the interface VPIF on OMAP L138 but I don't know how to start.
I'm developing code for the DSP using CCS v5.
I configure registers to use interface VPIF in "raw data capture mode".
The registers are configured :
CCD/CMOS datacapture mode: progressive, 8-bit/pixel
0x8120F704; //C0CTRL C0CTRL: FIELDFRAME=1, YCMUX=0, CAPMODE=1, CHANEN=0
0x00000404; //C1CTRL
0x00000013; //INTEN INTEN: ERROR=1, FRAME0=1
0x00000013; //INTSET INTSET: ERROR=1, FRAME0=1
0x00000013; //INTSTATCLR
0x00000020; //BYTES REQSIZE = 32 bytes
C0TLUMA; //0xC0000000 C0TLUMA = top of luma buffer in DDR
C0THANC; //0x0000000F
0x00000000; //C0BHANC
C0TVANC; //0x0000000F
0x00FF01FF; //CH0_SUBPIC_CFG
C0IMGOFFSET; //0x00000200
C0HANCOFFSET; //0x0000000F
C1TCHROMA; //0x0000000F
C1THANC; //0x0000000F
C1TVANC; //0x0000000F
0x00FF01FF; //CH1_SUBPIC_CFG
C1IMGOFFSET; //0x0000000F
C1HANCOFFSET; //0x0000000F
Any registers not listed have been zeroed. Ancillary data is not used.
I enable C0 and C1 at the end, after completing all other initialization.
C1CTRL: CHANEN=1
C0CTRL:CHANEN=1
I am now receiving interrupts from the VPIF in register INTSTAT bit 1 "Frame0"
My questions are :
- Where the data stored?
- which memory is used?
- I must configure memory?
Does anyone have any suggestions on how to proceed after initialisation?
Thanks in advance,
Fabien
PS : sorry for my bad English! ^_^