Part Number Hot Search : 
SMM4F15A TPSMP30A BAV70T DB90E TH58NVG TC7W04F BA6425 AS2523
Product Description
Full Text Search
 

To Download GL842 Datasheet File

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


  Datasheet File OCR Text:
  xu062 f GL842 usb 2.0 2-in-1 scanner controller datasheet revision 1.00 nov. 14, 2003 genesys logic, inc.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 2 copyright: copyright ? 2003 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 proper ty. 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 describe d therein at any time without notice. trademarks: is a registrated trademark of genesys logic inc.. all trademarks are the proper ties 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 3 revision history revision date description 1.00 11/14/2003 first formal release
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 4 table of contents chapter 1 gereral description........................................................................ 6 chapter 2 features ................................................................................................... 7 chapter 3 pin assignment...................................................................................... 8 3.1 p inouts ......................................................................................................................... 8 3.2 p in l ist .......................................................................................................................... 9 3.3 p in d escriptions ....................................................................................................... 10 chapter 4 registers ............................................................................................... 14 4.1 r egisters b ase a ddress .......................................................................................... 14 4.2 r egister d escriptions ............................................................................................ 18 4.3 r egister m apping .................................................................................................... 52 4.3.1 shading mapping (chunky for single bank)................................................... 52 4.3.2 shading mapping (planer)................................................................................. 52 4.3.3 slope curve table mapping .............................................................................. 53 4.3.4 image buffer mapping ....................................................................................... 53 chapter 5 block diagram................................................................................... 54 5.1 usb2.0 s ystem b lock d iagram ............................................................................. 54 5.2 f unction b lock d iagram ....................................................................................... 54 chapter 6 functional description............................................................... 55 chapter 7 electrical characteristics .................................................... 62 7.1 a bsolute m aximum r atings (v oltage r eferenced to gnd)........................ 62 7.2 dc c haracteristics (d igital p ins ): 3.3 v l ogic c ore or p ads ..................... 62 7.3 dc c haracteristics (d igital p ins ): 5.0 v p ads ................................................. 63 7.4 dc c haracteristics (d+/d-) .................................................................................. 63 chapter 8 package dimension.......................................................................... 64
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 5 list of figures f igure 3.1 - p inout d iagram .......................................................................................... 8 f igure 5.1 - usb2.0 s ystem b lock d iagram ............................................................. 54 f igure 5.2 - f unction b lock d iagram ....................................................................... 54 f igure 8.1 - GL842 128 p in qfp p ackage ................................................................... 64 list of tables t able 3.1 - p in l ist ........................................................................................................... 9 t able 3.2 - p in d escriptions ......................................................................................... 10 t able 4.1 - b ase a ddress for r egisters .................................................................... 14 t able 4.2 - s hading m apping (c hunky for s ingle b ank ) ...................................... 52 t able 4.3 - s hading m apping (p laner )....................................................................... 52 t able 4.4 - s lope c urve t able m apping ................................................................... 53 t able 4.5 - i mage b uffer m apping .............................................................................. 53 t able 7.1 - a bsolute m aximum r atings (v oltage r eferenced to gnd) ......... 62 t able 7.2 - dc c haracteristics (d igital p ins ): 3.3 v l ogic c ore or p ads ...... 62 t able 7.3 - dc c haracteristics (d igital p ins ): 5.0 v p ads .................................. 63 t able 7.4 - dc c haracteristics (d+/d-).................................................................... 63
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 6 chapter 1 gereral description genesys logic's single-chip GL842 (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, GL842 is not only ready for supporting cis or ccd image sensors (600dpi,1200dpi or 2400dpi resolution) that are used in flatbed or transparency scanners, but is able to co-work with uni-polar or bi-polar stepping motors. advanced features of GL842 include five motor acceleration/ deceleration curve tabl es for high speed motor moving.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 7 chapter 2 features highly integrated scanner controller chip. (2-i n-1; scanner controller and usb 2.0 interface) usb 2.0 high speed (480mbit) compliance. (usb 2.0 high speed logo certified) design for sheetfed, flatbed and transparency scanner. 12mhz low frequency clock input required for better emi. flexible 3.3v/5v power selection for pad i/o. adjustable working speed for different usage. fast operation speed. (0.3us/pixel. in 40mhz working clock) it costs only 12 seconds for 600dpi a4 size color scanning. available sensor types: 600, 1200 and 2400dpi color cis or ccd. support linear or stagger ccd, such as nec, toshiba or sony cdd. support 48-bits color (16-bits gray level) scanning. support color, fine gray, fast gray and fast b/w scan for cdd. support color, gray, true gray and b/w scan for cis. support three scanning types: pixel by pixel (pixel rate), line by line (line rate) and rgb line by turns (line rate). 16 bits white/dark shading and 16-to-8 bits gamma correction. support digital average and hardware deletion pi xel function for speeding up low resolution scan. support hardware deletion type for dpi f unction (2400 to 1 dpi, 1 dpi decrement). programmable threshold level for b/w. exposure time is adjustable (1 pixel time increment step). scan width (scan area) control for horiz ontal line (1 pixel increment step). support 256k*16, 256k*16*2 and 1m*16 bits edo-dram. support 5 acceleration/deceleration mo tor tables for detailed contro llable high speed motor moving. support controllable bipolar motor in full, half and quarter steps moving. support controllable uni-polar motor in full and half steps moving. build-in pwm control phase for uni-polar motor. programmable dummy lines to resolve start/stop (discontinuous) problem. watch dog protect for lamp, motor and asic. lamp timeout (sleeping) control. support 16 gpio pins and 2 gpo pins. output motor trigger signal under scanning for adf. 2 output ports for lamp (include flatbed and transparency with pwm) control. input port for home sensor. power on check status. support led blinking. support back scanning.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 8 chapter 3 pin assignment 3.1 pinouts GL842 pqfp - 128 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 3 4 5 6 7 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7 gpio8 gpio9 gpio10 gpio11 gpio12 gpio13/motortgo gpio14 vcccore1 gndcore1 gpio15 gpio16 vccio1 gndio1 mrt_sel0 mtr_sel1 lamp_sw xpa_sw led_b mt_ph0 gpio1 dgnd1 dvcc1 agnd1 x1 x2 avcc1 1 8 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 101 100 99 98 97 96 95 102 dbus0 abus9 abus8 abus7 gndio5 vccio5 abus6 abus5 abus4 abus3 abus2 abus1 gndcore3 vcccore3 abus0 nwex noex rasx casx nwey gndio4 vccio4 noey rasy casy dbus1 dbus2 dbus3 dbus4 dbus5 dbus6 dbus7 50 49 48 47 46 45 44 43 42 41 40 39 57 56 55 54 53 52 51 58 sdi sdo gndio2 vccio2 op7 op6 op5 op4 op3 op2 op1 op0 mt_ph7 vcccore2 gndcore2 sclk sen/sload bsmp/cdsclk1 vsmp/cdsclk2 mclk/adcclk 111 112 113 114 115 116 117 118 119 120 121 104 105 106 107 108 109 110 103 dbus13 dbus14 dbus15 vcccore4 gndcore4 tstsel0 tstsel1 extrst_ nc or dgnd dvcc0 dgnd0 rpu dbus12 dbus11 dbus10 dbus9 dbus8 gndio6 vccio6 33 mt_ph1 34 mt_ph2 35 mt_ph3 36 mt_ph4 37 mt_ph5 38 mt_ph6 60 59 61 ccd_tgx ccd_ck1x ccd_ck3x 63 62 64 ccd_cpx vccio3 gndio3 68 67 66 65 ccd_ck4x ccd_ck2x home ccd_rsx 70 69 ccd_tgb cdd_tgg 125 126 127 128 dmf dmh agnd rref 123 124 dpf dph 122 avdd figure 3.1 - pinout diagram
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 9 3.2 pin list table 3.1 - pin list pin# pin name type pin# pin name type pin# pin name type pin# pin name type 1 avcc1 p 33 mt ph1 o 65 ccd rsx o 97 dbus2 b 2 x2 i/o 34 mt_ph2 o 66 home i 98 dbus3 b 3 x1 i 35 mt_ph3 o 67 ccd_ck2x o 99 dbus4 b 4 agnd1 p 36 mt_ph4 o 68 ccd_ck4x o 100 dbus5 b 5 dvcc1 p 37 mt_ph5 i/o 69 ccd_tgg o 101 dbus6 b 6 dgnd1 p 38 mt_ph6 o 70 ccd_tgb o 102 dbus7 b 7 gpio1 b 39 mt_ph7 o 71 casy o 103 vccio6 p 8 gpio2 b 40 op0 i 72 rasy o 104 gndio6 p 9 gpio3 b 41 op1 i 73 noey o 105 dbus8 b 10 gpio4 b 42 op2 i 74 vccio4 p 106 dbus9 b 11 gpio5 b 43 op3 i 75 gndio4 p 107 dbus10 b 12 gpio6 b 44 op4 i 76 nwey o 108 dbus11 b 13 gpio7 b 45 op5 i 77 casx o 109 dbus12 b 14 gpio8 b 46 op6 i 78 rasx o 110 dbus13 b 15 gpio9 b 47 op7 i 79 noex o 111 dbus14 b 16 gpio10 b 48 vccio2 p 80 nwex o 112 dbus15 b 17 gpio11 b 49 gndio2 p 81 abus0 o 113 vcccore4 p 18 gpio12 b 50 sdo i 82 vcccore3 p 114 gndcore4 p 19 gpio13/ motortgo b 51 sdi o 83 gndcore3 p 115 tstsel0 i 20 gpio14 b 52 vcccore2 p 84 abus1 o 116 tstsel1 i 21 vcccore1 p 53 gndcore2 p 85 abus2 o 117 extrst_ i 22 gndcore1 p 54 sclk o 86 abus3 o 118 nc or dgnd p 23 gpio15 b 55 sen/sload o 87 abus4 o 119 dvcc0 p 24 gpio16 b 56 bsmp/ cdsclk1 o 88 abus5 o 120 dgnd0 p 25 vccio1 p 57 vsmp/ cdsclk2 o 89 abus6 o 121 rpu - 26 gndio1 p 58 mclk/ adcclk o 90 vccio5 p 122 avdd p 27 mtr_sel0 i 59 ccd_tgx o 91 gndio5 p 123 dpf i/o 28 mtr_sel1 i 60 ccd_ck1x o 92 abus7 o 124 dph i/o 29 lamp_sw o 61 ccd_ck3x o 93 abus8 o 125 dmf i/o 30 xpa_sw o 62 ccd_cpx o 94 abus9 o 126 dmh i/o 31 led_b o 63 vccio3 p 95 dbus0 b 127 agnd p 32 mt_ph0 o 64 gndio3 p 96 dbus1 b 128 rref -
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 10 3.3 pin descriptions table 3.2 - pin descriptions support io ports interface pin name pin# type asic i/o cell description gpio1~16 7~20,23, 24 b hbd16rsc general purpose input/output mt_ph0~4 32~36 o (pd) hbd16dhk mt_ph5~7 37~39 o hbd16rsc bi- p olar (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- p olar (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 motortgo/ gpio13 19 o hbd16rsc output motor trigger for adf scanning or gpio13 home 66 i (pu) hbd16uhk sense carriage home position ccd/cis control signals interface pin name pin# type asic i/o cell description ccd_ck1x 60 o hbd16rsc ccd shift register clock1 or cis clock output ccd_ck2x 67 o hbd16rsc ccd shift register clock2 or cis clock output ccd_cpx 62 o hbd16rsc ccd clamp gate clock or cis clock output ccd_rsx 65 o hbd16rsc ccd reset gate clock or cis clock output ccd_tgx 59 o hbd16rsc ccd transfer gate clock for r channel or cis line start pulse ccd_tgg 69 o hbd16rsc ccd transfer gate clock for g channel ccd_tgb 70 o hbd16rsc ccd transfer gate clock for b channel ccd_ck3x 61 o hbd16rsc ccd shift register clock3 ccd_ck4x 68 o hbd16rsc ccd shift register clock4 lamp_sw 29 o hbd16rsc flatbed lamp power control or cis red led array control
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 11 xpa_sw 30 o hbd16rsc transparency lamp power control or cis green led array control led_b 31 o hbd16rsc cis blue led array control front-end interface pin name pin# type asic i/o cell description op0~7 40~47 i (pd) hbd16dhk afe digital data input sen/sload 55 o (pd) hbd16dhk serial interface load pulse sclk 54 o hbd16rsc serial interface clock output sdi 51 o (pd) hbd16dhk serial data output sdo 50 i (pd) hbd16dhk serial data input bsmp/cdsclk1 56 o hbd16rsc wolfson type: video sample synchronization pulse analog device: cds reference level sampling clock vsmp/cdsclk2 57 o hbd16rsc wolfson type: video sample synchronization pulse analog device: cds data level sampling clock mclk/adcclk 58 o hbd16rsc wolfson type: master clock. analog device: a/d converter sampling clock. dram interface pin name pin# type asic i/o cell description dbus0~15 95~102, 105~112 b (pd) hbd16dhk dram data bus abus0~9 81,84~89, 92~94 o (pd) hbd16dhk dram address bus rasx 78 o (pd) hbd16dhk dram ras signal of first memory chip casx 77 o (pd) hbd16dhk dram cas signal of first memory chip noex 79 o (pd) hbd16dhk dram oe(output enable) signal of first memory chip nwex 80 o (pd) hbd16dhk dram we signal of first memory chip rasy 72 o (pd) hbd16dhk dram ras signal of second memory chip casy 71 o (pd) hbd16dhk dram cas signal of second memory chip noey 73 o (pd) hbd16dhk dram oe(output enable) signal of second memory chip nwey 76 o (pd) hbd16dhk dram we signal of second memory chip
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 12 miscellaneous pin name pin# type asic i/o cell description tstsel[1:0] 116,115 i (pd) hbd16dhk to select mode: normal mode=0 mtr_sel[1:0] 28,27 i (pd) hbd16dhk mtr_sel[1:0]=10 select bi_polar 3955 mtr_sel[1:0]=01 select bi_polar 2916 or 6219 mtr_sel[1:0]=00 select uni_polar 2003 x1 3 i - clock input for crystal (12mhz) x2 2 i/o - clock output for crystal extrst_ 117 i hbd8rteu hardware reset input usb interface pin name pin# type asic i/o cell description nc or dgnd 118 p - nc or usb shield ground rpu 121 - - 3.3v pull up control for dpf dpf 123 i/o - positive usb differential data (full speed) dph 124 i/o - positive usb differential data (high speed) dmf 125 i/o - negative usb differential data (full speed) dmh 126 i/o - negative usb differential data (high speed) rref 128 - - 510 ? reference resistor input power / ground pin name pin# type asic i/o cell description avdd, avcc1 122,1 p - analog power input for usb2.0 transceiver 3.3v agnd, agnd1 127,4 p - analog ground input for usb2.0 transceiver dvcc0, dvcc1 119,5 p - digital power input for usb2.0 controller 3.3v dgnd0, dgnd1 120,6 p - digital ground input for usb2.0 controller. vcccore1~4 21,52,82, 113 p - digital power input for scanner controller logic core 3.3v gndcore1~4, gndio1~6 22,53,83, 114,26,49, 64,75,91, 104 p - digital ground input for scanner controller. vccio1 25 p - for pin7~pin39 3.3v or 5v vccio2 48 p - for pin40~pin58 3.3v or 5v vccio3 63 p - for pin59~pin66 3.3v or 5v vccio4~6 74,90,103 p - for pin67~116 3.3v or 5v note: hbd16* is for 6ma; hbd8* is for 8ma.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 13 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 14 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 x m16dram dramsel shdarea scan 8?h00 02h nothome acdcdis agohome mtrpwr fastfed mtrrev homeneg longcurv 8?h00 03h lampdog aveenb xpasel lamppwr lamptim[3:0] 8?h0c 04h lineart bitset afemod[1:0] filter[1:0] feset[1:0] 8?h00 05h dpihw[1:0] mtllamp[1:0] gmmenb x mtlbase[1:0] 8?h00 06h scanmod[2:0] pwrbit gain4 optest[2:0] 8?h00 07h x x x x sramsel fastdma dmasel dmardwr 8?h00 08h x decflag gmmffr gmmffg gmmffb gmmzr gmmzg gmmzb 8?h00 09h mcntset[1:0] clkset[1:0] backscan enhance shorttg nwait 8?h00 0ah x x x x x x x srambuf 8?h00 0bh x x x x x x x x - 0ch x x x x x x x x - 0dh x x x x x x x clrlncnt - 0eh scanreset - 0fh move - 10h expr15 expr14 expr13 expr12 expr11 expr10 expr9 expr8 8?h00 11h expr7 expr6 expr5 expr4 expr3 expr2 expr1 expr0 8?h00 12h expg15 expg14 expg13 expg12 expg11 expg10 expg9 expg8 8?h00 13h expg7 expg6 expg5 expg4 expg3 expg2 expg1 expg0 8?h00 14h expb15 expb14 expb13 expb12 expb11 expb10 expb9 expb8 8?h00 15h expb7 expb6 expb5 expb4 expb3 expb2 expb1 expb0 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 x x manual3 manual1 ck4inv ck3inv lineclp x 8?h00 1bh x x x x x x x x - 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 15 27h lincnt[7:0] 8?h00 28h ?gmmwrdata? 8?h00 29h lamppwm[7:0] 8?h00 2ah ramaddr[15:8] 8?h00 2bh ramaddr[7: 0] 8?h00 2ch x x x x dpiset[11: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 x x x x maxwd[19:16] 8?h00 36h maxwd[15:8] 8?h00 37h maxwd[7:0] 8?h00 38h lperiod[15:8] 8?h15 39h lperiod[7:0] 8?h18 3ah x x x x x x x fewrdata8 8?h00 3bh fewrdata[7:0] 8?h00 3ch ?ramwrdata? 8?h00 3dh x x x x feedl[19:16] 8?h00 3eh feedl[15:8] 8?h00 3fh feedl[7:0] 8?h00 40h hispdfl motmfl dataen - 41h pwrbit bufemp feedfs scanfs homesn lampst febusy motore - 42h x x x x validword[19:16] - 43h validword[15:8] - 44h validword[7:0] - 45h ?ramrddata? - 46h x x x x x x x ferddata8 - 47h ferddata[7:0] - 48h x x x x fedcnt[19:16] - 49h fedcnt[15:8] - 4ah fedcnt[7:0] - 4bh x x x x scancnt[19:16] - 4ch scancnt[15:8] - 4dh scancnt[7:0] - 4eh ?gmmrddata? - 4fh x x x x x x x x - 50h x x ferda[5:0] 8?h00 51h x x fewra[5:0] 8?h00 52h rhi[4:0] 8?h00 53h rlow[4:0] 8?h00
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 16 54h ghi[4:0] 8?h00 55h glow[4:0] 8?h00 56h bhi[4:0] 8?h00 57h 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?hc0 5bh x x x x x x gmmaddr[9: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 multfil gpom13 gpom12 gpom11 x x gpo18 gpo17 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?h15 71h x x x rsl[4:0] 8?h17 72h x x x cph[4:0] 8?h15 73h x x x cpl[4:0] 8?h17 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 x x gpoled gpoled gpoled gpoled gpoled gpoled 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 17 81h x x x x x x x roffset8 8?h00 82h roffset[7:0] 8?h00 83h x x x x x x x goffset 8?h00 84h goffset[7:0] 8?h00 85h boffset 8?h00 86h boffset[7:0] 8?h00 87h x yenb ybit acycnrlc enoffset ledadd ck4adc autoconf 8?h00 notation: r/w read / write r/o read only w/o write only r/w1c readable and write-1-clear r/w/c read / write and hardware automatic clear
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 18 4.2 register descriptions offset 01h ?????????????????????..??????. default value = 8?h00 cisset dogenb dvdset x m16dram dramsel shdarea scan r/w r/w r/w x r/w r/w r/w r/w 7 cisset 0 ccd scan type. 1 cis scan type. 6 dogenb 0 disable. 1 enable watch dog of asic(set time out:reg1e[7:4]). 5 dvdset 0 disable shading 1 enable shading (include whole line shading and area shading two kinds). 4 reserved - 3 m16dram 0 to select 4m or 8m bits dram(256*16). 1 to select 16m bits dram (1m * 16). 2 dramsel 0 the dram size is 4mx1(256kx16x1) bits. 1 the dram size is 4mx2 (256kx16x2) bits. 1 shdarea 0 shading area is whole line. 1 enable shading area (depend on scan area and scan dpi). 0 scan 0 disable scan process. 1 enable scan process. offset 02h ?????????????????????..??????. default value = 8?h00 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 go back to home position automatically. 1 auto-go-home doesn?t go back to home position. 6 acdcdis 0 enable forward/backward moving whenever buffer full. 1 disable forward/backward moving whenever buffer full. 5 agohome 0 disable auto-go-home fnction. 1 whenever scan is fi nished, carriage go home automatically. 4 mtrpwr 0 turn off motor power and phase. 1 turn on motor power and phase. 3 fastfed 0 disable two table, only use single table. 1 enable two table for moto r moving of the acceleration/deceleration. 2 mtrrev 0 set motor forward moving. 1 set motor reverse moving. 1 homeneg 0 to indicate whenever home sensor change from low to high (rising edge) then motor is decelerated. 1 to indicate whenever home sensor change from high to low (falling edge) then motor is decelerated. 0 longcurv 0 the deceleration curve of the fast moving is table 4. 1 the deceleration curve of the fast moving is table 5.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 19 offset 03h ?????????????????..????..?????. default value = 8?h0c 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 lamp sleeping mode. 1 to start lamp sleeping mode(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] lamp on time setting (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 scan. 1 black/white scan. 6 bitset 0 8 bits image data type (= byte). 1 16 bits image data type (= word). 5-4 afemod[1:0] to indicate afe operation mode. wolfson type afemod scanmod description cds available max sample rate timing requirements 2 2 slow color pixel-by-pixel yes 5msps *3 channel mclk:vsmp rate is 8:1 1 0,1,3,4,5,6 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,4,5,6 slow color pixel-by-pixel yes mclk:vsmp rate is 3:1 1 0,1,2,3,4,5,6 mono yes mclk:vsmp rate is 2:1 0 0,1,2,3,4,5,6 fast mono yes mclk:vsmp rate is 1:1 3-2 filter[1:0] scan color type: 00 color 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 20 offset 05h ?????????????????..????..??..???. default value = 8?h00 dpihw1 dpihw0 mtllamp1 mtllamp0 gmmenb x mtlbase1 mtlbase0 r/w r/w r/w r/w r/w x r/w r/w 7-6 dpihw [1:0] to set ccd/cis resolution. 00 600 dpi 01 1200 dpi 10 2400 dpi 11 reserved 5-4 mtllamp[1:0] to set times of the lamp time out. 00 1* lamptim 01 2* lamptim 10 4* lamptim 11 reserved 3 gmmenb 0 bypass gamma correction. 1 enable gamma correction. 2 reserved - 1-0 mtlbase [1:0] to set output ccd pixel numbe r 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. include color(pixel rate),fi ne gray and fine line-art. 001 12 clocks/pixel ; bypass mode operation for calibration. include color(pixel rate) and fine gray. 010 reserved 011 reserved 100 6 clocks/pixel ; fast mode operation. include color(line rate),fa st gray and fast line-art. 101 15 clocks/pixel ; for 16 bits color output. 110 18 clocks/pixel ; for 16 bits color output. 111 reserved 4 pwrbit when power on,set this bit.to indicate power has on. 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 dram bank,power on carriage initiated and adf(motortgo) test 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.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 21 offset 07h ?????????????????..????..??..???. default value = 8?h00 x x x x sramsel fastdma dmasel dmardwr x x x x r/w r/w r/w r/w 7-4 reserved - 3 sramsel 0 dma access for dram. 1 dma access for sram. 2 fastdma 0 4clocks/access,that is to say 4clock s/16bits or 4clocks/8bits for dma access. 1 2clocks/access,that is to say 2c locks/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 write dram under command mode. 1 dma read dram under command mode. note: dma operation can be processed under cpu and dma type. 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 gamma table is increment type 1 gamma table is decrement type. 5 gmmffr to indicate that red channel gamma table address ffh is special value. 4 gmmffg to indicate that red channel gamma table address ffh is special value. 3 gmmffb to indicate that red channel gamma table address ffh is special value. 2 gmmzr to indicate that red channel gamma table address 00h is special value. 1 gmmzg to indicate that green channel gamma table address 00h is special value. 0 gmmzb to indicate that blue channel gamma table address 00h is special value. offset 09h ?????????????????..????..??..???. default value = 8?h00 mcntset1 mcntset0 clkset1 clkset0 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-4 clkset[1:0] to select the system clock frequency. 00 24 mhz 01 30 mhz 10 40 mhz 11 48 mhz 3 backscan 0 to select forward scan function. 1 to enable backward scan function. 2 enhance 0 to select normal epp interface speed for usb2.0 1 to enhance epp interface speed for usb2.0 1 shorttg enable short ccd sh(tg) period for film scanning. 0 nwait to delay nwait (h_busy) one clock.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 22 offset 0ah ????????????????..????..??..???. default value = 8?h00 x x x x x x x srambuf x x x x x x x r/w 7-1 reserved - 0 srambuf 0 to select external dram as the image buffer. 1 to select external sram as the image buffer. offset 0dh x x x x x x x clrlncnt x x x x x x x w command: scanner command. 7-1 reserved - 0 clrlncnt 0 don?t clear scancnt. 1 to clear scancnt(reg4b,reg4c,reg4d). note: for each time scanning , you must clear scancnt before starting process. offset 0eh scanreset w command: scanner software reset. it can initiate aisc system, including lamp and motor, control registers, internal circuit and status, but not including tables in dram, like gamma table, shading table and acceleration/deceleration table. note: in normal condition, it is unnecessary to re set 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] red-led array of cis or red channel tg of ccd exposure time setting. note: can?t be programmed to logic zero.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 23 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] red-led array of cis or red channel tg of ccd exposure time setting. note: can?t 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 7-0 expg[15:8] green-led array of cis or red cha nnel tg of ccd exposure time setting. note: can?t 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] green-led array of cis or red cha nnel tg of ccd exposure time setting. note: can?t 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] blue-led array of cis or red channel tg of ccd exposure time setting. note: can?t 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] blue-led array of cis or red channel tg of ccd exposure time setting. note: can?t be programmed to logic zero.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 24 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 are low under tg high position. 1 ccd cp & rs are high under tg high position. 6 toshiba 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 enable ccd tg position clock 1/2 signals. ccd tg ccd clock 1 disable ccd tg position clock 1/2 signals. ccd tg ccd clock 0 ctrldis 0 enable ccd tg position cp & rs signals. ccd tg ccd cp/rs 1 disable ccd tg position cp & rs signals. ccd tg ccd cp/rs
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 25 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 without dummy line ccd tg type. 01 with reflectional document scanning type. 10 with transparency scanning type. 11 tgmode=2 for simulation. 5-0 tgw[5:0] to set ccd tg width. note: can?t 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 tg and clock is non-canon cis style. 1 tg and clock set to canon cis style. 6-5 dcksel1[1:0] 00 one time ccd clocks speed for dummy line. 01 two times ccd clocks speed for dummy line. 10 three times ccd clocks speed for dummy line. 11 four times ccd clocks speed for dummy line. 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 one time ccd clock speed for capture image. 01 two times ccd clock speed for capture image. 10 three times ccd clock speed for capture image. 11 four times ccd clock speed for capture image. note: ccd clock speed up limitation : 1. scanmod=0,1 : 12 clocks/pixel a. toggle ccd : be able to speed up 1,2,3,4 times. b. non-toggle ccd : be able to speed up 1,2,3 times. 2. scanmod=2 : reserved. 3. scanmod=3 : reserved. 4. scanmod=4 : 6 clocks/pixel a. toggle ccd : be able to speed up 1,2,3 times. b. non-toggle ccd : can not speed up. 5. scanmod=5 : 15 clocks/pixel a. toggle ccd : be able to speed up 1,2,3,4 times. b. non-toggle ccd : be able to speed up 1,2,3 times. 6. scanmod=6 : 18 clocks/pixel a. toggle ccd : be able to speed up 1,2,3,4 times. b. non-toggle ccd : be able to speed up 1,2,3,4 times.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 26 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 dummy line exposure time (unit = 256 pixels time) or cis led array turn-on time. note: the unit is pixel time. cis sp cis led expdmy for turn on expr/expg/expb for turn off note: can not be programmed to logic zero. offset 1ah ??..??????????????..????..??..???. default value = 8?h00 x x manual3 manual1 ck4inv ck3inv lineclp x x x r/w r/w r/w r/w r/w x 7-6 reserved - 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. 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 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 to indicate ccd clock 4 to use toggle function. 6 ck3mtgl to indicate ccd clock 3 to use toggle function. 5 ck1mtgl to indicate ccd clock 1 to use toggle function. 4 ck3inv 1 to reverse ccd clock 3. 3 mtlwd to set double of the watch-dog time out . 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.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 27 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 to set ccd clock4 are low under ccd tg. 6 ck3low to set ccd clock3 are low under ccd tg. 5 ck1low to set ccd clock1,2 are low under ccd tg. 4-0 tgshld[4:0] to set ccd tg shoulder width. note: you 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 cis vertical dpi or dummy lines. cis : linesel = 0 full dpi. = 1 1/2 dpi. = 2 1/3 dpi. ?.. = 15 1/16 dpi. ccd : linesel = 0 no dummy line. = 1 1 dummy line. = 2 2 dummy lines. ?.. = 15 15 dummy lines. note: cis can be implemented dummy line by motor move mothod,not dummy lines. 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] move to scanning position by table one under two table operation. note: can?t be programmed to logic zero. 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 (unit = 4k word). scanner execute backward/f orward moving whenever buffer full. if maxwd < buffer condition, then motor move forward to scan.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 28 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] to set scanning forward slope cu rve of the acceleration/deceleration (table one slope). note: can?t be programmed to logic zero. 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] to set steps number of the forward steps. note: can?t be programmed to logic zero. 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] to set steps number of the backward steps. note: can?t be programmed to logic zero. 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] to set scanning backward slope cu rve of the acceleration/deceleration (table two slope). note: can?t be programmed to logic zero. buffer full position speed reg22 reg21 reg21 time reg24 reg24 reg23
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 29 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] to set the scan lines number. note: can?t 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] to set the scan lines number. note: can?t 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] to set the scan lines number. note: can?t be programmed to logic zero. offset 28h ??..??????????????..????..?.?..??.?. default value = 8?h00 gmmwrdata r/w gmmwrdata this port write gamma table. offset 29h ??..??????????????..???..?.?..??.?. default value = 8?hff lamppwm7 lamppwm6 lamppwm5 lamppwm4 lamppwm3 lamppwm2 lamppwm1 lamppwm0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 lamppwm[7:0] to set pwm duty for lamp power control. 0: 1/256 duty. 1: 2/256 duty. ?.. 255:256/256 duty. 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] to set dram start address to access data. note: iram_a[19:0]={ramaddr[15:0],4?b0000}.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 30 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] to set dram start address to access data. note: iram_a[19:0]={ramaddr[15:0],4?b0000}. offset 2ch ??..??..???????????..?.???..?.?..??.?. default value = 8?h00 x x x x dpiset11 dpiset10 dpiset9 dpiset8 x x x x r/w r/w r/w r/w 7-4 reserved - 3-0 dpiset[11:8] set resolution of dpi for average type 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. 2400 dpi scanner : can set 1200,800,600,480,400,300,240,200,160 dpi. b. 1200 dpi scanner : can set 600,400,300,240,200,150,120,100,80 dpi. c. 600 dpi scanner : can set 300,200,150,120,100,75,60,50 and 40 dpi. b. deletion type : 2400,1200 or 600dpi to 1 dpi setting decrement by one dpi. note: can?t 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 of dpi for average type 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. 2400 dpi scanner : can set 1200,800,600,480,400,300,240,200,160 dpi. b. 1200 dpi scanner : can set 600,400,300,240,200,150,120,100,80 dpi. c. 600 dpi scanner : can set 300,200,150,120,100,75,60,50 and 40 dpi. b. deletion type : 2400,1200 or 600dpi to 1 dpi setting decrement by one dpi. note: can?t 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] to set black & white threshold high level.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 31 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] to set black & white threshold low level. bwhi bwlow a,b,c,g : are black pixels d,e,f,h,i : are 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 ] to set the begin pixel position (unit : pixel count). strpixel=(tgw+2*tgshld)+begin pixels number. note: can?t be programmed to logic zero. 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] to set the begin pixel position (unit : pixel count). strpixel=(tgw+2*tgshld)+begin pixels number. note: can?t be programmed to logic zero. 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 ] to set the end pixel position (unit : pixel count). endpixel=(tgw+2*t gshld)+end pixels number. note: can?t be programmed to logic zero. dh b c e f i bandwidth a g
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 32 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] to set the end pixel position (unit : pixel count). endpixel=(tgw+2*t gshld)+end pixels number. note: can?t be programmed to logic zero. 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] to set the ccd dummy & optical black pixels position (unit : pixel count). note: 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 begin 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. note: can?t be programmed to logic zero. offset 35h ??..?..????????..???..?.???..?.?..??.?. default value = 8?h00 x x x x maxwd19 maxwd18 maxwd17 maxwd16 x x x x r/w r/w r/w r/w 7-4 reserved - 3-0 maxwd[19:16] to set maximum word size per line for asic estimation. if usable buffer size < maxwd,then buffer is full.the scanner execute forward and backward moving. offset 36h ??.??..????????..???..?.???..?.?..??.?. default value = 8?h00 maxwd15 maxwd14 maxwd13 maxwd12 maxwd11 maxwd10 maxwd9 maxwd8 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 maxwd[15:8] to set maximum word size per line for asic estimation. if usable buffer size < maxwd,then buffer is full.the scanner execute forward and backward moving.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 33 offset 37h ??.??..????????..???..?.???..?.?..??.?. default value = 8?h00 maxwd7 maxwd6 maxwd5 maxwd4 maxwd3 maxwd2 maxwd1 maxwd0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 maxwd[7:0] to set maximum word size per line for asic estimation. if usable buffer size < maxwd,then buffer is full.the scanner execute forward and backward moving. offset 38h ??..??..????????..???..?.???..?.??..??. default value = 8?h15 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] to set line period(or exposure time) for ccd. unit : pixel count note: can?t be programmed to logic zero. offset 39h ??..?..????????..???..?.???..??????. default value = 8?h18 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] to set line period(or exposure time) for ccd. unit : pixel count note: can?t be programmed to logic zero. offset 3ah ??..??..???????????..?.???..?.?..??.?. default value = 8?h00 x x x x x x x fewrdata8 x x x x x x x r/w 7-1 reserved - 0 fewrdata8 this port is used to write data to control register of front-end. offset 3bh ??..??..???????..???..?.???..?.?..??.?. default value = 8?h00 fewrdata7 fewrdata6 fewrdata5 fewrdata4 fewrdata3 fewrdata2 fewrdata1 fewrdata0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 fewrdata[7:0] this port is used to write data to control register of front-end. offset 3ch ??.??????????????..????..?.?..??.?. default value = 8?h00 ramwrdata r/w ramwrdata this port is used to write data to dram.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 34 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] to set feeding steps number of motor move. note: can?t 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] to set feeding steps number of motor move. note: can?t 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] to set feeding steps number of motor move. note: can?t be programmed to logic zero. offset 40h x x x x x hispdflg motmflg dataenb x x x x x r r r 7-3 reserved - 2 hispdflg 1 motor is high-speed moving. 1 motmflg 0 motor is stop. 1 motor is moving. 0 dataenb 0 scanner is command mode. 1 scanner is scanning mode.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 35 offset 41h pwrbit bufempty feedfsh scanfsh homesnr lampsts febusy motorenb r r r r r r r r 7 pwrbit to indicate power status. power on initial,pwrbit=0; 6 bufempty 0 to indicate that the image buffer is not empty. 1 to indicate that the image buffer is empty. 5 feedfsh 0 to indicate that motor feeding is not finished. 1 to indicate that motor feeding is finished. 4 scanfsh 0 to indicate that scan is not finished. 1 to indicate that scan is finished. 3 homesnr 0 home sensor is on (is not home position). 1 home sensor is off (is home position). 2 lampsts 0 lamp is off. 1 lamp is on. 1 febusy 0 front end is ready and be able to read/write again. 1 front end is busy and can not read/write again. 0 motorenb 0 motor is not processing. 1 motor is processing. offset 42h x x x x validword 19 validword 18 validword 17 validword 16 x x x x r r r r 7-4 reserved - 3-0 va l i d w o r d to indicate available words to read out in the image buffer of dram. [19:16] offset 43h validword 15 validword 14 validword 13 validword 12 validword 11 validword 10 validword 9 validword 8 r r r r r r r r 7-0 va l i d w o r d to indicate available words to read out in the image buffer of dram. [15:9] offset 44h validword 7 validword 6 validword 5 validword 4 validword 3 validword 2 validword 1 validword 0 r r r r r r r r 7-0 va l i d w o r d to indicate available words to read out in the image buffer of dram. [7:0]
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 36 offset 45h ramrddata r ramrddata this port for read dram data. 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 used to read out data from front-end control register. 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 used to read out data from front-end control register. offset 48h x x x x fedcnt19 fedcnt18 fedcnt17 fedcnt16 x x x x r r r r 7-4 reserved - 3-0 fedcnt[19:16] to read motor feeding steps number. for example,if you have set moving steps no. and execute moving command. you can read out steps no. moved. offset 49h fedcnt15 fedcnt14 fedcnt13 fedcnt12 fedcnt11 fedcnt10 fedcnt9 fedcnt8 r r r r r r r r 7-0 fedcnt[15:8] to read motor feeding steps number. for example,if you have set moving steps no. and execute moving command. you can read out steps no. moved. offset 4ah fedcnt7 fedcnt6 fedcnt5 fedcnt4 fedcnt3 fedcnt2 fedcnt1 fedcnt0 r r r r r r r r 7-0 fedcnt[7:0] to read motor feeding steps number. for example,if you have set moving steps no. and execute moving command. you can read out steps no. moved.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 37 offset 4bh x x x x scancnt19 scancnt18 scancnt17 scancnt16 x x x x r r r r 7-4 reserved - 3-0 scancnt[19:16] to read scanner finished lines number. offset 4ch scancnt15 scancnt14 scancnt13 scancnt12 scancnt11 scancnt10 scancnt9 scancnt8 r r r r r r r r 7-0 scancnt[15:8] to read scanner finished lines number. offset 4dh scancnt7 scancnt6 scancnt5 scancnt4 scancnt3 scancnt2 scancnt1 scancnt0 r r r r r r r r 7-0 scancnt[7:0] to read scanner finished lines number. offset 4eh gmmrddata r gmmrddata this port to read back the gamma table. 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] this port is read address setting for front end control register read. 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] this port is write address setting for front end control register write.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 38 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] to latch r channel high byte data of afe. 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] to latch r channel low byte data of afe. 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] to latch g channel high byte data of afe. 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] to latch g channel low byte data of afe. 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] to latch b channel high byte data of afe.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 39 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] to latch b channel low byte data of afe. (1). color,fine gray or fine line-art : 12 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 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 (2).fast gray or fast line-art : 6 phase/pixel 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 r[15:8] r[7:0] r[15:8] r[7:0] r[15:8] r[7:0] r[15:8] rhi = 02h rlow = 05h 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] to set the rising edge position of image sampling for afe. 2-0 vsmpw[2:0] to set the pulse width of image sampling. (1). color,fine gray or fine line-art : 12 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 afe vsmp reg58=52h : vsmp[4:0]=10h vsmpw[2:0]=2h (2). fast gray or fast line-art : 6 phase/pixel 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 vsmp reg58=0bh : vsmp[4:0]=01h vsmpw=3h
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 40 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] to set the rising edge position of dark voltage sampling for afe. 2-0 bsmpw[2:0] to set the pulse width of dark voltage sampling. (1). color,fine gray or fine line-art: 12 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 afe bsmp reg59=52h : bsmp[4:0]=10h bsmpw[2:0]=2h (2).fast gray or fast line-art : 6 phase/pixel 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 bsmp reg59=0bh : bsmp[4:0]=01h bsmpw=3h offset 5ah ??..??..??????..???..?.???..? .?..?..?..?. default value = 8?hc0 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 reverse. 1 to reverse ccd clock4. 6 rlcsel 0 don?t select. 1 select reset level clamp on a pixel-by-pixel basis. 5-4 cdsref[1:0] to set the front-end cdsref for line rate scanning type. 3-0 rlc[3:0] to set the front-end rlc for line rate scanning type. offset 5bh ??..??..??????..???..?.???..? .?..?..?..?. default value = 8?h00 x x x x x x gmmaddr9 gmmaddr8 x x x x x x r/w r/w 7-2 reserved - 1-0 gmmaddr[9:8 ] to set the front-end rlc for line rate scanning type. 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 ] to set the front-end rlc for line rate scanning type.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 41 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 7-0 hispd[7:0] to set change of the moving speed during moving. note: can?t 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] select deceleration steps whenever go home. 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] select acceleration/d eceleration stop time. note: stoptim simulation for asic must be set to tgtime=6,7. can?t 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] to set go-home fast move decelerati on slope steps (tab le five slope). note: can?t be programmed to logic zero. 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] to set the slope curve of accelerati on/deceleration table mode value. under buffer full moving. note: it should be more 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] to set the slope curve of accelerati on/deceleration table mode value. under buffer full moving. note: it should be more than lperiod.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 42 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 7-0 z1mod[7:0] to set the slope curve of accelerati on/deceleration table mode value. under buffer full moving. note: it should be more 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] to set the slope curve of acceler ation/deceleration mode value. under first time moving to scanning. note: it should be more than lperiod. 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] to set the slope curve of acceler ation/deceleration mode value. under first time moving to scanning. note: it should be more than lperiod.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 43 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] to set the slope curve of acceler ation/deceleration mode value. under first time moving to scanning. note: it should be more than lperiod. (1). two table moving : speed scanning position buffer full position b d a c time (1). 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 note: if mcntset[1:0]=01 or 10 or 11,the n (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] to set pwm frequency for motor phase of uni-polar. frequency: (24mhz)/[(phfreq+1)*4
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 44 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 7-6 stepsel[1:0] for table one or two scanning move step type selection. (1) bi-polar: 00 full step (for 1939,1940,2916,6219 or 3966). 01 half step (for 1939,1940,2916,6219 or 3966). 10 quarter step (for 2916 or 6219). 11 reserved. (2) uni-polar : 00 two-phase-on full step. 01 half step. 10 reserved. 11 single-phase-on full step. 5-0 mtrpwm[5:0] to set pwm duty cycle for table one motor phase of uni-polar. 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 table two fast moving step type selection. (1) bi-polar: 00 full step (for 1939,1940,2916,6219 or 3966). 01 half step (for 1939,1940,2916,6219 or 3966). 10 quarter step (for 2916 or 6219). 11 reserved. (2) uni-polar : 00 two-phase-on full step. 01 half step. 10 reserved. 11 single-phase-on full step. 5-0 fastpwm[5:0] to set pwm duty cycle for table one motor phase of uni-polar. 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 45 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] set scan-finish deceleration sl op steps(table three slope). note: can?t be programmed to logic zero. 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] set fast moving slop steps(table four slope). note: can?t be programmed to logic zero. (1). two table moving : speed scanning position scan finished reg3d,3e,3f reg6a reg1f reg25,26,27 reg21 reg69 reg5e[7:5] reg5e[4:0] reg6a time reg5f go home (1). one table moving : speed scanning position scan finished reg3d,3e,3f reg25,26,27 reg21 reg69 time reg5f reg5e[7:5] reg6a go home
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 46 offset 6bh ??..??..??????..???..?.???..? .???..?..?. default value = 8?h00 multfilm gpom13 gpom12 gpom11 x x gpo18 gpo17 r/w r/w r/w r/w x x r/w r/w 7 multfilm to control motor phase idle to meet multi-film scan. 6 gpiom13 0 output gpo13. 1 output motortgo. 5-4 gpom[12:11] to select gpio12~11 as bi-polar motor driver v-ref input voltage in order to control drive current. note: gpio12: 1. pull up by resister to indicate that asic turn on lamp power whenever power on initial. 2. pull down by resister to indicate that asic turn off lamp power whenever power on initial. 3. this pin can control bi-polar motor driver 1939,1940,2916, 6219 or 3955 vref in order to control imax. current. gpio11: this pin can control bi-polar motor driver 1939,1940,2916,6219 or 3955 vref in order to control imax. current. 3-2 reserved - 3-0 gpio[18:17] output gpo18,gpo17 ports. 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 outputs 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 outputs 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] gpoe16~9 ports output enable set. 0 input. 1 output. 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] gpoe8~1 ports output enable set. 0 input. 1 output.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 47 offset 70h ??..?????????..???..?.???..?.???..?..?. default value = 8?h15 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] set ccd rs rising edge position. offset 71h ??..?????????..???..?.???..?.???..?..?. default value = 8?h17 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] set ccd rs falling edge position. (1) color,fine gray or fine line-art: 12 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 (2) fast gray or fast line-art : 6 phase/pixel 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 ccd rs : rsh=05h rsl=01h offset 72h ??..?????????..???..?.???..?.???..?..?. default value = 8?h15 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] set ccd cp rising edge position. offset 73h ??..?????????..???..?.???..?.???..?..?. default value = 8?h17 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] set ccd cp falling edge position. (1) color,fine gray or fine line-art: 12 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 48 (2) fast gray or fast line-art : 6 phase/pixel 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 ccd rs : rsh=05h rsl=01h 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] ccd clock 1 bits mapping function. 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] ccd clock 1 bits mapping function. 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] ccd clock 1 bits mapping function. 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] ccd clock 3 bits mapping function. 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] ccd clock 3 bits mapping function. 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] ccd clock 3 bits mapping function.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 49 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] ccd clock 4 bits mapping function. 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] ccd clock 4 bits mapping function. 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] ccd clock 4 bits mapping function. 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 locate at positive edge position of system clock. 1 ccd clock1,clock2 output locate at negative edge position of system clock. 6 ck3neg 0 ccd clock3 output locate at positive edge position of system clock. 1 ccd clock3 output locate at negative edge position of system clock. 5 ck4neg 0 ccd clock4 output locate at positive edge position of system clock. 1 ccd clock4 output locate at negative edge position of system clock. 4 rsneg 0 ccd rs output locate at positive edge position of system clock. 1 ccd rs output locate at negative edge position of system clock. 3 cpneg 0 ccd cp output locate at positive edge position of system clock. 1 ccd cp output locate at negative edge position of system clock. 2 bsmpneg 0 afe video sample output locate at positive edge position of system clock. 1 afe video sample output locate at negative edge position of system clock. 1 vsmpneg 0 afe dark sample output locate at positive edge position of system clock. 1 afe dark sample output locate at negative edge position of system clock. 0 dlyse t 0 disable this function. 1 to enable vsmp and bsmp to delay output by 8.33ns unit
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 50 offset 7eh ??..??..??????..???..????..? .???..?..?. default value = 8?h00 x x gpoled18 gpoled17 gpoled16 gpoled15 gpoled14 gpoled13 x x r/w r/w r/w r/w r/w r/w 7-6 reserved - 5 gpoled18 0 gpio18 as general i/o. 1 gpio18 as led outout. 4 gpoled17 0 gpio17 as general i/o. 1 gpio17 as led outout. 3 gpoled16 0 gpio16 as general i/o. 1 gpio16 as led outout. 2 gpoled15 0 gpio15 as general i/o. 1 gpio15 as led outout. 1 gpoled14 0 gpio14 as general i/o. 1 gpio14 as led outout. 0 gpoled13 0 gpio13 as general i/o. 1 gpio13 as led outout. 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 ] to set bsmp output delay. 00 no delay. 01 delay 8.33ns 10 delay 16.67ns 11 delay 25ns. 5-4 vsmpdly[1:0] to set vsmp output delay. 00 no delay. 01 delay 8.33ns 10 delay 16.67ns 11 delay 25ns. 3-0 ledcnt[1:0] to set led blinking speed. the unit is 100ms. 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] to set the vref. of the motor driver ic for go-home moving. 5-4 vrmove[1:0] to set the vref. of the motor driver ic for fast forward moving. 3-2 vrback[1:0] to set the vref. of the motor dr iver ic for backward moving. 1-0 vrscan[1:0] to set the vref. of the motor driv er ic for scan forward moving. offset 81h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 x x x x x x x roffset8 x x x x x x x r/w 7-1 reserved - 0 roffset8 to set r channel offset of the afe for cis color scan.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 51 offset 82h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 roffset7 roffset6 roffset5 roffset4 roffset3 roffset2 roffset1 roffset0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 roffset[7:0] to set r channel offset of the afe for cis color scan. offset 83h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 x x x x x x x goffset8 x x x x x x x r/w 7-1 reserved - 0 goffset8 to set g channel offset of the afe for cis color scan. offset 84h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 goffset7 goffset6 goffset5 goffset4 goffset3 goffset2 goffset1 goffset0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 goffset[7:0] to set g channel offset of the afe for cis color scan. offset 85h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 x x x x x x x boffset8 x x x x x x x r/w 7-1 reserved - 0 boffset8 to set b channel offset of the afe for cis color scan. offset 86h ??..??..??????....???..????..?.???..?..?. default value = 8?h00 boffset7 boffset6 boffset5 boffset4 boffset3 boffset2 boffset1 boffset0 r/w r/w r/w r/w r/w r/w r/w r/w 7-0 boffset[7:0] to set b channel offset of the afe for cis color scan. 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 to disable ph_y output of the ybit. 1 to enable ph_y output of the ybit. 5 ybit to output ph_y status. 4 acycnrlc 0 to disable this function. 1 to generate rlc/acyc pulse 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 scanning.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 52 2 ledadd 0 normal gray by controlling cis single color led array. 1 enable true gray by controlling cis rgb led array. 1 ck4adc 0 to select adcclk output by default. 1 to select adcclk output by ck4map setting. 0 autoconf 0 to disable these function. 1 to enable automatic channel,offset configuration or or rlc/acyc pulsing for cis color scan. 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. 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[19:0] 600dpi (dpihw=00) 00000h~07fffh size : 32k 1200dpi (dpihw=01) 00000h~0ffffh size : 64k shading mapping 2400dpi (dpihw=10) 00000h~1ffffh size : 128k 4.3.2 shading mapping (planer) table 4.3 - shading mapping (planer) attribute resolution address[19:0] red channel 00000h~029ffh green channel 02a00h~053ffh 600dpi (dpihw=00) blue channel 05400h~07dffh red channel 00000h~054ffh green channel 05500h~0a9ffh 1200dpi (dpihw=01) blue channel 0aa00h~0feffh red channel 00000h~0a7ffh green channel 0a800h~14fffh shading mapping 2400dpi (dpihw=10) blue channel 15000h~1f7ffh
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 53 4.3.3 slope curve table mapping table 4.4 - slope curve table mapping attribute resolution table no. address[19:0] table 1 08000 ~ 081ff table 2 08200 ~ 083ff table 3 08400 ~ 085ff table 4 08600 ~ 087ff 600dpi (dpihw=00) table 5 08800 ~ 089ff table 1 10000 ~ 101ff table 2 10200 ~ 103ff table 3 10400 ~ 105ff table 4 10600 ~ 107ff 1200dpi (dpihw=01) table 5 10800 ~ 109ff table 1 20000 ~ 101ff table 2 20200 ~ 203ff table 3 20400 ~205ff table 4 20600 ~207ff slope curve table 2400dpi (dpidw=10) table 5 20800 ~209ff 4.3.4 image buffer mapping table 4.5 - image buffer mapping attribute resolution address[19:0] 600dpi (dpihw=00) 09000h~3ffffh 1200dpi (dpihw=01) 11000h~3ffffh dram/sram 4m bits x 1 2400dpi (dpihw=10) 21000h~3ffffh 600dpi (dpihw=00) 09000h~7ffffh 1200dpi (dpihw=01) 11000h~7ffffh dram 4m bits x 2 or 8m bits sram 2400dpi (dpihw=10) 21000h~7ffffh 600dpi (dpihw=00) 09000h~fffffh 1200dpi (dpihw=01) 11000h~fffffh dram 16m bits 2400dpi (dpihw=10) 21000h~fffffh
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 54 chapter 5 block diagram 5.1 usb2.0 system block diagram GL842 (usb2.0 interface+scanner asic controller) two-in-one controller io device motor driver ccd/cis 12 mhz afe dram host figure 5.1 - usb2.0 system block diagram 5.2 function block diagram motor driver host i/o 12 mhz motor control gpio control pll watchdog clk-gen motor moving table scanner flow control register write & status read epp circuit usb2.0 controller data interface data packing black & white ccd/cis control ccd/cis front end (16 bits) a/d data latch gamma correction white shading process dark shading process average control dpi control shading, image and motor table dram (256k*16*1), (256k*16*2) or (1m*16) figure 5.2 - function block diagram
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 55 chapter 6 functional description 1 system clock internal pll. a. pll: 12mhz input, 24, 30, 40 mhz output to internal system . 2 pixel clock a. normal mode scan mode 0: a. 12 system clock/pixel. (three-line-in or one-line-in) b. chunky color(three line in),fine-gray or fine-line-art scan for ccd. c. planar color scan (one line in) or monochrome scan for cis. b. fast mode scan mode 4 (one line in): a. 6 system clock/pixel. b. planar color scan (one line in) or monochrome scan. c. fast-gray or fast-line-art scan for ccd. d. planar color(one line in),gr ay, true gray or line-art scan for cis. c. scan mode 5 (three line in): a. 15 system clock/pixel b. chunky color(three line in),fine-gray or fine-line-art scan for ccd. c. planar color scan (one line in) or monochrome scan for cis. d. scan mode 6 (three line in): a. 18 system clock/pixel. b. chunky color(three line in),fine-gray or fine-line-art scan for ccd. c. planar color scan (one line in) or monochrome scan for cis. note: chunky color is r1g1 b1, r2g2b2, r3g3b3,???(thr ee-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. fast mode: planar color , fa st gray or fast line art scan. (scan mode 4) 6x33.333ns/pixel = 0.2us/pixel (1). 600dpi: 1.08ms/line, 7.582s/page for fast gray or fast line art. (2). 1200dpi: 2.160ms/line, 30.326s/page for fast gray or fast line art. 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. b. fast mode: planar color , fa st gray or fast line art scan. 6x25ns/pixel = 0.15us/pixel (1). 600dpi: 0.81ms/line, 5.616s/page for fast gray or fast line art. (2). 1200dpi: 1.62ms/line, 22.744s/page for fast gray or fast line art.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 56 4 fast scan for low dpi speed up ccd clocking rates allows speeding up scanning speed. such as stagger ccd, you can speed up 2 times, 4 times scanning time for low resolution as 600dpi scanner: if 75dpi speed up 4 times then 1.620ms/4=0.405ms/line. scan speed is equal to 0.355s/page. 5 scanning type support three line in(parallel ) for ccd, one line in for cis two types. a. ccd a. three line in: r g b a. line by line: r g b b. cis 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 57 6 image sensor timing can be programmed. a. ccd: support 600,1200 or 2400 dpi ccd. for example nec, toshiba, sony ??etc. b. cis: support 600,1200 or 2400 dpi cis. for example toshiba , canon??etc. 7 dummy line support programmable dummy lines to resolve (overcome) start/stop problem. you can insert dummy lines to reduce scanner stop and wait events (buffer full) or always non-stop. a. line base of dummy lines: the range of dummy lines is 0 line ~ 15 lines. b. adjustable dummy line: the range is ccd or cis minimum shift out time to 2096k pixels time, which can be adjusted by 1 pixel time increment. 8 analog front end timing external 16 bits front-end for wolfson wm8192, wm8199??etc. 9 image type support color, fine gray, fine line art, fast gray and fast line art scan. support color filters selection for gray and line art scans. the filters include red, green and blue. note: the scan style of fine line art, fine gray or co lor are the same. so fine gray or fine line art scanning speed is slow. 10 bits depth 16 x3 bits true color , 16 bits gray level and one bit line art(black & white). image data type: 16 bits , 8 bits and 1 bit data type. 11 shading & correction 16 x3 bits true color , 16 bits gray level and one bit line art(black & white). a. white shading & dark shading: internal white shading by pixel (16 bits resolution) and dark shading by pixel (16 bits resolution), can be enabled or disabled 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,dar k g2,white g2,dark b2,white b2, dark r3,white r3,dar k g3,white g3,dark b3,white b3,?? one line in mode: dark r1,white data r1,dark r2,white r2,dark r3, white r3? dark g1,white data g1,dar k g2,white g2,dark g3,white g3? dark b1,white data b1,dar k b2,white b2,dar k b3,white b3? white shading formula: 2000h x target / (wn-dn) = white gain data ----- for 8 times system white shading formula: 4000h x target / (wn-dn) = white gain data ----- for 4 times system for example: target = 3fffh wn = 2 fffh dn = 0040h and 8 times system operation then white gain = 2000h x 3fffh / (2fffh-0040h) = 2ae4h (1.34033 times) b. gamma correction: gamma correction table is calculated by s/w. the resolution is 16 bits gamma table. range: 0 to 64k (16 bits) input map 0 to 255 (8 bits) output. style: increment or d ecrement gamma curve style. note: if you bypass gamma correction, you can get 16 bits image data. if you enable gamma correction, you can get 8 bits image data.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 58 12 threshold level setting can be programmed by s/w. range: 0 to 255 can be adjusted by one increment. the threshold with bandwidth is in order to reduce image noise. bwhi d h bwlow b c e i bandwidth g a a,b,c,g : are black pixels d,e,f,h,i : are white pixels 13 exposure time adjustable maximum: 2096k pixels time adjustment step: 1 pixel time. for transparency scan, the exposure time can up to 2096k pixel time. 14 scan width control scan width control for horizontal line. a. support start pixel address, end pixe l address and dummy pixel number setting. b. maximum length: 64k pixels. minimum length: 1 pixel. 15 support built-in usb(2.0) a. two in one: usb2.0 + scanner controller. 16 dram timing support 4mx1 , x2 bits (256kx16) or 16m bits (1mx16) for edo dram ; 4m or 8m bits for sram, as image buffer and calibration buffer timing. you can select single or double dram for scanner. dram speed is 28ns and above for 30mhz system clock, 25ns and above for 40mhz system clock. 17 horizontal resolution adjustable for dpi function a. digital deletion type: the resolution from 1 dpi to 2400 dpi , can be adjusted by 1 dpi increment by s/w. b. digital average type: support 1/2,1/3,1/4,1/5,1/6,1/8,1/10,1/12,1/15 digital average function. for example, 1200dpi scanner: 600dpi, 400dpi, 300dpi, 240dpi, 200dpi, 150dpi, 120dpi, 100dpi, 80dpi average function. c. support stagger ccd: support 1/2, 1/4 resolution, such as nec, toshiba and sony stagger ccd. 18 vertical resolution adjustable for dpi function the resolution of motor speed control is 16 bits, therefore we can control vertical resolution. by one dpi increment, the resolution can be from 1 dpi to 4800 dpi for 1200 dpi scanner; and 1 dpi to 9600 dpi for 2400 dpi scanner. note: the resolution of quarter step can up to four times resolution.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 59 19 acceleration/deceleration five table the acceleration/deceleration slope tables are stored in dram , can be download by s/w. the slope can be programmed by s/w for each table. re solution is 16 bits pixel-time. the number of slope steps is 1~512 steps. 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. the resolution is 16 bits pixel-time. the number of slope steps is 1~512 steps. you can adjust any nonlinear curve. note: what is fast move? such as move back to go-home or move to scan window in any position. (1) two tables go to scan: 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) time g(5),k h(2) i(2) j(4) go home backward a,j : table four (slope four) acceleration curve for fast moving. b : table four (slope four) d eceleration curve for fast moving. c,d : table one (slope one) acceler ation curve for scanning forward. f : table three (slope three) d eceleration curve fo r scanning finish. i : table two (slope two) acceler ation curve for scanning backward. h : table two (slope two) deceler ation curve for scanning backward. g : table five (slope five) deceleration curve for go-home. k : touch home sensor deceleration curve for go-home. (2) one tables go to scan: speed scanning position buffer full position scan finished go to scan window c(1) d(1) e(1) f(3) time g(5),k h(2) i(2) j(4) go home j : table four (slope four) accel eration curve for fast moving. c,d : table one (slope one) acceler ation curve for scanning forward. f : table three (slope three) d eceleration curve fo r scanning finish. i : table two (slope two) acceler ation curve for scanning backward. h : table two (slope two) deceler ation curve for scanning backward. g : table five (slope five) deceleration curve for go-home. k : touch home sensor deceleration curve for go-home.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 60 20 stepping motor phase control there is 8 output control pins to control stepping motor.mtr_ph0~7 for bi-polar and mtr_ph0~3 for uni-polar. a. bi-polar: a. support 2916 motor driver timing and 2916 compatible driver ic, such as l6219. include full, half and quarter step control. b. support 3955 motor driver timing. include full, half, quarter and eighth step control. c. support lb1939,lb1940 motor driver timing. include full and half step control. b. uni-polar: a. support 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 control. pwm duty frequency phase on time 21 watch-dog protection this function can automatically reset the system to initia l state, whenever the system is held (no access signal) beyond the time limit. be able to enable or disable this function by s/w. this function can protect motor power, lamp power and asic system. calculation formula: (30sec.) * (times setting) * (setting no.). the range of setting no. is 1~15; the range of times setting is 0~1. 22 lamp timeout control this circuitry can automatically reset the lamp power, whenever the system is setting. be able to enable or disable this function by s/w. calculation formula: (60sec.) x (times setting) x (setting no.). the range of setting no. is 1~7;the range of times setting is 0~3. 23 lamp power control these are two power control ports for lamp. one is for fl atbed and the other is for xpa (transparency or film). the resolution of it?s pwm type is 8 bits. duty range is 1/256~256/256. note: carrier frequency is (system clock)/256. 24 sensor input the system support home sensor input port.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 61 25 16 gpio ports you can set input or output for each gp io pin of the gpio1~16 separately. such as keypads inputs, document sensor for sheet-fed or motor power control?etc. note : there are two pins for special function. one is gpio12 and the other is gpio11. gpio12: 1. pull up by resister to indicate that asic turn on lamp power whenever power on initial. 2. pull down by resister to indicate that asic turn off lamp power whenever power on initial. 3. this pin can control bi-polar motor driver 2916,6219,3966 or 3955 vref in order to control imax. current. gpio11: this pin can control bi-polar motor driver 2916,6219,3966 or 3955 vref in order to control imax. current. 26 gpo17~18 ports or motor mtr_ph6~7 two phase you can select 2 pins for 3955 2 phase mtr_ph6~7 output or gpo17~18 output. 27 gpo13 port or motor trigger signal for adf motor trigger signal for adf motor moving. it can be controlled unde r scanning condition. 28 power on check the default status of the pwrbit is reset. you can set the pwrbit and then read back the status in order to check the power status. this operation is able to check first time power on or not. 29 ram test s/w can test dram/sram ic by writi ng and reading back for checking. 30 led blinking support led-blinking function. it is implemented in gpio13~18 pins. 31 support back scanning support forward or backward scanning type.
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 62 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 v esd static discharge voltage 4000v 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 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
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 63 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 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 a z drv driver output resistance 28 43 ?
GL842 usb 2.0 2-in-1 scanner controller genesys logic inc.?all rights reserved. page 64 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 hd l1 a2 a1 y h d figure 8.1 - GL842 128 pin qfp package


▲Up To Search▲   

 
Price & Availability of GL842

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