TecSys C329-SPI User Manual

C329-SPI-CO_UM_EN_20141014_RH
TecSys GmbH ••• Karl-Theodor-Str. 55 •••• D– 80803 München •••• Tel +49 89 321 990-0 •••• www.tecsys.de
C329-SPI User Manual
Release Note:
V1.0 27th September 2010 First release
V1.1 12th January 2012 Second release
C329-SPI-CO_UM_EN_20141014_RH
TecSys GmbH ••• Karl-Theodor-Str. 55 •••• D– 80803 München •••• Tel +49 89 321 990-0 •••• www.tecsys.de
General Description
The C329 is a colour VGA camera module which performs JPEG compression and can be attached to a host via an SPI interface. Users can send a Snapshot command from the host in order to capture an image. The image is then compressed by the host and stored in and internal buffer and transferred to the host through the SPI port.
Figure 1 – System Block Diagram
Features
Small Size, 20x28mm
Adjustable resolution resolution, Max VGA
3.3V operation
Low Power consumption 64mA active
SPI Interface with Hold
Power Saving Mode
Multiple lens options
Multiple interface options (UART version available)
System Configuration
Camera Sensor
The C329 uses a 1/4" OmniVision VGA sensor with an 8-bit YcbCr interface and 3.8 V/(Lux Sec) sensitivity.
OV529 Serial Bridge
The OV529 Serial bridge contains an Embedded JPEC CODEC and controller chip that can compress and transfer image data from the Camera Sensor to an external device. The OV529 performs all imaging functions like white balance, downsizing and compressed image storage.
C329-SPI-CO_UM_EN_20141014_RH
TecSys GmbH ••• Karl-Theodor-Str. 55 •••• D– 80803 München •••• Tel +49 89 321 990-0 •••• www.tecsys.de
Program EEPROM
A Serial EEPROM provides the program code that gives the OV529 it's interface and command set.
Board Layout
Figure 2 – C329-SPI board Layout and Serial Interface
SPI Interface
Timing Options and CLK
The SPI interface consists of MOSI (Master Out Slave In), MISO (Master In Slave Out), CLK and CS. In the OV529 there is the addition of HOLD which when H indicates to the Master that the OV529 isn't ready and should hold off the next transaction. The CS signal allows multiple devices to be attached to the SPI bus. When CS is L the OV529 is selected. Data on MISO will be clocked out on the falling edge of CLK and data on MOSI will be clocked in on the rising edge of CLK. (It is possible to select both clock edges, this will require a hardware change that must be ordered specifically. It is recommended to use the above scenario if at all possible)
C329-SPI-CO_UM_EN_20141014_RH
TecSys GmbH ••• Karl-Theodor-Str. 55 •••• D– 80803 München •••• Tel +49 89 321 990-0 •••• www.tecsys.de
Figure 3 – SPI Timing
Command Set
The C329-SPI module supports the following commands:
Command
Cmd Token
Parameter 1
Parameter 2
Parameter 3
Parameter 4
INITIAL FFFFFF01h 00h Colour Type Preview Res. Compres. Res
GET PIC FFFFFF04h Pic. Type 00h 00h 00h
SNAPSHOT FFFFFF05h Snapshot Type
00h 00h 00h
RESET FFFFFF08h Reset Type 00h 00h 00/FFh
POWER OFF FFFFFF09h 00h 00h 00h 00h
DATA FFFFFF0Ah Data Type Length Byte 0 Length Byte 1 Length Byte 2
SYNC FFFFFF0Dh 00h 00h 00h 00h
ACK FFFFFF0Eh Cmd Token ACK counter 00h 00h
NAK FFFFFF0Fh 00h NAK counter Err. Number 00h
QUALITY FFFFFF10h Quality Level 00h 00h 00h
Loading...
+ 7 hidden pages