Part Number Hot Search : 
UT54A WM872005 WM872005 MAX6920 E2955 2N349 MAX6920 MXP7A02
Product Description
Full Text Search
 

To Download GL843 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ru.4 xu062 f GL843 high speed usb 2.0 with adf 2-in-1 scanner controller for 3x series datasheet revision 1.02 mar. 13, 2006 genesys logic, inc.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 2 copyright: copyright ? 2006 genesys logic incorporated. all rights reserved. no part of the materials may be reproduced in any form or by any means without prior written consent of genesys logic inc.. disclaimer: all materials are provided "as is" without express or implied warranty of any kind. no license or right is granted under any patent or trademark of genesys logic inc.. genesys logic hereby disclaims all warranties and conditions in regard to materials, including all warranties, implied or express, of merchantability, fitness for any particular purpose, and non-infringement of intellectual property. in no event shall genesys logic be liable for any damages including, without limitation, damages resulting from loss of information or profits. please be advised that the materials may contain errors or ommisions. genesys logic may make changes to the materials or to the products described therein at any time without notice. trademarks: is a registrated trademark of genesys logic inc.. all trademarks are the properties of their respective owners. office: genesys logic, inc. 12f, no. 205, sec. 3, beishin rd., shindian city, taipei, taiwan tel: (886-2) 8913-1888 fax: (886-2) 6629-6168 http://www.genesyslogic.com
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 3 revision history revision date description 1.00 04/14/2005 first formal release 1.01 11/10/2005 add 208 qfp pinout, pin list, package dimension 1.02 03/13/2006 delete v esd , table 7.1, p.81
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 4 table of contents chapter 1 gereral description.................................................6 chapter 2 features...........................................................................7 chapter 3 pin assignment..............................................................9 3.1 p inouts ..................................................................................................9 3.2 p in l ist ................................................................................................11 3.3 p in d escriptions ................................................................................14 chapter 4 registers........................................................................17 4.1 r egisters b ase a ddress ...................................................................17 4.2 r egister d escriptions ......................................................................21 4.3 r egister m apping ..............................................................................64 4.3.1 shading mapping (chunky for single bank)..............................64 4.3.2 shading mapping (chunky for double bank)............................64 4.3.3 image buffer mapping.................................................................65 chapter 5 block diagram............................................................68 5.1 usb2.0 s ystem b lock d iagram .......................................................68 5.2 f unction b lock d iagram ................................................................68 chapter 6 functional description........................................69 chapter 7 electrical characteristics..............................81 7.1 a bsolute m aximum r atings (v oltage r eferenced to gnd)...81 7.2 dc c haracteristics (d igital p ins ): 3.3 v l ogic c ore or p ads .81 7.3 dc c haracteristics (d igital p ins ): 5.0 v p ads ............................82 7.4 dc c haracteristics (d+/d-)............................................................82 chapter 8 package dimension...................................................83
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 5 list of figures f igure 3.1 C 128 p in qfp p inout d iagram .................................................................9 f igure 3.1 C 208 p in qfp p inout d iagram ...............................................................10 f igure 5.1 - usb2.0 s ystem b lock d iagram ...........................................................68 f igure 5.2 - f unction b lock d iagram .....................................................................68 f igure 8.1 - GL843 128 p in qfp p ackage .................................................................83 f igure 8.2- GL843 208 p in qfp p ackage ..................................................................84 list of tables t able 3.1 C 128 p in l ist ...............................................................................................11 t able 3.2 C 208 p in l ist ...............................................................................................12 t able 3.3 - p in d escriptions ......................................................................................14 t able 4.1 - b ase a ddress for r egisters ..................................................................17 t able 4.2 - s hading m apping (c hunky for s ingle b ank )......................................64 t able 4.3 - s hading m apping (c hunky for d ouble b ank )....................................64 t able 4.4 - i mage b uffer m apping ...........................................................................65 t able 7.1 - a bsolute m aximum r atings (v oltage r eferenced to gnd)..........81 t able 7.2 - dc c haracteristics (d igital p ins ): 3.3 v l ogic c ore or p ads ........81 t able 7.3 - dc c haracteristics (d igital p ins ): 5.0 v p ads ..................................82 t able 7.4 - dc c haracteristics (d+/d-)..................................................................82
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 6 chapter 1 gereral description genesys logic's single-chip GL843 (genescan tm series) is a high speed, high performance, low cost and rich scalability controller for scanner. it successfully integrates scanner function asic and usb 2.0 interface controller into one single-chip. with its high performance design architecture, GL843 is not only ready for supporting cis or ccd image sensors (600, 1200, 2400, 3200, 3600, 4800dpi resolution) that are used in sheetfed, flatbed or transparency scanners, but is able to co-work with unipolar or bipolar stepping motors. advanced features of GL843 include five motor acceleration/ deceleration curve tables for high speed motor moving.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 7 chapter 2 features l highly integrated scanner controller chip (2-in-1; scanner controller and usb 2.0 interface) l usb 2.0 high speed (480mbit) compliant l designed for sheetfed, flatbed and transparency scanners l supports key-matrix with latch function l embedded risc cpu for scanning, run-in and diagnostic tests l supports external 24kbytes flash rom or internal 24kbyte mask rom l firmware download to external flash rom l 12mhz low frequency clock input for better emi l flexible 3.3v/5v operating voltage for i/o pads l adjustable working clock of scanner controller for different usage (12m, 24m, 30m, 40m, 48m, 60mhz) l supports linear or stagger ccd, such as nec, toshiba or sony ccd l available sensor types: 600, 1200, 2400, 3200, 3600 and 4800dpi color cis or ccd l multi-tg control for ccd (separately controls the r/g/b exposure time) l shutter-control for ccd (separately controls the r/g/b exposure time) l supports two scanning types: pixel-by-pixel (pixel rate), line-by-line (line rate) l support 48-bits color, 16-bits gray and 1-bit line-art l true gray with r, g and b weightings l 16 bits white/dark shading and 16-to-8 bits gamma correction l 0.3us per pixel for color scanning under 40mhz working clock l 0.2us per pixel for color scanning under 60mhz working clock l supports lcm/lcd interface to display messages l supports rs232 interface for special applications l supports eeprom (93c46) interface for special applications l supports adf (auto-document-feeder) function with document, adf and cover sensors l lossless data compression l lines packing for stagger ccd or r/g/b line differences l fine cds sampling adjustment to avoid the digital noise influence (8.33ns adjustment) l digital average and hardware deletion for various resolutions l hardware deletion for various resolutions (from 4800~1dpi with 1dpi decrement) l supports 1m*16, 4m*16, 8m*16, 16m*16 and 32m*16 sdram l supports 5 acceleration/deceleration motor tables for high speed motor moving and wall hitting protection l supports controllable bipolar motor in full, half, quarter and eighth steps moving l supports controllable unipolar motor in full and half steps moving l supports v-reference automatic control for motor driver ics l build-in pwm control phase for unipolar motors
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 8 l programmable dummy lines to resolve start/stop (discontinuous) problem l watchdog protection for lamp, motor and asic l lamp time-out (sleeping) control l supports 21 gpio pins and 6 gpo pins for 128-pin package l supports 27 gpio pins and 6 gpo pins for 208-pin package l supports 2 pwm outputs for flatbed/transparency lamp control with programmable duties and frequencies l supports led blinking l supports back-scanning l supports multi-film scanning
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 9 chapter 3 pin assignment 3.1 pinouts GL843 qfp - 128 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 2 3 4 5 6 7 d b u s 1 4 d b u s 1 3 d b u s 1 2 d b u s 1 1 d b u s 1 0 d b u s 9 d b u s 8 v c c i o 1 g n d i o 1 d b u s 7 d b u s 6 d b u s 5 d b u s 4 d b u s 3 d b u s 2 d b u s 1 d b u s 0 v c c c o r e 1 g n d c o r e 1 a b u s 1 2 a b u s 1 1 a b u s 1 0 a b u s 9 a b u s 8 a b u s 7 d b u s 1 5 d g n d 1 d v c c 1 a g n d 1 x 1 x 2 a v c c 1 1 8 9 4 9 3 9 2 9 1 9 0 8 9 8 8 8 7 8 6 8 5 8 4 8 3 8 2 8 1 8 0 7 9 7 8 7 7 7 6 7 5 7 4 7 3 7 2 7 1 1 0 1 1 0 0 9 9 9 8 9 7 9 6 9 5 1 0 2 g p i o 2 g p i o 1 m t _ p h 7 m t _ p h 6 m t _ p h 5 m t _ p h 4 m t _ p h 3 g n d c o r e 3 v c c c o r e 3 m t _ p h 2 m t _ p h 1 m t _ p h 0 o p 0 o p 1 o p 2 o p 3 o p 4 o p 5 o p 6 o p 7 g n d i o 4 v c c i o 4 s d o s d i s c l k g p i o 3 g p i o 4 g p i o 5 g p i o 6 g p i o 7 v c c i o 5 g n d i o 5 50 49 48 47 46 45 44 43 42 41 40 39 57 56 55 54 53 52 51 58 led_b home adf_senr ramclk cke bank0 bank1 wej casj rasj abus0 abus1 abus2 xpa_sw vcccore2 gndcore2 lamp_sw ccd_tgb ccd_tgg vccio3 111 112 113 114 115 116 117 118 119 120 121 104 105 106 107 108 109 110 103 gpio16 gpio17 gpio18 vcccore4 gndcore4 gpio19 gpio20 extrst_ gnd dvcc0 dgnd0 rpu gpio15 gpio14 gpio13 gpio12 gpio11 gpio10 gpio8 3 3 a b u s 6 3 4 v c c i o 2 3 5 g n d i o 2 3 6 a b u s 5 3 7 a b u s 4 3 8 a b u s 3 60 59 61 gndio3 ccd_ck4x ccd_ck2x 63 62 64 ccd_rsx ccd_cpx ccd_ck3x 6 8 6 7 6 6 6 5 v s m p m c l k c c d _ c k 1 x c c d _ t g x 7 0 6 9 s e n b s m p 125 126 127 128 dmf dmh agnd rref 123 124 dpf dph 122 avdd figure 3.1 C 128 pin qfp pinout diagram
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 10 n c n c n c n c a g n d 1 nc d b u s 1 4 d b u s 1 2 d b u s 1 0 d b u s 9 d b u s 8 d b u s 7 d b u s 6 d b u s 1 3 d b u s 1 5 d v c c 1 d g n d 1 n c nc wej casj rasj abus0 abus1 nc bank0 bank1 nc abus2 cke n c g p i o 5 n c nc s e n o p 4 o p 6 o p 3 o p 2 n c n c d b u s 5 n c m t _ p h 2 avdd dph dmf dmh agnd rref n c x 2 s d o fsha0 fsha1 adf_senr fsha2 nc fsha10 c c d _ c k 1 x n c b s m p v s m p m c l k c c d _ t g x fsha13 fsha12 ccd_tgb fsha11 nc d b u s 3 d b u s 1 d b u s 0 a b u s 1 2 a b u s 1 1 a b u s 9 a b u s 8 a b u s 6 a b u s 7 d b u s 2 n c d b u s 4 led_b nc a b u s 1 0 n c a b u s 4 nc nc nc nc nc nc nc nc nc nc n c x 1 a v c c 1 n c n c a b u s 3 gpio20 gpio22 extrst_ gnd dvcc0 dgnd0 fshd7 gpio16 gpio17 gpio18 gpio21 nc fshd4 gpio8 g p i o 6 g p i o 7 g p i o 2 f s h d 2 m t _ p h 7 g p i o 1 m t _ p h 5 m t _ p h 6 f s h d 1 m t _ p h 3 o p 0 f s h d 0 o p 1 m t _ p h 0 nc gpio23 ccd_ck3x gpio24 gpio25 ccd_cpx ccd_rsx gpio26 ccd_ck2x fsh_web ccd_ck4x fsha14 fsh_oeb gpio19 o p 5 ramclk fsha8 fsha9 xpa_sw fsha7 fsha6 fsha5 fsha4 n c n c gpio12 n c n c fsha3 home a b u s 5 d b u s 1 1 lamp_sw ccd_tgg n c m t _ p h 1 gpio10 fshd5 gpio9 gpio11 dpf nc fshd6 gpio13 gpio14 n c nc g p i o 3 g p i o 4 s c l k s d i nc nc o p 7 m t _ p h 4 n c f s h d 3 gpio15 rpu qfp - 208 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 5 0 5 1 5 2 54 53 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 80 79 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 1 0 6 1 0 5 1 4 2 1 4 1 1 4 0 1 3 9 1 3 8 1 3 7 1 3 6 1 3 5 1 3 4 1 3 3 1 3 2 1 3 1 1 3 0 1 2 9 1 2 8 1 2 7 1 2 6 1 2 5 1 2 4 1 2 3 1 2 2 1 2 1 1 2 0 1 1 9 1 1 8 1 1 7 1 1 6 1 1 5 1 1 4 1 1 3 1 1 2 1 1 1 1 1 0 1 0 9 1 0 8 1 0 7 1 4 4 1 4 3 1 5 6 1 5 5 1 5 4 1 5 3 1 5 2 1 5 1 1 5 0 1 4 9 1 4 8 1 4 7 1 4 6 1 4 5 207 208 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 181 182 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 GL843 vccio3 gndio3 gndcore2 vcccore2 v c c i o 2 g n d i o 2 v c c c o r e 1 g n d c o r e 1 v c c i o 1 g n d i o 1 v c c i o 4 g n d i o 4 v c c c o r e 3 g n d c o r e 3 v c c i o 5 g n d i o 5 vcccore4 gndcore4 figure 3.1 C 208 pin qfp pinout diagram
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 11 3.2 pin list table 3.1 C 128 pin list pin# pin name type pin# pin name type pin# pin name type pin# pin name type 1 avcc1 p 33 abus6 o 65 ccd_tgx o 97 gpio4 i/o 2 x2 o 34 vccio2 p 66 ccd_ck1x o 98 gpio5 i/o 3 x1 i 35 gndio2 p 67 mclk o 99 gpio6 i/o 4 agnd1 p 36 abus5 o 68 vsmp o 100 gpio7 i/o 5 dvcc1 p 37 abus4 o 69 bsmp o 101 vccio5 p 6 dgnd1 p 38 abus3 o 70 sen o 102 gndio5 p 7 dbus15 i/o 39 abus2 o 71 sclk o 103 gpio8 i/o 8 dbus14 i/o 40 abus1 o 72 sdi o 104 gpio10 i/o 9 dbus13 i/o 41 abus0 o 73 sdo i 105 gpio11 i/o 10 dbus12 i/o 42 rasj o 74 vccio4 p 106 gpio12 i/o 11 dbus11 i/o 43 casj o 75 gndio4 p 107 gpio13 i/o 12 dbus10 i/o 44 wej o 76 op7 i 108 gpio14 i/o 13 dbus9 i/o 45 bank1 o 77 op6 i 109 gpio15 i/o 14 dbus8 i/o 46 bank0 o 78 op5 i 110 gpio16 i/o 15 vccio1 p 47 cke o 79 op4 i 111 gpio17 i/o 16 gndio1 p 48 ramclk o 80 op3 i 112 gpio18 i/o 17 dbus7 i/o 49 adf_senr i/o 81 op2 i 113 vcccore4 p 18 dbus6 i/o 50 home i 82 op1 i 114 gndcore4 p 19 dbus5 i/o 51 led_b o 83 op0 i 115 gpio19 i/o 20 dbus4 i/o 52 xpa_sw o 84 mt_ph0 o 116 gpio20 i/o 21 dbus3 i/o 53 vcccore2 p 85 mt_ph1 o 117 extrst_ o 22 dbus2 i/o 54 gndcore2 p 86 mt_ph2 o 118 gnd p 23 dbus1 i/o 55 lamp_sw o 87 vcccore3 p 119 dvcc0 p 24 dbus0 i/o 56 ccd_tgb o 88 gndcore3 p 120 dgnd0 p 25 vcccore1 p 57 ccd_tgg o 89 mt_ph3 o 121 rpu - 26 gndcore1 p 58 vccio3 p 90 mt_ph4 o 122 avdd p 27 abus12 o 59 gndio3 p 91 mt_ph5 o 123 dpf i/o 28 abus11 o 60 ccd_ck4x o 92 mt_ph6 o 124 dph i/o 29 abus10 o 61 ccd_ck2x o 93 mt_ph7 o 125 dmf i/o 30 abus9 o 62 ccd_rsx o 94 gpio1 i/o 126 dmh i/o 31 abus8 o 63 ccd_cpx o 95 gpio2 i/o 127 agnd p 32 abus7 o 64 ccd_ck3x o 96 gpio3 i/o 128 rref i/o
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 12 table 3.2 C 208 pin list pin# pin name type pin# pin name type pin# pin name type pin# pin name type 1 33 gndcore1 p 65 fsha0 o 97 gpio25 i/o 2 34 abus12 o 66 fsha1 o 98 ccd_cpx o 3 nc 35 abus11 o 67 adf_senr i/o 99 gpio24 i/o 4 nc 36 abus10 o 68 fsha2 o 100 ccd_ck3x o 5 nc 37 abus9 o 69 fsha3 o 101 gpio23 i/o 6 nc 38 abus8 o 70 home i 102 nc 7 nc 39 abus7 o 71 fsha4 o 103 nc 8 avcc1 p 40 abus6 o 72 fsha5 o 104 nc 9 x2 o 41 vccio2 p 73 led_b o 105 nc 10 x1 i 42 gndio2 p 74 fsha6 o 106 nc 11 agnd1 p 43 abus5 o 75 fsha7 o 107 nc 12 dvcc1 p 44 abus4 o 76 xpa_sw o 108 nc 13 dgnd1 p 45 abus3 o 77 fsha8 o 109 nc 14 dbus15 i/o 46 nc 78 vcccore2 p 110 ccd_tgx o 15 dbus14 i/o 47 nc 79 gndcore2 p 111 ccd_ck1x o 16 dbus13 i/o 48 nc 80 fsha9 o 112 mclk o 17 dbus12 i/o 49 nc 81 lamp_sw o 113 vsmp o 18 dbus11 i/o 50 nc 82 fsha10 o 114 bsmp o 19 dbus10 i/o 51 nc 83 fsha11 o 115 sen o 20 dbus9 i/o 52 nc 84 ccd_tgb o 116 sclk o 21 dbus8 i/o 53 nc 85 fsha12 o 117 sdi o 22 vccio1 p 54 nc 86 fsha13 o 118 sdo i 23 gndio1 p 55 abus2 o 87 ccd_tgg o 119 vccio4 p 24 dbus7 i/o 56 abus1 o 88 vccio3 p 120 gndio4 p 25 dbu6 i/o 57 abus0 o 89 gndio3 p 121 op7 i 26 dbus5 i/o 58 rasj o 90 fsha14 o 122 op6 i 27 dbus4 i/o 59 casj o 91 ccd_ck4x o 123 op5 i 28 dbus3 i/o 60 wej o 92 fsh_oeb o 124 op4 i 29 dbus2 i/o 61 bank1 o 93 fsh_web o 125 op3 i 30 dbus1 i/o 62 bank0 o 94 ccd_ck2x o 126 op2 i 31 dbus0 i/o 63 cke o 95 gpio26 i/o 127 op1 i 32 vcccore1 p 64 ramclk o 96 ccd_rsx o 128 op0 i
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 13 129 fshd0 i/o 161 nc 193 agnd p 130 mt_ph0 o 162 fshd4 i/o 194 rref i/o 131 mt_ph1 o 163 gpio8 i/o 195 nc 132 mt_ph2 o 164 gpio9 i/o 196 nc 133 vcccore3 p 165 fshd5 i/o 197 nc 134 gndcore3 p 166 gpio10 i/o 198 nc 135 mt_ph3 o 167 gpio11 i/o 199 nc 136 fshd1 i/o 168 gpio12 i/o 200 nc 137 mt_ph4 o 169 fshd6 i/o 201 nc 138 mt_ph5 i/o 170 gpio13 i/o 202 nc 139 mt_ph6 o 171 gpio14 i/o 203 nc 140 mt_ph7 o 172 gpio15 i/o 204 nc 141 fshd2 i/o 173 fshd7 i/o 205 nc 142 gpio1 i/o 174 gpio16 i/o 206 nc 143 gpio2 i/o 175 gpio17 i/o 207 nc 144 gpio3 i/o 176 gpio18 i/o 208 nc 145 gpio4 i/o 177 gpio21 i/o 146 fshd3 i/o 178 vcccore4 p 147 gpio5 i/o 179 gndcore4 p 148 gpio6 i/o 180 gpio19 i/o 149 gpio7 i/o 181 gpio20 i/o 150 vccio5 p 182 gpio22 i/o 151 gndio5 p 183 extrst_ o 152 nc 184 gnd p 153 nc 185 dvcc0 p 154 nc 186 dgnd0 p 155 nc 187 rpu ? 156 nc 188 avdd p 157 nc 189 dpf i/o 158 nc 190 dph i/o 159 nc 191 dmf i/o 160 nc 192 dmh i/o
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 14 3.3 pin descriptions table 3.3 - pin descriptions pin name type description gpio1~8,10~20 i/o general purpose input/output, eeprom serial data clock or lcm data bit0 mt_ph0~5 o bi-polar (3967): mt_ph5=resetj mt_ph4=enablej mt_ph3=dir mt_ph2=step mt_ph1=ms2 mt_ph0=ms1 bi-polar (3955): mt_ph7=phase_a mt_ph6=phase_b mt_ph5=d2a mt_ph4=d1a mt_ph3=d0a mt_ph2=d2b mt_ph1=d1b mt_ph0=d0b bi-polar (1939): mt_ph3=in1 mt_ph2=in2 mt_ph1=ena1 mt_ph0=ena2 bi-polar (2916 or 6219): mt_ph5=phase1 mt_ph4=phase2 mt_ph3=i11 mt_ph2=i01 mt_ph1=i12 mt_ph0=i02 uni-polar(2003): mt_ph3=phase a mt_ph2=phase b mt_ph1=phase /a mt_ph0=phase /b mt_ph6~7 o motor phase 6~7 adf_senr i/o adf sensor for adf home i document sensor for adf pin name type description ccd_ck1x o ccd shift register clock1 or cis clock output ccd_cpx o ccd clamp gate clock or cis clock output ccd_tgx o ccd transfer gate clock for r channel or cis line start pulse ccd_ck2x o ccd shift register clock2 or cis clock output ccd_rsx o ccd reset gate clock or cis clock output ccd_ck3x o ccd shift register clock3 ccd_ck4x o ccd shift register clock4
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 15 ccd_tgg o ccd transfer gate clock for g channel ccd_tgb o ccd transfer gate clock for b channel lamp_sw o flatbed lamp power control or cis red led array control xpa_sw o transparency lamp power control or cis green led array control led_b o cis blue led array control pin name type description op7~0 i afe digital data input sen o serial interface load pulse sclk o serial interface clock output sdi o serial data output sdo i serial data input bsmp o video sample synchronization pulse vsmp/cdsclk2 o video sample synchronization pulse mclk/adcclk o master clock. pin name type description dbus15~0 i/o dram data bus abus12~0 o dram address bus rasj sdram row address strobe casj o sdram column address strobe wej o sdram write enable bank0~1 o sdram bank select cke o sdram clock enable ramclk o sdram clock pin name type description x1 i clock input for crystal (12mhz) x2 i/o clock output for crystal extrst_ i hardware reset input
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 16 pin name type description rpu - 3.3v pull up control for dpf dpf i/o positive usb differential data (full speed) dph i/o positive usb differential data (high speed) dmf i/o negative usb differential data (full speed) dmh i/o negative usb differential data (high speed) rref - 510 ? reference resistor input pin name type description avdd, avcc1 p analog power input for usb2.0 transceiver 3.3v agnd, agnd1 p analog ground input for usb2.0 transceiver dvcc0, dvcc1 p digital power input for usb2.0 controller 3.3v dgnd0, dgnd1 p digital ground input for usb2.0 controller. vcccore1~4 p digital power input for scanner controller logic core 3.3v gndcore1~4, gndio1~5 p digital ground input for scanner controller. vccio1~2 p for pin7~pin48 3.3v vccio3 p for pin49~pin66 3.3v vccio4 p for pin67~pin83 3.3v vccio5 p for pin84~pin117 3.3v gnd p ground notation: type o output i input b bi-directional b/i bi-directional, default input b/o bi-directional, default output p power / ground a analog so automatic output low when suspend pu internal pull up pd internal pull down odpu open drain with internal pull up odpu open drain with internal pull up
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 17 chapter 4 registers 4.1 registers base address table 4.1 - base address for registers offset (hex) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 default 01h cisset dogenb dvdset stagger compenb truegray shdarea scan - 02h nothome acdcdis agohome mtrpwr fastfed mtrrev homeneg longcurv - 03h lampdog aveenb xpasel lamppwr lamptim[3:0] 8 h94 04h lineart bitset afemod[1:0] filter[1:0] feset[1:0] 8 h00 05h dpihw[1:0] mtllamp[1:0] gmmenb enb20m mtlbase[1:0] 8 h00 06h scanmod[2:0] pwrbit gain4 optest[2:0] 8 h00 07h lampsim ccdctl dramctl movctl ramsel fastdma dmasel dmardwr 8 h00 08h x decflag gmmffr gmmffg gmmffb gmmzr gmmzg gmmzb 8 h00 09h mcntset[1:0] even1st bline1st backscan enhance shorttg nwait 8 h00 0ah lcdsel lcmsel adfsel lpwmen epromsel rs232sel baudrat[1:0] 8 h00 0bh clkset[2:0] rfhdis enbdram dramsel[2:0] 8 h00 0ch swsh[4:0] ccdlmt[2:0 ] 8 h00 0dh jampcmd doccmd ccdcmd fullstp send clrmcnt clrdocjm clrlncnt - 0eh scanreset - 0fh move - 10h expr[15:8] 8 h00 11h expr[7:0] 8 h00 12h expg[15:0] 8 h00 13h expg[7:0] 8 h00 14h expb[15:8] 8 h00 15h expb[7:0] 8 h00 16h ctrlhi toshiba tginv ck1inv ck2inv ctrlinv ckdis ctrldis 8 h32 17h tgmode[1:0] tgw[5:0] 8 h14 18h cnset dcksel[1:0] cktoggle ckdelay[1:0] cksel[1:0] 8 h00 19h expdmy[7:0] 8 h00 1ah tglsw2 tglsw1 manual3 manual1 ck4inv ck3inv lineclp x 8 h00 1bh grayset chansel bgrenb icgenb icgdly[3:0] 8 h00 1ch ck4mtgl ck3mtgl ck1mtgl ckarea mtlwd tgtime[2:0] 8 h00 1dh ck4low ck3low ck1low tgshld[4:0] 8 h04 1eh wdtime[3:0] linesel[3:0] 8 h20 1fh scanfed[7:0] 8 h00 20h bufsel[7:0] 8 h00 21h stepno[7:0] 8 h00 22h fwdstep[7:0] 8 h00 23h bwdstep[7:0] 8 h00 24h fastno[7:0] 8 h00 25h x x x x lincnt[19:16] 8 h00 26h lincnt[15:8] 8 h00
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 18 27h lincnt[7:0] 8 h00 28h gmmwrdata - 29h x x x ramaddr[20:16] 8 h00 2ah ramaddr[15:8] 8 h00 2bh ramaddr[7: 0] 8 h00 2ch x x dpiset[13:8] 8 h00 2dh dpiset[7:0] 8 h00 2eh bwhi[7:0] 8 h00 2fh bwlow[7:0] 8 h00 30h strpixel[15:8] 8 h00 31h strpixel[7:0] 8 h00 32h endpixel[15:8] 8 h00 33h endpixel[7:0] 8 h00 34h dummy[7:0] 8 h00 35h maxwd[24:17] 8 h00 36h maxwd[16:9] 8 h00 37h maxwd[8:1] 8 h00 38h lperiod[15:8] 8 h2a 39h lperiod[7:0] 8 h30 3ah x x x x x x x fewrdata[8] - 3bh fewrdata[7:0] - 3ch ramwrdata - 3dh x x x x feedl[19:16] 8 h00 3eh feedl[15:8] 8 h00 3fh feedl[7:0] 8 h00 40h docsnr adfsnr coversnr chkver docjam hispdflg motmflg dataenb - 41h pwrbit bufempty feedfsh scanfsh homesnr lampsts febusy motorenb - 42h validword[24:17] 8 h00 43h validword[16:9] 8 h00 44h validword[8:1] 8 h00 45h ramrddata - 46h x x x x x x x ferddata[8] - 47h ferddata[7:0] - 48h x x x x fedcnt[19:16] 8 h00 49h fedcnt[15:8] 8 h00 4ah fedcnt[7:0] 8 h00 4bh x x x x scancnt[19:16] 8 h00 4ch scancnt[15:8] 8 h00 4dh scancnt[7:0] 8 h00 4eh gmmrddata - 4fh x x dogon rombsy lcmbsy tx232bsy rx232bsy rxready - 50h x x ferda[5:0] 8 h00 51h x x fewra[5:0] 8 h00 52h x x x rhi[4:0] 8 h00 53h x x x rlow[4:0] 8 h00 54h x x x ghi[4:0] 8 h00 55h x x x glow[4:0] 8 h00
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 19 56h x x x bhi[4:0] 8 h00 57h x x x blow[4:0] 8 h00 58h vsmp[4:0] vsmpw[2:0] 8 h00 59h bsmp[4:0] bsmpw[2:0] 8 h00 5ah adclkinv rlcsel cdsref[1:0] rlc[3:0] 8 h00 5bh x mtrtbl gmmaddr[13:8] 8 h00 5ch gmmaddr[7:0] 8 h00 5dh hispd[7:0] 8 h00 5eh decsel[2:0] stoptim[4:0] 8 h00 5fh fmovdec[7:0] 8 h00 60h x x x z1mod[20:16] 8 h00 61h z1mod[15:8] 8 h00 62h z1mod[7:0] 8 h00 63h x x x z2mod[20:16] 8 h00 64h z2mod[15:8] 8 h00 65h z2mod[7:0] 8 h00 66h phfreq[7:0] 8 h00 67h stepsel[1:0] mtrpwm[5:0] 8 h7f 68h fstpsel[1:0] fastpwm[5:0] 8 h7f 69h fshdec[7:0] 8 h00 6ah fmovno[7:0] 8 h00 6bh multfilm gpom13 gpom12 gpom11 gpock4 gopcp gpoledb gpoadf 8 h00 6ch gpio16 gpio15 gpio14 gpio13 gpio12 gpio11 gpio10 gpio9 8 h00 6dh gpio8 gpio7 gpoi6 gpio5 gpio4 gpio3 gpio2 gpio1 8 h00 6eh gpoe16 gpoe15 gpoe14 gpoe13 gpoe12 gpoe11 gpoe10 gpoe9 8 h00 6fh gpoe8 gpoe7 gpoe6 gpoe5 gpoe4 gpoe3 gpoe2 gpoe1 8 h00 70h x x x rsh[4:0] 8 h06 71h x x x rsl[4:0] 8 h08 72h x x x cph[4:0] 8 h08 73h x x x cpl[4:0] 8 h0a 74h x x x x x x ck1map[17:16] 8 h00 75h ck1map[15:8] 8 h00 76h ck1map[7:0] 8 h00 77h x x x x x x ck3map[17:16] 8 h00 78h ck3map[15:8] 8 h00 79h ck3map[7:0] 8 h00 7ah x x x x x x ck4map[17:16] 8 h00 7bh ck4map[15:8] 8 h00 7ch ck4map[7:0] 8 h00 7dh ck1neg ck3neg ck4neg rsneg cpneg bsmpneg vsmpneg dlyset 8 h00 7eh gpoled25 gpoled24 gpoled23 gpoled22 gpoled21 gpoled10 gpoled9 gpoled8 8 h00 7fh bsmpdly[1:0] vsmpdly[1:0] ledcnt[3:0] 8 h00 80h vrhome[1:0] vrmove[1:0] vrback[1:0] vrscan[1:0] 8 h00 81h x x x loadset[4:0] 8 h00 82h contb[3:0] conta[3:0] 8 h00 83h imgset[7:0] 8 h00
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 20 84h pack[1:0] packcnt[5:0] 8 h00 87h x yenb ybit acycnrlc enoffset ledadd ck4adc autoconf 8 h00 88h x x x rdnum[4:0] 8 h00 89h rs232wd[7:0] - 8ah rs232rd[7:0] - 8bh romaddr[7:0] 8 h00 8ch romwd[15:8] - 8dh romwd[7:0] - 8eh romrd[15:8] - 8fh romrd[7:0] - 90h prefed[15:8] 8 h00 91h prefed[7:0] 8 h00 92h pstfed[15:8] 8 h00 93h pstfed[7:0] 8 h00 94h mtrpls[7:0] 8 h00 95h x x x x scanlen[19:16] 8 h00 96h scanlen[15:8] 8 h00 97h scanlen[7:0] 8 h00 98h ondur[15:8] 8 h00 99h ondur[7:0] 8 h00 9ah offdur[15:8] 8 h00 9bh offdur[7:0] 8 h00 9ch lcmwd[7:0] - 9dh ramdly[1:0] motlag cmode steptim[1:0] muldmyln ifrs 8 h00 9eh x sel3inv tgstime[2:0] tgwtime[2:0] 8 h00 9fh lcdctl lcmctl epromctl tgctl mpuctl motmpu nec8884 dpi9600 x a0h x x lnofset[5:0] x a1h x x x stgset[4:0] x a2h x x x rfhset[4:0] 8 h00 a3h truer[7:0] - a4h trueg[7:0] - a5h trueb[7:0] 8 h00 a6h gpio24 gpio23 gpio22 gpio21 gpio20 gpio19 gpio18 gpio17 8 h00 a7h gpoe24 gpoe23 gpoe22 gpoe21 gpoe20 gpoe19 gpoe18 gpoe17 8 h00 a8h x x gpoe27 gpoe26 gpoe25 gpo27 gpo26 gpo25 8 h00 a9h x x gpo33 gpo32 gpo31 gpo30 gpo29 gpo28 8 h00 abh gpom9 mulstop[2:0] nodecel tb3tb1 tb5tb2 fix16clk 8 h00 ach vrhome3 vrhome2 vrmome3 vrmome2 vrback3 vrback2 vrscan3 vrscan2 8 h00 adh x x adftyp[1:0] ccdtyp[3:0] aeh x x motset[2:0] process[2:0] afh scantyp[2:0] fedtyp[1:0] adfmove[2:0] notation: r/w read / write r/o read only
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 21 w/o write only r/w1c readable and write-1-clear r/w/c read / write and hardware automatic clear 4.2 register descriptions offset 01h cisset dogenb dvdset stagger compenb truegray shdarea scan r/w r/w r/w r/w r/w r/w r/w r/w 7 cisset 0 ccd scan type. 1 cis scan type. 6 dogenb 0 disable watchdog function. 1 enable watchdog function (set time out duration in reg1e[7:4]). 5 dvdset 0 disable shading function. 1 enable shading function (include whole line shading and area shading). 4 stagger 1 enable double shading. 0 disable double shading. 3 compenb 0 disable data compression. 1 enable lossless data compression. 2 truegray 0 disable true gray function. 1 enable true gray function. the weightings are stored in reg a3,a4 and a5. 1 shdarea 0 select whole-line shading. 1 select area-shading (depend on scan area and scan dpi). 0 scan 0 disable scanning process. 1 enable scanning process. offset 02h nothome acdcdis agohome mtrpwr fastfed mtrrev homeneg longcurv r/w r/w r/w r/w r/w r/w r/w r/w 7 nothome 0 in auto-go-home function, carriage will not stop until touching the home sensor. 1 in auto-go-home function, moving steps of carriage depends on steps setting from software (reg 3d, 3e and 3f). 6 acdcdis 0 enable carriage backtracking when image buffer is full. 1 disable carriage backtracking when image buffer is full. 5 agohome 0 disable auto-go-home function. 1 enable auto-go-home function. it s for carriage to go home automatically after scanning finished. 4 mtrpwr 0 turn off motor power and phase to idle state. 1 turn on motor power and phase. 3 fastfed 0 move to scanning window by only one acceleration/deceleration tables. 1 move to scanning window by two acceleration/deceleration tables. 2 mtrrev 0 set motor to move in forward direction. 1 set motor to move in reverse direction. 1 homeneg 0 motor will be decelerated when home sensor input (home) changes from low to high (rising edge). 1 motor will be decelerated when home sensor input (home) changes from high to low (falling edge). 0 longcurv 0 the deceleration curve of the fast moving is defined in table 4 or use default
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 22 curve. 1 the deceleration curve of the fast moving is defined in table 5 to protect wall-hitting. offset 03h .. .. . default value = 8 h94 lampdog aveenb xpasel lamppwr lamptim3 lamptim2 lamptim1 lamptim0 r/w r/w r/w r/w r/w r/w r/w r/w 7 lampdog 0 to disable sleep mode of lamp. 1 to start sleep mode of lamp (default on). 6 aveenb 0 select dpi deletion function 1 select dpi average function. 5 xpasel 0 select flatbed lamp on. 1 select transparency lamp on. 4 lamppwr 0 turn off lamp power. 1 turn on lamp power. 3-0 lamptim[3:0] counter of the sleep mode of lamp (default: 4). the unit is minute. offset 04h .. .. .. default value = 8 h00 lineart bitset afemod1 afemod0 filter1 filter0 feset1 feset0 r/w r/w r/w r/w r/w r/w r/w r/w 7 lineart 0 color/gray scanning. 1 black/white scanning. 6 bitset 0 8 bits image data type (= byte). 1 16 bits image data type (= word). 5-4 afemod[1:0] afe operation mode. wolfson type afemod scanmod description cds available max sample rate timing requirements 2 0,1,7 slow color pixel-by-pixel yes 5msps *3 channel mclk:vsmp rate is 8:1 1 0,1,6,7 color pixel-by-pixel yes 6.67msps *3 channel mclk:vsmp rate is 6:1 0 0,1,4,5,6 fast mono yes 13.3msps *1 channel mclk:vsmp rate is 3:1 analog device type afemod scanmod description cds available max sample rate timing requirements 2 0,1,6,7 slow color pixel-by-pixel yes mclk:vsmp rate is 3:1 1 0,1,6,7 mono yes mclk:vsmp rate is 2:1 0 0,1,6,7 fast mono yes mclk:vsmp rate is 1:1 3-2 filter[1:0] scan color type: 00 color
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 23 01 r 10 g 11 b 1-0 feset[1:0] front end operation type: 00 esic type 1 01 esic type2 10 adi type 11 reserved offset 05h .. .. .. . default value = 8 h00 dpihw1 dpihw0 mtllamp1 mtllamp0 gmmenb enb20m mtlbase1 mtlbase0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 dpihw [1:0] to set ccd/cis resolution. 00 600 dpi 01 1200 dpi 10 2400 dpi 11 4800 dpi 5-4 mtllamp[1:0] multiply coefficient for time-out counter of lamp. 00 1* lamptim 01 2* lamptim 10 4* lamptim 11 reserved 3 gmmenb 0 disable gamma correction. 1 enable gamma correction. 2 enb20m 0 ccd_ck1x output clocks according to designer s settings . 1 ccd_ck1x generate 20mhz clock to ccd or cis sensors. 1-0 mtlbase [1:0] to set output ccd pixel number under each system pixel time. 00 1 ccd pixel/sstem pixel time. 01 2 ccd pixel/sstem pixel time. 10 3 ccd pixel/sstem pixel time. 11 4 ccd pixel/sstem pixel time. offset 06h .. .. .. . default value = 8 h00 scanmod2 scanmod1 scanmod0 pwrbit gain4 optest2 optest1 optest0 r/w r/w r/w r/w r/w r/w r/w r/w 7-5 scanmod[2:0] to set operation mode. 000 12 clocks/pixel ; normal mode operation for scanning. color scanning : 24 bits image with gamma correction gray scanning : 8 bits image with gamma correction 16 bits image without gamma correction line art scanning : 1 bit image with gamma correction 001 12 clocks/pixel ; bypass mode operation for calibration. include color(pixel rate) , gray line-art. 010 reserved 011 reserved 100 reserved 101 reserved 110 18 clocks/pixel. color scanning : 24 bits image with gamma correction 48 bits image without gamma correction gray scanning : 8 bits image with gamma correction 16 bits image without gamma correction
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 24 line art scanning : 1 bit image with gamma correction 111 16 clocks/pixel. color scanning : 24 bits image with gamma correction 48 bits image without gamma correction gray scanning : 8 bits image with gamma correction 16 bits image without gamma correction line art scanning : 1 bit image with gamma correction 4 pwrbit the hardware will reset this bit during power-on initial process. it can be set and checked by s/w to know if the power had been turned off or not. default is reset. 3 gain4 0 digital shading gain=8 times system. 1 digital shading gain=4 times system. note: if you want to get more precise image quality,you can set gain4 bit. 2-0 optest[2:0] select asic operation type. 000 set normal mode to capture afe image. 001 set sdram bank testing and power-on moving testing for asic simulation 010 pixel count pattern for asic image test. 011 line count pattern for asic image test. 100 counter and adder test for asic simulation test. 101 reserved. 110 reserved. 111 reserved. offset 07h .. .. .. . default value = 8 h00 lampsim ccdctl dramctl movctl ramsel fastdma dmasel dmardwr r/w r/w r/w r/w r/w r/w r/w r/w 7 lampsim for timer simulation 6 ccdctl for ccd timing control 5 dramctl for sram & dram access control 4 movctl for motor driver ic style control 3 sramsel 0 dma access for dram. 1 dma access for sra 2 fastdma 0 4clocks/access,that is to say 4clocks/16bits or 4clocks/8bits for dma access. 1 2clocks/access,that is to say 2clocks/16bits or 2clocks/8bits for dma access. 1 dmasel 0 mpu access dram under command mode. 1 dma access dram under command mode. 0 dmardwr 0 dma read dram under command mode. note: please do not write other values than 00h into this register under normal condition. offset 08h .. .. .. . default value = 8 h00 x decflag gmmffr gmmffg gmmffb gmmzr gmmzg gmmzb x r/w r/w r/w r/w r/w r/w r/w 7 reserved - 6 decflag 0 select gamma table in increment type 1 select gamma table in decrement type. 5 gmmffr 0 this function is not enabled 1 gamma table address ffh of red channel is a special value.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 25 4 gmmffg 0 this function is not enabled. 1 gamma table address ffh of green channel is a special value. 3 gmmffb 0 this function is not enabled. 1 gamma table address ffh of blue channel is a special value. 2 gmmzr 0 this function is not enabled. 1 gamma table address 00h of red channel is a special value. 1 gmmzg 0 this function is not enabled. 1 gamma table address 00h of green channel is a special value. 0 gmmzb 0 this function is not enabled. 1 gamma table address 00h of blue channel is a special value. offset 09h .. .. .. . default value = 8 h00 mcntset1 mcntset0 even1st bline1st backscan enhance shorttg nwait r/w r/w r/w r/w r/w r/w r/w r/w 7-6 mcntset[1:0] to select the unit of motor table counter. 00 pixel count. 01 system clock*2. 10 system clock*3. 11 system clock*4. 5 even1st 0 the first pixel of stagger ccd is located at odd sensor line. 1 the first pixel of stagger ccd is located at even sensor line. 4 bline1st 0 the first sensor of ccd is red line. 1 the first sensor of ccd is blue line. 3 backscan 0 select forward scanning function. 1 select backward scanning function. 2 enhance 0 select normal mode for embedded epp interface. 1 select enhance mode for embedded epp interface. 1 shorttg 0 disable this function. 1 enable short ccd sh(tg) period for film scanning. 0 nwait 0 no delay for nwait. 1 to delay nwait (h_busy) for one clock. offset 0ah .. .. .. . default value = 8 h00 lcdsel lcmsel adfsel lpwmen epromsel rs232sel baudrat1 baudrat 0 r/w r/w r/w r/w r/w r/w r/w r/w 7 lcdsel 0 disable lcd display function. 1 enable lcd display function and the specific gpios are defined to drive lcd. 6 lcmsel 0 disable lcm display function. 1 enable lcm display function and the specific gpios are defined to drive lcm. 5 adfsel 0 disable adf function. 1 enable adf function and the specific gpios are defined to drive adf module. 4 lpwmen 0 disable adf function. 1 enable pwm function of lamp. 3 epromsel 0 disable external eeprom (93c46) interface. 1 enable external eeprom (93c46) interface and the specific gpios are defined to connect eeprom. 2 rs232sel 0 disable rs232 interface.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 26 1 enable rs232 interface for special application and the specific gpios are defined to implement rs232 protocol. 1-0 baudrat[1:0] set boud rate of rs232. 00 2400bps. 01 4800bps. 10 9600bps. 11 19200bps. offset 0bh .. .. .. . default value = 8 h00 clkset2 clkset1 clkset0 rfhdis enbdram dramsel2 dramsel1 dramsel0 r/w r/w r/w r/w r/w r/w r/w r/w 7-5 clkset[2:0] to select the system clock frequency. 000 24mhz. 001 30mhz. 010 40mhz. 011 48mhz. 100 60mhz. 101 reserved. 110 reserved. 111 reserved. 4 rfhdis 0 enable auto-refresh mode for sdram. 1 enable self-refresh mode for sdram. 3 enbdram a rising edge from low to high: to start power on sequence of sdram. 2-0 dramsel[2:0] select the sdram size. 000 reserved. 001 16m bit. 010 64m bit. 011 128m bit. 100 256m bit. 101 512m bit. 110 reserved. 111 reserved. offset 0ch .. .. .. . default value = 8 h00 swsh4 swsh3 swsh2 swsh1 swsh0 ccdlmt2 ccdlmt1 ccdlmt0 r/w r/w r/w r/w r/w r/w r/w r/w 7-3 swsh [4:0] to set the distance from sel3 to tg for nec8884. the width s swsh[4:2]*2 tgstime 2-0 ccdlmt[2:0] to set the lines count which is synchronized for ccd timing(like nec8884). offset 0dh jampcmd doccmd ccdcmd fullstp send clrmcnt clrdocjm clrlncnt w w w w w w w w command: scanner command. 7 jampcmd to control jamp when scanner is working on adf.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 27 6 doccmd to control document when scanner is working on adf. 5 ccdcmd to control ccd when abnormal status happens. 4 fullstp to reset steps type to full step. 3 send to send the rs232 data. 2 clrmcnt to clear fedcnt(reg48,reg49,reg4a) counter information. 1 clrdocjm 0 don t clear document jam message for adf module. 1 to clear document jam message for adf module. 0 clrlncnt 0 don t clear scancnt. 1 to clear scancnt (reg4b,reg4c,reg4d). note: 1.for each scanning, designers must clear scancnt before starting process. 2.other bits in this register are not defined. offset 0eh scanreset w command: scanner software reset. it can initiate aisc system including lamp and motor, control registers, internal circuit; but not including tables in dram, like gamma table, shading table and acceleration/deceleration table. note: in normal condition, it is unnecessary to reset scanner unless the scanner is out of control. offset 0fh move w command: motor moving. start motor forward/backward moving. offset 10h .. .. .. . default value = 8 h00 expr15 expr14 expr13 expr12 expr11 expr10 expr9 expr8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expr[15:8] exposure time setting (in pixel time) for red-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 11h .. .. .. . default value = 8 h00 expr7 expr6 expr5 expr4 expr3 expr2 expr1 expr0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expr[7:0] exposure time setting (in pixel time) for red-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 12h .. .. .. . default value = 8 h00 expg15 expg14 expg13 expg12 expg11 expg10 expg9 expg8 r/w r/w r/w r/w r/w r/w r/w r/w
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 28 7-0 expg[15:8] exposure time setting (in pixel time) for green-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 13h .. .. .. . default value = 8 h00 expg7 expg6 expg5 expg4 expg3 expg2 expg1 expg0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expg[7:0] exposure time setting (in pixel time) for green-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 14h .. .. .. . default value = 8 h00 expb15 expb14 expb13 expb12 expb11 expb10 expb9 expb8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expb[15:8] exposure time setting (in pixel time) for blue-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 15h .. .. .. . default value = 8 h00 expb7 expb6 expb5 expb4 expb3 expb2 expb1 expb0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expb[7:0] exposure time setting (in pixel time) for blue-led of cis or red channel of ccd. note: it cannot be programmed to logic zero. offset 16h .. .. .. . default value = 8 h32 ctrlhi toshiba tginv ck1inv ck2inv ctrlinv ckdis ctrldis r/w r/w r/w r/w r/w r/w r/w r/w 7 ctrlhi 0 ccd cp & rs will be low when tg goes high. 1 ccd cp & rs will be high when tg goes high. 6 toshiba 0 not toshiba cis. 1 to indicate the image sensor is toshiba cis. 5 tginv 0 don t reverse. 1 to reverse ccd tg. 4 ck1inv 0 don t reverse. 1 to reverse ccd clock 1. 3 ck2inv 0 don t reverse. 1 to reverse ccd clock 2. 2 ctrlinv 0 don t reverse. 1 to reverse ccd cp & rs. 1 ckdis 0 disable clock1 and 2 under ccd tg position as illustrated.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 29 0 enable clock 1 and 2 under ccd tg position as illustrated. 0 ctrldis 1 disable ccd cp & rs signals under ccd tg position as illustrated. 0 enable ccd cp & rs signals under ccd tg position as illustrated. offset 17h .. .. . . default value = 8 h14 tgmode1 tgmode0 tgw5 tgw4 tgw3 tgw2 tgw1 tgw0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 tgmode[1:0] to set ccd tg mode. 00 normal ccd tg type. 01 ccd tg control with dummy line. 10 ccd tg control with dummy lines for transparency scanning type. 11 reserved for asic simulation. 5-0 tgw[5:0] to set ccd tg plus width (in pixel time). note: it cannot be programmed to logic zero. offset 18h .. .. .. . default value = 8 h00 cnset dcksel1 dcksel0 cktoggle ckdelay1 ckdelay0 cksel1 cksel0 r/w r/w r/w r/w r/w r/w r/w r/w 7 cnset 0 select tg and clock to be non-canon cis style. 1 select tg and clock to be canon cis style. 6-5 dcksel1[1:0] 00 speed 1: one ccd clock per system pixel time in shifting dummy lines. 01 speed 2: two ccd clock per system pixel time in shifting dummy lines. 10 speed 3: three ccd clock per system pixel time in shifting dummy lines.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 30 11 speed 4: four ccd clock per system pixel time in shifting dummy lines. 4 cktoggle 0 one cycle per pixel. 1 half cycle per pixel for ccd clock 1 & 2. 3-2 ckdelay[1:0] 00 no delay 01 delay one system clock for ccd clock 1/2. 10 delay two systems clock for ccd clock 1/2. 11 delay three systems clock for ccd clock 1/2. 1-0 cksel[1:0] 00 speed 1: one ccd clock per system pixel time in capturing image. 01 speed 2: two ccd clock per system pixel time in capturing image. 10 speed 3: three ccd clock per system pixel time in capturing image. 11 speed 4: four ccd clock per system pixel time in capturing image. note: speed limitation of ccd clock in different scanning modes: 1. scanmod=0,1 : 12 clocks/pixel a. toggle ccd : supports speed 1,2,3,4. b. non-toggle ccd : supports speed 1,2,3. 2. scanmod=2 : reserved. 3. scanmod=3 : reserved. 4. scanmod=4 : reserved. 5. scanmod=5 : reserved. 6. scanmod=6 : 18 clocks/pixel a. toggle ccd : supports speed 1,2,3. b. non-toggle ccd : supports speed 1,2,3,4. 7. scanmod=7 : 16 clocks/pixel a. toggle ccd : supports speed up 1,2,4. b. non-toggle ccd : supports speed 1,2,4. note: toggle ccd ccd which can output one pixel in one half cycle of ccd clock. non-toggle ccd ccd which always output one pixel in one ccd clock cycle. offset 19h .. . . . default value = 8 h00 expdmy7 expdmy6 expdmy5 expdmy4 expdmy3 expdmy2 expdmy1 expdmy0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 expdmy[7:0] to set exposure time of dummy lines (unit = 256 pixels time) or cis led turn-on tme. cis sp cis led expdmy for turn on expr/expg/expb for turn off note: it cannot be programmed to logic zero. offset 1ah .. .. .. . default value = 8 h00 tglsw2 tglsw1 manual3 manual1 ck4inv ck3inv lineclp x r/w r/w r/w r/w r/w r/w r/w x 7 tglsw2 set ccd sw2 output. 6 tglsw1 set ccd sw1 output. 5 manual3 0 ccd clock 3,clock4 automatic output. 1 ccd clock 3,clock4 manual output. 4 manual1 0 ccd clock 1,clock2 automatic output. 1 ccd clock 1,clock2 manual output.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 31 3 ck4inv 0 don t reverse. 1 to reverse ccd clock4. 2 ck3inv 0 don t reverse. 1 to reverse ccd clock 3. 1 lineclp 0 to select ccd pixel clamping. 1 to select ccd line clamping. 0 reserved - offset 1bh .. .. .. .. .. . default value = 8 h00 grayset chansel bgrenb icgenb icgdly3 icgdly2 icgdly1 icgdly0 r/w r/w r/w r/w r/w r/w r/w r/w 7 grayset 0 select single channel output. 1 select two channel output. 6 chansel 0 fast true gray latch is 2 and 3 position. 1 fast true gray latch is 1 and 2 position. 5 bgrenb 0 the order is r-g-b. 1 the order of latching a/d data is b-g-r. 4 icgenb 0 to disable icg control. 1 to enable ccd shutter control signal icg. 3-0 icgdly[3:0] ccd icg delay for rising/falling edge. offset 1ch .. .. .. .... . default value = 8 h00 ck4mtgl ck3mtgl ck1mtgl ckarea mtlwd tgtime2 tgtime1 tgtime0 r/w r/w r/w r/w r/w r/w r/w r/w 7 ck4mtgl 0 disable toggle function in ccd clock 4. 1 enable toggle function in ccd clock 4. 6 ck3mtgl 0 disable toggle function in ccd clock 3. 1 enable toggle function in ccd clock 3. 5 ck1mtgl 0 disable toggle function in ccd clock 1 & 2. 1 enable toggle function in ccd clock 1 &2. 4 ckarea 0 this function is disabled. 1 ccd clock speed depends on cksel in scan area and dcksel in non-scan area. 3 mtlwd 0 set the watchdog time-out as wdtime[3:0]. 1 set the watchdog time-out as wdtime[3:0] * 2. 2-0 tgtime[2:0] ccd line period selection. 000 1*lperiod(reg38,reg39) 001 2*lperiod 010 4*lperiod 011 8*lperiod 100 16*lperiod 101 32*lperiod 110 reserved. 111 reserved.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 32 offset 1dh .. .. .. . .. . default value = 8 h04 ck4low ck3low ck1low tgshld4 tgshld3 tgshld2 tgshld1 tgshld0 r/w r/w r/w r/w r/w r/w r/w r/w 7 ck4low 0 clock 4 will be high when tg goes high. 1 clock 4 will be low when tg goes high. 6 ck3low 0 clock 3 will be high when tg goes high. 1 clock 3 will be low when tg goes high. 5 ck1low 0 clock 1 & 2 will be high when tg goes high. 1 clock 1 & 2 will be low when tg goes high. 4-0 tgshld[4:0] ccd tg shoulder width (in pixel time). please refer to reg34. note: designers have to program the tgshld >= 2 (more than two). offset 1eh .. .. .. . .. . default value = 8 h20 wdtime3 wdtime2 wdtime1 wdtime0 linesel3 linesel2 linesel1 linesel0 r/w r/w r/w r/w r/w r/w r/w r/w 7-4 wdtime[3:0] to set watch-dog time. the unit is 30 seconds. 3-0 linesel[3:0] to set vertical resolution for cis or dummy lines for ccd. cis : linesel = 0 full resolution. = 1 1/2 resolution. = 2 1/3 resolution . .. = 15 1/16 resolution. ccd : linesel = 0 no dummy line. = 1 1 dummy line. = 2 2 dummy lines. .. = 15 15 dummy lines. note: in contrary to dummy line feature in ccd, for low resolution in cis, the scanning speed is improved by implementing fast motor moving. offset 1fh .. .. .. . .. . . default value = 8 h00 scanfed7 scanfed6 scanfed5 scanfed4 scanfed3 scanfed2 scanfed1 scanfed0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 scanfed[7:0] steps number setting for moving to scanning position. please refer to description of reg6a note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by2* steptim offset 20h .. .. .. . .. . . default value = 8 h00 bufsel7 bufsel6 bufsel5 bufsel4 bufsel3 bufsel2 bufsel1 bufsel0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 bufsel[7:0] to set buffer condition. when buffer is full, scanner will stop and wait for host to read out image data from sdram. the valid data count (has not been read) is represented by validword (in word).
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 33 if validword < buffer condition, then the scanner will re-start to scan. following are the units of this register under various sdram size. 16m bits sdram : 4k words 64m bits sdram : 16k words 128m bits sdram : 32k words 256m bits sdram : 64k words 512m bits sdram : 128k words offset 21h .. .. .. . .. . . default value = 8 h00 stepno7 stepno6 stepno5 stepno4 stepno3 stepno2 stepno1 stepno0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 stepno[7:0] steps number of table one for the acceleration/deceleration of scanning moving. please refer to section 6.19 and the descriptions of reg24 & reg6a. note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by2* steptim offset 22h .. .. .. . .. . . default value = 8 h00 fwdstep7 fwdstep6 fwdstep5 fwdstep4 fwdstep3 fwdstep2 fwdstep1 fwdstep0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fwdstep[7:0] steps number for forward moving when buffer condition is met. please refer to section 6.19 and the descriptions of reg20 & reg24. note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by2* steptim offset 23h .. .. .. . .. . . default value = 8 h00 bwdstep7 bwdstep6 bwdstep5 bwdstep4 bwdstep3 bwdstep2 bwdstep1 bwdstep0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 bwdstep[7:0] steps number for backward moving when image buffer is full. please refer to section 6.19 and the descriptions of reg24. note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by2* steptim offset 24h .. .. .. . .. . . default value = 8 h00 fastno7 fastno6 fastno5 fastno4 fastno3 fastno2 fastno1 fastno0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fastno[7:0] steps number of table two for the acceleration/deceleration when image buffer is full. please refer to section 6.19 and the descriptions of reg20. note: it cannot be programmed to logic zero.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 34 buffer full position speed reg22 reg21 reg21 time reg24 reg24 reg23 offset 25h .. .. .. . .. . . default value = 8 h00 x x x x lincnt19 lincnt18 lincnt17 lincnt16 x x x x r/w r/w r/w r/w 7-4 reserved - 3-0 lincnt[19:16] scanning lines count specified by designers. note: it cannot be programmed to logic zero. offset 26h .. .. .. . .. . . default value = 8 h00 lincnt15 lincnt14 lincnt13 lincnt12 lincnt11 lincnt10 lincnt9 lincnt8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 lincnt[15:8] scanning lines count specified by designers. note: it cannot be programmed to logic zero. offset 27h .. .. .. . .. . . default value = 8 h00 lincnt7 lincnt6 lincnt5 lincnt4 lincnt3 lincnt2 lincnt1 lincnt0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 lincnt[7:0] scanning lines count specified by designers. note: it cannot be programmed to logic zero. offset 28h .. .. .. . .. . . default value = 8 h00 gmmwrdata w gmmwrdata this port is for designers to write gamma table.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 35 offset 29h .. .. .. . .. . . default value = 8 h00 x x x ramaddr20 ramaddr19 ramaddr18 ramaddr17 ramaddr16 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 ramaddr[20:16] sdram start address (in word) to access data. the unit is 16 words. note: the real sdram address iram_a[24:0]={ramaddr[20:0] appended by 0000}. offset 2ah .. .. .. . .. . .. . . default value = 8 h00 ramaddr15 ramaddr14 ramaddr13 ramaddr12 ramaddr11 ramaddr10 ramaddr9 ramaddr8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ramaddr[15:8] sdram start address (in word) to access data. the unit is 16 words. note: the real sdram address iram_a[24:0]={ramaddr[20:0] appended by 0000}. offset 2bh .. .. .. . .. . .. . . default value = 8 h00 ramaddr7 ramaddr6 ramaddr5 ramaddr4 ramaddr3 ramaddr2 ramaddr1 ramaddr0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ramaddr[7:0] sdram start address (in word) to access data. the unit is 16 words. note: the real sdram address iram_a[24:0]={ramaddr[20:0] appended by 0000}. offset 2ch .. .. .. . .. . .. . . default value = 8 h00 x x dpiset13 dpiset12 dpiset11 dpiset10 dpiset9 dpiset8 x x r/w r/w r/w r/w r/w r/w 7-5 reserved - 4-0 dpiset[13:8] set resolution in dpi for average or deletion type. a. average type : digital average function support 1/2,1/3,1/4,1/5,1/6,1/8,1/10,1/12,1/15. a. 9600 dpi mode ccd:support 4800,3200,2400,1920,1600,1200,960,800,640 dpi. b. 4800 dpi mode ccd:support 2400,1600,1200,960,800,480,400,320 dpi. c. 2400 dpi mode ccd:support 1200,800,600,480,400,300,240,200,160 dpi. d. 1200 dpi mode ccd:support 600,400,300,240,200,150,120,100,80 dpi. e. 600 dpi mode ccd:support 300,200,150,120,100,75,60,50,40 dpi. b. deletion type : 9600,4800,2400,1200 or 600dpi to 1 dpi setting decrement by one dpi. note: it cannot be programmed to logic zero. offset 2dh .. .. .. . .. . .. . . default value = 8 h00 dpiset7 dpiset6 dpiset5 dpiset4 dpiset3 dpiset2 dpiset1 dpiset0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 dpiset[7:0] set resolution in dpi for average or deletion type. a. average type : digital average function support 1/2,1/3,1/4,1/5,1/6,1/8,1/10,1/12,1/15. a. 9600 dpi mode ccd:support 4800,3200,2400,1920,1600,1200,960,800,640 dpi. b. 4800 dpi mode ccd:support 2400,1600,1200,960,800,480,400,320 dpi. c. 2400 dpi mode ccd:support 1200,800,600,480,400,300,240,200,160 dpi.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 36 d. 1200 dpi mode ccd:support 600,400,300,240,200,150,120,100,80 dpi. e. 600 dpi mode ccd:support 300,200,150,120,100,75,60,50,40 dpi. b. deletion type : 9600,4800,2400,1200 or 600dpi to 1 dpi setting decrement by one dpi. note: it cannot be programmed to logic zero. offset 2eh .. .. .. . .. . .. . . default value = 8 h00 bwhi7 bwhi6 bwhi5 bwhi4 bwhi3 bwhi2 bwhi1 bwhi0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 bwhi [7:0] high level of black & white threshold. offset 2fh .. .. .. . .. . .. . . default value = 8 h00 bwlow7 bwlow6 bwlow5 bwlow4 bwlow3 bwlow2 bwlow1 bwlow0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 bwlow [7:0] low level of black & white threshold. bwhi bwlow a,b,c,g : will be classified as black pixels d,e,f,h,i : will be classified as white pixels offset 30h .. .. .. . .. . . default value = 8 h00 strpixel15 strpixel14 strpixel13 strpixel12 strpixel11 strpixel10 strpixel9 strpixel8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 strpixel[15:8 ] the start pixel position of horizontal line (unit : pixel count). strpixel=(tgw+2*tgshld)+start pixels number (count from ccd pixel 0) note: 1.it cannot be programmed to logic zero. 2.if the dpi9600 control bit is set to 1 ,the strpixel is doubled. offset 31h .. .. .. . .. . . default value = 8 h00 strpixel7 strpixel6 strpixel5 strpixel4 strpixel3 strpixel2 strpixel1 strpixel0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 strpixel[7:0] the start pixel position of horizontal line (unit : pixel count). strpixel=(tgw+2*tgshld)+start pixels number (count from ccd pixel 0) note: 1.it cannot be programmed to logic zero. 2.if the dpi9600 control bit is set to 1 ,the strpixel is doubled. d h b c e f i hysteresis width a g
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 37 offset 32h .. .. .. . .. . . default value = 8 h00 endpixel15 endpixel14 endpixel13 endpixel12 endpixel11 endpixel10 endpixel9 endpixel8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 endpixel[15:8 ] the end pixel position of horizontal line (unit : pixel count). endpixel=(tgw+2*tgshld)+end pixels number (count from ccd pixel 0) note: 1.it cannot be programmed to logic zero. 2.if the dpi9600 control bit is set to 1 ,the strpixel is doubled. offset 33h .. .. .. . .. . . default value = 8 h00 endpixel7 endpixel6 endpixel5 endpixel4 endpixel3 endpixel2 endpixel1 endpixel0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 endpixel[7:0] the end pixel position of horizontal line (unit : pixel count). endpixel=(tgw+2*tgshld)+end pixels number (count from ccd pixel 0) note: 1.it cannot be programmed to logic zero. 2.if the dpi9600 control bit is set to 1 ,the strpixel is doubled. offset 34h .. .. .. . .. . . default value = 8 h00 dummy7 dummy6 dummy5 dummy4 dummy3 dummy2 dummy1 dummy0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 dummy[7:0] the ccd dummy & optical black pixels number (unit : pixel count). note: it cannot be programmed to logic zero. reg30,31,32,33 and 34 setting rule. tgshld(reg1d) rgw(reg17) tgshld(reg1d) ccd tg ccd clock ccd pixel no: n-1 n 0 1 2 3 4 for example, start pixel is 65 ,end pixel is 100 and ccd dummy pixel is 64, then strpixel=(tgw+2*tgshld)+65. endpixel=(tgw+2*tgshld)+100. dummy =(tgw+2*tgshld)+64. offset 35h .. .. .. .. . .. . .. . . default value = 8 h00 maxwd24 maxwd23 maxwd22 maxwd21 maxwd20 maxwd19 maxwd18 maxwd17 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 maxwd[24:17] maximum word size per line for asic estimation. the unit is 2 words. if available buffer size < maxwd, then buffer full state will be set. the scanner execute backtracking.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 38 offset 36h . .. .. .. . .. . .. . . default value = 8 h00 maxwd16 maxwd15 maxwd14 maxwd13 maxwd12 maxwd11 maxwd10 maxwd9 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 maxwd[16:9] maximum word size per line for asic estimation. the unit is 2 words. if available buffer size < maxwd, then buffer full state will be set. the scanner execute backtracking. offset 37h . .. .. .. . .. . .. . . default value = 8 h00 maxwd8 maxwd7 maxwd6 maxwd5 maxwd4 maxwd3 maxwd2 maxwd1 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 maxwd[8:1] maximum word size per line for asic estimation. the unit is 2 words. if available buffer size < maxwd, then buffer full state will be set. the scanner execute backtracking. offset 38h . .. .. .. . .. . .. . default value = 8 h2a lperiod15 lperiod14 lperiod13 lperiod12 lperiod11 lperiod10 lperiod9 lperiod8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 lperiod[15:8] line period (or exposure time) for ccd or cis. unit : pixel count note: it cannot be programmed to logic zero. offset 39h . .. .. .. . .. . default value = 8 h30 lperiod7 lperiod6 lperiod5 lperiod4 lperiod3 lperiod2 lperiod1 lperiod0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 lperiod[7:0] line period (or exposure time) for ccd or cis. unit : pixel count note: it cannot be programmed to logic zero. offset 3ah x x x x x x x fewrdata8 x x x x x x x w 7-1 reserved - 0 fewrdata8 this port is for designers to write control register of front-end. offset 3bh fewrdata7 fewrdata6 fewrdata5 fewrdata4 fewrdata3 fewrdata2 fewrdata1 fewrdata0 w w w w w w w w 7-0 fewrdata[7:0] this port is for designers to write control register of front-end.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 39 offset 3ch ramwrdata w ramwrdata this port is for designers to write data into sdram. offset 3dh .. .. .. .. . .. . .. . . default value = 8 h00 x x x x feedl19 feedl18 feedl17 feedl16 x x x x r/w r/w r/w r/w 7-4 reserved - 3-0 feedl[19:16] steps number of motor moving. note: it cannot be programmed to logic zero. offset 3eh .. .. .. .. . .. . .. . . default value = 8 h00 feedl15 feedl14 feedl13 feedl12 feedl11 feedl10 feedl9 feedl8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 feedl[15:8] steps number of motor moving. note: it cannot be programmed to logic zero. offset 3fh .. .. .. .. . .. . .. . . default value = 8 h00 feedl7 feedl6 feedl5 feedl4 feedl3 feedl2 feedl1 feedl0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 feedl[7:0] steps number of motor moving. note: it cannot be programmed to logic zero. offset 40h docsnr adfsnr coversnr chkver docjam hispdflg motmflg dataenb r r r r r r r r 7 docsnr respond to document sensor status for adf function. 6 adfsnr respond to adf sensor status for adf function. 5 coversnr respond to cover sensor status for adf function. 4 chkver it is fixed to 1 to indicate that the value in reg00 is valid. 3 docjam respond to document feeding status for adf function. 0 no jam happened. 1 document jammed. 2 hispdflg 0 motor is not in high-speed moving. 1 motor is in high-speed moving. 1 motmflg 0 motor is stop. 1 motor is moving. 0 dataenb 0 scanner is in command mode. designers can access other data in sdram rather than image data. 1 scanner is in scanning mode. designers can only read the image data.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 40 offset 41h pwrbit bufempty feedfsh scanfsh homesnr lampsts febusy motorenb r r r r r r r r 7 pwrbit to indicate power status. if it is reset, the power had been turned off. power on initial process will set pwrbit to 0. this bit will have the same value as bit 4 of reg06 except for it s read only. 6 bufempty 0 the image buffer is not empty. 1 the image buffer is empty. 5 feedfsh 0 motor feeding is not finished. 1 motor feeding is finished. 4 scanfsh 0 scanning is not finished. 1 scanning is finished. 3 homesnr 0 home sensor is on (is not located in home position). 1 home sensor is off (located in home position). 2 lampsts 0 lamp is off. 1 llamp is on. 1 febusy 0 front end is ready for read/write operations. 1 front end is busy and can not perform read/write operations. 0 motorenb 0 motor is not operation. 1 motor is operation. offset 42h .. .. .. .. .. . .. . .. . . default value = 8 h00 validword 24 validword 23 validword 22 validword 21 validword 20 validword 19 validword 18 validword 17 r r r r r r r r 7-0 validword the available image data stored in sdram for host to read. [24:17] the unit is in two words. offset 43h .. .. .. .. .. . .. . .. . . default value = 8 h00 validword 16 validword 15 validword 14 validword 13 validword 12 validword 11 validword 10 validword 9 r r r r r r r r 7-0 validword the available image data stored in sdram for host to read. [16:9] the unit is in two words. offset 44h .. .. .. .. .. . .. . .. . . default value = 8 h00 validword 8 validword 7 validword 6 validword 5 validword 4 validword 3 validword 2 validword 1 r r r r r r r r 7-0 validword the available image data stored in sdram for host to read. [8:1] the unit is in two words.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 41 offset 45h ramrddata r ramrddata this port for designers to read data from sdram. offset 46h x x x x x x x ferddata8 x x x x x x x r 7-1 reserved - 0 ferddata8 this port is for designers to read control register from front-end. offset 47h ferddata7 ferddata6 ferddata5 ferddata4 ferddata3 ferddata2 ferddata1 ferddata0 r r r r r r r r 7-0 ferddata[7:0] this port is for designers to read control register from front-end. offset 48h .. .. .. .. .. . .. . .. . . default value = 8 h00 x x x x fedcnt19 fedcnt18 fedcnt17 fedcnt16 x x x x r r r r 7-4 reserved - 3-0 fedcnt[19:16] steps number which motor has moved. for example, after setting the moving steps number (reg 3d, 3e 3f) and execute the moving command (reg 0f), designers can get steps number which has been moved via these registers. it can be reset to by fullstp command. offset 49h .. .. .. .. .. . .. . .. . . default value = 8 h00 fedcnt15 fedcnt14 fedcnt13 fedcnt12 fedcnt11 fedcnt10 fedcnt9 fedcnt8 r r r r r r r r 7-0 fedcnt[15:8] steps number which motor has moved. for example, after setting the moving steps number (reg 3d, 3e 3f) and execute the moving command (reg 0f), designers can get steps number which has been moved via these registers .it can be reset to by fullstp command. offset 4ah .. .. .. .. .. . .. . .. . . default value = 8 h00 fedcnt7 fedcnt6 fedcnt5 fedcnt4 fedcnt3 fedcnt2 fedcnt1 fedcnt0 r r r r r r r r 7-0 fedcnt[7:0] steps number which motor has moved. for example, after setting the moving steps number (reg 3d, 3e 3f) and execute the moving command (reg 0f), designers can get steps number which has been moved via these registers.it can be reset to by fullstp command.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 42 offset 4bh .. .. .. .. .. . .. . .. . . default value = 8 h00 x x x x scancnt19 scancnt18 scancnt17 scancnt16 x x x x r r r r 7-4 reserved - 3-0 scancnt[19:16] line number which scanner has finished. for example, after setting the line number (reg 25, 26 27) and execute the scanning enable (bit 0 of reg 01), designers can get line number which has been finished via these registers. offset 4ch .. .. .. .. .. . .. . .. . . default value = 8 h00 scancnt15 scancnt14 scancnt13 scancnt12 scancnt11 scancnt10 scancnt9 scancnt8 r r r r r r r r 7-0 scancnt[15:8] line number which scanner has finished. for example, after setting the line number (reg 25, 26 27) and execute the scanning enable (bit 0 of reg 01), designers can get line number which has been finished via these registers. offset 4dh .. .. .. .. .. . .. . .. . . default value = 8 h00 scancnt7 scancnt6 scancnt5 scancnt4 scancnt3 scancnt2 scancnt1 scancnt0 r r r r r r r r 7-0 scancnt[7:0] line number which scanner has finished. for example, after setting the line number (reg 25, 26 27) and execute the scanning enable (bit 0 of reg 01), designers can get line number which has been finished via these registers. offset 4eh gmmrddata r gmmrddata this port is for designers to read gamma table back. offset 4fh x x x rombsy lcmbsy tx232bsy rx232bsy rxready x x x r r r r r 7-5 reserved - 4 rombsy 0 eeprom is ready for access. 1 eeprom (93c46) is busy and can not be accessed. 3 lcmbsy 0 lcm interface is ready for access. 1 lcm interface is busy and can not be accessed. 2 tx232bsy 0 rs232 transmitter is ready for access. 1 rs232 transmitter is busy and can not be accessed. 1 rx232bsy 0 rs232 receiver is ready for access. 1 rs232 receiver is busy and can not be accessed. 0 rxready 0 the receiving has not been completed.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 43 1 has received data number specified in reg 88 from rs232. offset 50h .. .. .. .. . .. .... .. . . default value = 8 h00 x x ferda5 ferda4 ferda3 ferda2 ferda1 ferda0 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-0 ferda[5:0] address of control register of front-end in read operation. before reading control register of front-end (reg 46, 47), designers have to specify address of the control register by writing address to this port. offset 51h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x fewra5 fewra4 fewra3 fewra2 fewra1 fewra0 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-0 fewra[5:0] address of control register of front-end in write operation. before writing control register of front-end (reg 3a, 3b), designers have to specify address of the control register by writing address to this port. offset 52h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x rhi4 rhi3 rhi2 rhi1 rhi0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rhi[4:0] the latch point for high-byte of r channel of afe in every pixel. for example, if a system is designed to have 12 clocks/pixel, and designer wants to latch the high-byte of r channel at 1 st clock in every pixel, designer has to fill 00001 to rhi [4:0]. offset 53h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x rlow4 rlow3 rlow2 rlow1 rlow0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rlow[4:0] the latch point for low-byte of r channel of afe in every pixel for example, if a system is designed to have 12 clocks/pixel, and designer wants to latch the high-byte of r channel at 1 st clock in every pixel, designer has to fill 00001 to rhi [4:0]. offset 54h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x ghi4 ghi3 ghi2 ghi1 ghi0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 ghi[4:0] the latch point for high-byte of g channel of afe in every pixel.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 44 offset 55h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x glow4 glow3 glow2 glow1 glow0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 glow[4:0] the latch point for low-byte of g channel of afe in every pixel. offset 56h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x bhi4 bhi3 bhi2 bhi1 bhi0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 bhi[4:0] the latch point for high-byte of b channel of afe in every pixel. offset 57h .. .. .. .. . .. . .. .. .. . default value = 8 h00 x x x blow4 blow3 blow2 blow1 blow0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 blow[4:0] the latch point for low-byte of b channel of afe in every pixel. (1). color, gray or line-art : 12 clocks (phase)/pixel mode 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 r[15:8] r[7:0] g[15:8] g[7:0] b[15:8] b[7:0] r[15:8] r[7:0] g[15:8] g[7:0] b[15:8] rhi = 01h rlow = 03h ghi = 05h glow = 07h bhi = 09h blow = 11h note: 16 clocks (phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode. offset 58h .. .. .. .. . .. . .. .. .. . default value = 8 h00 vsmp4 vsmp3 vsmp2 vsmp1 vsmp0 vsmpw2 vsmpw1 vsmpw0 r/w r/w r/w r/w r/w r/w r/w r/w 7-3 vsmp[4:0] rising edge position of image sampling for afe. 2-0 vsmpw[2:0] pulse width of image sampling. (1). color, gray or line-art : 12 clocks (phase)/pixel mode 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 afe vsmp reg58=52h : vsmp[4:0]=10h vsmpw[2:0]=2h note: 16 clocks (phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 45 offset 59h .. .. .. .. . .. . .. .. .. . default value = 8 h00 bsmp4 bsmp3 bsmp2 bsmp1 bsmp0 bsmpw2 bsmpw1 bsmpw0 r/w r/w r/w r/w r/w r/w r/w r/w 7-3 bsmp[4:0] rising edge position of dark voltage sampling for afe. 2-0 bsmpw[2:0] pulse width of dark voltage sampling. (1). color, gray or line-art : 12 clocks (phase)/pixel mode 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 afe bsmp reg59=52h : bsmp[4:0]=10h bsmpw[2:0]=2h note: 16 clocks (phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode. offset 5ah .. .. .. .. . .. . .. .. .. . default value = 8 h00 adclkinv rlcsel cdsref1 cdsref0 rlc3 rlc2 rlc1 rlc0 r/w r/w r/w r/w r/w r/w r/w r/w 7 adclkinv 0 adc clock in not reversed. 1 adc clock is reversed. 6 rlcsel 0 do not select. 1 select reset level clamp on a pixel-by-pixel basis. 5-4 cdsref[1:0] front-end cds reference for line rate scanning type. 3-0 rlc[3:0] front-end rlc for line rate scanning type. offset 5bh .. .. .. .. . .. . .. .. .. . default value = 8 h00 x mtrtbl gmmaddr13 gmmaddr12 gmmaddr11 gmmaddr10 gmmaddr9 gmmaddr8 x r/w r/w r/w r/w r/w r/w r/w 7 reserved - 6 mtrtbl 0 to write gamma tables address by gmmaddr[12:0] 1 to write motor tables address by gmmaddr[12:0] 5-0 gmmaddr[13:8] start address for downloading gamma or motor tables (in word) offset 5ch .. .. .. .. . .. . .. .. .. . default value = 8 h00 gmmaddr7 gmmaddr6 gmmaddr5 gmmaddr4 gmmaddr3 gmmaddr2 gmmaddr1 gmmaddr0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gmmaddr[7:0 ] start address for downloading gamma or motor tables (in word) offset 5dh .. .. .. .. . .. . .. .. .. . default value = 8 h00 hispd7 hispd6 hispd5 hispd4 hispd3 hispd2 hispd1 hispd0 r/w r/w r/w r/w r/w r/w r/w r/w
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 46 7-0 hispd[7:0] to change of the speed of motor during moving note: it cannot be programmed to logic zero. offset 5eh .. .. .. .. . .. . .. .. .. . default value = 8 h00 decsel2 decsel1 decsel0 stoptim4 stoptim3 stoptim2 stoptim1 stoptim0 r/w r/w r/w r/w r/w r/w r/w r/w 7-5 decsel[2:0] deceleration steps number after touching home sensor. 000 1 steps deceleration 001 2 steps deceleration 010 4 steps deceleration 011 8 steps deceleration 100 16 steps deceleration 101 32 steps deceleration 110 64 steps deceleration 111 128 steps deceleration 4-0 stoptim[4:0] stop time between forward and backward direction in backtracking. note: in asic simulation process, stoptim has to be set to tgtime=6,7. it cannot be programmed to logic zero. offset 5fh .. .. .. . .. . .. .. .. . default value = 8 h00 fmovdec7 fmovdec6 fmovdec5 fmovdec4 fmovdec3 fmovdec2 fmovdec1 fmovdec0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fmovdec[7:0] deceleration steps in table 5 for auto-go-home. note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by 2 * steptim offset 60h .. .. .. . .. . .. .. .. . default value = 8 h00 x x x z1mod20 z1mod19 z1mod18 z1mod17 z1mod16 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 z1mod[20:16] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when buffer-full occurs. note: it should be less than lperiod. offset 61h .. .. .. . .. . .. .. .. . default value = 8 h00 z1mod15 z1mod14 z1mod13 z1mod12 z1mod11 z1mod10 z1mod7 z1mod8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 z1mod[15:8] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when buffer-full occurs. note: it should be less than lperiod. offset 62h .. .. .. . .. . .. .. .. . default value = 8 h00 z1mod7 z1mod6 z1mod5 z1mod4 z1mod3 z1mod2 z1mod1 z1mod0 r/w r/w r/w r/w r/w r/w r/w r/w
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 47 7-0 z1mod[7:0] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when buffer-full occurs. note: it should be less than lperiod. offset 63h .. .. .. . .. . .. .. .. . default value = 8 h00 x x x z2mod20 z2mod19 z2mod18 z2mod17 z2mod16 x x x r/w r/w r/w r/w r/w 7-5 reserved - 7-0 z2mod[20:16] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when scanner start to move. note: it should be less than lperiod. note:for acdcdis=1,designer must subtract any small offset value from z2mod to solve the first time start/stop motor position problem. offset 64h .. .. .. . .. . .. .. .. . default value = 8 h00 z2mod15 z2mod14 z2mod13 z2mod12 z2mod11 z2mod10 z2mod9 z2mod8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 z2mod[15:8] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when scanner start to move. note: it should be less than lperiod. note:for acdcdis=1,designer must subtract any small offset value from z2mod to solve the first time start/stop motor position problem. offset 65h .. .. .. . .. . .. .. .. . default value = 8 h00 z2mod7 z2mod6 z2mod5 z2mod4 z2mod3 z2mod2 z2mod1 z2mod0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 z2mod[7:0] remainder value of mod operation in acceleration/deceleration tables. asic calculate the moving time by mod operation when scanner start to move. note: it should be less than lperiod. note:for acdcdis=1,designer must subtract any small offset value from z2mod to solve the first time start/stop motor position problem.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 48 (1). two table moving : speed scanning position buffer full position b d a c time (2). one table moving : speed scanning position buffer full position b d a c time {a+(b-1)} mode lperiod = z2mod {c+(d-1)} mode lperiod = z1mod for example, c (stepno = 4 steps for table 1) = 60h,48h,30h,18h d (fwdstep = 3 steps for moving) = 18h,18h,18h lperiod = 30h then z1mod = {(60h + 48h + 30h + 18h) + (18h +18h )} mod {30h} = 00h note: if mcntset[1:0]=01 or 10 or 11,then (each step curve value + 1)/vcnt. vcnt= system clocks per pixel / (mcntset+1). offset 66h .. .. .. .. . .. . .. .. .. . default value = 8 h00 phfreq7 phfreq6 phfreq5 phfreq4 phfreq3 phfreq2 phfreq1 phfreq0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 phfreq[7:0] pwm frequency for motor phase of unipolar motors frequency: (system clock frequency)/[(phfreq+1)*4 offset 67h .. .. .. .. . .. . .. .. . default value = 8 h7f stepsel1 stepsel0 mtrpwm5 mtrpwm4 mtrpwm3 mtrpwm2 mtrpwm1 mtrpwm0 r/w r/w r/w r/w r/w r/w r/w r/w
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 49 7-6 stepsel[1:0] for type selection of table one, table two and table three in scanning mode. (1) for bipolar motors: 00 full step (for 1939, 1940, 2916, 6219, 3955, 3967). 01 half step (for 1939, 1940, 2916, 6219, 3955, 3967). 10 quarter step (for 2916, 6219, 3955, 3967). 11 eighth step (for 3955, 3967). (2) for unipolar motors: 00 two-phase-on full step. 01 half step. 10 reserved. 11 single-phase-on full step. 5-0 mtrpwm[5:0] pwm duty cycle selection of table one, table two and table three of motor phase of unipolar motors in scanning mode. mtrpwm = 0 1/64 duty = 1 2/64 duty = 2 3/64 duty = 63 64/64 duty note: if phfreq < 0fh,then pwm setting must < (phfreq+1)*4 offset 68h .. .. .. .. . .. . .. .. . default value = 8 h7f fstpsel1 fstpsel0 fastpwm5 fastpwm4 fastpwm3 fastpwm2 fastpwm1 fastpwm0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 fstpsel[1:0] for type selection of table four and table five in command mode. (1) for bipolar motors: 00 full step (for 1939, 1940, 2916, 6219, 3955, 3967). 01 half step (for 1939, 1940, 2916, 6219, 3955, 3967). 10 quarter step (for 2916, 6219, 3955, 3967). 11 eighth step (for 3955, 3967). (2) for unipolar motors: 00 two-phase-on full step. 01 half step. 10 reserved. 11 single-phase-on full step. 5-0 fastpwm[5:0] pwm duty cycle selection of table four and table five of motor phase of unipolar motors in scanning mode. fastpwm = 0 1/64 duty = 1 2/64 duty = 2 3/64 duty = 63 64/64 duty note: if phfreq < 0fh,then pwm setting must < (phfreq+1)*4 offset 69h .. .. .. .. . .. . .. .. .. . default value = 8 h00 fshdec7 fshdec6 fshdec5 fshdec4 fshdec3 fshdec2 fshdec1 fshdec0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fshdec[7:0] deceleration steps after scanning finished (table three). note: it cannot be programmed to logic zero.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 50 offset 6ah .. .. .. . .. . .. .. .. . default value = 8 h00 fmovno7 fmovno6 fmovno5 fmovno4 fmovno3 fmovno2 fmovno1 fmovno0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fmovno[7:0] acceleration/deceleration steps for fast moving (table four). note: 1.it cannot be programmed to logic zero. 2.it can be multiplied by 2* steptim (1). two table type: speed scanning position scan finished reg3d,3e,3f reg6a reg1f reg25,26,27 reg21 reg69 reg5e[7:5] reg5e[4:0] reg6a length reg5f go home (2). one table type: speed scanning position scan finished reg3d,3e,3f reg25,26,27 reg21 reg69 length reg5f reg5e[7:5] reg6a go home offset 6bh .. .. .. .. . .. . .. .. . default value = 8 h00 multfilm gpom13 gpom12 gpom11 gpock4 gpocp gpoledb gpoadf r/w r/w r/w r/w r/w r/w r/w r/w 7 multfilm 0 disable multi-film scanning mode. 1 enable multi-film scanning mode. motor power will not be turned off in this mode. 6 gpom 13 0 select gpio13 as general purpose i/o. 1 select gpio13 as v-ref control of bipolar motor driver ic to control imax. 5 gpom12 0 select gpio12 as general purpose i/o. 1 select gpio12 as v-ref control of bipolar motor driver ic to control imax. 4 gpom11 0 select gpio11 as general purpose i/o.. 1 select gpio11 as v-ref control of bipolar motor driver ic to control imax. note: gpio12: 1. add a pull up resistor on gpio12 will indicate asic to turn on lamp power in power-on initial state. this behavior is independent to setting of gpom12.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 51 2. add a pull down resistor on gpio12 will indicate asic to turn off lamp power in power-on initial state. this behavior is independent to setting of gpom12. 3. this pin can control bipolar motor driver ic (2916,6219,3955 or 3967) vref for controlling imax current when gpom12 is set to 1 . gpio11: this pin can control bipolar motor driver ic (2916,6219,3955 or 3967) vref for controlling imax current when gpom11 is set to 1 . 3 gpock4 0 select pin62 as ccd_ck4x 1 select ccd_ck4x as gpo33 2 gpocp 0 select this pin68 as ccd_cpx. 1 ccd_cpx as gpo32. 1 gpoledb 0 select this pin as led_b for cis. 1 select led_b as gpo28. 0 gpoadf 0 select normal function for gpio6 and gpo28. 1 select gpio6 as motor step output of 3967 and gpo28(led_b) as dir output of 3967. offset 6ch .. .. .. .. . .. . .. .. . default value = 8 h00 gpio16 gpio15 gpio14 gpio13 gpio12 gpio11 gpio10 gpio9 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpio[16:9] gpio16~9 input/output ports offset 6dh .. .. .. .. . .. . .. .. . default value = 8 h00 gpio8 gpio7 gpio6 gpio5 gpio4 gpio3 gpio2 gpio1 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpio[8:1] gpio8~1 input/output ports offset 6eh .. .. .. .. . .. . .. .. . default value = 8 h00 gpoe16 gpoe15 gpoe14 gpoe13 gpoe12 gpoe11 gpoe10 gpoe9 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpoe[16:9] select directions of gpio16~9 ports. they can be set to different values independently. 0 set as input port. 1 set as output port. offset 6fh .. .. .. .. . .. . .. .. . default value = 8 h00 gpoe8 gpoe7 gpoe6 gpoe5 gpoe4 gpoe3 gpoe2 gpoe1 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpoe[8:1] select directions of gpio8~1 ports. they can be set to different values independently. 0 set as input port. 1 set as output port.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 52 offset 70h .. .. .. . .. . .. .. . default value = 8 h06 x x x rsh4 rsh3 rsh2 rsh1 rsh0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rsh[4:0] rising edge position of ccd rs. offset 71h .. .. .. . .. . .. .. . default value = 8 h08 x x x rsl4 rsl3 rsl2 rsl1 rsl0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rsl[4:0] falling edge position of ccd rs. (1) color, gray or line-art: 12 clocks(phase)/pixel 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 ccd rs : rsh=08h rsl=0bh note: 16 clocks(phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode. offset 72h .. .. .. . .. . .. .. . default value = 8 h08 x x x cph4 cph3 cph2 cph1 cph0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 cph[4:0] rising edge position of ccd cp. offset 73h . .. .. . .. . .. .. . default value = 8 h0a x x x cpl4 cpl3 cpl2 cpl1 cpl0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 cpl[4:0] falling edge position of ccd cp. (1) color, gray or line-art: 12 clocks(phase)/pixel 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 ccd cp : cph=0ah cpl=01h note: 16 clocks(phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 53 offset 74h .. .. .. .. ... .. . .. .. . default value = 8 h00 x x x x x x ck1map17 ck1map16 x x x x x x r/w r/w 7-2 reserved - 1-0 ck1map[17:16] bits mapping setting for ccd clock 1 or 2. offset 75h .. .. .. .. .. . .. . .. .. . default value = 8 h00 ck1map15 ck1map14 ck1map13 ck1map12 ck1map11 ck1map10 ck1map9 ck1map8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck1map[15:8] bits mapping setting for ccd clock 1 or 2. offset 76h .. .. .. .... . .. . .. .. . default value = 8 h00 ck1map7 ck1map6 ck1map5 ck1map4 ck1map3 ck1map2 ck1map1 ck1map0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck1map[7:0] bits mapping setting for ccd clock 1 or 2. offset 77h .. .. .. .. ... .. . .. .. . default value = 8 h00 x x x x x x ck3map17 ck3map16 x x x x x x r/w r/w 7-2 reserved - 1-0 ck3map[17:16] bits mapping setting for ccd clock 3. offset 78h .. .. .. .. .. . .. . .. .. . default value = 8 h00 ck3map15 ck3map14 ck3map13 ck3map12 ck3map11 ck3map10 ck3map9 ck3map8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck3map[15:8] bits mapping setting for ccd clock 3. offset 79h .. .. .. .... . .. . .. .. . default value = 8 h00 ck3map7 ck3map6 ck3map5 ck3map4 ck3map3 ck3map2 ck3map1 ck3map0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck3map[7:0] bits mapping setting for ccd clock 3. offset 7ah .. .. .. .. ... .. . .. .. . default value = 8 h00 x x x x x x ck4map17 ck4map16 x x x x x x r/w r/w 7-2 reserved - 1-0 ck4map[17:16] bits mapping setting for ccd clock 4.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 54 offset 7bh .. .. .. .. .. . .. . .. .. . default value = 8 h00 ck4map15 ck4map14 ck4map13 ck4map12 ck4map11 ck4map10 ck4map9 ck4map8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck4map[15:8] bits mapping setting for ccd clock 4. offset 7ch .. .. .. .... . .. . .. .. . default value = 8 h00 ck4map7 ck4map6 ck4map5 ck4map4 ck4map3 ck4map2 ck4map1 ck4map0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ck4map[7:0] bits mapping setting for ccd clock 4. offset 7dh .. .. .. .. .. . .. .. . default value = 8 h00 ck1neg ck3neg ck4neg rsneg cpneg bsmpneg vsmpneg dlyset r/w r/w r/w r/w r/w r/w r/w r/w 7 ck1neg 0 ccd clock1,clock2 output are synchronized with rising edge of system clock. 1 ccd clock1 & clock2 output are synchronized with falling edge of system clock. 6 ck3neg 0 ccd clock3 output is synchronized with rising edge of system clock. 1 ccd clock3 output is synchronized with falling edge of system clock. 5 ck4neg 0 ccd clock4 output is synchronized with rising edge of system clock. 1 ccd clock4 output is synchronized with falling edge of system clock. 4 rsneg 0 ccd rs output is synchronized with rising edge of system clock. 1 rs output is synchronized with falling edge of system clock. 3 cpneg 0 ccd cp output is synchronized with rising edge of system clock. 1 ccd cp output is synchronized with falling edge of system clock. 2 bsmpneg 0 afe video sample output is synchronized with rising edge of system clock. 1 afe video sample output is synchronized with falling edge of system clock. 1 vsmpneg 0 afe dark sample output is synchronized with rising edge of system clock. 1 afe dark sample output is synchronized with falling edge of system clock. 0 dlyse t 0 the function is disabled. 1 to enable vsmp and bsmp to delay output by 8.33ns unit. please refer to reg 7f. offset 7eh .. .. .. .. .. . .. .. . default value = 8 h00 gpoled25 gpoled24 gpoled23 gpoled22 gpoled21 gpoled10 gpoled9 gpoled8 r/w r/w r/w r/w r/w r/w r/w r/w 7 gpoled25 0 set gpio25 as general purpose i/o. 1 set gpio25 as led output. 6 gpoled24 0 set gpio24 as general purpose i/o. 1 set gpio24 as led output. 5 gpoled23 0 set gpio23 as general purpose i/o. 1 set gpio23 as led output. 4 gpoled22 0 set gpio22 as general purpose i/o. 1 set gpio22 as led output. 3 gpoled21 0 set gpio21 as general purpose i/o. 1 set gpio21 as led output.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 55 2 gpoled10 0 set gpio10 as general purpose i/o. 1 set gpio10 as led output. 1 gpoled9 0 set gpio9 as general purpose i/o. 1 set gpio9 as led output. 0 gpoled8 0 set gpio8 as general purpose i/o. 1 set gpio8 as led output. offset 7fh .. .. .... .. .. . .. .. . default value = 8 h00 bsmpdly1 bsmpdly0 vsmpdly1 vsmpdly0 ledcnt3 ledcnt2 ledcnt1 ledcnt0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 bsmpdly[1:0 ] bsmp output delay. 00 no delay. 01 delay 8.33ns 10 delay 16.67ns 11 delay 25ns. 5-4 vsmpdly[1:0] vsmp output delay. 00 no delay. 01 delay 8.33ns 10 delay 16.67ns 11 delay 25ns. 3-0 ledcnt[1:0] led blinking period = (ledcnt)*(100ms on + 100ms off). led will not blink if ledcnt=0. offset 80h .. .. .... .. .. . .. .. . default value = 8 h00 vrhome1 vrhome0 vrmove1 vrmove0 vrback1 vrback0 vrscan1 vrscan0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 vrhome[1:0] vref. of the motor driver ic for go-home moving. 5-4 vrmove[1:0] vref. of the motor driver ic for fast forward moving. 3-2 vrback[1:0] vref. of the motor driver ic for backward moving when the image buffer is full. 1-0 vrscan[1:0] vref. of the motor driver ic forward scanning moving. offset 81h .. .. .. .. .. .. . .. .. . default value = 8 h00 x x x loadset4 loadset3 loadset2 loadst1 loadset0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 loadset[4:0] set the data types for downloading data. offset 82h .. .. .. .. .. .. . .. .. . default value = 8 h00 contb3 contb2 contb1 contb0 conta3 conta2 conta1 conta0 r/w r/w r/w r/w r/w r/w r/w r/w 7-4 contb[7:4] set flow control counter mode (count method) for flatbed 3-0 conta [3:0] set flow control counter mode (count method) for adf
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 56 offset 83h .. .. .. .. .. .. . .. .. . default value = 8 h00 imgset7 imgset6 imgset5 imgset4 imgset3 imgset2 imgset1 imgset0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 imgset[7:0] set flow-control to control image process and motor controls. offset 84h .. .. .. .. .. .. . .. .. . default value = 8 h00 pack1 pack0 packcnt5 packcnt4 packcnt3 packcnt2 packcnt1 packcnt0 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 pack[7:6] set data packing methods. 5-0 packcnt [5:0] set packing count. offset 87h .. .. .. .. .. .. . .. .. . default value = 8 h00 x yenb ybit acycnrlc enoffset ledadd ck4adc autoconf x r/w r/w r/w r/w r/w r/w r/w 7 reserved - 6 yenb 0 disable ph_y output of the ybit. 1 enable ph_y output of the ybit to improve half-step operation of motor control. 5 ybit output port of ph_y control signal. 4 acycnrlc 0 disable this function. 1 generate rlc/acyc pulse through bsmp pin to trigger wm8199 auto-cycling for line-by-line color scanning. 3 enoffset 0 to disable this function. 1 to select automatic offset configuration for cis color scanning. 2 ledadd 0 normal gray by controlling cis single color led array. 1 enable true gray weighting in cis by separately controlling the exposure times of r, g, b led array. please refer to reg 10~15. 1 ck4adc 0 select mclk (adcclk) to output default timing for specified afe. 1 select mclk (adcclk) pin to output according to pattern defined by ck4map (reg 7a,7b,7c). 0 autoconf 0 to disable these functions. 1 enable automatic channel switching and offset configuration for cis color scanning. note: if ybit=1, then yenb=1 => ph_y=1; yenb=0 => ph_y=0. if ybit=0, then yenb=1 => ph_y=0; yenb=0 => ph_y=1. offset 88h .. .. .... .. .. . .. .. . default value = 8 h00 x x x rdnum4 rdnum3 rdnum2 rdnum1 rdnum0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rdnum[4:0] set the receiving length in bytes of rs232 interface.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 57 offset 89h rs232wd7 rs232wd6 rs232wd5 rs232wd4 rs232wd3 rs232wd2 rs232wd1 rs232wd0 - - - - - - - - 7-0 rs232wd[7:0] this port is for designers to write data to rs232 interface. offset 8ah rs232rd7 rs232rd6 rs232rd5 rs232rd4 rs232rd3 rs232rd2 rs232rd1 rs232rd0 - - - - - - - - 7-0 rs232rd[7:0] this port is for designers to read data to rs232 interface. offset 8bh .. .. .... .. .. . .. .. . default value = 8 h00 romaddr7 romaddr6 romaddr5 romaddr4 romaddr3 romaddr2 romaddr1 romaddr0 - - - - - - - - 7-0 romaddr[7:0] this port is for designers to write address and commands to 93c46. offset 8ch romwd15 romwd14 romwd13 romwd12 romwd11 romwd10 romwd9 romwd8 - - - - - - - - 7-0 romwd[15:8] this port is for designers to write data to 93c46. offset 8dh romwd7 romwd6 romwd5 romwd4 romwd3 romwd2 romwd1 romwd0 - - - - - - - - 7-0 romwd[7:0] this port is for designers to write data to 93c46. offset 8eh romrd15 romrd14 romrd13 romrd12 romrd11 romrd10 romrd9 romrd8 - - - - - - - - 7-0 romrd[15:8] this port is for designers to read data to 93c46. offset 8fh romrd7 romrd6 romrd5 romrd4 romrd3 romrd2 romrd1 romrd0 - - - - - - - - 7-0 romrd[7:0] this port is for designers to read data to 93c46.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 58 offset 90h .. .. .... .. .. . .. .. . default value = 8 h00 x x x x rrefed11 rrefed10 rrefed9 rrefed8 x x x x r/w r/w r/w r/w 7-4 reserved - 4-0 rrefed[11:8] pre-feed steps for adf (or sheetfed scanner). offset 91h .. .. .... .. .. . .. .. . default value = 8 h00 rrefed7 rrefed6 rrefed5 rrefed4 rrefed3 rrefed2 rrefed1 rrefed0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 rrefed[7:0] pre-feed steps for adf (or sheetfed scanner). document sensor adf sensor document sheet scanning window prefed note: if the dpi9600 control bit is set to 1 , the strpixel is doubled. offset 92h .. .. .... .. .. . .. .. . default value = 8 h00 pstfed15 pstfed14 pstfed13 pstfed12 pstfed11 pstfed10 pstfed9 pstfed8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 pstfed[15:8] past scanning steps for adf (or sheetfed scanner). offset 93h .. .. .... .. .. . .. .. . default value = 8 h00 pstfed7 pstfed6 pstfed5 pstfed4 pstfed3 pstfed2 pstfed1 pstfed0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 pstfed[7:0] past scanning steps for adf (or sheetfed scanner).
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 59 document sensor adf sensor document sheet scanning window pstfed offset 94h .. .. .... .. .. . .. .. . default value = 8 h00 mtrpls7 mtrpls6 mtrpls5 mtrpls4 mtrpls3 mtrpls2 mtrpls1 mtrpls0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 mtrpls[7:0] pulse width of adf motor trigger signal (gpio6). it s valid when adfsel = 1. offset 95h .. .. .... .. .. . .. .. . default value = 8 h00 x x x x scanlen19 scanlen18 scanlen17 scanlen16 x x x x r/w r/w r/w r/w 7-4 reserved - 4-0 scanlen[19:16] scanning length limitation of adf (or sheetfed scanner). if the scanned lines are lager than this value but document sensor is still active (doc_senr is high), the paper-jam bit (bit 3 in reg 40) will be set. offset 96h .. .. .... .. .. . .. .. . default value = 8 h00 scanlen15 scanlen14 scanlen13 scanlen12 scanlen11 scanlen10 scanlen9 scanlen8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 scanlen[8:15] scanning length limitation of adf (or sheetfed scanner). if the scanned lines are lager than this value but document sensor is still active (doc_senr is high), the paper-jam bit (bit 3 in reg 40) will be set. offset 97h .. .. .... .. .. . .. .. . default value = 8 h00 scanlen7 scanlen6 scanlen5 scanlen4 scanlen3 scanlen2 scanlen1 scanlen0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 scanlen[7:0] scanning length limitation of adf (or sheetfed scanner). if the scanned lines are lager than this value but document sensor is still active (doc_senr is high), the paper-jam bit (bit 3 in reg 40) will be set. offset 98h .. .. .... .. .. . .. .. . default value = 8 h00 ondur15 ondur14 ondur13 ondur12 ondur11 ondur10 ondur9 ondur8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ondur[15:8] on duration (in system clock) of pwm for lamp control.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 60 offset 99h .. .. .... .. .. . .. .. . default value = 8 h00 ondur7 ondur6 ondur5 ondur4 ondur3 ondur2 ondur1 ondur0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 ondur[7:0] on duration (in system clock) of pwm for lamp control. offset 9ah .. .. .... .. .. . .. .. . default value = 8 h00 offdur15 offdur14 offdur13 offdur12 offdur11 offdur10 offdur9 offdur8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 offdur[15:8] off duration (in system clock) of pwm for lamp control. offset 9bh .. .. .... .. .. . .. .. . default value = 8 h00 offdur7 offdur6 offdur5 offdur4 offdur3 offdur2 offdur1 offdur0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 offdur[7:0] off duration (in system clock) of pwm for lamp control. offset 9ch lcmwd7 lcmwd6 lcmwd5 lcmwd4 lcmwd3 lcmwd2 lcmwd1 lcmwd0 - - - - - - - - 7-0 lcmwd[7:0] this port is for designers to write data to lcm. offset 9dh .. .. .... .. .. . .. .. . default value = 8 h00 ramdly1 ramdly0 motlag cmode steptim1 steptim0 muldmyln ifrs r/w r/w r/w r/w r/w r/w r/w r/w 7-6 ramdly[1:0] select timing delay for sclk of sdram. 5 motlag 0 do not force the trigger position of motor trigger. 1 force motor to locate its trigger at the end of line when dummy lines function is activated. 4 cmode 0 select two-pin type control for com1 & com2 of lcd (gpo29&30). 1 select three-pin type control for com1 & com2 of lcd (gpio10, gpo29&30). 3-2 steptim[1:0] select the multiplier of slope table. for reg 21, 24, 5f, 69, 6a, the real slope steps are register values multiplied by steptim. steptim[1:0] =00 : slope steps = register values =01 : slope steps = register values * 2 =10 : slope steps = register values * 4 =11 : reserved 1 muldmyln 0 set dummy lines are equal to linesel. 1 set dummy lines are equal to linesel*2 0 ifrs 0 select data writing for lcm. 1 select address writing for lcm.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 61 offset 9eh .. .. .... .. .. . .. .. . default value = 8 h00 x sel3inv tgstime2 tgstime1 tgstime0 tgwtime2 tgwtime1 tgwtime0 x r/w r/w r/w r/w r/w r/w r/w 7 reserved - 6 sel3inv to invert sel3 signals for nec8884. 5-3 tgstime[2:0] to set the times of tgshld[4:0] . so , the width is tgshld[4:0]* 2 tgstime 2-0 tgwtime[2:0] to set the times of tgw[5:0] . so, the width is tgw[5:0]* 2 tgwtime offset 9fh .. .. .... .. .. . .. .. . default value = 8 h00 lcdctl lcmctl epromctl tgctl mpuctl motmpu nec8884 dpi960 r/w r/w r/w r/w r/w r/w r/w r/w 7 lcdctl to control lcd timing when lcd function is enabled. 6 lcmctl to control lcd timing when lcm function is enabled. 5 epromctl to control lcd timing when eeprom function is enabled. 4 tgctl to enable special ccd tg modes. 3 mpuctl to enable work styles when designer use internal risc cpu. 2 motmpu to select motor trigger output to mpu. the mpu can process the trigger signal. note: if designer set motmpu=1 then he must set acdcdis=1. 1 nec8884 to enable nec8884 sel3 function. 0 dpi9600 to enable 9600d resolution. offset a0h .. .. .... .. .. . .. .. . default value = 8 h00 x x lnofset5 lnofset4 lnofset3 lnofset2 lnofset1 lnofset0 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-0 lnofset[5:0] line difference of r, g, b in packing three channels to one color line. offset a1h .. .. .... .. .. . .. .. . default value = 8 h00 x x x stgset4 stgset3 stgset2 stgset1 stgset0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 stgset[4:0] line difference of stagger ccd between even and odd lines in packing them to the same color line. offset a2h .. .. .... .. .. . .. .. . default value = 8 h00 x x x rfhset4 rfhset3 rfhset2 rfhset1 rfhset0 x x x r/w r/w r/w r/w r/w 7-5 reserved - 4-0 rfhset[4:0] refresh time of sdram. the unit is 2us.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 62 offset a3h .. .. .... .. .. . .. .. . default value = 8 h00 truer7 truer6 truer5 truer4 truer3 truer2 truer1 truer0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 truer[7:0] weighting of r channel in true gray scanning. offset a4h .. .. .... .. .. . .. .. . default value = 8 h00 trueg7 trueg6 trueg5 trueg4 trueg3 trueg2 trueg1 trueg0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 trueg[7:0] weighting of g channel in true gray scanning. offset a5h .. .. .... .. .. . .. .. . default value = 8 h00 trueb7 trueb6 trueb5 trueb4 trueb3 trueb2 trueb1 trueb0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 trueb[7:0] weighting of b channel in true gray scanning. offset a6h .. .. .... .. .. . .. .. . default value = 8 h00 gpio24 gpio23 gpio22 gpio21 gpio20 gpio19 gpio18 gpio17 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpio[24:17] gpio24~17 input/output ports. offset a7h .. .. .... .. .. . .. .. . default value = 8 h00 gpoe24 gpoe23 gpoe22 gpoe21 gpoe20 gpoe19 gpoe18 gpoe17 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 gpoe[24:17] select directions of gpio24~17 ports. they can be set to different values independently. 0 set as input port. 1 set as output port. offset a8h .. .. .... .. .. . .. .. . default value = 8 h00 x x gpoe27 gpoe26 gpoe25 gpio27 gpio26 gpio25 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-3 gpoe[27:25] select directions of gpio27~25 ports. they can be set to different values independently. 0 set as input port. 1 set as output port. 2-0 gpio[27:25] gpio27~25 input/output ports.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 63 offset a9h .. .. .... .. .. . .. .. . default value = 8 h00 x x gpo33 gpo32 gpo31 gpo30 gpo29 gpo28 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-0 gpo[33:28] gpo33~28 output ports. offset abh .. .. .... .. .. . .. .. . default value = 8 h00 gpom9 mulstop2 mulstop1 mulstop0 nodecel tb3tb1 tb5tb2 fix16clk r/w r/w r/w r/w r/w r/w r/w r/w 7-6 gpom9 0 select gpio9 as general purpose i/o. 1 select gpio9 as v-ref control of bipolar motor driver ic to control imax 6-4 mulstop[2:0] select stop time of motor start/stop. the stop time = stoptim * 2 mulstop 3 nodecel 0 motor decelate when carriage touch home sensor 1 motor doesn t decelerate when carriage touch home sensor 2 tb3tb1 0 don t replace. 1 use table 1 of motor table to replace table 3. 1 tb5tb2 0 don t replace. 1 use table 2 of motor table to replace table 5. 0 fix16clk to enable 16 system clocks/pixel recover function offset ach .. .. .... .. .. . .. .. . default value = 8 h00 vrhome3 vrhome2 vrmove3 vrmove2 vrback3 vrback2 vrscan3 vrscan2 r/w r/w r/w r/w r/w r/w r/w r/w 7-6 vrhome[3:2] vref of the motor driver ic for go-home moving 5-4 vrmove[3:2] vref of the motor driver ic for fast forward moving 3-2 vrback[3:2] vref of the motor driver ic for backward moving when the image buffer is full offset adh .. .. .... .. .. . .. .. . default value = 8 h00 x x adftyp1 adftyp0 ccdtyp3 ccdtyp2 ccdtyp1 ccdtyp0 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-4 adftyp[5:4] set adf types like one pass, u-turn, forward & backward. 3-0 ccdtyp[3:0] set 600 * 2 , 1200 * 2 , 2400 * 2 , 1200 * 4 , 1200 * 2 + 600 , 1200 * 4 + 600 ccd types. offset aeh .. .. .... .. .. . .. .. . default value = 8 h00 x x motset2 motset1 motset0 process2 process1 process0 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5-3 motset[5:3] set the working methods of motor motor driver ic under adf feeding. 2-0 process[2:0] set data flow process under scanning.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 64 offset afh .. .. .... .. .. . .. .. . default value = 8 h00 scantyp2 scantyp1 scantyp0 fedtyp1 fedtyp0 adfmove2 adfmove1 adfmove0 r/w r/w r/w r/w r/w r/w r/w r/w 7-5 scantyp[2:0] set scanning types under adf working. 4-3 fedtyp [4:3] set feeding types for adf fast moving. 2-0 adfmove [2:0] set document-in moving types for adf. 4.3 register mapping 4.3.1 shading mapping (chunky for single bank) table 4.2 - shading mapping (chunky for single bank) attribute resolution address[24:0] 600dpi (dpihw=00) 0000000h~00083ffh size : 33k 1200dpi (dpihw=01) 0000000h~00107ffh size : 66k 2400dpi (dpihw=10) 0000000h~0020fffh size : 132k shading mapping 4800dpi (dpihw=11) 0000000h~0041fffh size : 264k 4.3.2 shading mapping (chunky for double bank) table 4.3 - shading mapping (chunky for double bank) attribute resolution address[24:0] babk0 0000000h~00041ffh size : 16.5k 600dpi (dpihw=00) bank1 0004200h~00083ffh size : 16.5k bank0 0000000h~00083ffh size : 33k 1200dpi (dpihw=01) bank1 0008400h~00107ffh size : 33k bank0 0000000h~00107ffh size : 66k 2400dpi (dpihw=10) bank1 0010800h~0020fffh size : 66k bank0 0000000h~0020fffh size : 132k shading mapping 4800dpi (dpihw=11) bank1 0021000h~0041fffh size : 132k
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 65 4.3.3 image buffer mapping table 4.4 - image buffer mapping attribute resolution address[24:0] r_odd 0008400h~00317ffh(165k) r_even 0031800h~005abffh(165k) g_odd 005ac00h~0083fffh(165k) g_even 0084000h~00ad3ffh(165k) b_odd 00ad400h~00d67ffh(165k) b_even 00d6800h~00ffbffh(165k) 600dpi (dpihw=00) dummy 00ffc00h~00fffffh(1k) r_odd 0010800h~00383ffh(159k) r_even 0038400h~005ffffh(159k) g_odd 0060000h~0087bffh(159k) g_even 0087c00h~00af7ffh(159k) b_odd 00af800h~00d73ffh(159k) b_even 00d7400h~00fefffh(159k) 1200dpi (dpihw=01) dummy 00ff000h~00fffffh(4k) r_odd 0021000h~0045fffh(148k) r_even 0046000h~006afffh(148k) g_odd 006b000h~008ffffh(148k) g_even 0090000h~00b4fffh(148k) b_odd 00b5000h~00d9fffh(148k) b_even 00da000h~00fefffh(148k) 2400dpi (dpihw=10) dummy 00ff000h~00fffffh(4k) r_odd 0042000h~00617ffh(126k) r_even 0061800h~0080fffh(126k) g_odd 0081000h~00a07ffh(126k) g_even 00a0800h~00bffffh(126k) b_odd 00c0000h~00df7ffh(126k) b_even 00df800h~00fefffh(126k) sdram 16m bits x 1 [19:0] 4800dpi (dpihw=11) dummy 00ff000h~00fffffh(4k) r_odd 0008400h~00b17ffh(677k) r_even 00b1800h~015abffh(677k) g_odd 015ac00h~0203fffh(677k) g_even 0204000h~02ad3ffh(677k) b_odd 02ad400h~03567ffh(677k) b_even 0356800h~03ffbffh(677k) 600dpi (dpihw=00) dummy 03ffc00h~03fffffh(1k) r_odd 0010800h~0b83ffh(671k) r_even 00b8400h~15ffffh(671k) g_odd 0160000h~207bffh(671k) g_even 0207c00h~2af7ffh(671k) b_odd 02af800h~3573ffh(671k) b_even 0357400h~3fefffh(671k) 1200dpi (dpihw=01) dummy 03ff000h~3fffffh(4k) r_odd 0021000h~00c5fffh(660k) r_even 00c6000h~016afffh(660k) g_odd 016b000h~020ffffh(660k) g_even 0210000h~02b4fffh(660k) b_odd 02b5000h~0359fffh(660k) b_even 035a000h~03fefffh(660k) 2400dpi (dpihw=10) dummy 03ff000h~03fffffh(4k) sdram 64m bits x 1 [21:0] 4800dpi r_odd 0042000h~00e17ffh(638k)
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 66 r_even 00e1800h~0180fffh(638k) g_odd 0181000h~02207ffh(638k) g_even 0220800h~02bffffh(638k) b_odd 02c0000h~035f7ffh(638k) b_even 035f800h~03fefffh(638k) (dpihw=11) dummy 03ff000h~03fffffh(4k) r_odd 0010800h~0162fffh(1354k) r_even 0163000h~02b57ffh(1354k) g_odd 02b5800h~0407fffh(1354k) g_even 0408000h~055a7ffh(1354k) b_odd 055a800h~06acfffh(1354k) b_even 06ad000h~07ff7ffh(1354k) 600dpi (dpihw=00) dummy 07ff800h~07fffffh(2k) r_odd 0021000h~0170bffh(1343k) r_even 0170c00h~02c07ffh(1343k) g_odd 02c0800h~04103ffh(1343k) g_even 0410400h~055ffffh(1343k) b_odd 0560000h~06afbffh(1343k) b_even 06afc00h~07ff7ffh(1343k) 1200dpi (dpihw=01) dummy 07ff800h~07fffffh(2k) r_odd 0042000h~018c3ffh(1321k) r_even 018c400h~02d67ffh(1321k) g_odd 02d6800h~0420bffh(1321k) g_even 0420c00h~056afffh(1321k) b_odd 056b000h~06b53ffh(1321k) b_even 06b5400h~07ff7ffh(1321k) 2400dpi (dpihw=10) dummy 07ff800h~07fffffh(2k) r_odd 0010800h~0162fffh(1354k) r_even 0163000h~02b57ffh(1354k) g_odd 02b5800h~0407fffh(1354k) g_even 0408000h~055a7ffh(1354k) b_odd 055a800h~06acfffh(1354k) b_even 06ad000h~07ff7ffh(1354k) sdram 128m bits x 1 [22:0] 4800dpi (dpihw=11) dummy 07ff800h~07fffffh(2k) r_odd 0008400h~02b17ffh(2725k) r_even 02b1800h~055abffh(2725k) g_odd 055ac00h~0803fffh(2725k) g_even 0804000h~0aad3ffh(2725k) b_odd 0aad400h~0d567ffh(2725k) b_even 0d56800h~0fffbffh(2725k) 600dpi (dpihw=00) dummy 0fffc00h~0ffffffh(1k) r_odd 0010800h~02b83ffh(2719k) r_even 02b8400h~055ffffh(2719k) g_odd 0560000h~0807bffh(2719k) g_even 0807c00h~0aaf7ffh(2719k) b_odd 0aaf800h~0d573ffh(2719k) b_even 0d57400h~0ffefffh(2719k) 1200dpi (dpihw=01) dummy 0ffff000h~0ffffffh(4k) r_odd 0021000h~02c5fffh(2708k) r_even 02c6000h~056afffh(2708k) g_odd 056b000h~080ffffh(2708k) g_even 0810000h~0ab4fffh(2708k) b_odd 0ab5000h~0d59fffh(2708k) b_even 0d5a000h~0ffefffh(2708k) sdram 256m bits x 1 [23:0] 2400dpi (dpihw=10) dummy 0ffff000h~0ffffffh(4k)
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 67 r_odd 0042000h~02e17ffh(2686k) r_even 02e1800h~0580fffh(2686k) g_odd 0581000h~08207ffh(2686k) g_even 0820800h~0abffffh(2686k) b_odd 0ac0000h~0d5f7ffh(2686k) b_even 0d5f800h~0ffefffh(2686k) 4800dpi (dpihw=11) dummy 0ffff000h~0ffffffh(4k) r_odd 0008400h~055bfffh(5455k) r_even 055c000h~0aafbffh(5455k) g_odd 0aafc00h~10037ffh(5455k) g_even 1003800h~15573ffh(5455k) b_odd 1557400h~1aaafffh(5455k) b_even 1aab000h~1ffebffh(5455k) 600dpi (dpihw=00) dummy 1ffec00h~1ffffffh(5k) r_odd 0010800h~0562fffh(5450k) r_even 0563000h~0ab57ffh(5450k) g_odd 0ab5800h~1007fffh(5450k) g_even 1008000h~155a7ffh(5450k) b_odd 155a800h~1aacfffh(5450k) b_even 1aad000h~1fff7ffh(5450k) 1200dpi (dpihw=01) dummy 1fff800h~1ffffffh(2k) r_odd 0021000h~0570bffh(5439k) r_even 0570c00h~0ac07ffh(5439k) g_odd 0ac0800h~10103ffh(5439k) g_even 1010400h~155ffffh(5439k) b_odd 1560000h~1aafbffh(5439k) b_even 1aafc00h~1fff7ffh(5439k) 2400dpi (dpihw=10) dummy 1fff800h~1ffffffh(2k) r_odd 0042000h~058c3ffh(5417k) r_even 58c400h~0ad67ffh(5417k) g_odd ad6800h~1020bffh(5417k) g_even 1020c00h~156afffh(5417k) b_odd 156b000h~1ab53ffh(5417k) b_even 1ab5400h~1fff7ffh(5417k) sdram 512m bits x 1 [24:0] 4800dpi (dpihw=11) dummy 1fff800h~1ffffffh(2k)
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 68 chapter 5 block diagram 5.1 usb2.0 system block diagram io device motor driver host GL843 (usb2.0 interface+scanner asic controller) two-in-one controller ccd/cis 12 mhz afe s dram figure 5.1 - usb2.0 system block diagram 5.2 function block diagram motor driver host 12 mhz motor control adf control pll motor moving table scanner flow control epp circuit usb2.0 controller data interface data packing black & white ccd/cis control ccd/cis front end (16 bits) a/d data latch gpio control clk-gen control register read/writ gamma correction line packing white shading dpi control true gray data compression dark shading average control adf device i/o device shading, image sdram figure 5.2 - function block diagram
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 69 chapter 6 functional description 1 system clock internal pll. a. input: 12mhz crystal. b. output: 12, 24, 30, 40, 48 or 60 mhz to scanner controller system. 2 pixel clock a. normal mode scan mode 0: a. 12 system clock/pixel. b. chunky color (three line in), gray or art scanning for ccd. c. planar color scan (one line in) or monochrome scanning for cis. b. scan mode 7 a. 16 system clock/pixel. b. chunky color (three line in), gray or line-art scanning for ccd. c. planar color scan (one line in) or monochrome scanning for cis. c. scan mode 6 a. 18 system clock/pixel b. chunky color (three line in), gray or art scanning for ccd. c. planar color scan (one line in) or monochrome scan for cis. note: chunky color is r1g1b1, r2g2b2, r3g3b3, (three-line-in or pixel rate). planar color is r1, r2, r3, ..; g1, g2, g3, .; b1, b2, b3, ..(one-line-in or line rate). ccd: chunky color or planar color. cis: planar color. 3 scan speed a. system clock = 30mhz: a. normal mode: chunky color, fine gray or fine line art scan. (scan mode 0) 12x33.333ns/pixel = 0.4us/pixel. (1). 600dpi: 2.160ms/line, 15.163s/page. (2). 1200dpi: 4.320ms/line, 60.653s/page. b. system clock = 40mhz: a. normal mode: chunky color, fine gray or fine line art scan. 12x25ns/pixel = 0.3us/pixel (1). 600dpi: 1.620ms/line, 11.372s/page. (2). 1200dpi: 3.240ms/line, 45.488s/page. 4 fast scan for low resolutions designers are allowed to increase ccd clock rates to up scanning speed in low resolutions, such as 2, 4, 8, times.. 5 scanning type GL843 supports three-line-in (parallel) for ccd and one-line-in for cis. a. ccd type ccd exposure control there are three modes to control ccd tg by tgmode control bits. mode 0: single exposure time for r, g and b channels. mode 1, 2: different exposure times for r, g and b channels .
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 70 timing diagrams: a.tgmode=00 t6 is the exposure time for each color. b. tgmode=01 t3.t4 and t5 is the shift time of image data. t_r is the exposure time of r channel. t_g is the exposure time of g channel. t_b is the exposure time of b channel..
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 71 c. tgmode=10 t1 is the shift time of image data. t2 is for dummy lines. t_r is the exposure time of r channel. t_g is the exposure time of g channel. t_b is the exposure time of b channel.. d. tgmode=00 t_r , t_g and t_b are the exposure times for three channels.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 72 b. cis type a. color scan: tg led r led g led b b. gray scan: tg led r/g/b c. true gray scan: tg led r led g led b 6 image sensor timing image sensor timings can be programmed by s/w. a. for ccd: support 600, 1200, 2400, 3200, 3600 ,4800dpi ~ 9600dpi ccd such as nec, toshiba, sony etc. b. for cis: support 600, 1200, 2400, 3200, 3600,4800dpi ~ 9600dp cis such as toshiba, canon etc. 7 dummy line GL843 supports programmable dummy lines to resolve (overcome) start/stop problem. designers can insert dummy lines to reduce scanner start/stop events (buffer full). a. line base of dummy lines: the range of dummy lines is 0~30 lines. b. adjustable dummy line: the range is from the minimum shift time of ccd/cis up to 2096k pixel time, with 1 pixel time resolution.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 73 8 support analog front end timing GL843 supports external 16 bits front-end. wolfson: wm8192, wm8199, etc. analog device: ad9826, etc. 9 image type a. supports color, gray and line art scanning. b. supports color filters options (r, g or b channels) in gray or line art scanning. c. supports true gray with programmable r, g and b weightings. 10 bits depth 16*3 bits color, 16 bits gray level and 1 bit line art (black & white). image data type: 16 bits, 8 bits and 1 bit. 11 shading & correction a. white shading & dark shading: white shading and dark shading are pixel-by-pixel corrections with 16-bit solution and can be enabled or disabled by s/w. the white shading curve is calculated by s/w. data arrangement: three line in mode: dark r1, white r1, dark g1, white g1, dark b1, white b1, dark r2, white r2, dark g2, white g2, dark b2, white b2, dark r3, white r3, dark g3, white g3, dark b3, white b3, one line in mode: dark r1, white r1, dark r2, white r2, dark r3, white r3 dark g1, white g1, dark g2, white g2, dark g3, white g3 dark b1, white b1, dark b2, white b2, dark b3, white b3 white shading formula: 2000h * target / (wn-dn) = white gain data ----- for 8 times system white shading formula: 4000h * target / (wn-dn) = white gain data ----- for 4 times system for example: target = 3fffh, wn = 2fffh, dn = 0040h and 8 times system operation then white gain = 2000h * 3fffh / (2fffh-0040h) = 2ae4h (1.34033 times) b. gamma correction: 16-bit gamma correction table is programmed by s/w. range: 0 ~ 64k (16 bits) input mapping to 0 ~ 255 (8 bits) output. style: increment or decrement gamma curve note: 16 bits image data will be mapped to 8 bits data by gamma table. designer can get 16 bit image data by disabling gamma table. 12 threshold setting for line-art threshold can be programmed by s/w. range: 0 ~ 255 adjustable. the threshold with hysteresis characteristic is for reducing image noise. bwhi d h bwlow b c e f i hysteresis width g a a,b,c,g : are black pixels d,e,f,h,i : are white pixels
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 74 13 exposure time maximum: 2096k pixels time adjustment step: 1 pixel time. for transparency scanning, the exposure time can be up to 2096k pixels time. 14 scan width control for horizontal line a. supports start and end pixels assignment in setting scan width. b. scanning width= end pixels - start pixels maximum length: 128k pixels. minimum length: 1 pixel. 15 support built-in usb 2.0 controller 2-in-1 usb2.0 controller + scanner controller. 16 sdram timing supports 16m bits (1m*16), 64m bits (4m*16), 128m bits (8m*16), 256m bits (16m*16) and 512 m bits (32m*16) sdram as image buffer and calibration buffer. 17 horizontal resolution adjustable for dpi function a. digital deletion type: software adjustable resolutions range from 9600 to 1 dpi with 1 dpi decrement. b. digital average type: supports 1/2, 1/3, 1/4, 1/5, 1/6, 1/8, 1/10, 1/12, 1/15 digital average function. for example, options for 1200dpi scanner are: 1200dpi, 600dpi, 400dpi, 300dpi, 240dpi, 200dpi, 150dpi,120dpi, 100dpi, 80dpi by average function. c. support stagger ccd: supports 1/2, 1/4, 1/8 resolutions, such as nec toshiba and sony stagger ccd. 18 vertical resolution adjustable for dpi function the resolution of motor moving is 16 bits wide and is flexibly controlled by motor tables. the resolution can be up to 4800 dpi for 1200 dpi scanners, 9600 dpi for 2400 dpi scanners and 19200 dpi for 4800 dpi scanners. note: the resolution of vertical direction of quarter step can up to four times resolution. 19 five acceleration/deceleration tables the acceleration/deceleration tables are stored in internal sram and can be downloaded by s/w. and the resolution is 16 bits in pixel-time. the number of table steps is from 1 to 1020 steps for arbitrary curves. there are five tables for motor moving. three tables are for scanning and the others are for fast moving. the forward and backward steps can be programmed by s/w separately. note: fast move means move back to home position or move forward to scan window in any position.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 75 (1) two tables type: speed scanning position buffer full position scan finished go to scan window forward a(4) b(4) c(1) d(1) e(1) f(3) length g(5),k h(2) i(2) j(4) go home backward a,j : acceleration curve in table four (slope four) for fast moving. b : deceleration curve in table four (slope four) for fast moving. c,d : acceleration curve in table one (slope one) for scanning. e : deceleration curve in table one (slope one) for scanning. f : deceleration curve in table three (slope three) for scanning finished to protect wall hitting. i : acceleration curve in table two (slope two) for back-track when image buffer full. h : deceleration curve in table two (slope two) for back-track when image buffer full. g : deceleration curve in table five (slope five) for go-home to protect wall hitting. k : touch home sensor deceleration curve for go-home. (2) one tables type: speed scanning position buffer full position scan finished go to scan window c(1) d(1) e(1) f(3) length g(5),k h(2) i(2) j(4) go home j : acceleration curve in table four (slope four) for fast moving. c,d : acceleration curve in table one (slope one) for forward scanning. e : deceleration curve in table one (slope one) for scanning. f : deceleration curve in table three (slope three) for scanning finished to protect wall hitting. i : acceleration curve in table two (slope two) for back-track when image buffer full. h : deceleration curve in table two (slope two) for back-track when image buffer full. g : deceleration curve in table five (slope five) for go-home to protect wall hitting. k : touch home sensor deceleration curve for go-home. 20 trigger position control designers can select to move motor first then capture image; or capture image first then move motor. 21 stepping motor phase control there are 8 output control pins to control stepping motors:
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 76 mtr_ph 0~7 for bipolar motors mtr_ph 0~3 for unipolar motors a. bipolar motors: a. supports 2916 motor driver timing and 2916 compatible driver ic, such as l6219. include full, half and quarter steps control. b. supports 3955 motor driver timing. include full, half, quarter and eighth steps control. c. supports 3967 motor driver timing. include full, half, quarter and eighth steps control. d. supports lb1939, 1940 motor driver timing. include full and half steps control b. unipolar motors: a. supports 2003 motor driver timing and 2003 compatible driver ic. b. include full step two phases on, full step single phase on and half step. c. pwm control, include frequency and duty controls. pwm duty frequency phase on time 22 watchdog protection this function can automatically reset the system to initial state when the system is hanged (no access signal) beyond the time limit. it can be enabled or disabled by s/w. this function can protect motor power, lamp power and asic system. calculation formula: (30sec.) * (times setting) * (setting number.). the range of setting number is from 1 to 15; the range of times setting is 0 or 1. 23 lamp time-out control this circuitry can automatically turn off the lamp power when this function is enabled. it can be enabled or disabled by s/w. calculation formula: (60sec.) * (times setting) * (setting number). the range of setting number is from 1 to 7;the range of times setting is 0 to 3. 24 lamp power control these are two power control ports for lamp. one is for flatbed and the other is for xpa (transparency or film). these control ports have pwm function. according to the system clock, designers can flexibly adjust their frequency and duty by s/w. and the resolution of pwm is 16 bits. 25 sensors the system supports home sensor for flatbed; adf sensor, document sensor and cover sensor for adf module. 26 gpio ports designers can separately assign input or output direction for each gpio pin of gpio1~20 and gpio27. some gpio can be designed for keypads, document sensor of sheetfed or motor power control etc. designers can assign gpio27 as general-purpose input/output port or as adf sensor input. note : there are two pins for special function. one is gpio12 and the other is gpio11. gpio12: 1. pull up by resistor to indicate asic to turn on lamp power in power-on initial state. 2. pull down by resistor to indicate asic to turn off lamp power in power-on initial state..
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 77 3. this pin can control bipolar motor driver ic (2916,6219,3955 or 3967) vref for controlling imax current. gpio11: this pin can control bipolar motor driver ic (2916,6219,3955 or 3967) vref for control imax current. 27 gpo28~33 ports GL843 provides 6 ports for general-purpose output. they exist in both 128 and 208 pins packages. 28 power on check the default status of the pwrbit control bit is reset. programmers can set the pwrbit control bit before controlling the asic. GL843 will keep the status until power is turn off. this operation is to check if the power had been turned off or not. 29 extended gpio gpio21~26 is only available in 208 pins qfp package. 30 led blinking GL843 supports led -blinking function. it is implemented in gpio15~16 pins and gpio21~26. 31 support back scanning GL843 supports forward or backward scanning. 32 support lcd interface GL843 supports lcd display interface via internal logic circuitry. programmers need to set the lcdsel control bit to logic 1 . 33 support lcm interface GL843 supports lcm display interface via internal logic circuitry. programmers need to set the lcmsel control bit to logic 1 . gpio19 controls rs of lcm. gpio20 controls en of lcm. gpio1~4 control the data bus of lcm and share the input of keys matrix. gpio18 controls the /e of external 74hc244. the 74hc244 is a bus buffer to share keys matrix and lcm data bus. following is the application of keys matrix & lcm display.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 78 34 supports adf function GL843 supports adf (auto-document-feeder) function via internal logic circuitry. programmers need to set the adfsel control bit to logic 1 . gpio6 controls the motor pulse trigger if the motor moving of adf module is implemented by trigger pulse, otherwise the motor moving is driven by motor phases. gpo28 controls the moving direction of motor if adf module is necessary. gpio16 is the cover sensor input, gpio27 is the adf sensor input and home is document sensor input under adf mode. GL843 can feed document sheets automatically to scanning window. after sensing the present of document by document sensor, software should issue feed command to GL843 for paper feeding. after document sheet reaches adf sensor, scanning process will be started after prefed motor steps. document sensor adf sensor document sheet scanning window prefed
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 79 when document sheet keeps moving forward, after sensing the absent of document by adf sensor, scanning process will be terminated after pstfed scanning lines. 35 supports rs232 interface GL843 supports rs232 interface via internal logic circuitry. programmers need to set the rs232sel control bit to logic 1 . gpio6 transmits the data of rs232 and gpio28 receives the data of rs232 under rs232 mode. the baud rate can be programmed to 2400,4800, 9600 and 19200 bps by s/w. 36 supports eeprom (93c46) interface GL843 supports eeprom interface via internal logic circuitry. programmers need to set the epromsel control bit to logic 1 . gpio1 controls sk of external eeprom, gpio2 controls di/do of eeprom and gpio17 controls cs of external eeprom under eeprom mode. 37 embedded risc cpu for scanning, run-in and diagnostic tests GL843 embeds a powerful risc cpu. it has timers, counters and interrupt ports. designers can use the embedded cpu to do the run-in, diagnostic tests and anything he wants to do. 38 supports external 24kbytes flash rom or internal 24kbyte mask rom designers can use 24k bytes embedded mask rom or external flash rom. firmware can be downloaded to flash rom directly by pc s/w. it provides a flexible development environment to design the firmware. 39 supports key-matrix with latch function designers need to set matrixen control bit to logic 1 to enable key-matrix function. gpio13~15 are the scanning output of key-matrix and gpio1~4 are the scanning input of key-matrix. designers can select 1*4, 2*4 or 3*4 matrix for different applications. by resetting matrixen to logic 0 , designers can directly use gpio1~4 as four hot keys inputs. any hot key status is latched into key buffer until it is read out. 40 true gray with r,g and b weightings designers can obtain the true gray image data by enabling true gray function. image data is generated by r,g and b outputs and multiplied by weightings. formula of true gray value = r*(truer [7:0]) + g*(trueg [7:0]) + b*(trueb [7:0]) document sensor adf sensor docum ent sheet scanning window pstfed
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 80 41 lossless data compression GL843 use huffman coding method to implement the lossless data compression. 42 lines packing for stagger ccd or r/g/b line differences GL843 packs r, g and b lines together for ccd sensors by hardware. and it also packs the same color lines of stagger ccd together. 43 fine cds sampling adjustment designers can fine-tune the cds sampling position to avoid the digital noise influence (8.33ns adjustment). the image noise may come from the digital noise of pcb. 44 wall-hitting protection designers can use table five of motor moving to protect the wall hitting. the longcurv control bit has to be set to logic 1 to enable the long-curve function. the first several steps are used to decelerate the carriage moving; the other slower steps are focused on touching the home sensor. due to the special table five, designers can replace the photo-sensor by simple, cheaper mechanical-type sensors. 45 motor driver ic setting designers add pull up/pull down resistors on mtr_sel1~3 will indicate asic to generate the timing of specified motor driver ic. please refer to section 5.2. mtr_sel1 share in ccd_ch4x pin. mtr_sel2 share in ccd_tgg pin. mtr_sel3 share in ccd_tgb pin. 46 operation mode setting designers add pull down resistors on tstsel1~2 will indicate asic to work on normal mode.please refer to section 5.2. tstsel1 share in ccd_ck2x pin. tstsel2 share in ccd_rsx.
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 81 chapter 7 electrical characteristics 7.1 absolute maximum ratings (voltage referenced to gnd) table 7.1 - absolute maximum ratings (voltage referenced to gnd) symbol description min max dvcc0 dvcc1 avdd avcc1 vcccore1~4 dc supply voltage -0.5v +3.6v vccio1~6 dc supply voltage -0.5v +3.6v or +5.5v v i dc input voltage -0.5v vcc+0.5v v i/o dc input voltage range for i/o -0.5v vcc+0.5v v ai/o dc input voltage for usb d+/d- pins -0.5v vcc+0.5v v i/oz dc voltage applied to outputs in high z state -0.5v vcc+0.5v t stq storage temperature range -60 c +150 c t amb operating ambient temperature 0 c 70 c note: vcc: vcccore, vccio, dvcc, avdd or avcc1 7.2 dc characteristics (digital pins): 3.3 v logic core or pads table 7.2 - dc characteristics (digital pins): 3.3 v logic core or pads symbol description min typ. max unit p d power dissipation ma dvcc0 dvcc1 avdd avcc1 vcccore1~4 power supply voltage 3.1 3.3 3.6 v vccio1~6 power supply voltage 3.3v 3 3.3 3.6 v i o dc output sink current excluding d+/d-/vcc/gnd 16 or 8 ma v il low level input voltage 0.9 v v ih high level input voltage 2.0 v v tlh low to high threshold voltage 1.3 1.43 1.56 v v thl high to low threshold voltage 1.3 1.43 1.56 v v hys hysteresis voltage - 0 - v v ol low level output voltage when i ol =16ma 0.4 v v oh high level output voltage when i oh =16ma 2.4 v i olk leakage current for pads with internal pull up or pull down resistor 46 m a r dn pad internal pulldown resister 72.8k 105.7k 167.4k r up pad internal pullup resister 135.9k 167.8k 212.4k note: hbd16dhk is internal pulled down; hbd16uhk is internal pulled up; hbd16* is 16ma; hbd8* is for 8ma
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 82 7.3 dc characteristics (digital pins): 5.0 v pads table 7.3 - dc characteristics (digital pins): 5.0 v pads symbol description min typ. max unit p d power dissipation ma vccio1~6 power supply voltage 5.0v 4.5 5.0 5.5 v i o dc output sink current excluding d+/d-/vcc/gnd 16 ma v il low level input voltage 0.9 v v ih high level input voltage 2.4 v v tlh low to high threshold voltage v v thl high to low threshold voltage v v ol low level output voltage when i ol =8ma 0.4 v v oh high level output voltage when i oh =8ma 2.4 v i olk leakage current for pads with internal pull up or pull down resistor 46 m a r dn pad internal pulldown resister 104.6k 159.5k 206.6k r up pad internal pullup resister 81.9k 103.2k 254.6k 7.4 dc characteristics (d+/d-) table 7.4 - dc characteristics (d+/d-) symbol description min typ. max unit v ol d+/d- static output low(r l of 1.5k to 3.6v ) 0.3 v v oh d+/d- static output high (r l of 15k to gnd ) 2.8 3.6 v v di differential input sensitivity 0.2 v v cm differential common mode range 0.8 2.5 v v se single-ended receiver threshold 0.2 v c in transceiver capacitance 20 pf i lo hi-z state data line leakage -10 +10 m a z drv driver output resistance 28 43
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 83 chapter 8 package dimension qfp-128l (14*20 mm, f/p: 3.2 mm): symbols min(mm) nom(mm) max(mm) a1 0.25 0.35 0.45 a2 2.57 2.72 2.87 b 0.10 0.20 0.30 c 0.10 0.15 0.20 d 13.90 14.00 14.10 e 19.90 20.00 20.10 e - 0.50 - hd 17.00 17.20 17.40 he 23.00 23.20 23.40 l 0.65 0.80 0.95 l1 - 1.60 - y - - 0.08 0 - 12 e b 0.08(0.003) m e he d h d l 1 a2 a1 y h d figure 8.1 - GL843 128 pin qfp package
GL843 high speed usb2.0 with adf 2-in-1 scanner controller for 3x ? 2000-2006 genesys logic inc. - all rights reserved. page 84 figure 8.2- GL843 208 pin qfp package


▲Up To Search▲   

 
Price & Availability of GL843

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X