July 1998-2
XRD9829REF
USER MANUAL
CIS 30-BIT COLOR SINGLE LINE SCANNER
EXAR Corporation, 48720KatoRoad, Fremont, CA94538• (510)668-7000• FAX(510)668-7017
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
DATA
FLIP-
FLOP
FIFO
SRAM
DATA
CIS OUTPUT
PARALLEL
PORT DB25
CONNECTOR
DATA
XRD9829
5-BIT BUS NIBBLE
1.25V
DC
INTEL 486 Compatible
FLIP-
FLOP
FIFO
SRAM
DATA
DATA
XRD9829 CONTROL SIGNALS
MACH435 CPLD
CIS CONTROL SIGNALS
PARALLEL PORT CONTROL
Figure 1. Block Diagram of XRD9829REF
TheXRD9829isacompletelinearCISorCCDsensorsignalprocessoronasinglemonolithic
chip. The XRD9829 includes a high speed 10-Bit ADC, a 6-Bit Programmable Gain Amplifier
withgainadjustmentof1to10andan8-Bitprogrammableinputreferredoffsetcalibrationrange
of 800 mV. See the XRD9829EVAL User Manual / PCB board for evaluating the XRD9829
CIS / CCD signal processor chip.
Rev.1.00
3
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
AVDD
Power
Down
VIN0
DVDD
VIN1
VIN2
VIN3
4-1
+
_
MUX
VRT
VREF+
BUFFER
10
5
DATA
OUT
10-BIT
ADC
RL
PGA
DB4:0 / DB9:5
DGND
PORT
V
V
DCEXT
DCREF
VRB
INT/EXT_V
DCREF
6
G<5:0>
6-BIT GAIN
REGISTER
CLP
AVDD
AGND
Power
Down
MUX SEL
DC/AC
AGND
8-BIT DAC
AGND
8
O<7:0>
CIS/CCD
ADCCLK
PDB
8-BIT OFFSET
REGISTER
VRT
CCD
SCLK
SDATA
LD
CIS
CONTROL LOGIC
Figure 2. Functional Block Diagram of XRD9829
OPERATIONALPROCEDURE
The routine listed below will first calibrate the photo response of the CIS using the XRD9829.
Aftercalibration,theXRD9829REFcanbeusedtoscananycolortargettoshowCISnon-color
corrected response. (Color correction is typically done in the digital asic.)
HowtoRuntheXRD9829REFDemonstration:
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 port of the computer
3. Connect the AC power adapter into a wall outlet
4. Turn on the computer and activate Windows 95
LoadingEXARSoftware
5. Load the diskette labeled ScanIt 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
Rev.1.00
4
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
ParallelPortConfigurations
9. Confirm the parallel port address as follows:
a. Select the Start Menu, choose Settings, then choose Control Panel
b. From the Control Panel window which pops up, double-click on System
c. In the System Properties window, select Device Manager
d. From the Device Manager window, double-click on Ports (COM & LPT)
e. Double-click on Printer Port (LPT1). If you can not find it, please goto Step 10
f. From the pop-up window, select Resources
g. Verify the Input/Output Range is set to 0378 - 037F
h. If the range is not correct, clear the Use Automatic Settings check box by
clicking it
i. Choose correct address which is 0378 by default and click OK
j. 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:
a. From the Control Panel window which pops up, double-click on Add New Hardware
b. From the pop-up window, click the Next > button
c. Select ‘No’ when prompted for ‘Do you want Windows to search for your new
hardware?’, then click the Next > button
d. Choose Ports (COM & LPT), then click the Next > button
e. Choose Printer Port, then click the Next > button
f. Make a note of the Input/Output Range of Printer Port of your computer and click
OK.
g. You will use these values later when configure the ScanIt software
h. Re-start the computer as advised
OffsetAdjustmentWithaBlackTarget
11. Set the dip switches located on the side panel of the scanner to 1100010000 as shown
in Figure 2 and push the Serial Port button which is located on the front panel of the
demo system. This will reset the XRD9829.
Rev.1.00
5
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
S S D D D D D D D D
1
0
7
6
5
4
3
2
1
0
1
0
Figure 3. Dip Switches Set to Value 1100010000 to Reset the XRD9829
Rev.1.00
6
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
ControlRegisters
Function
(Register
S1/S0)
D7
D6
D5
D4
D3
D2
D1
D0
Power-up
State
(Note 1)
Gain
(00)
G5
O7
G4
O6
G3
O5
G2
O4
G1
O3
G0
O2
X
X
000000XX
01000000
(MSB)
(LSB)
Offset
O1
O0
(01)
(MSB)
X
(LSB)
Mode
X
VRT
INPUTDC
DC/AC
CIS/CCD
MUXSEL
MUXSEL
XX000000
(10)
0:INTERNAL
1:EXTERNAL
0:INTERNAL
REFERENCE
0: DC
1: AC
0: CIS
1:CCD
(VDCREF
)
0 0: VIN0
0 0: VIN0
(VDCREF
AGND)
=
0 1: VIN1
1 0: VIN2
0 1: VIN1
1 0: VIN2
1:EXTERNAL
1 1: VIN3
TEST2
1 1: VIN3
(VDCREF=VDCEXT
)
Mode
&Test
(11)
X
X
X
DIGITALRESET
TEST3
TEST1
X
XXX0000X
0: NO RESET
1:RESET
0:TEST3
DISABLED
0:TEST2
DISABLED
0:TEST1
DISABLED
1: VIN1 PIN
TIEDTO
(REGISTERSARE
RESETTO
1:OUTPUT
OFBUFFER
TIEDTOVIN3
PIN (VIN3 PIN
(VIN2 PIN
1:OUTPUT
OF PGA
POWER-UP
STATES)
TIEDTO
INPUTOF
ADC
VIN2 PIN
BECOMES
(PGAOUTPUT
DISCONNECTED
FROMINPUT
ANOUTPUT)
BECOMES
ANOUTPUT)
OFADC)
Table 1. Control Register Description for XRD9829
Note:
1These are the control register settings upon initial power–up. The previous register settings are retained following a
logic power-down initiated by the PDB signal.
Rev.1.00
7
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
12. Select the Start Menu, choose Programs, then choose XRD9829REF 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 3 shows the pop-
up window when ScanIt is first
e
Figure 4. ScanIt Software Window Before Scanning
14. Select SETUP from the pull-down menu and choose I/O ADDRESS. In the window
thatpops up, type in the Input/Output Range of Printer Port of your computer. The
default setting is 378H.
Rev.1.00
8
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
15. Pick the black target out from the kit and put it on a flat area. Place the XRD9829REF
on top of the black target with the CIS sensor facing downwards. From the CAPTURE
menu select SNAP SHOT for a single line scan of the black target with the dip
switches set to zero. A typical result of a black target scan is shown below:
Figure 5. Non-calibrated Black Target Scan
16. Set the dip switches to 1000010000 to select the external DC reference for the 1.25V
global offset adjustment. Push the Serial Port button. The XRD9829 will subtract
whatever voltage appears on Pin 16, in this case, 1.25V, from the input. From the
CAPTURE menu select SNAP SHOT. A typical result of the global offset adjustment
is shown below. Please notice that the black code value has moved down.
Rev.1.00
9
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Figure 6. Black Target Scan After Global Offset Adjust
Rev.1.00
10
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
XRD9829
VDD
VIN0 - VIN2
VRT
C
I
S
VIN0
VIN3
RL
5V
100K
34K
VRB
Figure 7. Simplified Block Diagram Showing Global Offset Adjustment by XRD9829
UsingExternalResistorLadder
17. Set the dip switches to 0111000000 to select the internal offset DAC for fine offset
adjustment. Push the Serial Port button. From the CAPTURE menu select SNAP
SHOT. The offset should now move the output of the CIS to almost zero scale.
Please refer to data sheet for offset adjustment. A typical result of the fine offset
adjustment is shown below.
Rev.1.00
11
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Figure 8. Black Target Scan After Global and Fine Adjust
Rev.1.00
12
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
XRD9829
VDD
VRT
C
I
VIN0
RL
S
8-Bit Offset
DAC
VRB
Figure 9. Simplified Block Diagram Showing Fine Offset Adjustment by XRD9829
18. Switch the black target to the enclosed white target. From the CAPTURE menu select
SNAP SHOT for a single line scan of the white target. A typical result of a white
target is shown below.
Rev.1.00
13
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Figure 10. White Target Scan Without Gain Adjustment
19. Set the dip switches to 0000000100 to select the desired gain. Push the Serial Port
button. From the CAPTURE menu select SNAP SHOT. The gain should move the
output of the CIS to almost full scale. Please refer to data sheet for further gain
adjustment and optimal values of dip switches for your scanner. A typical result of the
white target with gain adjustment is shown below.
Rev.1.00
14
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Figure 11. White Target Scan After Gain Adjustment
Rev.1.00
15
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
XRD9829
VDD
VRT
VIN0
C
I
RL
PGA
S
VRB
6-Bit Gain Register
Figure 12. Simplied Block Diagram Showing Gain Adjustment by XRD9829
20. Once the XRD9829 has been fully calibrated, any target can be scanned. For
example: Scan a gray scale to demonstrate the stair step response or a color
target for color responsitivity
Rev.1.00
16
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Figure 13. Gray-scale Target Scan
Important:
1. If at any time an unexpected result is shown or the demo system seems to not
working, please pull the AC adapter out from the wall outlet to cycle power. Start the
procedures again from Step 11.
2. Keep the scanner away from other electrical equipment, power cords, light dimmers
etc. as stray electrical fields can end up in the digitized data.
Rev.1.00
17
Download from Www.Somanuals.com. All Manuals Search And Download.
R
SchematicsforXRD9829REF
Page 1 of 3.
Download from Www.Somanuals.com. All Manuals Search And Download.
R
SchematicsforXRD9829REF
Page 2 of 3.
Download from Www.Somanuals.com. All Manuals Search And Download.
R
SchematicsforXRD9829REF
Page 3 of 3.
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Notes
Rev.1.00
21
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Notes
Rev.1.00
22
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
Notes
Rev.1.00
23
Download from Www.Somanuals.com. All Manuals Search And Download.
XRD9829REF
NOTICE
EXAR Corporation reserves the right to make changes to the products contained in this publication in order to
improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any
circuits described herein, conveys no license under any patent or other right, and makes no representation that
the circuits are free of patent infringement. Charts and schedules contained here in are only for illustration
purposes and may vary depending upon a user’s specific application. While the information in this publication
has been carefully checked; no responsibility, however, is assumed for in accuracies.
EXAR Corporation does not recommend the use of any of its products in life support applications where the
failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to
significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless
EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has
been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately
protected under the circumstances.
Copyright1998EXARCorporation
Datasheet July 1998
Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.
Rev.1.00
24
Download from Www.Somanuals.com. All Manuals Search And Download.
|