GL841 GENES, GL841 Datasheet

no-image

GL841

Manufacturer Part Number
GL841
Description
3.3 V, high speed USB 2.0 two-in-one scanner controller
Manufacturer
GENES
Datasheet
Genesys Logic, Inc.
10F, No.11, Ln. 155, Sec. 3, Peishen Rd., Shenkeng, Taipei, Taiwan
Tel: 886-2-2664-6655
http://www.genesyslogic.com
GL841
High Speed USB 2.0
Two-in-one Scanner Controller
SPECIFICATION Ver. 1.6
June 11, 2002
Fax: 886-2-2664-5757
Genesys Logic, Inc.
7
GL841 USB 2.0 2-in-1 Scanner Controller
Version 1.6

Related parts for GL841

GL841 Summary of contents

Page 1

... GL841 High Speed USB 2.0 Two-in-one Scanner Controller SPECIFICATION Ver. 1.6 June 11, 2002 Genesys Logic, Inc. 10F, No.11, Ln. 155, Sec. 3, Peishen Rd., Shenkeng, Taipei, Taiwan Tel: 886-2-2664-6655 Fax: 886-2-2664-5757 http://www.genesyslogic.com GL841 USB 2.0 2-in-1 Scanner Controller Genesys Logic, Inc. 7 Version 1.6 ...

Page 2

... Package…………………………………………….………………………………………………….48 GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 3

... With its high performance design architecture, GL841 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 GL841 include five motor acceleration/ deceleration curve tables for high speed motor moving. ...

Page 4

... Support 16 GPIO pins and 2 GPO pins. ! Output motor trigger signal under scanning for ADF 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. GL841 USB 2.0 2-in-1 Scanner Controller 4 Version 1.6 ...

Page 5

... SYSTEM BLOCK DIAGRAM A. USB 2.0 System Block Diagram GL841 Host (USB2.0 Interface + Scanner ASIC Controller) Two-In-One Controller 12 MHz GL841 USB 2.0 2-in-1 Scanner Controller DRAM AFE 5 IO Device Motor Driver CCD/CIS Version 1.6 ...

Page 6

... Interface Register Write & Status read Motor Scanner control Flow Control GPIO control Clk-gen Motor Moving PLL watchdog Table 6 GL841 USB 2.0 2-in-1 Scanner Controller Data Black & CCD/CIS Packing White control Gamma A/D data Correcion latch DPI control White Dark Average Shading Shading ...

Page 7

... O 32 MT_PH0 O hbd16dhk 33 MT_PH1 O hbd16dhk 34 MT_PH2 hbd16dhk O 35 MT_PH3 O hbd16dhk 36 MT_PH4 O hbd16dhk 37 MT_PH5 I/O hbd16rsc 38 MT_PH6 O hbd16rsc 39 MT_PH7 O hbd16rsc 40 OP0 hbd16dhk I 41 OP1 hbd16dhk I 42 OP2 hbd16dhk I 43 OP3 I hbd16dhk 44 OP4 I hbd16dhk 45 OP5 I hbd16dhk GL841 USB 2.0 2-in-1 Scanner Controller ASIC I/O Cell 7 Version 1.6 ...

Page 8

... NOEX O hbd16rsc 80 NWEX O hbd16rsc 81 ABUS0 O hbd16rsc 82 VccCore3 P 83 GndCore3 P 84 ABUS1 O hbd16rsc 85 ABUS2 O hbd16rsc 86 ABUS3 O hbd16rsc 87 ABUS4 O hbd16rsc 88 ABUS5 O hbd16rsc 89 ABUS6 O hbd16rsc 90 Vccio5 P 91 Gndio5 P 92 ABUS7 O hbd16rsc 93 ABUS8 O hbd16rsc 94 ABUS9 O hbd16rsc 95 DBUS0 I/O hbd16dhk 96 DBUS1 I/O hbd16dhk GL841 USB 2.0 2-in-1 Scanner Controller 8 Version 1.6 ...

Page 9

