Dear All,
I need some advice on the data transfer from the C3088 cmos camera to the 8MB
SDRAM of the C6713 board EMIF.
Firstly can we use the GPIO to transfer pixels to RAM or do we need to use the
EMIF for DMA allocation? We need to transfer the data pixel by pixel, not frame
by frame, since we have 16 YUV pins from the camera going into the board as 16
external interrupts.
Can you tell me if I need to set the EDMA for Frame transfer (SUM = 00, DUM =
01) mode, or is this not possible for a pixel by pixel transfer.
I want to store each of the values from the 16 bits right next to each other in
an elemental fashion so that they make one 16 bit pixel.
But then to store the next pixel, we have to increment the row count (row source
address) for all channels, so that the next pixel is stored in the next row of
the SDRAM.
However, this is for 176 x 144 pixels, so we need to increment the row and
column accordingly, but at the same time we need to fill up the next half word
space to prevent wasting space on the RAM. We need to store the data at 174 x
144 x 50 = 1252.8K pixels = 1. 3 Mpixels per sec. Can we do this transfer via
GPIO or do we need to use the EDMA channels on the EMIF cause the GPIO is not
fast enough.
Please do let me know if you have any answers to this problem, or if you can
direct me to the correct ppl for this problem.
Thanking you sincerely,
Varun Dayaram
P.S. can i use 2d Array sync transfers from the camera 16 bits in parallel...
and then each pixel will have its own array of 16 bits, and the pixels will make
up a block of 176*144 arrays