• No results found

ESKI - MODULE DOCUMENTATIONCC – Camera Configuration

N/A
N/A
Protected

Academic year: 2021

Share "ESKI - MODULE DOCUMENTATIONCC – Camera Configuration"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

Page 1 of 5

ESKI - MODULE DOCUMENTATION CC – Camera Configuration

CLK

RESET

SNAP_VIDEO

GAIN<3:0>

FR_RATE<4:0>

TH1<7:0>

SDA

MCLK

CC

SCLK

CONFIGURED

RESET_CAM

OFFSET<5:0>

AUTO_UPD

CONFIG TH2<7:0>

SLOPE1<13:0>

SLOPE2<13:0>

Module responsible _______________________

Specification responsible Mattias O’Nils

Designers ____________________________________________

General description: CC (Camera configuration) module initiates the register file of the image sensor so that is will capture images as specified by the in signals of the CC module.

(2)

CONTENTS

Page

1. SPECIFICATION...3

1.1 INTERFACEDESCRIPTIONDIGITALSIGNALS...3

1.2 HIERARCHY...4

1.3 FUNCTIONALITY...4

1.3.1 Camera configuration...4

1.4 DATAFLOWCONTROLANDSYNCHRONIZATION...4

1.4.1 Initialization...4

1.4.2 Synchronization...4

1.4.3 Design goal...4

2. DESCRIPTION OF IMPLEMENTATION...5

3. VERIFICATION...5

4. DELIVERABLES...5

4.1 Digital modules...5

Rev Date Description of modification Sign

0 Initial issue

Page 2 of 5

(3)

1. Specification

1.1 Interface description digital signals Inputs, outputs and bidirs in alphabetic order.

Input signals

Signal name From Input delay Description

CLK CI - Clock

CONFIGURE CI 20 ns Configure camera with current settings FR_RATE<4:0> CI 20 ns Frame rate (1-30 frames/s)

GAIN<3:0> CI 20 ns Pixel amplifier gain TH1<7:0> CI 20 ns Pixel transfer function TH2<7:0> CI 20 ns Pixel transfer function SLOPE1<13:0> CI 20 ns Pixel transfer function SLOPE2<13:0> CI 20 ns Pixel transfer function OFFSET<5:0> IC 20 ns Pixel offset value

RESET CI 20 ns Reset

SNAP_VIDEO CI 20 ns Video or still image mode

AUTO_UPD IC 20 ns Update offset, gain and gamma

automatically Output signals

Signal name To Output

delay

Description

CONFIGURED CI 20 ns Indicates that the camera is configured

MCLK IS 20 ns Master clock reference to camera

RESET_CAM IS 20 ns Reset camera

SCLK IS 20 ns I2C clock

SDA IS 20 ns I2C data signal

Page 3 of 5

(4)

1.2 Hierarchy

Hierarchy of module CC:

No hierarchy is given

1.3 Functionality

1.3.1 Camera configuration

The camera configuration module sets the necessary values in the camera’s register file to meet the specified settings of the input signals (SNAP_VIDEO, GAIN, FR_RATE, GAMMA).

The configuration is started by asserting the CONFIGURE signal (self negated). When the configuration is done, the CONFIGURED signal is asserted.

1.4 Dataflow control and synchronization 1.4.1 Initialization

After system reset, the CC waits for the CONFIGURE signal to be asserted.

1.4.2 Synchronization

The configuration of the image sensor (IS) is done using the standard configuration protocol I2C.

1.4.3 Design goal

Frequency: Meeting the I2C standard.

Page 4 of 5

(5)

2. Description of implementation

The implementation strategy should be described here. If special techniques have been used to fulfill the Design goal demands, this should be pointed out.

3. Verification

Describe the strategy used for verifying that the module works according to specification.

 How is the module simulated?

 Is a prototype needed?

 Which functions and parameters are covered and which are not covered by the simulations? (referred to specification)

 How is the other functions and parameters verified?

 What are the results compared to (Matlab model, C-program, Behavioral model, manually from specification, other)

4. Deliverables

4.1 Digital modules

The following documents should be included in the module documentation:

 RTL-code(s)

 Schematics

 Test bench(es)

 Prototype(s)

The following documents may be included in the module documentation (optional):

 Result from simulation

 Synthesis script

 Synthesis constraints (if other than project common constraints)

 Synthesis report(s)

Page 5 of 5

References