... DMH I/O 127 AGND P 128 RREF ? hbd16dhk is internal pulled down ; hbd16uhk is internal pulled up ; hbd16* is 16mA ; hbd8* is for 8mA Note: 5.2 Pin Descriptions : GPIO1~16 MT_PH0~7 GL841 USB 2.0 2-in-1 Scanner Controller Support IO Ports B General Purpose Input/ Output O Bi-polar (3955): MT_PH7=PHASE_A MT_PH6=PHASE_B MT_PH5=D2A MT_PH4=D1A MT_PH3=D0A MT_PH2=D2B ...

Page 10

... O NWEX O RASY O CASY O NOEY O NWEY O GL841 USB 2.0 2-in-1 Scanner Controller MT_PH0=I02 Uni-polar(2003) : MT_PH3=PHASE A MT_PH2=PHASE B MT_PH1=PHASE /A MT_PH0=PHASE /B Output motor trigger for ADF scanning or GPIO13. Sense carriage home position CCD Shift register clock1 or CIS clock output CCD Shift register clock2 or CIS clock output CCD Clamp gate clock or CIS clock output ...

Page 11

... B DPH B DMF B DMH B RREF - GL841 USB 2.0 2-in-1 Scanner Controller To select mode: Normal mode = 00 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 Clock input for crystal (12MHz) Clock output for crystal Hardware reset input POWER Analog power input for USB2.0 transceiver 3.3V Analog ground input for USB2 ...

Page 12

... OL V HIGH level output voltage when Leakage current for pads with internal pull up or pull OLK down resistor R Pad internal pulldown resister DN R Pad internal pullup resister UP GL841 USB 2.0 2-in-1 Scanner Controller Description Description =16mA OL =16mA OH Description =8mA OL =8mA OH 12 MIN MAX -0 ...

Page 13

... D+/D- static output HIGH ( Differential input sensitivity DI V Differential common mode range CM V Single-ended receiver threshold SE C Transceiver capacitance IN I Hi-Z state data line leakage LO Z Driver output resistance DRV GL841 USB 2.0 2-in-1 Scanner Controller Description of 1. 15K to GND ) L 13 MIN TYP MAX 0.3 2.8 3.6 0.2 0.8 2.5 0.2 20 -10 +10 ...

Page 14

... 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. GL841 USB 2.0 2-in-1 Scanner Controller a. 12 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 a ...

Page 15

... Scan speed is equal to 0.355s/page. 6.5 Scanning Type Support three line in(parallel ) for CCD, one line in for CIS two types. A. CCD a. Three line Line by line : B. CIS a. color scan : TG LED R LED G LED B GL841 USB 2.0 2-in-1 Scanner Controller Version 1.6 ...

Page 16

... 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 color are the same. So fine gray or fine line art scanning speed is slow. GL841 USB 2.0 2-in-1 Scanner Controller 16 Version 1.6 ...

Page 17

... Style : increment or decrement 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. GL841 USB 2.0 2-in-1 Scanner Controller dark R2,white R2,dark G2,white G2,dark B2,white B2, dark R3,white R3,dark G3,white G3,dark B3,white B3,…… ...

Page 18

... 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. 6.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 : GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 19

... G : table five (slope five) deceleration curve for go-home touch home sensor deceleration curve for go-home. GL841 USB 2.0 2-in-1 Scanner Controller 150dpi, 120dpi, 100dpi, 80dpi average function. Scanning position buffer full position scan finished B(4) ...

Page 20

... 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. GL841 USB 2.0 2-in-1 Scanner Controller Scanning position buffer full position scan finished D(1) H(2) ...

Page 21

... 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. GL841 USB 2.0 2-in-1 Scanner Controller 21 Version 1.6 ...

Page 22

... This operation is able to check first time power on or not. 6.29 RAM Test S/W can test DRAM/SRAM IC by writing and reading back for checking. 6.30 LED Blinking Support LED- blinking function implemented in GPIO13~18 pins. 6.31 Support Back Scanning Support forward or Backword scanning type. GL841 USB 2.0 2-in-1 Scanner Controller 22 Version 1.6 ...

Page 23

