gl846 Genesys Logic, gl846 Datasheet

no-image

gl846

Manufacturer Part Number
gl846
Description
High Speed Usb 2.0 2-in-1 Scanner Controller With Fast Adf
Manufacturer
Genesys Logic
Datasheet
Ru.4
Xu062 f
Genesys Logic, Inc.
GL846
High Speed USB 2.0
2-in-1 Scanner Controller
With Fast ADF
Datasheet
Revision 1.05
January 18, 2008

Related parts for gl846

gl846 Summary of contents

Page 1

... Ru.4 Xu062 f High Speed USB 2.0 2-in-1 Scanner Controller Genesys Logic, Inc. GL846 With Fast ADF Datasheet Revision 1.05 January 18, 2008 ...

Page 2

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Copyright: Copyright © 2006 Genesys Logic Incorporated. All rights reserved. No part of the materials may be reproduced in any form or by any means without prior written consent of Genesys Logic Inc.. Disclaimer: ALL MATERIALS ARE PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND ...

Page 3

... Preliminary version Preliminary version-1 Modify AFE Modify CCD/CIS descriptions Modify register descriptions 1. Modify R & Characteristics (Digital Pins Function block diagram Modify function description GL846 can not support a standard 8051 MCU. So, modify external MCU description. Modify gamma and pin descriptions Page 3 ...

Page 4

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 1 GERERAL DESCRIPTION............................................. 6 CHAPTER 2 FEATURES .................................................................... 7 CHAPTER 3 PIN ASSIGNMENT......................................................... 9 3.1 P ................................................................................................... 9 INOUTS 3 ................................................................................................. 11 IN IST 3 ESCRIPTIONS CHAPTER 4 REGISTERS................................................................. 20 4 EGISTERS ASE 4 EGISTER ESCRIPTIONS 4 ........................................................................................ 79 OTOR ABLE CHAPTER 5 BLOCK DIAGRAM....................................................... 81 5.1 USB2.0 S YSTEM 5 UNCTION LOCK CHAPTER 6 FUNCTIONAL DESCRIPTION ...

Page 5

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF F 3.1 – 128 P IGURE IN F 3.1 – 208 P IGURE IN T 3.1 – 128 P ABLE IN T 3.2 – 208 P ABLE ABLE IN ESCRIPTIONS T 4 ABLE ASE DDRESS FOR F 5.1 - USB2.0 S IGURE F 5 IGURE UNCTION T 7 ABLE BSOLUTE T 7 ...

Page 6

... ADF function. It successfully integrates scanner function ASIC and USB 2.0 interface controller into one single-chip. With its high performance design architecture, GL846 is not only ready for supporting CIS or CCD image sensors (600, 1200, 2400, 3200, 3600, 4800 and 9600dpi resolution) that are used in sheet fed, flatbed or transparency scanners, but is able to co-work with unipolar or bipolar stepping motors ...

Page 7

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 2 FEATURES Highly integrated scanner controller chip (2-in-1; Scanner Controller and USB 2.0 Interface) USB 2.0 High Speed (480Mbit) compliant Designed for sheetfed, flatbed and transparency scanners Embedded RISC CPU for USB protocol handling Support MCU with SPI interfaces for special application in 208-pin package ...

Page 8

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Watchdog protection for lamp, motor and ASIC Lamp time-out (sleeping) control Supports 22 GPIO pins and 6 GPO pins for 128-pin package Supports 27 GPIO pins and 6 GPO pins for 208-pin package Supports PWM outputs for flatbed/transparency lamp control with programmable duties and frequencies ...

Page 9

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 3 PIN ASSIGNMENT 3.1 Pinouts Figure 3.1 – 128 Pin QFP Pinout Diagram ©2000-2007 Genesys Logic Inc. - All rights reserved. Page 9 ...

Page 10

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Figure 3.1 – 208 Pin QFP Pinout Diagram ©2000-2007 Genesys Logic Inc. - All rights reserved. Page 10 ...

Page 11

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 3.2 Pin List Pin# Pin Name Type Pin# Pin Name Type Pin# Pin Name Type Pin# Pin Name Type 1 DBUS15 I/O 2 DBUS14 I/O 3 DBUS13 I/O 4 DBUS12 I/O 5 DBUS11 I/O 6 DBUS10 I/O 7 DBUS9 I/O 8 DBUS8 I/O 9 VccIO1 P 10 GndIO1 P 11 DBUS7 I/O 12 DBUS6 ...

Page 12

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Pin# Pin Name Type Pin# Pin Name Type Pin# Pin Name Type Pin# Pin Name Type 1 DBUS15 I/O 2 DBUS14 I/O 3 DBUS13 I/O 4 DBUS12 I/O 5 DBUS11 I/O 6 DBUS10 I/O 7 DBUS9 I/O 8 DBUS8 I/O 9 VccIO1_0 P 10 VccIO1_1 P 11 GndIO1_0 P 12 GndIO1_1 P 13 DBUS7 ...

Page 13

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 129 SDO O 130 FSHD1 I/O 162 NC 131 FSHD2 I/O 163 NC 132 MT_PH0 O 133 MT_PH1 O 134 MT_PH2 O 135 VccCore3 P 136 GndCore3 P 137 MT_PH3 O 138 MT_PH4 O 139 MT_PH5 O 140 MT_PH6 O 141 MT_PH7 O 142 SPI_CS I 143 SERIF_CSJ ...

Page 14

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 3.3 Pin Descriptions Pin Name GPIO1/ROM_SK/LCM_D0 GPIO2/ROM_D/LCM_D1 GPIO3/LCM_D2 GPIO4/LCM_D3 GPIO5(VBUS) GPIO6/TXD/MOTORTGO GPIO7 GPIO8/ICG1/LEDBLINK/SH_ENB GPIO9/VREF3/SW1/LEDBLINK/SH_ENBX GPIO10/LCD_C12/SW2/LEDBLINK /CCD_SW2 GPIO11/VREF0 ©2000-2007 Genesys Logic Inc. - All rights reserved. Table 3.3 - Pin Descriptions Type General Purpose Input/Output; B EEPROM serial data clock; ...

Page 15

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF GPIO12/VREF1 GPIO13/VREF2 GPIO14/CCD_SW4/CCD_CNT0 GPIO15/CCD_SW5/CCD_CNT1 GPIO16/COVERSNR GPIO17/ROM_CS GPIO18/LCM_CS/LCD_SCK GPIO19/LCM_RS/LCD_SI GPIO20/LCM_EN/LCD_RCK GPIO21/SC_SYNC/LEDBLINK GPIO22/DATA_ENB/LEDBLINK GPIO23/BF_FULLY/LEDBLINK GPIO24/SS_FULLY/LEDBLINK ©2000-2007 Genesys Logic Inc. - All rights reserved. B General Purpose Input/Output; Vref1 control for motor driver IC Imax. B General Purpose Input/Output; ...

Page 16

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF GPIO25/SC_INT/LEDBLINK GPIO26/RISC_INT GPIO27/ADF_SENR LED_B/ RXD /MOTORDIR/GPO28 MT_PH0-5 ©2000-2007 Genesys Logic Inc. - All rights reserved. LED control with Blinking function; It only exists in 208 pins package B General Purpose Input/Output; Scanner controller output interrupt signal including watch-dog, document-jam and ADF-sensor to external MCU ...

Page 17

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF MT_PH6/LCD_C11/GPO29 MT_PH7/LCD_C21/GPO30 BSMP/CDSCLK1/GPO31 HOME/DOC_SENR CCD_CK1X CCD_CPX/GPO32 CCD_TGX/TSTSEL0 CCD_CK2X/TSTSEL1 CCD_RSX/TSTSEL2 CCD_CK3X/TSTSEL3 CCD_CK4X/GPO33/MTR_SEL0 ©2000-2007 Genesys Logic Inc. - All rights reserved. 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 Motor phase 6, LCD COM1 control or General Purpose Output. ...

Page 18

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CCD_TGG/MTR_SEL1 CCD_TGB/MTR_SEL2 LAMP_SW XPA_SW OP0~7 SEN/SLOAD SCLK SDI SDO VSMP/CDSCLK2 MCLK/ADCCLK SERIF_CSJ SERIF_SCKO SERIF_SDAI SERIF_SDAO SPI_CS SPI_SCK SPI_DI SPI_DO IMG_RD EMPTY ©2000-2007 Genesys Logic Inc. - All rights reserved. When power-on initiates the scanner, this pin is used as motor-select pin ...

Page 19

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF TWODAT[15:0] DBUS0~15 ABUS0~12 RASJ CASJ WEJ BANK0-1 CKE RAMCLK X1 X2 EXTRST_ AVDD1, AVDD2, AVDD3 AGND1, AGND2, AGND3 DVCC1 DGND1, DGND2 VccCore1, VccCore2, VccCore3, VccCore4 GndCore1, GndCore2, GndCore3, GndCore4 VccIO1, VccIO2, VccIO3, VccIO4, VccIO5, ...

Page 20

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 4 REGISTERS 4.1 Registers Base Address Offse Bit 7 Bit 6 t 01h CISSET DOGENB DVDSET 02h NOTHOME ACDCDIS 03h AVEENB XPASEL LAMPDOG 04h LINEART BITSET 05h DPIHW[1:0] 06h SCANMOD[2:0] 07h LAMPSIM 08h DRAM2X SCNUMENB ...

Page 21

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 2Dh 2Eh 2Fh 30h 31h 32h 33h 34h 35h 36h 37h 38h 39h 3Ah X X 3Bh 3Dh X X 3Eh 3Fh 40h DOCSNR ADFSNR 41h PWRBIT BUFEMPTY 42h X X 43h 44h 45h 46h ...

Page 22

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 60h STEPSEL[2:0] 61h 62h 63h FSTPSEL[2:0] 64h 65h 66h 67h X X 68h X X 69h 6Ah 6Bh MULTFILM GPOM13 6Ch GPIO16 GPIO15 6Dh GPIO8 GPIO7 6Eh GPOE16 GPOE15 GPOE14 GPOE13 GPOE12 GPOE11 GPOE10 ...

Page 23

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 8Eh X X 8Fh X X 90h 91h 92h 93h 94h 95h X X 96h 97h 98h 99h 9Ah 9Bh 9Ch 9Dh RAMDLY[1:0] 9Eh X X 9Fh MASTER SLAVE A0h X X A1h SNRSYN[2:0] A2h X X A3h ...

Page 24

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF C1h C2h C3h C4h C5h C6h C7h C8h C9h CAh D0h D1h D2h D3h D4h D5h D6h D7h D8h D9h DAh DBh DCh X X DDh X X DEh DFh E0h E1h E2h E3h ...

Page 25

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF F5h F6h F7h F8h MAXSEL[3:0] FDh MAINTSK[3:0] FEh MOTTGST[3:0] FFh 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 X Don’t care and should be wrote by logic “0” ...

Page 26

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4 MTRPWR 0 Turn off MOTOR power and phase to idle state. 1 Turn on MOTOR power and phase. 3 FASTFED 0 Move to scanning window by only one acceleration/deceleration tables. 1 Move to scanning window by two acceleration/deceleration tables. 2 MTRREV 0 Set motor to move in forward direction. ...

Page 27

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF AFEMOD SCANMOD 2 0,1,6,7 1 0,1,6,7 0 0,1,6,7 3-2 FILTER [1:0] Scan color type: 00 Color 1-0 FESET [1:0] Front end operation type: 00 Wolfson type 1 01 Wolfson type2 10 ADI type 11 Reserved Offset 05h ……………………………………………..…………..……..………. Default value = 8’h00 ...

Page 28

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 001 12 clocks/pixel ; bypass mode operation for calibration. 010 8 clocks/pixel ; fast mode operation for scanning 011 Reserved 100 Reserved 101 Reserved 110 18 clocks/pixel. 111 16 clocks/pixel. 4 PWRBIT The hardware will reset this bit during power-on initial process. It can be set and checked by S/W to know if the power had been turned off or not ...

Page 29

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7 DRAM2X 0 Select single chip of SDRAM 1 Enable two chips of SDRAM 6 Enable page count which is stored in memory for ADF operation SCNUMENB 5 MPENB Enable motor phase generating function which is stored in memory 4 CIS_LINE Set CIS_LINE to “1” and set CISSET to “1” at the same time to enable CIS scanning, and work on line by line mode ...

Page 30

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 1-0 BAUDRAT [1:0] Set boud rate of RS232. 00 2400bps. 01 4800bps. 10 9600bps. 11 19200bps. Offset 0Bh …………………………………………..…………..……..………. Default value = 8’h00 ...

Page 31

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 2 CLRMCNT To clear FEDCNT(Reg48,Reg49,Reg4A) counter information. 1 CLRDOCJM To clear document jam message for ADF module. 0 CLRLNCNT To clear SCANCNT (Reg4B,Reg4C,Reg4D). Note: 1.For each scanning, designers must clear SCANCNT before starting process. 2.They are write-one commands. ...

Page 32

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF R/W R/W 7-0 EXPG [7:0] Exposure time setting (in pixel time) for Green-LED of CIS or Red channel of CCD. Note: It cannot be programmed to logic zero. Offset 14h …………………………………………..…………..……..…………. Default value = 8’h00 ...

Page 33

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 0 CTRLDIS 1 Disable CCD CP & RS signals under CCD TG position as illustrated. 0 Enable CCD CP & RS signals under CCD TG position as illustrated. Offset 17h ……………………………………………..…………..……….……. Default value = 8’h14 ...

Page 34

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 10 Speed 3: three CCD clock per system pixel time in capturing image. 11 Speed 4: four CCD clock per system pixel time in capturing image. Note: Speed limitation of CCD clock in different scanning modes: 1. SCANMOD=0 clocks/pixel 2. SCANMOD=2 : Reserved. ...

Page 35

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF GRAYSET CHANSEL R/W R/W 7 GRAYSET CHANSEL BGRENB ICGENB 0 To disable ICG control enable CCD shutter control signal ICG. 3-0 ICGDLY [3:0] Offset 1Ch ……..……………………………………..…………..…....………. Default value = 8’h00 ...

Page 36

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4-0 TGSHLD [4:0] CCD TG shoulder width (in pixel time). Please refer to Reg34. Note: Designers have to program the TGSHLD >= 2 (more than two). Offset 1Eh ……..……………………………………..…………..….…..………. Default value = 8’h20 ...

Page 37

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF R/W R/W 7-0 STEPNO [7:0] Steps number of “table one” for the acceleration/deceleration of scanning moving. Please refer to section 6.19 and the descriptions of Reg24 & Reg6A. Note: 1.It cannot be programmed to logic zero. Offset 22h ……..……………………………………..…………..….…..…….…. Default value = 8’h00 ...

Page 38

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 25h ……..……………………………………..…………..….…..…….…. Default value = 8’h00 7-4 RESERVED - 3-0 LINCNT [19:16] Scanning lines count specified by designers ...

Page 39

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF one dpi. Note: It cannot be programmed to logic zero. Offset 2Eh ……..……..……………………………..….………..….…..…….…. Default value = 8’h00 ...

Page 40

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7-0 ] The end pixel position of horizontal line (unit : pixel count). ENDPIXEL [15:8 ENDPIXEL=(TGW+2*TGSHLD)+end pixels number (count from CCD pixel 0) Note: 1.It cannot be programmed to logic zero. Offset 33h ……..……………………………………..…………..….…..…….…. Default value = 8’h00 ...

Page 41

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF If available buffer size < MAXWD, then “buffer full” state will be set. The scanner execute backtracking. Offset 37h …….……..……………………..………..….………..….…..…….…. Default value = 8’h00 ...

Page 42

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Note: It cannot be programmed to logic zero. Offset 3Eh ……..……..…………………..………..….………..….…..…….…. Default value = 8’h00 ...

Page 43

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 3 HOMESNR 0 Home sensor is on (is not located in home position). 1 Home sensor is off (located in home position). 2 LAMPSTS 0 Lamp is off. 1 Llamp is on. 1 FEBUSY 0 Front end is ready for read/write operations. 1 Front end is busy and can not perform read/write operations. ...

Page 44

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 47h FERDDATA7 FERDDATA6 FERDDATA5 FERDDATA4 FERDDATA3 FERDDATA2 FERDDATA1 FERDDATA0 R R 7-0 This port is for designers to read control register from front-end. FERDDATA [7:0] Offset 48h ……..……..…………..………..………..….………..….…..…….…. Default value = 8’h00 ...

Page 45

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF SCANCNT7 SCANCNT6 SCANCNT5 SCANCNT4 SCANCNT3 SCANCNT2 SCANCNT1 SCANCNT0 R R 7-0 SCANCNT [7:0] Line number which scanner has finished. Offset 4Fh SPI_M_BSY SLAVEERR SPI_M_BSY Indicate that the SPI data output is busy or not when SPI_MOT is set to “1” and work on 3972 of motor driver IC ...

Page 46

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4-0 RHI [4:0] The latch point for high-byte of R channel of AFE in every pixel. For example system is designed to have 12 clocks/pixel, and designer wants to latch the high-byte of R channel at 1’st clock in every pixel, designer has to fill ‘ ...

Page 47

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 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 GHI = 05H BHI = 09H Note: 16 clocks (phase)/pixel and 18 clocks(phase)/pixel modes are similar to 12 clocks(phase)/pixel mode. Offset 58h ……..……..…………………..………..….………..….…..…..…..…. Default value = 8’h00 ...

Page 48

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 1 ADC clock is reversed. 6 RLCSEL 0 Do not select. 1 Select reset level clamp on a pixel-by-pixel basis. 5-4 CDSREF [1:0] Front-end CDS reference for line rate scanning type. 3-0 RLC [3:0] Front-end RLC for line rate scanning type. ...

Page 49

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF (2) For unipolar motors: 4-0 Z1MOD [20:16] “remainder value” of MOD operation in acceleration/deceleration tables. ASIC calculate the moving time by MOD operation when buffer-full occurs. Note: It should be less than LPERIOD. Offset 61h ……..………………………..………..….………..….…..…..…..…. Default value = 8’h00 ...

Page 50

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 64h ……..………………………..………..….………..….…..…..…..…. Default value = 8’h00 Z2MOD15 Z2MOD14 Z2MOD13 Z2MOD12 Z2MOD11 Z2MOD10 ...

Page 51

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF {a + (b-1)} mode {LPERIOD * (CCDLMT+1)} = Z2MOD {c + (d-1)} mode {LPERIOD * (CCDLMT+1)} = Z1MOD For example, c (STEPNO Then Z1MOD = {(60H + 48H + 30H + 18H) + (18H +18H)} MOD {30H} = 00H Note: If MCNTSET [1: 11, then (each step curve value + 1)/VCNT. ...

Page 52

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7-0 FSHDEC [7:0] Deceleration steps after scanning finished (table three). Note: It cannot be programmed to logic zero. Offset 6Ah ……..………………………..………..….………..….…..…..…..…. Default value = 8’h00 ...

Page 53

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 5 GPOM12 0 Select GPIO12 as general purpose I/O. 1 Select GPIO12 as V-ref control of bipolar motor driver IC to control Imax. 4 GPOM11 0 Select GPIO11 as general purpose I/O.. 1 Select GPIO11 as V-ref control of bipolar motor driver IC to control Imax. Note: GPIO12: 1. Add a pull up resistor on GPIO12 will indicate ASIC to turn on lamp power in power-on initial state ...

Page 54

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF independently. 0 Set as input port. 1 Set as output port. Offset 70h ……..………………………..………..….………..….………..…..…. Default value = 8’h06 ...

Page 55

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 74h ……..……..………………..………..…...………..….………..…..…. Default value = 8’h00 7-2 RESERVED - 1-0 Bits mapping setting for CCD clock ...

Page 56

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 7Bh ……..……..………………..……..…..….………..….………..…..…. Default value = 8’h00 CK4MAP15 CK4MAP14 CK4MAP13 CK4MAP12 CK4MAP11 CK4MAP10 CK4MAP9 CK4MAP8 ...

Page 57

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 1 Set GPIO21 as LED output. 2 GPOLED10 0 Set GPIO10 as general purpose I/O. 1 Set GPIO10 as LED output. 1 GPOLED9 0 Set GPIO9 as general purpose I/O. 1 Set GPIO9 as LED output. 0 GPOLED8 0 Set GPIO8 as general purpose I/O. 1 Set GPIO8 as LED output. Offset 7Fh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 58

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 83h ……..……..……..…………..………..…………..….………..…..…. Default value = 8’h00 7-1 RESERVED - 0 [8] ...

Page 59

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset 88h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 7-5 RESERVED - 4-0 RDNUM[4:0] Set the receiving length in bytes of RS232 interface ...

Page 60

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 3-0 RREFED [19:16] Offset 90h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 RREFED15 RREFED14 RREFED13 RREFED12 RREFED11 RREFED10 RREFED9 RREFED8 ...

Page 61

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Document Sensor Offset 94h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 MTRPLS7 MTRPLS6 MTRPLS5 MTRPLS4 MTRPLS3 MTRPLS2 MTRPLS1 MTRPLS0 ...

Page 62

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF R/W R/W 7-0 ONDUR [7:0] On duration (in system clock) of PWM for LAMP control. Offset 9Ah ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 63

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7-6 RESERVED - 5-3 TGSTIME [2:0] To set the times of TGSHLD[4: the width is TGSHLD[4:0]* 2 2-0 TGWTIME [2:0] To set the times of TGW[5:0] . So, the width is TGW [5:0]* 2 Offset 9Fh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 64

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF TRUER7 TRUER6 R/W R/W 7-0 TRUER [7:0] Weighting of R channel in true gray scanning. Offset A4h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 65

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF GPO35 GPO34 R/W R/W 7-0 GPO [35:28] GPO35~28 output ports. Offset AAh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 66

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset AEh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 7-6 RESERVED - 5-0 [5:0] Set the PWM control of motor driver IC during motor stopping. ...

Page 67

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 3 SW2_EN Enable special CCD timing of CCD SW2 for Toshiba’s application 2 SW2_SEL 0 CCD SW2 and CCD SW5 timing control is based on internal CCD_CNX 1 CCD SW2 and CCD SW5 timing control is based on internal SH_CNT ...

Page 68

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4-3 TSHMSKG [2:0] Select SH2 operation behavior for special CCD application when CCD works on different exposure time and TSH_EN is set to “1” at the same time 2-0 TSHMSKR [2:0] Select SH1 operation behavior for special CCD application when CCD works on different exposure time and TSH_EN is set to “ ...

Page 69

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7 SW2INV Invert CCD SW2 output 6 SW4INV Invert CCD SW4 output 5 SW5INV Invert CCD SW5 output 2 BGMM_F If this bit is set to “1”, it indicates that table[256 gamma in RAM is ignored and replaced by “0x10000” ...

Page 70

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 15 14 R/W R/W 7-0 SPI_MOTOR_W1 [15:8] Offset C4h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 SPI_MOTOR_W1 SPI_MOTOR_W1 ...

Page 71

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset CAh ……..……..………………....………..…………..….………..…..… Default value = 8’h00 BGMM_Z7 BGMM_Z6 BGMM_Z5 BGMM_Z4 BGMM_Z3 BGMM_Z2 BGMM_Z1 BGMM_Z0 ...

Page 72

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset D5h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 SH5DWN7 SH5DWN6 SH5DWN5 SH5DWN4 SH5DWN3 SH5DWN2 SH5DWN1 SH5DWN0 ...

Page 73

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset DBh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 PROTLN7 PROTLN6 PROTLN5 PROTLN4 PROTLN3 PROTLN2 PROTLN1 PROTLN0 ...

Page 74

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset E3h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 R1UP7 R1UP6 R/W R/W 7-0 R1UP [7:0] Bit7~0 Registers setting for R-Channel ODD image buffer end-address. ...

Page 75

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset E8h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 G1DWN15 G1DWN14 G1DWN13 G1DWN12 G1DWN11 G1DWN10 G1DWN9 ...

Page 76

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7-0 G2DWN [7:0] Bit7~0 Registers setting for G-Channel EVEN image buffer start-address. Unit words. Offset EEh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 77

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF B1UP7 B1UP6 R/W R/W 7-0 B1UP [7:0] Bit7~0 Registers setting for B-Channel ODD image buffer end-address. Unit words. Offset F4h ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 78

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Offset FDh MAINTSK3 MAINTSK2 MAINTSK1 MAINTSK0 SUBTSK3 SUBTSK2 SUBTSK1 SUBTSK0 R R 7-4 MAINTSK [3:0] 3-0 SUBTSK [3:0] Offset FEh ……..……..………………....………..…………..….………..…..…. Default value = 8’h00 ...

Page 79

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4.3 Motor Table Table 1 Table 2 Motor Table (8K word/per table) Table 3 Table 4 Table 5 4.4 AHB address allocation Address range 0x0000_0000 – 0x0FFF_FFFF 0x1000_0000 – 0x17FF_FFFF 0x2000_0000 – 0x2000_03FF 0x3000_0000 – 0x3000_0100 ©2000-2007 Genesys Logic Inc. - All rights reserved. ...

Page 80

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 4.5 On-chip registers (APB) address allocation Address range 0x0000_0000 – 0x0000_01FF 0x0100_0000 – 0x0100_09FF 0x0100_0000 – 0x0100_01FF 0x0100_0200 – 0x0100_03FF 0x0100_0400 – 0x0100_05FF 0x0100_0A00– 0x0100_0A7F 0x0110_0000 – 0x0110_007F 0x0200_0000 – 0x0200_03FF 0x0300_0000 – 0x0300_03FF 0x0400_0000 – ...

Page 81

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 5 BLOCK DIAGRAM 5.1 USB2.0 System Block Diagram Host Figure 5.1 - USB2.0 System Block Diagram 5.2 Function Block Diagram AHB USB2.0 Host Controller Bus Motor Motor Driver Control ADF ADF Device Control 12 MHz PLL Clk-gen © ...

Page 82

... Designers are allowed to increase CCD clock rates to up scanning speed in low resolutions, such …times.. 5 Scanning Type GL846 supports three-line-in (parallel) for CCD and one-line-in for CIS. A. CCD Type CCD Exposure control: There are three modes to control CCD TG by TGMODE control bits. ...

Page 83

... B. For CIS: Support 600, 1200, 2400, 3200, 3600,4800dpi ~ 9600dp CIS such as TOSHIBA, Canon ……etc C. Supports Toshiba 4800dpi TCD2954 and 9600dpi TCD2962 CCDs. 7 Dummy Line GL846 supports programmable dummy lines to resolve (overcome) start/stop problem. Designers can insert dummy lines to reduce scanner start/stop events (buffer full). A. Line base of dummy lines: The range of dummy lines is 0~30 lines. © ...

Page 84

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF B. Adjustable dummy line with 1 pixel time resolution ...

Page 85

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF a,b,c,g : are black pixels d,e,f,h,i : are white pixels 13 Exposure Time Maximum: 2096k pixels time Adjustment step: 1 pixel time. For transparency scanning, the exposure time can 2096k pixels time. 14 Scan Width control for Horizontal Line a ...

Page 86

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF (1) Two tables type: Speed Go to scan window A(4) G(5),K A,J : Acceleration curve in table four (slope four) for fast moving Deceleration curve in table four (slope four) for fast moving. C,D : Acceleration curve in table one (slope one) for scanning. ...

Page 87

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF A. Bipolar motors: a. Supports 2916 motor driver timing and 2916 compatible driver IC, such as L6219. Include full, half and quarter steps control. b. Supports 3955 motor driver timing. Include full, half, quarter and eighth steps control. ...

Page 88

... Power on Check The default status of the PWRBIT control bit is reset. Programmers can set the PWRBIT control bit before controlling the ASIC. GL846 will keep the status until power is turn off. This operation is to check if the power had been turned off or not. ...

Page 89

... GL846 use Huffman coding method to implement the lossless data compression. 38 Lines Packing for Stagger CCD or R/G/B Line Differences GL846 packs R, G and B lines together for CCD sensors by hardware. And it also packs the same color lines ©2000-2007 Genesys Logic Inc. - All rights reserved. ...

Page 90

... ASIC mode select : CCD_CK3X CCD_RSX CCD_CK2X CCD_TGX 43 Support MCU with SPI interfaces for special application GL846 can external MCU SPI slave to receive any command and data from MCU which SPI master. GL846 SPI Slave ©2000-2007 Genesys Logic Inc. - All rights reserved. ...

Page 91

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 44 Support two chips application for fast dual head scanning GL846 supports two chips operation to provide fast dual head scanning for double side scanning. CCD/ CIS GL846 AFE ©2000-2007 Genesys Logic Inc. - All rights reserved. ...

Page 92

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 7 ELECTRICAL CHARACTERISTICS 7.1 Absolute Maximum Ratings (Voltage Referenced to GND) Table 7.1 - Absolute Maximum Ratings (Voltage Referenced to GND) Symbol DVCC1 DC supply voltage AVDD1~3 DC supply voltage VccCore1~4 DC supply voltage VccIO1~6 DC supply voltage V Input Voltage I V Output Voltage ...

Page 93

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF 7.3 DC Characteristics (D+/D-) Table 7 Characteristics (D+/D-) SYMBOL V D+/D- static output LOW 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 ...

Page 94

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF CHAPTER 8 PACKAGE DIMENSION QFP-128L (14*20 mm, F/P: 3.2 mm): SYMBOLS Θ Figure 8.1 - GL846 128 Pin QFP Package ©2000-2007 Genesys Logic Inc. - All rights reserved. MIN(mm) 0.25 2.57 0.10 0.10 13.90 19.90 - 17.00 23.00 0. ...

Page 95

... GL846 High Speed USB2.0 2-in-1 Scanner Controller With Fast ADF Figure 8.2- GL846 208 Pin QFP Package ©2000-2007 Genesys Logic Inc. - All rights reserved. Page 95 ...

Related keywords