Reply by Giovanni Parodi January 17, 20052005-01-17

Hello everybody. I'm trying to use the video input
sample provided by analog devices with blackfin 533 ez
lite kit However I have some problem because I'm not
able to run it correctly. I'm using a little CMOS
color camera (lafayette MC-CG25CM) that seems to meet
all the requirement for the video input signals on the
blackfin platform. However I don't now how to change
the settings of the example proposed by ASI. In effect
this camera supports PAL 512Hx582V, 2:1 interlace. I
was able to change *pPPI_FRAME = 625;
to set the standard for PAL.
But I don't know how to set the new size of the image.
I found in some web site the following settings
changes for Init_DMA function

//Target address of the DMA
*pDMA0_START_ADDR = 0x0;

//PPI Peripheral is used
*pDMA0_PERIPHERAL_MAP = 0x0;

//DMA Config: Enable DMA | Memory write DMA | Discard
DMA FIFO before start | enable assertation of
interrupt | NDSIZE for stop mode | Enable STOP DMA
*pDMA0_CONFIG = DMAEN | DI_EN | WNR | RESTART | DMA2D
| WDSIZE_16 ;

*pDMA0_X_COUNT = 512;
*pDMA0_Y_COUNT = 582;

*pDMA0_X_MODIFY = 0x2; //2 because WDSIZE
*pDMA0_Y_MODIFY = 0x2;

but it still doesn't work. I see only some line (of
different level of grey). Can you say me what's my
error? thanks a lot Giovanni
___________________________________
Nuovo Yahoo! Messenger: E' molto pidivertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora!
http://it.messenger.yahoo.it