... CK4MTGL CK3MTGL CK1MTGL 1D CK4LOW CK3LOW CK1LOW 1E WDTIME[3: Reg. Bit7 Bit6 GL841 USB 2.0 2-in-1 Scanner Controller Bit5 Bit4 Bit3 M16DRAM MTRPWR FASTFED XPASEL LAMPPWR AFEMOD[1:0] FILTER[1:0] MTLLAMP[1:0] GMMENB PWRBIT GAIN4 SRAMSEL GMMFFG GMMFFB CLKSET[1:0] BACKSCAN SCANRESET MOVE EXPR[15:8] ...

Page 24

... PWRBIT BUFEMPTY Reg. Bit7 Bit6 GL841 USB 2.0 2-in-1 Scanner Controller LINCNT[7:0] “GMMWRDATA” LAMPPWM[7:0] RAMADDR[15:8] RAMADDR[7: 0] DPISET[7:0] BWHI[7:0] BWLOW[7:0] STRPIXEL[15:8] STRPIXEL[7:0] ENDPIXEL[15:8] ENDPIXEL[7:0] DUMMY[7:0] MAXWD[15:8] MAXWD[7:0] LPERIOD[15:8] LPERIOD[7:0] FEWRDATA[7:0] “RAMWRDATA” FEEDL[15:8] FEEDL[7:0] FEEDFSH ...

Page 25

... GPIO16 GPIO15 6D GPIO8 GPIO7 6E GPOE16 GPOE15 GPOE14 6F GPOE8 GPOE7 Reg. Bit7 Bit6 GL841 USB 2.0 2-in-1 Scanner Controller FERDA[5:0] FEWRA[5:0] VSMP[4:0] BSMP[4:0] CDSREF[1:0] GMMADDR[7:0] HISPD[7:0] FMOVDEC[7:0] Z1MOD[15:8] Z1MOD[7:0] Z2MOD[15:8] Z2MOD[7:0] PHFREQ[7:0] MTRPWM[5:0] FASTPWM[5:0] FSHDEC[7:0] FMOVNO[7:0] GPOM11 GPIO14 GPIO13 GPIO12 GPOI6 ...

Page 26

... B4:MTRPWR : set: turn on MOTOR power and phase. : reset: turn off MOTOR power and phase. B3:FASTFED : set: enable two table for motor moving of the acceleration/deceleration. : reset: disable two table, only use single table. GL841 USB 2.0 2-in-1 Scanner Controller CK3MAP[15:8] CK3MAP[7:0] CK4MAP[15:8] CK4MAP[7:0] RSNEG ...

Page 27

... Mono 0 0,1,2,3,4,5,6 Fast Mono B3~2:FILTER[1:0] : scan color type : B1~0:FESET[1:0] : front end operation type: 5. Reg : 05H (Read/Write) Default:00H GL841 USB 2.0 2-in-1 Scanner Controller Wolfson Type CDS Max Sample Rate Available Yes 5MSPS *3 channel 6.67MSPS *3 channel MCLK:VSMP Rate is 6:1 Yes 13.3MSPS *1 channel MCLK:VSMP Rate is 3:1 Analog Device Type ...

Page 28

... B1:DMASEL : set: DMA access DRAM under command mode. : reset: MPU access DRAM under command mode. B0:DMARDWR : set: DMA read DRAM under command mode. GL841 USB 2.0 2-in-1 Scanner Controller 00=600dpi 01=1200dpi 10=2400dpi 11=reserved. 00: 1* LAMPTIM 01: 2*LAMPTIM 10: 4*LAMPTIM 11: reserved ...

Page 29

... Note: In normal condition unnecessary to reset scanner , unless the scanner is out of control. 13. Reg : 0FH (Write) Command : motor moving. Start motor farward/backward moving. 14. Reg : 10,11H (Read/Write) Default : 00H,00H GL841 USB 2.0 2-in-1 Scanner Controller 00: pixel count. 01:system clock*2. 10:system clock*3. 11:system clock*4. 00: 24MHz 01: 30MHz 10: 40MHz 11:48MHz ...

Page 30

... B1:CKDIS : set: disable CCD TG position Clock 1/2 signals. CCD TG CCD Clock : reset: enable CCD TG position Clock 1/2 signals. CCD TG CCD Clock B0:CTRLDIS : set: disable CCD TG position CP & RS signals. CCD TG CCD CP/RS : reset: enable CCD TG position CP & RS signals. GL841 USB 2.0 2-in-1 Scanner Controller 30 Version 1.6 ...

Page 31

... Reg : 19H (Read/Write) Default : 00H EXPDMY[7: set dummy line exposure time (unit = 256 pixels time) or CIS LED array turn-on time. Note: the unit is pixel time. GL841 USB 2.0 2-in-1 Scanner Controller 00:without dummy line CCD TG type. 01:with reflectional document scanning type. 10:with transparency scanning type. ...

Page 32

... Note: You have to program the TGSHLD >= 2 (more than two) 25. Reg : 1EH (Read/Write) Default : 20H B7~4:WDTIME[3: set watch-dog time The unit is 30 seconds. B3~0:LINESEL[3: set CIS Vertical DPI or dummy lines. GL841 USB 2.0 2-in-1 Scanner Controller EXPDMY for turn on EXPR/EXPG/EXPB for turn off a.000: 1*LPERIOD(Reg38,Reg39) b.001: 2*LPERIOD c.010: 4*LPERIOD d.011: 8*LPERIOD e ...

Page 33

... BWDSTEP[7: set steps number of the backward steps. Note: can not be programmed to logic zero. 31. Reg : 24H (Read/Write) Default : 00H FASTNO[7:0]: to set scanning backward slope curve of the acceleration/deceleration (table two slope). speed GL841 USB 2.0 2-in-1 Scanner Controller =1 1/2 dpi =2 1/3 dpi ….. =15 1/16 dpi =0 no dummy line. ...

Page 34

... Reg : 2FH (Read/Write) Default : 00H BWLOW[7: set Black & White threshold low level. BWHI BWLOW b a GL841 USB 2.0 2-in-1 Scanner Controller 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 ...

Page 35

... LPERIOD[15: set Line period(or exposure time) for CCD. Unit : pixel count Note: can not be programmed to logic zero. 44. Reg : 3AH,3BH (Read/Write) Default : 00H,00H FEWRDATA[8:0] : This port is used to write data to control register of front-end. 45. Reg : 3CH (Read/Write) Default : 00H GL841 USB 2.0 2-in-1 Scanner Controller Version 1.6 ...

Page 36

... Reg : 4BH,4CH,4DH (Read) SCANCNT[19: read scanner finished lines number. 54. Reg : 4EH (Read) GMMRDDATA : this port to read back the gamma table. 55. Reg : 50H (Read/Write) Default : 00H FERDA[5:0] : this port is read address setting for Front End control register read. GL841 USB 2.0 2-in-1 Scanner Controller 36 Version 1.6 ...

Page 37

... B7~3:VSMP[4: set the rising edge position of image sampling for AFE. B2~0:VSMPW[2: set the pulse width of image sampling. (1). Color,fine gray or fine line-art : 12 phase/pixel AFE VSMP Reg58=52H : VSMP[4:0]=10H VSMPW[2:0]=2H GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 38

... GMMADDR[9:0]: to set gamma access start address. 64. Reg : 5DH (Read/Write) Default : 00H HISPD[7: set change of the moving speed during moving. Note: can not be programmed to logic zero. 65. Reg : 5EH (Read/Write) Default : 00H B7~5:DECSEL[2:0] :select deceleration steps whenever go home. GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 39

... One table moving : speed a {a+(b-1)} mode LPERIOD = Z2MOD {c+(d-1)} mode LPERIOD = Z1MOD note: If MCNTSET[1:0]= 11,then (each step curve value + 1)/VCNT. GL841 USB 2.0 2-in-1 Scanner Controller 100:16 steps deceleration 101:32 steps deceleration 110:64 steps deceleration 111:128 steps deceleration Scanning position buffer full position b ...

Page 40

... Default : 00H FSHDEC[7:0]: Set scan-finish deceleration slop steps(table three slope). Note: can not be programmed to logic zero. 73. Reg :6AH (Read/Write) Default : 00H GL841 USB 2.0 2-in-1 Scanner Controller a.00: full step (for 1939,1940,2916,6219 or 3966). b.01: half step (for 1939,1940,2916,6219 or 3966). c.10: quarter step (for 2916 or 6219). d.11: reserved. ...

Page 41

... MOTORTGO. : reset : output GPO13. B5~4:GPOM12~ 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 GL841 USB 2.0 2-in-1 Scanner Controller Scanning position scan finished Reg1F Reg25,26,27 Reg21 Reg5E[4:0] ...

Page 42

... CCD RS : RSH=05H RSL=01H 78. Reg : 72H,73H (Read/Write) Default:15H,17H CPH[4:0] : set CCD CP rising edge position. CPL[4:0] : set CCD CP falling edge position. (1). Color,fine gray or fine line-art : 12 phase/pixel CCD CP : CPH=0AH CPL=01H GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 43

... GPIO 16 as LED outout. : reset : GPIO16 as general I/O. B2 :GPOLED15 : set : GPIO 15 as LED outout. : reset : GPIO15 as general I/O. B1 :GPOLED14 : set : GPIO 14 as LED outout. : reset : GPIO14 as general I/O. B0 :GPOLED13 : set : GPIO 13 as LED outout. : reset : GPIO13 as general I/O. GL841 USB 2.0 2-in-1 Scanner Controller ...

Page 44

... RLC/ACYC pulsing for CIS color scan. : reset: to disable these function. 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. GL841 USB 2.0 2-in-1 Scanner Controller 2’b00: no delay. 2’b01:delay 8.33ns 2’b10:delay 16.67ns 2’b11:delay 25ns. ...

Page 45

... Shading mapping(Chunky for single bank) Attribute Shading Mapping 91. Shading mapping(Planer) Attribute Shading Mapping GL841 USB 2.0 2-in-1 Scanner Controller Resolution 600dpi (DPIHW=00) 1200dpi (DPIHW=01) 2400dpi (DPIHW=10) Resolution RED 600dpi CHANNEL (DPIHW=00) GREEN CHANNEL BLUE CHANNEL RED 1200dpi CHANNEL (DPIHW=01) GREEN CHANNEL BLUE CHANNEL ...

Page 46

... Slope Curve Table Mapping : Attribute Resolution 600DPI (DPIHW=00) Slope Curve Table 1200DPI (DPIHW=01) 2400DPI (DPIDW=10) GL841 USB 2.0 2-in-1 Scanner Controller Address[19:0] Table no. TABLE 1 08000 ~ 081FF TABLE 2 08200 ~ 083FF TABLE 3 08400 ~ 085FF TABLE 4 08600 ~ 087FF TABLE 5 08800 ~ 089FF TABLE 1 10000 ~ 101FF TABLE 2 10200 ~ 103FF ...

Page 47

... Image Buffer Mapping : DRAM SIZE DRAM/SRAM 4M BITS X 1 DRAM 4M BITS BITS SRAM DRAM 16M BITS GL841 USB 2.0 2-in-1 Scanner Controller Resolution 600DPI (DPIHW=00) 1200DPI (DPIHW=01) 2400DPI (DPIHW=10) 600DPI (DPIHW=00) 1200DPI (DPIHW=01) 2400DPI (DPIHW=10) 600DPI (DPIHW=00) 1200DPI (DPIHW=01) 2400DPI (DPIHW=10) 47 Address[19:0] ...

Page 48

... Package – : 128QFP SYMBOLS MIN(mm) A1 0.25 A2 2.57 b 0.10 C 0.10 D 13.90 E 19. 17.00 He 23. Θ GL841 USB 2.0 2-in-1 Scanner Controller NOM(mm) MAX(mm) 0.35 0.45 2.72 2.87 0.20 0.30 0.15 0.20 14.00 14.10 20.00 20.10 0.50 - 17.20 17.40 23.20 23.40 0.80 0. 0.08(0.003 Version 1.6 ...

Related keywords