The LM9833 is a complete USB image scanner system on a single IC. The LM9833 provides all the functions (image sen sor
control, illumination control, analog front end, pixel processing
function image data buffer/DRAM controller, microstepping
motor controller, and USB interface) necessary to crea te a high
performance color scann er. The LM9833 scans imag es in 48 bit
color/16 bit gray, and has output data formats for 48 and 24bit
color/16 and 8 bit gray. The LM9833 su pp orts sensors with pixel
counts of up to 16384 pixels x 3 colors (1200 dpi x 13.6 inches).
The LM9833’s low operating and suspend mode supply currents
allow design of USB bus- powe re d scan ne rs. T he only a dditional
active components required are an external 4Mbit or 16Mbit
DRAM for data bufferi ng and power transistors fo r the stepper
motor.
Applications
•
Color Flatbed Document Scanners
•
Color Sheetfed Document Scanners
Key Specifications
•
Analog to Digital Converter Resolution16 Bits
•
Maximum Pixel Conversion Rate6MHz
•
A4 Color 150dpi scan time<10 seconds
•
A4 Color 300dpi scan time<40 seconds
•
A4 Color 600dpi scan time<160 seconds
•
Supply Voltage
- LM9833+4.75V to +5.25V
- LM9833 DRAM I/O+2.85 to +5.25V
•
Maximum Operating Current Consumption136mA
•
Maximum Suspend Current Consumption175µA
Features
• 16 bit ADC digitizes at up to 6Mpixels/s (2M RGB pixels/sec).
• Digital Pixel Processing provid es 1200, 800, 600, 400, 300,
200, 150, and 100dpi horizontal resolution from a 1200dpi
sensor and 600, 400, 300, 200, 150, 100, 75, and 50dpi
horizontal resolution from a 600dpi sensor.
• Provides 50-2400dpi vertical resolution in 1 dpi increments.
• Pixel rate error correction for gain (shading) and offset errors.
• Supports 4 or 16Mbit external DRAMs.
• Multiple CCD clocking rates allows matching of CCD clock to
scan resolution and pixel depth for maximum scan speed.
• Stepper motor control ti ghtly coupled with imag e data buffer
management to maximize data transfer efficiency.
• PWM stepper motor current control allows microsteppi ng for
the price of fullstepping.
• USB interface f or Plug and P lay o peration on U SB-equipp ed
computers.
• Serial EEPROM option for custom Vendor and Product IDs.
• Support for USB bus-powered operation.
• Pixel depths of 1, 2, or 4 bits are packed into bytes for faster
scans of line art and low pixel depth images.
• Supports 3 channel CCDs and 1 channel CIS sensors.
• 3 (R, G, and B) 12-bit, u ser-programmable gam ma cor rect ion
tables.
• Compatible with a wide range of color linear CCDs and
Contact Image Sensors (CIS).
D+, D-Digital I/O. USB Interface signals
BUS POWER
ACTIVE/
SUSPENDED
SDADigital I/O. Serial Data to/from external
SCLDigital Output. Serial Clock Output to externa l
Digital Input. Tie low for bus powered systems, tie high for external power.
Digital Output. Low in Suspend mode. High in
operational mode. Used to control external
regulators, other components.
EEPROM.
EEPROM.
Analog
OSR,
OS
,
G
OS
B
V
REF LO
V
REF MID
V
REF HI
V
BANDGAP
Analog Inputs. The se inpu ts (for Re d, Green ,
and Blue) should be tied to the sensor ’s output signal through DC bloc king capacitors. If
unused, tie to ground through DC blocking
capacitors.
Analog Output/Input . Bypass to AGND with a
0.047µF monolithic capacitor. Do not put a
DC load on this pin.
Analog Output/Input . Bypass to AGND with a
0.047µF monolithic capacitor. Do not put a
DC load on this pin.
Analog Output/Input . Bypass to AGND with a
0.047µF monolithic capacitor. Do not put a
DC load on this pin.
Analog Output. Bypass to AGND with a
0.047µF monolithic capacitor. Do not put a
DC load on this pin.
DRAM
D0 (LSB) -D15
(MSB)
RD
WR
A0-A9Digital Outputs. Addre ss pins for up to 1M x
RAS
CAS
Digital Inputs/Outp uts. This is the 16 bit data
path between the external DRAM and the
LM9833.
Digital Output. Read signal to external DRAM.
Digital Output. Write signal to external DRAM.
16 external DRAM.
Digital Output. Row Address Strobe signal.
Digital Output. Column Address Strobe sig-
nal.
Scanner Support I/O
PAPER
SENSE 1-2
MISC I/O 1-6Digital Inputs/Outputs. Programmable, used
Digital Inputs. P rogrammable, u sed for sensing home position, paper, front panel
switches, etc.
for front panel switches, status LEDs, etc. A t
power-on and in Susp end Mode, MISC I/Os
1-3 are inputs and MISC I/Os 4-6 are outputs.
Stepper Motor
A, B, A, BDigital Outputs. Pulses to stepper motor drive
SENSE
A
SENSE
B
SENSE
GND
circuitry.
,
Analog Inputs. Current sensing for stepper
motor’s PWM current control.
Analog Input. Ground sen se input for stepper
motor’s PWM current control.
Sensor Control
ø1Digital Output. CCD/CIS clock signal phase 1.
ø2Digital Output. CCD/CIS clock signal phase 2.
RSDigital Output. Reset pulse for the CCD/CIS.
CP1Digital Output. Clamp pulse for the CCD/CIS.
CP2Digital Output. Clamp pulse for the CCD/CIS.
TR1, TR2Digital Outputs. Transfer pulses for the
,
LAMP
R
LAMP
,
G
LAMP
B
CCD/CIS.
Digital Outputs. Us ed to control R, G, and B
LEDs of single output CIS, as well as brightness of CCFL. The CDS signal can be se en
on LAMP
7).
in a test mode (see registe r 5E, bi t
B
Master Clock Generation
CRYSTAL INDigital Input. Used with CRYSTAL OUT and
CRYSTAL
OUT
CRYSTAL
EXT CLOCK
24/48
an external 48MHz crystal to form a crystal
oscillator.
Digital Output. Used with CRYST AL IN and an
external 48MHz crystal to form a crystal oscillator.
/
Digital Input. Tie to DGND for operati on with
an external crystal. Pull up to V
CRYSTAL OUT with an external TTL or
CMOS clock source.
Digital Input. Tie to DGND for operation with a
48MHz crystal or exter nal clo ck. P ull up to V
for operation with a 2 4M H z crystal o r e xter na l
clock. NOTE: Operation at 24MHz is not guaranteed - always use a 48MHz crystal.
to drive
D
Miscellaneous
V
REGULATOR
RESETDigital input. Take high to force device into
TESTAnalog Output.
CMODEDigital Input. Test mode, always tie high.
Digital Output. This is the regu late d 3.3 V supply (generated from V
transceiver. It should be us ed as th e termina l
voltage for the 1.5k D+ pullup resistor, and
bypassed to DGND with a 0.047µF monolithic
capacitor.
Power On Reset state, low to exit reset state.
) that powers the USB
D
LM9833
D
3www.national.com
Pin Descriptions
Analog Power Supplies (4 pins)
LM9833
VA (2)This is the positive supply pin for the analog
AGND (2)This is the ground retu rn for the analog sup-
supply. It should be connected to a voltage
source of +5V and bypassed to AGND with a
0.1µF monolithic capacitor in parallel with a
10µF tantalum capacitor.
ply.
(Continued)
Digital Power Supplies (17 pins)
VD (5)This is the positive su pply pin for the digital
V
(3)This is the positiv e supply pin for the digital
DRAM
DGND (9)This is the ground return for V
supply. It should be connected to a voltage
source of +5V and bypassed to DGND with a
0.1µF monolithic capacitor.
supply for the LM9833’s external DRAM I/O. It
also powers th e A, B , A
outputs. It should be conne cted to a 3 or 5V
supply and bypassed to the closest DGND pin
with a 0.1µF monolithic capacitor.
, and B stepper motor
and V
D
DRAM
.
4www.national.com
LM9833
DRAM
(Notes 1 & 2)
)
+
+0.3V
Operating Ratings
Operating Temperature RangeT
LM9833CCVJD0°C≤T
V
Supply Voltage+4.75V to +5.25V
A
V
Supply Voltage+4.75V to +5.25V
D
V
Supply Voltage+2.85V ≤ V
DRAM
|V
|≤ 100mV
A-VD
Input Voltage Range-0.05V to V
Absolute Maximum Ratings
Positive Supply Voltage (V+=VA=VD=V
With Respect to GND=AGND=DGND6.5V
Voltage On Any Input or Output Pin-0.3V to V
Input Current at any pin (Note 3)±25mA
Package Input Current (Note 3)±50mA
Package Dissipation at T
ESD Susceptibility (Note 5)
Human Body Model2000 V
= 25°C(Note 4)
A
Machine Model250 V
Soldering Information
Infrared, 10 seconds (Note 6)235°C
Storage Temperature-65°C to +150°
Electrical Characteristics
The following specifications apply for AGND=DGND=0V, VA=VD=V
100%, unless otherwise noted. Boldface limits apply for T
A=TJ=TMIN
SymbolParameterConditions
Full Channel Characteristics (in units of 12 bit LSBs unless otherwise noted)
Resolution with No Missing Codes1612bits (min)
DNL
INL
V
OS1
V
OS2
V
OS3
Differential Non-Linear ity
(Note 14)
Integral Non-Lineari ty Error
(Notes 11 & 14)
Analog Channel Gain Constant
C
(ADC Codes/V), referred to 16 bi ts.
Pre-Boost Analog Channel Offset Error26
Pre-PGA Analog Channel Offset Error-30
Post-PGA Analog Channel Offset Error-26
Bias Current = 80%,
V
DRAM
Bias Current = 80%,
V
DRAM
Includes voltage reference
variation, gain setting = 1
Coarse Color Balance PGA Characteristics (Configuration Registers 3B, 3C, and 3D)
Monotonicity5bits (min)
(Minimum PGA Gain)PGA Setting = 00.93
G
0
(Maximum PGA Gain)PGA Setting = 313.00
G
31
x3 Boost Gain
x3 Boost Setting On
(bit B5 of Gain Register is set)
Gain Error at any gain (Note 13)0.3
Static Offset DAC Characteristics (Configuration Registers 38, 39, and 3A)
Monotonicity6bits (min)
Offset DAC LSB sizePGA gain = 19
Offset DAC Adjustment RangePGA gain = 1±278±256mV (min)
DRAM
=3.3V
=3.3V
=+5.0VDC, f
to T
CRYSTAL IN
; all other limits TA=TJ=25°C. (Notes 8, 9, & 10)
MAX
(Notes 1 & 2)
MIN≤TA≤TMAX
≤+70°C
A
≤ V
DRAM
+100mV
D
+
+ 0.05V
= 48MHz, Analog Bias Current =
Typical
(Note 9)
-0.45
+0.75
-2.3
+1.7
32768
2.94
Limits
(Note 10)
-0.9
+2.4
-8.5
+7.5
29648
37200
-34
+76
-80
+31
-75
+26
0.90
0.96
2.95
3.10
2.85
3.04
-0.6
+0.9
6
12
Units
(Limits)
LSB (min)
LSB (max)
LSB (min)
LSB (max)
LSB (min)
LSB (max)
mV (min)
mV (max)
mV (min)
mV (max)
mV (min)
mV (max)
V/V (min)
V/V (max)
V/V (min)
V/V (max)
V/V (min)
V/V (max)
% (min)
% (max)
mV (min)
mV (max)
5www.national.com
Electrical Characteristics
The following specifications apply for AGND=DGND=0V, V
100%, unless otherwise noted. Boldface limits apply for T
LM9833
(Continued)
A=VD=VDRAM
A=TJ=TMIN
=+5.0VDC, f
to T
CRYSTAL IN
; all other limits TA=TJ=25°C. (Notes 8, 9, & 10)
MAX
SymbolParameterConditions
CCD/CIS Source Requiremen ts for Full Spec ified Accura cy and Dynamic Range (Note 12)
V
CCDPEAK
Sensor’s Maximum Outp ut Sig nal
Amplitude before LM9833 Analog Front
End Saturation
Gain = 0.933
Gain = 3.0
Gain = 9.0
Analog Input Characteristics
Average OS
OS
R
, OSG, OSB Input CurrentCDS Enabled, OS = 3.5V
R
, OSG, OSB Input CurrentCDS Disabled, OS = 3.5V
DC
DC
Internal Voltage Reference Characteristics
V
BANDGAP
V
REF LO
V
REF MID
V
REF HI
V
REGULA-
TOR
Voltage Reference Output Voltage1.23V
Negative Reference Output VoltageV
Midpoint Reference Output VoltageVA/2.0V
Positive Reference Output Voltage
USB I/O Voltage Regulator3.3V
DC and Logic Electrical Characteristics
The following specifications apply for AGND=DGND=0V, VA=VD=V
f
CRYSTAL IN
= 48MHz. Boldface limits apply for TA=TJ=T
MIN
to T
SymbolParameterConditions
Digital Input Characteristics for D0-D15 (DRAM Interface)
V
V
V
C
Logical “1” Input Voltage
IN(1)
Logical “0” Input Voltage
IN(0)
Input Leakage Current±0.1µA
I
IN
Input Capacitance5pF
IN
V
V
V
DRAM
DRAM
DRAM
DRAM
Digital Input Characteristics for PAPER SENSE 1-2, MISC I/O 1-6, SDA, BUS POWER
CMODE
V
V
C
Logical “1” Input VoltageVD=5.25V2.0V (min)
IN(1)
Logical “0” Input VoltageVD=4.75V0.8V (ma x)
IN(0)
Input Leakage Current±0.1µA
I
IN
Input Capacitance5pF
IN
Digital Input Characteristics for D+, D-
V
V
C
Logical “1” Input VoltageVD=5.25V2.0V (min)
IN(1)
Logical “0” Input VoltageVD=4.75V0.8V (ma x)
IN(0)
Input Leakage Current±0.1µA
I
IN
Input Capacitance5pF
IN
=+5.0VDC unless otherwise noted,
DRAM
; all other limits TA=TJ=25°C. (Notes 8, 9, & 10)
MAX
=5.25V
=3.6V
=4.75V
=2.85V
= 48MHz, Analog Bias Current =
Typical
(Note 9)
1.9
0.6
0.19
Limits
(Note 10)
Units
(Limits)
V
V
V
±3nA
±26±30µA (max)
-1.0V
REF MID
V
+1.0V
REF MID
Typical
(Note 9)
Limits
(Note 10)
2.0
2.0
0.8
0.8
Units
(Limits)
V (min)
V (min)
V (max)
V (max)
, CRYSTAL/EXT CLOCK, 24/48, RESET,
6www.national.com
A=VD=VDRAM
to T
MIN
MAX
(Continued)
=+5.0VDC unless otherwise noted,
; all other limits TA=TJ=25°C. (Notes 8, 9, & 10)
DC and Logic Electrical Characteristics
The following specifications apply for AGND=DGND=0V, V
f
CRYSTAL IN
= 48MHz. Boldface limits apply for TA=TJ=T
SymbolParameterConditions
Digital Output Characteristics for D0-D15, A0-A9, RD
V
OUT(1)
V
OUT(0)
Digital Output Characteristics for A, B, A
V
OUT(1)
V
OUT(0)
Logical “1” Output Voltage
Logical “0” Output Voltage
, B
Logical “1” Output Voltage
Logical “0” Output Voltage
, WR, RAS, CAS (DRAM Interface)
V
V
V
V
V
V
V
V
DRAM
DRAM
DRAM
DRAM
DRAM
DRAM
DRAM
DRAM
=4.75V, I
=2.85V, I
=4.75V, I
=2.85V, I
=4.75V, I
=2.85V, I
=4.75V, I
=2.85V, I
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
=-4mA
=-4mA
=4mA
=4mA
=-10mA
=-10mA
=4mA
=4mA
Digital Output Characteristics for MISC I/O 1-6, TR1, TR2, ø1, ø2, RS, CP1, CP2, LAMP
V
V
OUT(1)
OUT(0)
Logical “1” Output VoltageVD=4.75V, I
Logical “0” Output VoltageVD=4.75V, I
=-4mA2.4V (min)
OUT
=4mA0.4V (ma x)
OUT
Digital Output Characteristics for D+, D-
V
V
OUT(1)
OUT(0)
Logical “1” Output VoltageVD=4.75V, I
Logical “0” Output VoltageVD=4.75V, I
=-1mA2.4V (min)
OUT
=3mA0.4V (ma x)
OUT
CRYSTAL IN, CRYSTAL OUT Characteristics
XTAL
XTAL
CRYSTAL OUT Bias Level (Offset)0.8V
OUT DC
CRYSTAL OUT Amplitudef
OUT AC
= 48MHz0.8V
CRYSTAL
Power Supply Characteristics (Note 14)
I
A
I
D
I
DRAM
I
SUSPEND
Analog Supply Current
(V
pins)
A
Digital Supply Current
(V
pins)
D
DRAM Supply Current
(V
pins)
DRAM
Total Suspend Current (IA+ID+I
DRAM
Operating (Bias Current = 80%)6591mA (max)
Operating (Bias Current = 80%)3541mA (max)
Operating, V
Operating, V
DRAM
DRAM
= 5V
= 3V
)19175µA (max)
Typical
(Note 9)
, LAMPG, LAMP
R
2
1
Limits
(Note 10)
2.4
2.4
0.4
0.4
2.4
2.4
0.4
0.4
B
8
5
LM9833
Units
(Limits)
V (min)
V (min)
V (max)
V (max)
V (min)
V (min)
V (max)
V (max)
P-P
mA (max)
mA (max)
7www.national.com
AC Electrical Characteristics
The following specifications apply for AGND=DGND=0V, VA=VD=V
LM9833
f
CRYSTAL IN
C
= 48MHz, MCLK DIVIDER = 1.0 (unless otherwise noted), f
(databus loading) = 20pF/pin. Boldface limits apply for TA=TJ=T
L
SymbolParameterConditions
DRAM Timing (Figure 1)
=5.0V
V
t
RD SETUP
t
RD HOLD
t
WR SETUP
t
WR HOLD
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is functional ,
but do not guara nt ee specific perform ance limits. For g uaranteed specifications and test conditions, see the Electrical Chara cteristics. The gua ranteed specificat ions apply
only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test conditions.
Note 2: All voltages are measured with respect to GND =AGND=DGND = 0V, unless otherw is e specified.
Note 3: When the input voltage (V
maximum package input current rating limits the number of pins that can simultaneously safely exceed the power supplies with an input current of 25mA to two.
Note 4: The maximum power dissipation must be derated at elevated temperatures and is dictated by T
able power dissipation at any temperature is P
.
is 53°C/W
Note 5: Human body model, 100pF capacitor disch arged through a 1.5 k Ω resistor. Machine model, 200pF capacitor discharged through a 0Ω resistor.
Note 6: See AN-450 “Surface Mounting Methods and Their Effect on Product Reliability” or the section titled “Surface Mount” found in any National Semiconductor Linear
Data Book for other m et hods of soldering su rf ac e mount devices.
Note 7: Two diodes clamp the OS analog inputs to
impedance of the sensor, prevents damage to th e LM9833 from tra ns ients during power-up.
Data valid to RD rising edge
Data valid after RD rising edge0ns (min)
Data valid before WR falling edge5ns (min)
Data valid after WR rising edge10ns (min)
) at any pin exceeds the power supplies (VIN<GND or VIN>VA or VD), the current at that pin should be limited to 25mA. The 50mA
IN
= (TJmax - TA) / ΘJA. TJmax = 150°C for this device. The typical thermal resistance (ΘJA) of this part when board mounted
D
AGND
and VA as shown below. This input protection, in combination with the external clamp capacitor and the output
V
DRAM
DRAM
=3.3V
VA
=+5.0VDC unless otherwise noted,
DRAM
MIN
MCLK
to T
= f
CRYSTAL IN
MAX
/MCLK DIVIDER, f
; all other limits TA=TJ=25°C. (Notes 8, 9, & 10)
Typical
(Note 9)
max, ΘJA and the ambient temperature, TA. The maximum allow-
J
Limits
(Note 10)
26
35
ADC CLK
= f
MCLK
Units
(Limits)
ns (min)
ns (min)
/8,
OS Input
To Internal
Circuitry
AGND
Note 8: For best performance, it is required that all supply pins be powered from the same power supply with separate bypass capacitors at each supply pin.
Note 9: Typicals are at T
Note 10: Tested limits are guaranteed to National's AOQL (Average Outgoing Quality Level).
Note 11: Integral linearity error is defined as the deviation of the analog value, expressed in LSBs, from the straight line that best fits the actual transfer function o f the ADC.
Note 12: V
a white (full scale) image wi th r es pect to the reference level, V
correctable range of pixel-to-pixel V
LM9833 can correct for using its internal PGA.
Note 13: PGA Gain Error is the maximum difference between the measured gain for any PGA code and the ideal gain calculated by using the formula
Gain
Note 14: DNL, INL, and Pow er Supply Current are s pecified at the 80% Bi as Current Setting (R egister 9). This is the ma ximum recomme nded Bias Curren t setting , and
gives the best analog performance as we ll as lower power consu m pt ion for USB-bus powered applications.
is defined as the CCD OS voltage for the reference pe ri od foll o wing the r eset feedthrough pulse. V
REF
V
G0X
--- -
PGA
V
=25°C, f
J=TA
WHITE
PGA code
-------------- ------------ -+=XG
where .
32
= 48MHz, and repre s ent most likely parametric norm.
CRYSTAL IN
is defined as the peak positive deviation above V
. V
REF
variation is defined as the maximum variation in V
–()
31G0
RFT
CCD Output Signal
V
RFT
V
REF
32
------=
31
V
is defined as the peak CCD pixel output voltage for
WHITE
of the reset feedthrough pulse. The maximum
(due to PRNU, light source intensity variation, optics, etc.) that the
WHITE
WHITE
REF
8www.national.com
Timi ng Diagra ms
LM9833
48MHz Internal Clock
(t
= 20.83ns)
PERIOD
A0-A9Row Address
RAS
CAS
RD
Read Operation
WR
Write Operation
01234560
n
Column Address
t
RD SETUP
n
Row Address
t
RD HOLD
n+1
DataD0-D15
t
t
WR SETUP
WR HOLD
DataD0-D15
Figure 1: DRAM Read and Write
48MHz Internal Clock
(t
= 20.83ns)
PERIOD
RAS
CAS
01234560
Figure 2: DRAM Refresh (CAS
before RAS)
9www.national.com
Register Listing
Registers in bold boxes are reset to that value on power-up. All register addresses are in hexadecimal. All other numbers are
LM9833
decimal unless otherwise noted.
AddressFunction
IMAGE BUFFER (READ ONLY)
00Pixel (Image) DatannnnnnnnOne byte of image data.
STATUS REGISTERS (READ ONLY)
01Image Data Available In Buffernnnnnnnn
PAPER SENSE 1 State
read clears bit if edge sensitive input.
PAPER SENSE 2 State
read clears bit if edge sensitive input.
MISC I/O 1 State
read clears bit if edge sensitive input.
MISC I/O 2 State
read clears bit if edge sensitive input.
02
MISC I/O 3 State
read clears bit if edge sensitive input.
MISC I/O 4 State
read clears bit if edge sensitive input.
MISC I/O 5 State
read clears bit if edge sensitive input.
MISC I/O 6 State
read clears bit if edge sensitive input.
DATAPORT REGISTERS
DataPort T arget
DataPort T arget Color
03
Pause (Read Only)
This bit indicates whether or not the scanner
is currently paused due to a buffer full
condition.
DRAM Test
04DataPort Address - MSB
05DataPort Address - LSBaaaaaaaa
06DataPort nnnnnnnn
D7D6D5D4D3D2D1D
0False
1True
0False
1True
0False
1True
0False
1True
0Normal State
1The scanner is currently in the pause/reverse cycle.
0Normal Operation
1DRAM Test mode
R
/Waaaaaa
0
n*2 (256k x 16 DRAM) or n*8 (1M x 16 DRAM)
kilobytes of image data is available
0False
1True
0False
1True
0False
1True
0False
1True
0 0 Offset Coefficient Data
0 1 Gain Coefficient Data
1 0 Gamma Lookup Table
11N/A
00Red
01Green
10Blue
11N/A
Address of location to be read/written to.
a = 0 to 4095 for gamma tables,
0 to 16383 for Offset and Gain Coefficient Data
Addresses greater than these are illegal.
Bit D6 of register 4 indicates whether next operation
will be a Read (D6=1) or a Write (D6=0).
Data to be read from or written to the address of the
currently selected Dataport Target. The DataPort
Address is automatically incremented whenever one
(gamma data) or two (Gain/Offset Data) bytes are
read from or written to this register.
Value
10www.national.com
MCLK
(Continued)
/8
Register Listing
AddressFunction
COMMAND REGISTER
Command Register
This register is used to start and end a scan.
It is also used to home the sensor in a
flatbed scanner or eject the image in a
sheetfed scanner. Note: Always make sure
the Command Reg i st er i s in the idle s tat e
(=0) before issuing a new command.
07
Standby
When this bit is set the entire chip enters a
low power state.
Warning: A Standby command will stop
DRAM refresh.
Soft Reset
Write a 1 then a 0 to reset the LM9833’s
state machines.
Warning: A Reset will stop DRAM refresh.
MASTER CLOCK DIVIDER
MCLK Divider
This register sets the master clock frequency
for the entire scanner.
completes current line of data (if scanning).
Note: CCD/CIS clocks continue clocking.
High Speed Forward - Moves motor forward at a
001
speed determined by the Fast Feed Step Size
(registers 48 and 49).
High Speed Reverse - Moves motor backward at a
010
speed determined by the Fast Feed Step Size
(registers 48 and 49).
Start Scan - Resets the LM9833’s data pointers and
011
starts an image scan.
Programmed High Speed Forward - Moves motor
forward at a speed determined by the Fast Feed Step
101
Size (registers 48 and 49) for the number of lines
programmed in registers 4A and 4B.
Programmed High Speed Reverse - Moves motor
backward at a speed determined by the Fast Feed
110
Step Size (registers 48 and 49) for the number of lines
programmed in registers 4A and 4B.
Resets the LM9833. See section 10.2 Soft Reset for
instructions on using this bit.
LM9833
Value
, B = 0),
11www.national.com
Register Listing
AddressFunction
LM9833
HORIZONTAL RESOLUTION AND DATAMODE SETTINGS
Horizontal DPI Divider
This register determines the horizontal
resolution of the scan.
Scan resolution = Optical resolution divided
by the Horizontal_DPI_Divider.
Pixel Packing
This register determines how many bits in
each byte of data are transmitted to the host
when DataMode = 0
DataMode
09
When DataMode = 0, the pixel data is fully
processed, going through the Offset,
Shading, Horizontal DPI Adjust, Gamma,
and Pixel Packing blocks.
When DataMode = 1, 16 bit da ta is ext racte d
following the Shading Multiplier stage.
Gamma and any other post processing must
be done by th e host.
Analog Bias Current (Percent of Nominal)
The recommended setting is 80% for best
performance. Lower settings will reduce
power consumption further but may degrade
ADC INL and DNL performance.
TURBO AND PREVIEW MODE SETTINGS
Turbo/Preview Mode Select
0A
Turbo/Preview Mode Speed
SENSOR CONFIGURATION
Input Signal Polarity
CDS On/Off
Standard/Even-Odd Sensor
0B
CIS TR1 Timing Mode
Fake Optical Black Pixels
(for Dyna-type CIS sensors)
(Continued)
D7D6D5D4D3D2D1D
0 01 bit/pixel (1 bit grayscale/3 bit color)
0 12 bits/pixel (2 bit grayscale/6 bit color)
1 04 bits/pixel (4 bit grayscale/12 bit color)
1 18 bits/pixel (8 bit grayscale/24 bit color)
0
1
0 0100% (analog supply current = ~81mA)
0 180% (analog supply current = ~65mA)
1 070% (analog supply current = ~57mA)
1 150% (analog supply current = ~41mA)
0 0Off - use standard CCD Timing
01
10
11N/A
0Off: Normal operation
1On: RS pulse held high for entire Optical Black period
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
pixel rate: n=0-23, line rate: n=0-7 MCLKs from Ø1 edge
t
= n*t
READOUT
First step of scan occurs n pixels (1 - 16383) after first
TR pulse. This register can be used to set the phase
between the TR pulses and the stepper motor pulses.
NOTE: a setting of n = 0 creates the maximum delay
(16384) pixels, which will increase scan time. If this
function is not used, this register should be set to 1.
Value
, n = 1 to 127. n=0 turns off function.
INT
LM9833
13www.national.com
Loading...
+ 29 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.