|
Sunplus |
Preliminary
SPCA533A
User Guide
DIGITAL STILL CAMERA CONTROLLER
Sunplus Camera Solution
SPCA533A
User Guide
Version 0.2.0
June 14, 2002
is a trade mark of Sunplus.
SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLOGY CO.
is believed to be accurate and reliable. However, SUNPLUS TECHNOLOGY CO. makes no warranty for any errors which may appear in this document.
Contact SUNPLUS TECHNOLOGY CO. to obtain the latest version of device specifications before placing your order. No responsibility is assumed by
SUNPLUS TECHNOLOGY CO. for any infringement of patent or other rights of third parties which may result from its use. In addition, SUNPLUS products
are not authorized for use as critical components in life support devices/ systems or aviation devices/systems, where a malfunction or failure of the product
may reasonably be expected to result in significant injury to the user, without the express written approval of Sunplus.
PAGE 1
Free Datasheet http://www.Datasheet4U.com
Preliminary
User Guide
SPCA533A
Contents
1. OPERATIONAL DESCRIPTIONS ................................................................................................................................ 5
1.1 OPERATION MODES ......................................................................................................................................................... 5
1.1.1 Preview mode .......................................................................................................................................................... 5
1.1.2 Capture mode .......................................................................................................................................................... 5
1.1.3 Continuous shot ....................................................................................................................................................... 6
1.1.4 Video Clip ................................................................................................................................................................ 6
1.1.5 Playback .................................................................................................................................................................. 7
1.2 GLOBAL.......................................................................................................................................................................... 7
1.2.1 Clocks ...................................................................................................................................................................... 7
1.2.2 Power On Sequence............................................................................................................................................... 10
1.2.3 Suspend/resume control......................................................................................................................................... 11
Sensor interface.............................................................................................................................................................. 12
RTC................................................................................................................................................................................. 13
USB interface ................................................................................................................................................................. 13
1.2.4 Power Saving Consideration ................................................................................................................................. 14
1.2.5 User Interface........................................................................................................................................................ 15
1.2.6 Global Timer Control ............................................................................................................................................ 17
1.2.7 RTC........................................................................................................................................................................ 18
1.2.8 Pattern Generator ................................................................................................................................................. 20
1.2.9 Interrupt Events ..................................................................................................................................................... 22
1.3 CDSP ........................................................................................................................................................................... 23
1.3.1 Image size limitation.............................................................................................................................................. 23
1.3.2 Horizontal Mirror on Raw Data............................................................................................................................ 26
1.3.3 Horizontal Scale Down on Raw Data.................................................................................................................... 28
1.3.4 Hardwired Color Processor................................................................................................................................... 28
1.4 DMA CONTROLLER...................................................................................................................................................... 33
1.4.1 Direction of the DMA ............................................................................................................................................ 33
1.4.2 Page size adjustment of the DMA.......................................................................................................................... 35
1.4.3 Matching pattern in DMA...................................................................................................................................... 35
1.4.4 DMA control flow .................................................................................................................................................. 37
1.5 STORAGE MEDIA........................................................................................................................................................... 39
1.5.1 PIO mode and DMA mode..................................................................................................................................... 40
1.5.2 Nand-gate flash memory and SmartMediaCard .................................................................................................... 40
1.5.3 CompactFlash cards interface............................................................................................................................... 42
1.5.4 SPI interface to the Serial flash memory ............................................................................................................... 43
1.5.5 Next flash serial interface control ......................................................................................................................... 44
1.5.6 SD memory cards interface ................................................................................................................................... 45
1.5.7 The ECC generation .............................................................................................................................................. 49
1.6 JPEG ENGINE ............................................................................................................................................................... 50
1.6.1 Quantization table ................................................................................................................................................. 50
1.6.2 JPEG compression ................................................................................................................................................ 51
1.6.3 JPEG decompression............................................................................................................................................. 53
1.7 USB BUS INTERFACE .................................................................................................................................................... 56
1.7.1 USB Vendor Command .......................................................................................................................................... 56
1.7.2 USB Packet Format............................................................................................................................................... 60
1.7.2.1 USB Video Iso-in Packet (endpoint 1) ................................................................................................................................ 60
1.7.2.2 USB BULK-IN Packet (endpoint 2, 7)................................................................................................................................ 61
1.7.2.3 USB BULK-OUT Packet (endpoint 3, 8) ............................................................................................................................ 61
1.7.2.4 USB Interrupt-IN Packet (endpoint 4, 9)............................................................................................................................. 61
1.7.2.5 Audio INTERRUPT-IN pipe (endpoint 5) .......................................................................................................................... 61
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
PAGE 2
Jun. 14, 2001
Preliminary Version: 0.2.0
Free Datasheet http://www.Datasheet4U.com
|