background image

EVBUM2277/D

http://onsemi.com

2

Figure 1. Serial Input Timing

SLOAD_INPUT

SDATA_INPUT

SCLK_INPUT

DS2

DS1

DS0

R/W

A0

A1

A2

A3 (or T

est)

D0

D1

D2

D3

D4

Dn

ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ

ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ

(decoded PLD output)

SLOAD_xxx

The first 3 bits in the datastream are the Device Select bits

DS[2..0], sent MSB first, as shown in Figure 1. The Device
Select bits are decoded as shown in Table 2.

The next bit in the datastream is the Read/Write bit (R/W).

Only writing is supported; therefore this bit is always LOW.

The definition of next four bits in the datastream depends

on the device being addressed with the Device Select bits.
For the KSC−1000 device, they are Register address bits
A[0..3], LSB first. For the AD9845A AFE, they are Register
Address bits A[0..2], LSB first, followed by a Test bit which
is always set LOW.

The remaining bits in the bitstream are Data bits, LSB

first, with as many bits as are required to fill the appropriate
register.

AFE Default Initialization

Upon power up, or when the BOARD_RESET button is

pressed, the PLD programs the registers of the two AFE
chips on the Timing Generator Board to their default settings
via the 3-wire serial interface. See Table 9 for details.
The AD9845A AFE must be reprogrammed on power-up,
as it does not retain register settings when power is removed.

Figure 2. AFE Initialization Timing

R/W

A0

A1

A2

T

est

D0

D1

D3

D4

ÏÏÏÏÏÏÏ

ÏÏÏÏÏÏÏ

ÏÏÏÏÏÏÏ

ÏÏÏÏÏÏÏ

SLOAD_AFE_x

SDATA

SCLK

D5

D6

D7

D8

D9

D10

D2

The data for each AFE register is formatted into two bytes

of data, as shown in Figure . The Read/Write bit is always
low, and the Address bits specify the register being
programmed, as shown in Table 9. Each byte is read into an
8-bit shift register, and is shifted out as a serial stream of
eight bits. Each register in the AFE is programmed in this
fashion until the entire AFE is programmed.

KSC−1000 Default Initialization

Upon power-up, or when the BOARD_RESET button is

pressed, the Altera PLD programs the registers of the
KSC−1000  chip on the AFE Timing Generator Board to
their default settings via the 3-wire serial interface.

The default settings are selected by the user through the PLD
inputs SW[7..0] and DIO[15..0] (See Table 10 through
Table 24 for details). The KSC−1000 must be
reprogrammed on power-up, as it does not retain register
settings when power is removed.

The KSC−1000 default settings automatically

programmed by the PLD allow the Evaluation Board Kit
user to operate the CCD image sensor with minimal
intervention and no programming. The default settings are
chosen to comply with the CCD device specification (See

References

). The registers, line tables and frame tables

described in this document also serve as examples for those
who wish to create their own KSC−1000 timing.

Summary of Contents for KAI-2093

Page 1: ...ogrammable Logic Device PLD serves as a state machine which performs a variety of functions Three basic functions are required common to all CCD image sensor configurations serial input steering AFE d...

Page 2: ...s when power is removed Figure 2 AFE Initialization Timing R W A0 A1 A2 Test D0 D1 D3 D4 SLOAD_AFE_x SDATA SCLK D5 D6 D7 D8 D9 D10 D2 The data for each AFE register is formatted into two bytes of data...

Page 3: ...ariable PLD State Machine The Altera PLD contains a State Machine that parallels the operation of the KSC 1000 The PLD controls the KSC 1000 through the VD_TG output and monitors several of the KSC 10...

Page 4: ...d remote digital inputs DIO 15 0 and a 3 wire serial interface through Timing Board connector J7 Timing Board signals and various outputs from the KSC 1000 Timing Generator The KSC 1000 outputs are mo...

Page 5: ...d for KAI 2093 Operation VD_TG Control Signal to KSC 1000 ARSTZ Asynchronous Reset to KSC 1000 from DIO14 KAI 2093 TIMING CONDITIONS System Timing Conditions Table 6 SYSTEM TIMING Description Symbol T...

Page 6: ...uts DIO 11 7 See Table 14 and Table 25 When changing the integration time the user must initiate a Board Reset for the change to take effect either by pressing the BOARD_RESET button S1 on the Timing...

Page 7: ...Free Running Single Channel and Dual Channel modes and Frame Table 1 is used for Single Channel 2 2 Binning mode The default setting depends on the position of SW2 Table 10 REGISTER 0 DEFAULT SETTING...

Page 8: ...t is used to halt execution of the KSC 1000 timing sequences and to enable programming of the registers The KSC 1000 Initialization sequence begins with setting the Memory Table Mode bit in Register 2...

Page 9: ...DEFAULT SETTING DIO 11 7 Frame Flush Integration Free Running Mode Integrate Start Pulse Line Number 0 12 0 1 2040 Default No Pulse 1 1 8 966 2 1 4 828 3 3 8 690 4 1 2 552 5 5 8 414 6 3 4 276 7 7 8 13...

