... the analog plus comp
EXAR Corporation 48720 Kato Road, Fremont, CA 94538 Phone (510)-668-7000, Fax (510)-668-7030
TM
PRELIMINARY
EVALUATION KIT PART LIST
This kit contains the following:
• XRD9827REF CIS 36-Bit Color Single Line Scanner
• XRD9827REF User Manual
• SenseIt 1.0 Software Installation Diskettes (2)
• XRD9827 Data Sheet
• Scan Targets (Black, White, Color)
FEATURES
• One line scanning functionality of XRD9827 with CANON 600DPI CIS (Contact Image Sensor)
• Easy to use with most personal computers through Parallel Port Interface
• Simple way of loading the Serial Port of XRD9827 to adjust gain and offset
• Software SenseIt 1.0 to view single line scan
• Optimized PCB Layout with Four Layer
SYSTEM REQUIREMENTS
• Intel 486 compatible computer with Windows 95 operating system
• 8 MBytes system memory
• 25-pin D-shape parallel port receptacles
• 3 1/2” floppy disk drive
INTRODUCTION
The XRD9827REF is a demo system which includes a PCB design with a CANON CVA-60216K 600DPI
Color Contact Image Sensor (CIS). It demonstrates how to interface a CIS with EXAR’s XRD9827, a 12bit Linear CIS/CCD Sensor Signal Processor to output a single line scan and display the amplitude of each
of the three colors. The XRD9827REF is designed to provide a signal path for the CIS output signals to be
processed, digitized by the XRD9827 and transmitted to a personal computer. There are no software
algorithms or hardware implementations, for example, gamma correction, to adjust for color response.
The XRD9827REF board is loaded with the XRD9827, a Vantis MACH435 CPLD, two FIFO SRAMs and
peripheral circuits for the CIS. The MACH435, which is a CMOS Programmable Logic Device (CPLD)
provides timing signals to the XRD9827, the SRAMs and the CIS. It also programs the XRD9827 to
operate in the correct mode and adjust for gain and offset values. The XRD9827 processes the analog
output from the CIS sensor, level-shifts and converts the signal into 12-bit digital codes. The SRAMs gate
the digitized data from the XRD9827 and stores the data temporarily. Controlled by the software, the
SRAMs send the data through a parallel port connection to the PC and histograms of raw data are
displayed in the monitor using the SenseIt software. A block diagram of the XRD9827REF is shown below
in Figure 1.
2
... the analog plus comp
TM
EXAR Corporation 48720 Kato Road, Fremont, CA 94538 Phone (510)-668-7000, Fax (510)-668-7030
PRELIMINARY
FIFO
SRAM
CANON CVA-60216K 600DPI COLOR CIS
CIS OUTPUT
CIS REFERENCE
VOLTAGE
XRD9827
XRD9827 CONTROL SIGNALS
CIS CONTROL SIGNALS
6-BIT BUS NIBBLE
FIFO
SRAM
MACH435 CPLD
Figure 1. Block Diagram of XRD9827REF
The XRD9827 is a complete linear CIS or CCD sensor signal processor on a single monolithic chip. The
XRD9827 includes a high speed 12-Bit ADC, a 6-Bit Programmable Gain Amplifier with gain adjustment
of 1 to 10 and an 8-Bit programmable input referred offset calibration range of 800 mV. The XRD9827
also provides the necessary biasing voltage for the CANON CIS, eliminating the use of external
components (two diodes and two resistors). See the XRD9827EVAL User Manual / PCB board for
evaluating the XRD9827 CIS / CCD signal processor chip. A simplified functional block diagram of
XRD9827 is shown below for your reference.
8-BIT DATA
8-BIT DATA
PARALLEL PORT CONTROL
PARALLEL
PORT DB25
CONNECTOR
DATA
INTEL 486 Compatible
3
... the analog plus comp
TM
EXAR Corporation 48720 Kato Road, Fremont, CA 94538 Phone (510)-668-7000, Fax (510)-668-7030
PRELIMINARY
DB7:0
VREF+
DVDD
8
I/O
DATA
PORT
Down
Power
AVDD
12
ADC
12-BIT
RL
VRT
VRB
G<5:0>
6
PGA
DGND
6-BIT GAIN
AVDD
Down
Power
REGISTERS
R G B
AGND
AGND
8-BIT DAC
CLAMP
SYNCH
O<7:0>
8
REGISTERS
8-BIT OFFSET
ADCCLK
TIMING &
CONTROL LOGIC
R G B
Biasing Circuit for CANON
CIS
VBG
BUFFER
_
S/H
RED
&
+
3-1
MUX
CLAMP
GRN
BLU
DCREF
DCREF
V
INT/EXT_V
CLP
DC/AC
CIS/CCD
AGND
CIS
VRT
CCD
VDCEXT
Figure 2. Simplified Functional Block Diagram of XRD9827
OPERATIONAL PROCEDURE
The routine listed below will first calibrate the photo response of the CIS using the XRD9827 by optimize
its offset and gain. After calibration, the XRD9827REF can be used to scan any color target to show CIS
non-color corrected response. (Color correction is typically done in the digital ASIC.)
4
... the analog plus comp
EXAR Corporation 48720 Kato Road, Fremont, CA 94538 Phone (510)-668-7000, Fax (510)-668-7030
TM
PRELIMINARY
How to Run the XRD9827REF Demonstration
1. Make sure the computer is powered off and the AC power adapter is disconnected from a wall outlet
2. Connect the parallel port cable to the printer po rt of the computer
3. Connect the AC power adapter into a wall outlet
4. Turn on the computer and activate Windows 95
Loading EXAR Software
5. Load the diskette labeled SenseIt 1.0 Disk # 1 into the floppy drive
6. Select the Start menu in the program manager and choose RUN
7. Inside the small pop-up window, type: A:\setup
8. Follow the instructions to finish software installation
Parallel Port Configurations
9. Confirm the parallel port address as follows:
I. Select the Start Menu, choose Settings, then choose Control Panel
II. From the Control Panel window which pops up, double-click on System
III. In the System Properties window, select Device Manager
IV. From the Device Manager window, double-click on Ports (COM & LPT)
V. Double-click on Printer Port (LPT1). If you can not find it, please goto Step 10
VI. From the pop-up window, select Resources
VII. Verify the Input/Output Range is set to 0378 - 037F
VIII. If the range is not correct, clear the Use Automatic Settings check box by clicking it
IX. Choose correct address which is 0378 by default and click OK
X. Re-start the computer as advised
10. If you do not have a Printer Port configured on your computer, please follow the steps listed below:
I. From the Control Panel window which pops up, double-click on Add New Hardware
II. From the pop-up window, click the Next > button
III. Select ‘No’ when prompted for ‘Do you want Windows to search for your new
hardware?’, then click the Next > button
IV. Choose Ports (COM & LPT), then click the Next > button
V. Choose Printer Port, then click the Next > button
VI. Make a note of the Input/Output Range of Printer Port of your computer and click OK.
You will use these values later when configure the SenseIt software
VII. Re-start the computer as advised
Offset Adjustment With a Black Target
11. Set the dip switches located on the side panel of the scanner to [110 01000000] as shown in Figure 3
and push the Serial Port button which is located on the front panel of the demo system. This will reset the
XRD9827.
5
... the analog plus comp
EXAR Corporation 48720 Kato Road, Fremont, CA 94538 Phone (510)-668-7000, Fax (510)-668-7030
TM
PRELIMINARY
S1S
S
2
D7D
0
6
D5D
4
D
3
D2D
1
D
0
1
0
Figure 3. Dip Switches Set to Value [110 01000000] to Reset XRD9827
12. Select the Start Menu, choose Programs, then choose SenseIt icon
13. A window will pop up as shown below. The upper window shows the plot of captured data and the
lower window shows the histogram of data. Figure 4 shows the pop-up window when SenseIt is first
started.
6