LM9830VJD/NOPB National Semiconductor, LM9830VJD/NOPB Datasheet - Page 38

IC SCANNER COLOR DOC 100-TQFP

LM9830VJD/NOPB

Manufacturer Part Number
LM9830VJD/NOPB
Description
IC SCANNER COLOR DOC 100-TQFP
Manufacturer
National Semiconductor
Datasheet

Specifications of LM9830VJD/NOPB

Number Of Bits
12
Number Of Channels
3
Power (watts)
350mW
Voltage - Supply, Analog
5V
Voltage - Supply, Digital
4.5 V ~ 5.5 V
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*LM9830VJD
*LM9830VJD/NOPB
LM9830VJD

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM9830VJD/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
line rate, the output would be:
R
with the Red data representing line m, the Green data represent-
ing line m-x, and the Blue data representing line m-2x.
The length of a line of image data sent to the PC depends on sev-
eral factors:
• The number of physical pixels in the sensor, equal to (1 + Valid
• The horizontal resolution set in the configuration register,
• The pixel depth (1, 2, 4, or 8 bits), and
When scanning with the horizontal resolution equal to the optical
resolution (300dpi or 600dpi) at an 8 bit pixel depth, the number
of bytes in a line is equal to the number of Valid Pixels (or three
times the number of Valid Pixels, if R, G, and B are interleaved).
If the horizontal resolution is set to a number below the optical
resolution, the number of bytes in a line is equal to:
If the pixel depth is reduced from 8 to 4, 2, or 1 bits, the bytes per
line will also decrease:
since multiple pixels are being packed into one byte. For a 4 bit
pixel, there are 2 pixels/byte, for a 2 bit pixel, there are 4 pix-
els/byte, and for a 1 bit pixel, there are 8 pixels/byte.
The scanner software on the host must strip the status byte from
the end of each line before reconstructing the image.
8.2.1 Reconstructing 12 bit Image Data Received By the PC
The 12 bit Data Mode is a special one for the LM9830. In the 12
bit Data Mode the horizontal resolution is always equal to the
optical resolution, the gamma correction is bypassed, and the
Pixel Packing stage is bypassed.
Each pixel is stored in the SRAM and transmitted to the PC in two
bytes, a high byte containing the 4 bit MSB of the pixel (format 0 0
0 0 B11 B10 B9 B8), and a low byte containing the 8 bit LSB.
This mode is used to acquire 12 bit data for accurate gain and off-
set calibration, and for applications requiring maximum resolution
data without gamma correction.
8.3 High Speed Forward
When register 07 is set to a 1, the LM9830 moves the motor for-
ward at maximum speed (determined by the fast feed stepsize,
registers 48 and 49) until either one of the Paper Sensor inputs
becomes True (if that sensor has been properly programmed to
interrupt scanner movement). Paper Sensor #2 can be used to
cause a delayed stop. If the FullSteps to Scan after Paper Sen-
sor #2 trips register is greater than 0, motor movement will con-
tinue for the programmed number of full steps. This can be used
to eject paper in sheetfed scanners.
8.4 High Speed Reverse
When register 07 is set to a 2, the LM9830 moves the motor
backwards at maximum speed (determined by the fast feed step-
size, registers 48 and 49) until either one of the Paper Sensor
inputs becomes True (if that sensor has been properly pro-
grammed to interrupt scanner movement). The FullSteps to
Scan after Paper Sensor #2 trips register is not used in the
High Speed Reverse mode. This function is generally used to
1
Pixel End - Valid Pixel Start), which we will call Valid Pixels,
, G
Bytes/Line
1
, B
1
Bytes/Line
, R
2
, G
=
2
, B
Valid Pixels
2
=
,..., R
Valid Pixels
n-1
, G
Bits/Pixel
---------------------- -
n-1
8
Horizontal Resolution
---------------------------------------------------- -
, B
Optical Resolution
n-1
Horizontal Resolution
---------------------------------------------------- -
Optical Resolution
, R
n
, G
n
, B
n
38
home the sensor in flatbed scanning applications.
8.5 Short Example of a Scan
• PC sends Daisy Chain Protocol Sequence to take the LM9830
• The LM9830 responds and shuts off printer
• PC writes to Configuration Register establishing EPP or Nibble
• PC configures the LM9830 by writing to the configuration regis-
• If no calibration data for the scanner is found in the PC, or if the
• PC transmits the calibration information to the LM9830 (this
• If a sheetfed, the PC now polls the LM9830 status registers to
• The PC sets the Scanning bit in the Configuration Register.
• The PC sends a series of reads to the LM9830 (Figures 60-62)
• PC reads data until scan is complete or aborted.
• PC writes to Configuration Register and clears Scanning bit.
• If this is a flatbed scanner, the PC should now send a “return to
• Turn off the lights, complete any other shutdown activities.
• PC sends command to put the LM9830 back in Transparent
9.0 Master Clock Source
The timing for the entire chip comes from the CRYSTAL OUT pin.
This clock is immediately divided down by the MCLK divider (reg-
ister 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 configu-
ration register code of 0 divides the clock by 1.0, while a code of
63 divides the clock by 32.5. With a 48MHz crystal, this provides
an MCLCK 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.
MCLK is used to clock the vast majority of the LM9830’s circuits.
CRYSTAL OUT is used in a few subsections where the highest
possible clock speed is required (such as the PWM pulse genera-
out of Transparent mode.
Mode for sending data from the LM9830 to PC
ters
user has requested a new calibration, the PC has the LM9830
scan a calibration image, then calculates the calibration coeffi-
cients for the scanner.
step can be skipped if power to the LM9830 has been main-
tained since the last time the calibration data was sent).
see if there is any paper inserted. If a flatbed, it moves the scan
head to the home position.
and gets a byte of pixel data for each read. The PC should be
keeping track of exactly how many bytes there will be in an
image and simply receive data until then, but the capability
exists for it to read from any Configuration Register at this time,
including the status bits for the 4 multipurpose inputs (paper
sensors, user buttons, etc.) and the number of image data bytes
available in the buffer. The PC can also write to any register,
including the register containing the Scanning bit. If this bit is
cleared, the scan is aborted.
start of page” command. For a sheetfeeder, it can send a “fast
forward to end of page” command if needed.
mode.
http://www.national.com

Related parts for LM9830VJD/NOPB