Page 10: ...RG_OFFSET 0 5 0 0 RESET SH2_OFFSET 0 5 31 31 SHP1 SH1_OFFSET 0 5 31 31 SHP2 SH4_OFFSET 0 5 63 63 SHD1 SH3_OFFSET 0 5 63 63 SHD2 DATACLK1_OFFSET 0 5 42 42 ADCLK to AFEs DATACLK2_OFFSET 0 5 0 0 DATACLK...

Page 11: ...Force INTG_STRT 0 0 0 0 3 4 Horizontal Binning Factor 0 0 0 0 5 HCLK_V Enable 0 0 0 0 6 LINE_VALID Enable 1 0 0 0 7 FRAME_VALID Enable 1 0 0 0 8 Video Amplifier Enable 0 0 0 0 9 AFE Clock Enable 1 1...

Page 12: ...ee Figure 4 Table 20 LINE TABLE 0 DEFAULT SETTING CCD Signal Line Table Data Name LT0 Entry 0 1 2 3 4 5 6 Count 0 12 1 3 30 2 30 1 0 HCLK_H Enable 0 0 0 0 0 1 0 FDG V6 0 0 0 0 0 0 0 V5 0 0 0 0 0 0 0 V...

Page 13: ...rval followed by Horizontal Register readout See Figure 7 Table 23 LINE TABLE 3 DEFAULT SETTING CCD Signal Line Table Data Name LT3 Entry 0 1 2 3 4 5 6 7 8 9 Count 0 12 1 1 30 1 30 1 30 1 30 0 HCLK_H...

Page 14: ...out through the output amplifier s Figure 4 Line Table 0 Default Timing LT0 Entry V1_CCD V2_CCD 0 1 2 3 5 1 3 30 2 1 30 Pix Counts not to scale HCLK_ENABLE VLOW VMID VLOW VMID H1A_CCD H2A_CCD 4 TVD T...

Page 15: ...asserted twice per line This effectively sums two pixels worth of charge into each Horizontal CCD pixel After the binning line transfer the Horizontal clocks are run in Binning Mode Figure 7 Line Tabl...

Page 16: ...epeats with the next Line Transfer sequence Execute LT1 DIODE XFR Count 1 DIO 11 7 1 2 7 Set INTEGRATE Wait for INT ctr Execute LT0 LINE XFR Count 1214 Wait for FRAME_VALID falling edge Execute LT5 Wa...

Page 17: ...RANSFER PLD STATE TIMED_INTEGRATION Electronic Shutter Timing The electronic shutter timing is controlled by the values in Register 3 of the KSC 1000 There are two methods of actuating the Electronic...

Page 18: ...reset to VRD the Reset Drain voltage See the KAI 2093 Device Specification References for further details In order to correctly convert the output amplifier voltage to digital data the AFE clocks must...

Page 19: ...Pulse Line Number value of the KSC 1000 Register 4 The Altera PLD has 8 pre programmed Shutter settings controlled through the DIO 11 7 bits as shown in Table 14 and Table 25 These settings result in...

Page 20: ...2040 No Shutter 0 140 13 50 2040 No Shutter 0 165 14 70 2040 No Shutter 0 185 15 100 2040 No Shutter 0 215 16 200 2040 No Shutter 0 315 17 300 2040 No Shutter 0 415 18 400 2040 No Shutter 0 515 19 500...

Page 21: ...igure 16 Free Running Mode Default Integration Timing V1_CCD V2_CCD VD_TG FRAME_VALID LINE_VALID FT0 Entry 2 0 1 0 Line Table 1 1104 Counts 1 4 x not to scale INTEGRATE 0 DIO 11 7 1ms Clock Integratio...

Page 22: ...nts 1 4 x not to scale INTEGRATE DIO 11 7 1ms Clock Integration Count 0 VES shutter 1 Shutter Line 966 1 2 3 4 5 965 966 1104 1103 Figure 18 Free Running Mode Extended Integration Timing V1_CCD V2_CCD...

Page 23: ..._OUT2 9 10 9 10 IMAGER_IN10 FDG V1 TIMING_OUT3 13 14 13 14 IMAGER_IN9 V3RD V2 TIMING_OUT4 17 18 17 18 IMAGER_IN8 V3 TIMING_OUT5 21 22 21 22 IMAGER_IN7 V2 V4 TIMING_OUT6 25 26 25 26 IMAGER_IN6 V1 RG TI...

Page 24: ...Digital Out Analog Front End Op Amp Buffer Av 1 25 5V 5V 5V 5V CCD AFE 2 stage prog gain Timing Board Imager Board WARNINGS AND ADVISORIES When programming the Timing Board the Imager Board must be di...

Page 25: ...under its patent rights nor the rights of others SCILLC products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applicat...

Reviews: