Electronic Components Datasheet Search
  English  ▼

X  

LM9833 Datasheet(PDF) 31 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # LM9833
Description  LM9833 48-Bit Color, 1200dpi USB Image Scanner
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

LM9833 Datasheet(HTML) 31 Page - National Semiconductor (TI)

Back Button LM9833 Datasheet HTML 27Page - National Semiconductor (TI) LM9833 Datasheet HTML 28Page - National Semiconductor (TI) LM9833 Datasheet HTML 29Page - National Semiconductor (TI) LM9833 Datasheet HTML 30Page - National Semiconductor (TI) LM9833 Datasheet HTML 31Page - National Semiconductor (TI) LM9833 Datasheet HTML 32Page - National Semiconductor (TI) LM9833 Datasheet HTML 33Page - National Semiconductor (TI) LM9833 Datasheet HTML 34Page - National Semiconductor (TI) LM9833 Datasheet HTML 35Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 42 page
background image
31
www.national.com
should therefore be avoided. Bits 4 of register 3 is also read only,
however it is OK to write to register 3. All of the remaining config-
uration registers can be read from and written to using this proto-
col.
Registers 03-06 (the Dataport), 2A-27 (Illumination), 38-3D
(Static Gain and Offset), 42 (Offset and Gain Source, bits 0-2), 45
(Stepper Motor Status), and 58-5B (Paper Sense and Misc. I/O)
may be written to while the chip is in the Idle state. The LM9833
must be in Soft Reset mode to write all other configuration regis-
ters (see 10.2 Soft Reset).
6.1 The DataPort: Reading and Writing to Gamma, Offset,
and Gain Memory
Because the gamma table and the shading and offset correction
blocks of RAM are very large, the LM9833 uses an indexed
method of reading and writing them, called the DataPort. Four
addresses in the Configuration Register are used to implement
this feature, as shown in Figure 38.
The DataPort allows the user to select a memory block (gamma,
gain coefficient, or offset coefficient) and color (red, green, or
blue) to be read from or written to, by writing to Configuration
Register Address 3.
The starting address of that block (usually 0) is written into the
DataPort Address register (at Configuration Register Addresses
4 and 5). Bit D6 of register 4 should also be set to a 0 or a 1 to
indicate whether the DataPort will be read from (D6 = 1) or written
to (D6 = 0) in subsequent operations. This is required so the
LM9833 can prefetch the data for faster access. The DataPort
Address is automatically incremented after every word (2 bytes)
of Offset, Shading, or Gamma data is read/written.
Once the memory block, color, and starting address are written, a
series of reads or writes to the DataPort will read from or write to
the selected memory block at maximum speed.
Registers 4 and 5 should always be written to after Register 3 has
been changed.
Reading and writing the DataPort should only be done when the
LM9833 is not scanning (Register 07 = 0).
6.1.1 DataPort Type and Color
These 3 bits determine which memory block (gamma, gain, or off-
set coefficients, Figure 39) and which color of that memory block
(red, green, or blue, Figure 40) is to be read from or written to.
6.1.2 DataPort Address
This 14 bit register (at Configuration Register addresses 4 and 5)
determines what the starting address is for the read/write opera-
tion. This address is automatically incremented after every 2 byte
word read/write operation to the actual DataPort. For the gamma
table the range is 0 to 4093. For the Gain and Offset Coefficients
this range is 0 (corresponding the first valid pixel as programmed
in the Valid Pixels Start register) to 16383 (the maximum number
of image pixels). If reads or writes continue past 4093 or 16383,
the DataPort address counter wraps back around to 0 and contin-
ues counting.
6.1.3 DataPort
The DataPort is the 8 bit register (Configuration Register address
06) where the data is sequentially read from or written to. The for-
mats for Offset, Gain, and Gamma data are shown in Figures 41,
42, and 43.
Configuration
Register
Address
Name
Bits
3
DataPort
Target/
Color
b3- b0
4
DataPort
Address
(MSB)
b13 - b8
5
DataPort
Address
(LSB)
b7 - b0
6
DataPort
b7 - b0
Figure 38: DataPort
76
543210
Type
------
0
0
Offset
------
0
1
Gain
------
1
0
Gamma
------
1
1
Undefined
Figure 39: DataPort Target Pointer
76
543210
Color
----
0
0
--
Red
----
0
1
--
Green
----
1
0
--
Blue
----
1
1
--
Undefined
Figure 40: DataPort Color Pointer
7654
3
2
1
0
Type
b15 b14 b13 b12 b11 b10
b9
b8
First Byte
b7
b6
b5
b4
b3
b2
b1
b0
Second Byte
Figure 41: DataPort Offset Format
7654
3
2
1
0
Type
b15 b14 b13 b12 b11 b10
b9
b8
First Byte
b7
b6
b5
b4
b3
b2
b1
b0
Second Byte
Figure 42: DataPort Gain Format
7654
3
2
1
0
Type
0000
b11 b10
b9
b8
First Byte
b7
b6
b5
b4
b3
b2
b1
b0
Second Byte
Figure 43: DataPort Gamma Format
Applications Information (Continued)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com