LM9832CCVJD National Semiconductor, LM9832CCVJD Datasheet - Page 22

IC SCANNER CLR USB IMAGE 100TQFP

LM9832CCVJD

Manufacturer Part Number
LM9832CCVJD
Description
IC SCANNER CLR USB IMAGE 100TQFP
Manufacturer
National Semiconductor
Datasheet

Specifications of LM9832CCVJD

Number Of Bits
14
Number Of Channels
3
Voltage - Supply, Analog
5V
Voltage - Supply, Digital
5V
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Power (watts)
-
Other names
*LM9832CCVJD

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM9832CCVJD
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM9832CCVJD
Manufacturer:
NS
Quantity:
2 849
Applications Information
the external DRAM and accessed at the pixel rate. A digital sub-
tractor subtracts the 16 bit offset word (corresponding to that
pixel’s offset error) from each pixel.
The subtractor saturates at 0, i.e. if the coefficient to be sub-
tracted is greater than the ADC output code, the result is an out-
put of 0.
The offset words stored in DRAM are typically calculated by
scanning a black calibration strip at 14 bits, and storing the
results in the DRAM using the DataPort.
The offset subtractor only uses the upper 14 bits of the 16 bit
word. When scanning in 14 bit mode, a pixel is transmitted as a
16 bit word, with the upper 14 bits containing the image data. The
2 LSBs of the image data and the offset correction word should
be 00.
The offset correction equation is:
3.4 Pixel Rate Gain Correction Block
This is a digital multiplier that multiplies the output word from the
subtractor by a 16 bit digital correction coefficient corresponding
to that pixel’s gain error. The coefficients are stored in the exter-
nal RAM and accessed at the pixel rate.
The multiplier saturates at 16383, i.e. if the result of the multipli-
cation is greater than 16383, the multiplier output is 16383.
The gain equation is:
Note that a coefficient of 0 represents a gain of 0. On the LM9830
and previous parts, a coefficient of 0 represented a gain of 1. To
achieve a gain of 1, the coefficient should be set to 16384.
3.5 Gamma Correction Tables
There are 3 gamma lookup tables for R, G, and B. The input to
the table is the 12 MSBs (most significant bits) of the 14 bit pixel
data coming from the previous stage (3.4 Pixel Rate Gain Cor-
rection Block). The output is the 8 bit gamma corrected pixel
data. The tables consume 12k words (4K bytes x 16 bits, only the
8 LSBs of each word is used) of the external DRAM. Each
gamma table (red, green, and blue) can be loaded with any arbi-
trary user-defined transfer curve.
The gamma tables are loaded through the dataport (see 6.1 The
DataPort: Reading and Writing to Gamma, Offset, and Gain
Memory). The DataPort selects which color (Red, Green or Blue)
255
0
0
12MSBs of 14 bit Output
Pixel OUT
Pixel OUT
Figure 5: Gamma Table
=
=
Pixel IN
Pixel IN
coefficient
-------------------------- -
coefficient
16384
(Continued)
4095
22
gamma table will be read from or written to.
3.6 Pixel Packing/Thresholding Block
Some scans require only one bit per pixel (“line art” mode), others
may need only 2 or 4 bits/pixel. To increase scanning speed for
lower pixel depths, the LM9832 packs the desired MSBs of multi-
ple pixels together into 1 16 bit word, increasing the transmission
speed to the host by a factor of 2, 4, 8, or 16. Figure 6 shows how
the pixels are packed together for 8, 4, 2, and 1 bit pixel depths.
In Figure 6, “b” indicates the bit position (b7 = the most significant
and b0 = the least significant bit) of the original 8 bit pixel data,
and p
If there are not enough unpacked pixels at the end of a line to
complete the packed word for transmission, that final word is not
sent. For example, doing an 8 bit pixel rate scan with a HDPI
divider of 1 and an odd number of pixels will truncate the blue
component of the last pixel.
The gamma table in 3.5 Gamma Correction Tables allows the
user to set the threshold of each transition for various line art or
reduced pixel depth modes.
3.7 14 Bit Output Mode
The LM9832 also supports a 14 bit out mode. This can be used to
get very accurate data for calibration or to scan a 14 gray/42 bit
color image. This mode is set through register 9, bit 5. In the 14
bit output mode, the gamma and pixel packing stages are
bypassed, and the 14 bit data from the ADC is stored in DRAM,
formatted as shown in Figure 7.
The 14 bit data is stored as a 16 bit word, with the 2 least signifi-
cant bits of the 16 bit word set to 0.
The memory reserved for the gamma table is used to store image
data in the 14 bit mode. After scanning in 14 bit mode, the
gamma table must be reloaded for operation in 8, 4, 2, or 1 bit
mode.
3.8 Line Buffer
The line buffer uses the external DRAM as a FIFO line buffer to
store the pixel data (which is generated at a fixed rate, synchro-
nous to the CCD clocks) and send it back to the PC at an asyn-
Depth
Pixel
MSB
LSB
8
4
2
1
8
4
2
1
n
Figure 6: Packing Multiple Pixels Into One Word
indicates the original pixel sequence, i.e p
Figure 7: 14 Bit Output Mode Data Format
b7 p
b7 p
b7 p
b7 p
b7 p
b7 p
b7 p
b7 p
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
b13
bit
15
15
b5
7
0
0
0
0
1
2
4
8
b6 p
b6 p
b6 p
b7 p
b6 p
b6 p
b6 p
b7 p
b12
bit
14
14
b4
6
0
0
0
1
1
2
4
9
b7 p
b5 p
b5 p
b7 p
b7 p
b5 p
b5 p
b7 p
b11
bit
13
13
b3
5
10
0
0
1
2
1
2
5
b7 p
b4 p
b4 p
b6 p
b7 p
b4 p
b4 p
b6 p
b10
bit
12
12
b2
4
11
0
0
1
3
1
2
5
b7 p
b3 p
b7 p
b7 p
b7 p
b3 p
b7 p
b7 p
bit
11
11
b9
b1
3
12
0
1
2
4
1
3
6
b7 p
b2 p
b6 p
b6 p
b7 p
b2 p
b6 p
b6 p
bit
10
10
b8
b0
2
13
0
1
2
5
1
3
6
www.national.com
b7 p
0
b1 p
b5 p
b7 p
b7 p
b1 p
b5 p
b7 p
, p
bit
b7
9
9
1
0
1
14
, p
0
1
3
6
1
3
7
b7 p
b0 p
b4 p
b6 p
b7 p
b0 p
b4 p
b6 p
2
, p
bit
b6
8
8
0
0
3
15
0
1
3
7
1
3
7
...

Related parts for LM9832CCVJD