I preface this message with a note with I'm new to the <strike>Dark</strike> hardware side of things.
Would this be a suitable FIFO,
AverLogic's AL422B 3-M Frame Buffer
http://www.datash**tcatalog.com/datash**ts_pdf/A/L/4/2/AL422.shtml (replace ** with ee)
Pros:
- 8 bit words - matches the cameras 8 x DOUTs.
- Two clocks, enables one for write and one for read.
Cons:
- At $8.90 almost as much as the camera itself.
- Not big enough? The buffer is only 393,216 Words (See my understanding of the amount of data produced)
Assuming I'm reading the diagrams correctly for each
rising DCLK while VBLK and HBLK are high there will be an 8 bit word out output...
- Full Mega output without JPEG = 1024 * 2560 = 2,621,440 words
- VGA ( x1: no zooming) = 959 * 1280 = 1,227,520 words
- VGA (at maximum magnification x2) = 480 * 1280 = 614,400
- CIF ( x1: no zooming) = 957 * 704 = 673,728
- CIF (at maximum magnification) = 288 * 704 = 202,752 (This would fit)
- QVGA ( x1: no digital zooming) = 956 * 640 = 611,840
- QVGA ( at maximum magnification. X4) = 240 * 640 = 153,600 (This would fit)
- QCIF ( x1: no digital zooming) = 954 * 352 = 335,808 (This would fit)
- QCIF ( at maximum magnification : x 6.67) = 144 * 352 = 50,688 (This would fit)
- QQVGA (x1: no digital zooming) = 952 * 320 = 304,640 (This would fit)
- QQVGA ( at maximum magnification: x 8 ) = 120 * 320 = 38,400 (This would fit)
- subQCIF ( x1: no digital zooming) = 950 * 256 = 243,200 (This would fit)
- subQCIF ( at maximum magnification: x 10) = 96 * 256 = 24,576 (This would fit)
- JPEG encoded full Mega = Unknown size (might fit)
As I see it implementation would be:
STROBE -> Both Read and Write Resets
HBLK && VBLK -> Write Enable
DCLK -> Write Clock.
Then you could clock the data out at your own leisure, (once you stop the camera taking any more pictures)