lm9831 National Semiconductor Corporation, lm9831 Datasheet - Page 33

no-image

lm9831

Manufacturer Part Number
lm9831
Description
42-bit Color, 1200dpi Usb Image Scanner
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
lm9831CCV
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
lm9831CCVJD
Manufacturer:
TI
Quantity:
4 425
either one of the PAPER SENSE inputs becomes True (if that
sensor has been properly programmed to interrupt scanner
movement). The FullSteps to Scan after PAPER SENSE 2 trips
register is not used in the High Speed Reverse mode. This func-
tion is generally used to home the sensor in flatbed scanning
applications.
The LM9831 also features a Programmed High Speed Reverse
command. This is identical to the High Speed Reverse function,
except that it will automatically stop moving once the motor has
moved the number of lines specified in registers 4A and 4B.
8.5 Short Example of a Scan
• PC configures the LM9831 by writing to the configuration regis-
• PC has the LM9831 scan a calibration image, then calculates
• PC transmits the calibration information to the LM9831.
• If a sheetfed, the PC now polls the LM9831 status registers to
• PC sets the Scanning bit in the Configuration Register.
• PC calculates the size of the image to be scanned in bytes,
• After all image data is read, PC writes a 0 to register 07 to stop
• If this is a flatbed scanner, the PC should now send a High
• The scanner is now in the idle state.
9.0 Master Clock Source
The timing for the entire chip comes from the CRYSTAL OUT pin.
Typically this pin is used (with the CRYSTAL IN pin) as a crystal
oscillator. The clock frequency should be 48MHz. This 48MHz
clock is divided by the MCLK divider (register 08), and the divided
output is MCLK (Master CLocK). The MCLK divider range is from
1.0 to 32.5 in steps of 0.5. A configuration register code of 0
divides the clock by 1.0, while a code of 63 divides the clock by
32.5. AT 48MHz, this provides an MCLK range of 1.48MHz to
48MHz and a corresponding ADC conversion rate of 184kHz to
6.00MHz. This divider can be used to closely match the output
data rate to the PC’s input data rate, minimizing scan time.
ters.
the calibration coefficients for the scanner.
see if there is any paper inserted. If a flatbed, it moves the scan
head to the home position.
then reads bulk data from register 00 of the LM9831 until it has
read the entire image. If for some reason the scan needs to be
aborted, the PC writes a 0 to register 07.
scan.
Speed Reverse command to send the sensor back to the home
position. For a sheetfeeder, it can send a High Speed Forward
command to eject the remainder of the image.
CRYSTAL IN
Figure 46: 48 MHz Crystal Oscillator Circuit
5pF
C1
Overtone Crystal
EC-T-48.000M
48MHz Third
Ecliptek
15pF
C2
1.2µH
300pF
10
24/48 = DGND
CRYSTAL OUT
33
MCLK is used to clock the vast majority of the LM9831’s circuits.
CRYSTAL OUT is directly used in the USB I/O section, DRAM
timing, and a few subsections where the highest possible clock
speed is required (such as the PWM pulse generator for the light
source and the stepper motors).
To use the LM9831’s crystal oscillator feature, tie the CRYS-
TAL/EXT CLK pin to DGND. Figure 46 shows the recommended
loading circuit and values for a 48MHz oscillator. These compo-
nent values assume 10pF of stray capacitance between CRYS-
TAL IN and ground, and 10pF between CRYSTAL OUT and
ground, for a total CRYSTAL IN and CRYSTAL OUT loading of
15pF and 25pF.
When laying out the crystal oscillator components, always keep
the traces as short as possible, to minimize stray capacitance
and inductive noise coupling, particularly on the CRYSTAL IN pin.
Operation at 24MHz (24/48 = V
be used.
To drive the LM9831 with an external 48MHz clock, tie CRYS-
TAL/EXT CLK (pin 54) to V
drive the TTL or CMOS-level clock signal into CRYSTAL_OUT
(pin 52).
10.0 INITIALIZATION
10.1 Power On Reset (POR)
POR is generated by the ramp of the V
+5V. A low to high to low signal on the external RESET pin will
also generate a POR. A POR event:
• Resets the USB transceiver. All enumeration and configuration
• The oscillator will start (or continue) oscillating.
• Forces all configuration registers that have defaults (shown as
• MISC I/O 1-3 will be configured as inputs and could generate
• MISC I/O 4-6 are configured as outputs.
10.2 Soft Reset
A Soft Reset is generated by setting bit 5 of register 07. A Soft
Reset:
• Stops most of the internal clocks inside the system to save
• Does NOT stop 48MHz oscillator.
• Resets internal state machines for correct operation after
• Stops DRAM refresh. This will corrupt all the gamma, offset,
• Does NOT prevent configuration register read/writes.
10.3 Standby
The LM9831 enters the Standby mode by setting bit 4 of register
07. Standby Mode:
• Powers down the analog section to conserve power.
• Tristates the stepper motor outputs (regardless of the state of
• Does NOT prevent configuration register read/writes.
data will be reset to its default setting.
black boxes in the configuration register tables) to their default
settings (including the Reset and Standby bits). See the Reset
and Standby mode descriptions for more information.
remote wakeup signals (after the device is initialized).
power.
register changes.
gain values, as well as any image data, stored in the external
DRAM.
register 45, bit4).
D
, tie CRYSTAL_IN to DGND, and
D
) is not reliable and should not
A
supply pins from 0V to
www.national.com

Related parts for lm9831