with graphics lcd displays version 1 - tellab · with graphics lcd displays version ... acters...

71
USING THE PICBASIC Plus! COMPILER WITH GRAPHICS LCD DISPLAYs Version 1.0 Crownhill PIC BASIC Plus compiler - for the 14-bit range of PIC micros www.letbasic.com

Upload: dangnga

Post on 25-Sep-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

USING THE

PICBASIC Plus! COMPILER WITH

GRAPHICS LCD DISPLAYs

Version 1.0

Crownhill PIC BASIC Plus compiler - for the 14-bit range of PIC micros www.letbasic.com

Page 2: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 93

5.50. PRINT Syntax : PRINT Item , Item... Overview : Send Text to an LCD module using the Hitachi 44780 controller or a

graphic LCD based on the Samsung S6B0108 chipset. Operators : Item may be a constant, variable, expression, modifier, or string list.

There are no operators as such, instead there are modifiers. For ex-ample, if an at sign ‘@’ precedes an Item, the ASCII representation for each digit is sent to the LCD.

The modifiers are listed below: -

Modifier Operation AT ypos (1 to n),xpos(1 to n) Position the cursor on the LCD BIN1..16 Send binary digits CLS Clear the LCD (also creates a 30ms delay) DEC1..5 Send decimal digits HEX1..4 Send hexadecimal digits REP c\n Send character c repeated n times The numbers after the BIN, DEC, and HEX modifiers are optional. If they are omitted, then the default is all the digits that make up the value will be displayed. The Xpos and Ypos values in the AT modifier both start at 1. For ex-ample, to place the text “HELLO WORLD” on line 1, position 1, the code would be: - PRINT AT 1 , 1 , “HELLO WORLD”

Example : DIM Var as BYTE DIM Wrd as WORD PRINT “Hello World” ‘ Display the text “Hello World” PRINT “Var= “ , DEC Var ‘ Display the decimal value of VAR PRINT “Var= “ , HEX Var ‘ Display the hexadecimal value of VAR PRINT “Var= “ , BIN Var ‘ Display the binary value of VAR PRINT “Var= “ , @Var ‘ Display the decimal value of VAR

Declares : There are six DECLARES for use with an alphanumeric LCD and

PRINT: -

DECLARE LCD_TYPE 1 or 0 , GRAPHIC or ALPHA Inform the compiler as to the type of LCD that the PRINT command will output to. If GRAPHIC or 1 is chosen then any output by the PRINT command will be directed to a graphic LCD based on the

Page 3: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 94

Samsung S6B0108 chipset. A value of 0 or ALPHA, or if the DE-CLARE is not issued will target the standard alphanumeric LCD type Targeting the graphic LCD will also enable commands such as PLOT, UNPLOT, LCDGET, and LCDPUT.

DECLARE LCD_DTPIN PORT . PIN Assigns the Port and Pins that the LCD’s DT (data) lines will attach to. The LCD may be connected to the PICmicro using either a 4-bit bus or an 8-bit bus. If an 8-bit bus is used, all 8 bits must be on one port. If a 4-bit bus is used, it must be connected to either the bottom 4 or top 4 bits of one port. For example: - DECLARE LCD_DTPIN PORTB.4 ‘ Used for 4-line interface. DECLARE LCD_DTPIN PORTB.0 ‘ Used for 8-line interface.

In the examples above, PortB is only a personal preference. The LCD’s DT lines may be attached to any valid port on the PIC. If the DECLARE is not used in the program, then the default Port and Pin is PortB.4, which assumes a 4-line interface. .

DECLARE LCD_ENPIN PORT . PIN Assigns the Port and Pin that the LCD’s EN line will attach to.

If the DECLARE is not used in the program, then the default Port and Pin is PortB.2.

DECLARE LCD_RSPIN PORT . PIN Assigns the Port and Pins that the LCD’s RS line will attach to.

If the DECLARE is not used in the program, then the default Port and Pin is PortB.3.

DECLARE LCD_INTERFACE 4 or 8

Inform the compiler as to whether a 4-line or 8-line interface is re-quired by the LCD. If the DECLARE is not used in the program, then the default interface is a 4-line type.

DECLARE LCD_LINES 1 , 2 , or 4 Inform the compiler as to how many lines the LCD has.

LCD’s come in a range of sizes, the most popular being the 2 line by 16 character types. However, there are 4-line types as well. Simply place the number of lines that the particular LCD has, into the declare.

Page 4: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 95

If the DECLARE is not used in the program, then the default number of lines is 2.

Notes : If no modifier precedes an item in a PRINT command, then the char-

acters value is sent to the LCD. This is useful for sending control codes to the LCD. For example: -

PRINT $FE , 128 Will move the cursor to line 1, position 1 (HOME). Below is a list of useful control commands: - Control Command Operation

$FE, 1 Clear display $FE, 2 Return home (beginning of first line) $FE, $0C Cursor off $FE, $0E Underline cursor on $FE, $0F Blinking cursor on $FE, $10 Move cursor left one position $FE, $14 Move cursor right one position $FE, $C0 Move cursor to beginning of second line $FE, $94 Move cursor to beginning of third line $FE, $D4 Move cursor to beginning of fourth line Note that if the command for clearing the LCD is used, then a small delay should follow it: - PRINT $FE , 1 : DELAYMS 30

The above diagram shows the default connections for an alphanu-meric LCD module. In this instance, connected to the 16F84 PICmicro.

RB7VDD

RB6RB5RB4RB3RB2RB1RB0

13

RA4RA3RA2RA1RA0

MCLR

OSC1

OSC2

VSS

14

PIC16F84

C422pF

C110uF

C20.1uF

R14.7k

5 Volts

C322pF

4MHzCrystal

12

11

10

9

8

7

6

3

2

1

18

17

5

4

16

15

0V

INTELLIGENT LCDMODULE

DB

7

DB

6

DB

5D

B4

DB

3

DB

2

DB

1

DB

0

EN

R/W

RS Vo

Vdd

Vss

Contrast47K

linear

+5V

Page 5: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 96

Using a Graphic LCD Once a graphic LCD has been chosen using the DECLARE LCD_TYPE directive, all PRINT outputs will be directed to that LCD. The standard modifiers may also be used with the graphics LCD: - AT ypos (0 to 7),xpos (0 to 20) Position the cursor on the LCD BIN1..16 Send binary digits CLS Clear the LCD DEC1..5 Send decimal digits HEX1..4 Send hexadecimal digits REP c\n Send character c repeated n times Most of the above modifiers still work in the expected manner, how-ever, the AT modifier now starts at Ypos 0 and Xpos 0, where values 0,0 will be the top left corner of the LCD. There are also four new modifiers. These are: - FONT 0 to n Choose the nth font, if available INVERSE 0-1 Invert the characters sent to the LCD OR 0-1 OR the new character with the original XOR 0-1 XOR the new character with the original Once one of the four new modifiers has been enabled, all future PRINT commands will use that particular feature until the modifier is disabled. For example: - ‘ Enable inverted characters from this point PRINT AT 0 , 0 , INVERSE 1 , “HELLO WORLD” PRINT AT 1 , 0 , “STILL INVERTED” ‘ Now use normal characters PRINT AT 2 , 0 , INVERSE 0 , “NORMAL CHARACTERS” If no modifiers are present, then the character’s ASCII representation will be displayed: - ‘ Print characters A and B PRINT AT 0 , 0 , 65 , 66

Declares : There are six declares associated with a graphic LCD.

DECLARE LCD_DTPORT PORT Assign the port that will output the 8-bit data to the graphic LCD. If the DECLARE is not used, then the default port is PORTD.

Page 6: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 97

DECLARE LCD_RWPIN PORT . PIN

Assigns the Port and Pin that the graphic LCD’s RW line will attach to.

If the DECLARE is not used in the program, then the default Port and Pin is PortE.0.

DECLARE LCD_CS1PIN PORT . PIN

Assigns the Port and Pin that the graphic LCD’s CS1 line will attach to.

If the DECLARE is not used in the program, then the default Port and Pin is PortC.0.

DECLARE LCD_CS2PIN PORT . PIN Assigns the Port and Pin that the graphic LCD’s CS2 line will attach to.

If the DECLARE is not used in the program, then the default Port and Pin is PortC.2.

Note : Along with the new declares, two of the existing LCD declares must

also be used. Namely, RS_PIN and EN_PIN.

DECLARE INTERNAL_FONT ON - OFF, 1 or 0 The graphic LCDs that are compatible with PICBASIC PLUS are non-intelligent types, therefore, a separate character set is required. This may be in one of two places, either externally, in an I2C eeprom, or in-ternally in a CDATA table. If the DECLARE is omitted from the program, then an external font is the default setting. If an external font is chosen, the I2C eeprom must be connected to the specified SDA and SCL pins (as dictated by DECLARE SDA and DE-CLARE SCL). If an internal font is chosen, it must be on a PIC device that has self modifying code features, such as the 16F87X range.

The CDATA table that contains the font must have a label, named FONT: preceding it. For example: - FONT:- data for characters 0 to 64

CDATA $7E , $11 , $11 , $11 , $7E , $0 ‘ Chr 65 “A” CDATA $7F , $49 , $49 , $49 , $36 , $0 ‘ Chr 66 “B” rest of font table

Page 7: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 98

Notice the dash after the font’s label, this disables any bank switching code that may otherwise disturb the location in memory of the CDATA table. The font table may be anywhere in memory, however, it is best placed after the main program code.

The font is built up of an 8x6 cell, with only 5 of the 6 rows, and 7 of the 8 columns being used for alphanumeric characters. See the dia-gram below.

However, if a graphic character is chosen (chr 0 to 31), the whole of the 8x6 cell is used. In this way, large fonts and graphics may be eas-ily constructed. A list of the graphic characters is shown at the end of the PRINT de-scription. The character set itself is 128 characters long (0 -127). Which means that all the ASCII characters are present, including $, %, &, # etc. There are two programs on the compiler’s CDROM, that are for use with internal and external fonts. INT_FONT.BAS, contains a CDATA table that may be cut and pasted into your own program if an internal font is chosen. EXT_FONT.BAS, writes the character set to a 24C32 I2C eeprom for use with an external font. Both programs are fully com-mented.

$7E

$00

$11

$11

$11

$7E

Page 8: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 99

DECLARE FONT_ADDR 0 to 7 Set the slave address for the I2C eeprom that contains the font.

When an external source for the font is used, it may be on any one of 8 eeproms attached to the I2C bus. So as not to interfere with any other eeproms attached, the slave address of the eeprom carrying the font code may be chosen.

If the DECLARE is omitted from the program, then address 0 is the default slave address of the font eeprom.

Important : Because of the complexity involved with interfacing to the graphic LCD, five of the eight stack levels available are used when the PRINT command is issued with an external font. Therefore, be aware that if PRINT is used within a subroutine, you must limit the amount of sub-routine nesting that may take place.

If an internal font is implemented, then only four stack levels are

used. If the default setting of PORTE is used for the LCD’s CS1, CS2, and

RW pin connections, then these pins should be set to digital by issu-ing the following line of code near the beginning of the program: -

ADCON1 = 7 ‘ Set PORTA and PORTE to all digital You will need to refer to the PIC’s datasheet for ADCON1 settings if

PORTA is to be used for analogue inputs. The diagram shows the connections required for an external font. The eeprom has a slave address of 0.

If an internal font is used, then the

eeprom may be omitted.

RB7

VDD

RB6RB5RB4RB3RB2RB1RB0

RA4RA3RA2RA1RA0

MCLR

OSC1

OSC2

VSS

32

PIC16F877

C415pF

C20.1uF

C110uF

C315pF

5 Volts

26

RC0RC1RC2RC3RC4RC5RC6RC7

VSS

RA5

20MHzCrystal

0V

R14.7k

25

24

23

18

17

16

15

40

39

38

37

36

35

34

33

7

6

5

4

3

2

3112

14

13

1

RD0RD1RD2RD3RD4RD5RD6RD7

RE0RE1RE2VDD

11

10

9

8

30

29

28

27

22

21

20

19

5 Volts

Contrast47k

VCCWP

SCL

A1A2

VSS

24C32

7

8

A0

SDA

1

2

3

4

6

5

2x4.7k

5 Volts

64x128DOT MATRIXGRAPHIC LCD

DB

7

DB

6

DB

5

DB

4

DB

3

DB

2

DB

1

DB

0

EN

R/W

RS

Vo

Vcc

Gnd

CS

1

CS

2

RS

T

-Vou

t

120

LED

A

LED

K

Page 9: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

PICBASIC PLUS Compiler

Copyright Crownhill 2001 100

The below diagram lists the graphic characters available. For exam-ple, to display a single horizontal bar, the BASIC code would be: - PRINT AT 0 , 0 , 8 , 8 , 8 , 8 , 8 , 8 , 8 , 8 , 8 , 8 , 8 Any of the character set may be altered to suit your personal needs, however, characters 26 to 31 are left blank to be used for user de-fined characters.

Symbol Code

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Symbol Code

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Page 10: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 AMPIRE CO., LTD. 3

1 FEATURES

(1) Display format : 128 × 64 dot-matrix ; 1/ 64 duty.

(2) Construction : STN / FSTN LCD, Bezel, Zebra, Heat Seal and PCB.

(3) Optional Edge LED or EL backlight.

(4) Controller : KS0108B.

(5) 5V single power input. Built-in DC/DC converter for LCD driving.

(6) Normal / Extended temperature type.

2 NUMBERING SYSTEM

AG-12864C _ _ _ _ - _ 1 2 3 4 5

No Code Value Description Remark

G STN gray type LCD

Y STN yellow green type LCD

S STN negative type LCD

1

F FSTN type LCD

LCD Type

A Reflective type / 6:00 view

B Reflective type / 12:00 view

I Transflective type / 6:00 view

J Transflective type / 12:00 view

T Negative type / 6:00 view

2

U Negative type / 12:00 view

Polarizer / Viewing Angel

None Without backlight

Q 5V Edge type LED

3

E EL

Backlight type

None Without backlight

Y Yellow-green (LED)

B Blue (EL)

4

W White (EL, LED)

Backlight color

None Normal temperature type5

H Extended temperature type

LCM temperature type

Page 11: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 4

2 MECHANICAL DATA

Parameter Stand Value Unit

Dot size 0.40(W) × 0.56(H) mm

Dot pitch 0.44(W) × 0.60(H) mm

Viewing area 62.0(W) × 44.0(H) mm

Module size 78.0(W) × 70.0(H) × 10.5 max (T) mm

Module size(w/ LED back-light)

78.0(W) × 70.0(H) × 13.0 max (T) mm

3 ABSOLUTE MAXIMUM RATINGS

Parameter Symbol Min Max Unit

Logic Circuit Supply Voltage VDD-VSS 0 7.0 V

LCD Driving Voltage VDD-VO 0 20 V

Input Voltage VI VSS VDD V

Operating Temp. TOP 0 50 °CNormal temp. type

Storage Temp. TSTG -20 70 °C

Operating Temp. TOP -20 70 °CExtended temp. type

Storage Temp. TSTG -30 80 °C

Page 12: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 5

4 ELECTRO-OPTICAL CHARACTERISTICS

Parameter Symbol Condition Min Typ Max Unit Note

----- Electronic Characteristics -----

Logic CircuitSupply Voltage

VDD-VSS -- 4.5 5.0 5.5 V

-20 °C 8.4 9.2 10.0

0°C 8.4 9.2 10.0

25°C 8.4 9.2 10.0

50°C 8.4 9.2 10.0

LCD DrivingVoltage

VDD-VO

70 °C 8.4 9.2 10.0

V 0 ~ 50 °C forNormal Temp.type

-20 ~ 70 °C forExtended Temp.type

VIH -- 0.7 VDD -- VDD VInput Voltage

VIL -- VSS -- 0.3 VDD V

Logic SupplyCurrent

IDD VDD = 5V -- 3 4 mA

----- Optical Characteristics -----

STN type -- 4.2 --Contrast CR

FSTN type 7

Note 1

Rise Time tr 25°C -- 140 -- ms

Fall Time tf 25°C -- 240 -- ms

Note 2

θ f -- 40 --

θ b -- 35 --

θ l -- 35 --

Viewing AngleRange

θ r

25°C &

CR≥2

-- 35 --

Deg.

Note 3

Frame Frequency fF 25°C -- 70 -- Hz

----- Yellow-green LED Back-light Characteristics -----

Forward Voltage VF -- -- 4.05 4.3 V Supply Voltagebetween A&K

Forward Current IF VF=4.05V -- 100 -- mA

Bare LED Luminous intensity VF=4.05V -- 20 -- cd/m2

LCM Luminous intensity VF=4.05V -- 7 -- cd/m2

A

KA

K

Active Area

Page 13: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 6

----- White Edge LED Back-light Characteristics -----

Forward Voltage VF -- 7.2 7.6 8.0 V Supply Voltagebetween A&K

Forward Current IF VF=7.6V -- 100 -- mA

Bare LED Luminous intensity VF=7.6V -- 30 -- cd/m2

LCM Luminous intensity VF=7.6V -- 10 -- cd/m2

A

K

A

K

Parameter Min Typ Max Unit Note

----- EL Back-light Characteristics -----

Driving Voltage -- 110 -- Vrms

Frequency -- 400 -- Hz

Bare EL Luminous intensity -- 50 -- cd/m2

LCM Luminous intensity -- 15 -- cd/m2

(NOTE 1) Contrast ratio :

CR = (Brightness in OFF state) / (Brightness in ON state)

( NOTE 2 ) Response time :

Page 14: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 7

(NOTE 3) Viewing angle

Page 15: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 8

5 BLOCK DIAGRAM & POWER SUPPLY

64

COM DriverKS0107

LCD Panel

128 x 64 Dots

SEG DriverKS0108B

64

RS, R/W, E, /RES,DB0 - DB7

SEG DriverKS0108B

64

LCD BiasCircuit

DC/DCConverter

CS1

CS2

V0,V2,V3,V5,VEE

V0,V1,V4,V5,VEE

M,FRM,CLK1,CLK2,

CL2

LCM

VEE(-10V)

VO

VDDVSS

VDD

EL Back-light

EL1

EL2

AC110V(400Hz)

LCM

LED Back-lightLED_A

LED_K

5V4.05V

LCM

Using LED Back-light

Using EL Back-light

Page 16: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 9

6 PIN CONNECTIONS

No. Symbol Function

1 /CSA Chip Selection For ICA

2 /CSB Chip Selection For ICB

3 VSS Ground (0V)

4 VDD Supply Voltage for Logic (+5V)

5 VO Contrast adjustment

6 D/I Data or Instruction

7 R/W Read or Write

8 E Enable signal

9-16 DB0-DB7 Data Bus Line

17 /RST Reset

18 VEE Negative Power Supply Output ( -5V )

19 LEDA LED Back-light Power Supply + (5V)

20 LEDK LED Back-light Power Supply - (5V)

Page 17: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 10

7 TIMING CHARACTERISTICS

Item Symbol Min Typ Max Unit

Enable Cycle Time tCYCLE 1000 - - ns

High Level PWEH 450 - - nsEnable Pulse Width

Low Level PWEL 450 - - ns

Enable Rise & Fall Time tER,tEF - - 25 ns

Address Set-Up Time tAs 140 - - ns

Address Hold Time tAH 10 - - ns

Data Set-Up Time tDSW 200 - - ns

Data Delay Time tDDR -- - 320 ns

Data Hold Time(Write) tDHW 10 - - ns

Data Hold Time(Read) tDHW 20 - - ns

Write Timing Chart

tCYCLE

PWELPWEH

tAS

tAS

tAH

tDHWtDSW

tER tEF

E

R/W

CS,D/I

DB0 – DB7

Page 18: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 11

Read Timing Chart

tCYCLE

PWELPWEH

tAS

tAS

tAH

TDHR

tERtEF

E

R/W

CS,D/I

DB0 – DB7

TDDR

Page 19: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 12

7.1 Power ON/OFF Sequence

VDD

VO

Signal

POWER ON SEQUENCE

0~50 ms

VSS

VSS

VSS

T≧20 ms

T≧0ms

POWER OFF SEQUENCE

0 ~ 50 ms

VDD

VO

Signal

VSS

VSS

VSS

T≧20 ms

Page 20: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 13

8 INSTRUNTION SET

Page 21: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 14

9 QUALITY AND RELIABILITY

9.1 TEST CONDITIONS

Tests should be conducted under the following conditions :

Ambient temperature : 25 ± 5°C

Humidity : 60 ± 25% RH.

9.2 SAMPLING PLAN

Sampling method shall be in accordance with MIL-STD-105E , level II, normal

single sampling plan .

9.3 ACCEPTABLE QUALITY LEVEL

A major defect is defined as one that could cause failure to or materially reduce

the usability of the unit for its intended purpose. A minor defect is one that does not

materially reduce the usability of the unit for its intended purpose or is an infringement from

established standards and has no significant bearing on its effective use or operation.

9.4 APPEARANCE

An appearance test should be conducted by human sight at approximately 30 cm

distance from the LCD module under flourescent light. The inspection area of LCD panel

shall be within the range of following limits.

Page 22: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 15

9.5 INSPECTION QUALITY CRITERIA

Item Description of defects Class ofDefects

Acceptable level(%)

Function Short circuit or Pattern cut Major 0.65Dimension Deviation from drawings Major 1.5

Ave . dia . D area A area BD≤0.2 Disregard

0.2<D≤0.3 3 40.3<D≤0.4 2 3

Black spots

0.4<D 0 1

Minor 2.5

Width W, Length L A BW≤0.03 disregard

0.03<W≤0.05 3 4

0.05<W≤0.07 , L≤3.0 1 1

Black lines

See line criteria

Minor 2.5

Bubbles inpolarizer

Average diameter D 0.2 < D < 0.5 mmfor N = 4 , D > 0.5 for N = 1

Minor 2.5

Coloruniformity

Rainbow color or newton ring. Minor 2.5

GlassScratches

Obvious visible damage. Minor 2.5

Contrastratio

See note 1 Minor 2.5

Responsetime

See note 2 Minor 2.5

Viewingangle

See note 3 Minor 2.5

ZONE A active area

ZONE B viewing area

Page 23: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 16

9.6 RELIABILITY

Test ConditionsTest Item

Normal Temp. type Extended Temp. typeNote

High Temperature Operation 50±3°C , t=96 hrs 70±3°C , t=96 hrs

Low Temperature Operation 0±3°C , t=96 hrs -20±3°C , t=96 hrs

High Temperature Storage 70±3°C , t=96 hrs 80±3°C , t=96 hrs 1,2

Low Temperature Storage -20±3°C , t=96 hrs -30±3°C , t=96 hrs 1,2

Temperature Cycle

-20°C ~ 25°C ~ 70°C30 m in. 5 min. 30 min.( 1 cycle )Total 5 cycle

-30°C ~ 25°C ~ 80°C30 min. 5 min. 30 min.( 1 cycle )Total 5 cycle

1,2

Humidity Test 40 °C, Humidity 90%, 96 hrs 1,2

Vibration Test (Packing)

Sweep frequency : 10 ~ 55 ~ 10 Hz/1minAmplitude : 0.75mmTest direction : X.Y.Z/3 axisDuration : 30min/each axis

2

Note 1 : Condensation of water is not permitted on the module.

Note 2 : The module should be inspected after 1 hour storage in normal conditions

(15-35°C , 45-65%RH).

Definitions of life end point :

! Current drain should be smaller than the specific value.

! Function of the module should be maintained.

! Appearance and display quality should not have degraded noticeably.

! Contrast ratio should be greater than 50% of the initial value.

Page 24: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 17

10 HANDLING PRECAUTIONS

(1) A LCD module is a fragile item and should not be subjected to strong mechanical shocks.

(2) Avoid applying pressure to the module surface. This will distort the glass and cause a

change in color.

(3) Under no circumstances should the position of the bezel tabs or their shape be modified.

(4) Do not modify the display PCB in either shape or positioning of components.

(5) Do not modify or move location of the zebra or heat seal connectors.

(6) The device should only be soldered to during interfacing. Modification to other areas of

the board should not be carried out.

(7) In the event of LCD breakage and resultant leakage of fluid do not inhale, ingest or make

contact with the skin. If contact is made rinse immediately.

(8) When cleaning the module use a soft damp cloth with a mild solvent, such as Isopropyl or

Ethyl alcohol. The use of water, ketone or aromatic is not permitted.

(9) Prior to initial power up input signals should not be applied.

(10) Protect the module against static electricity and observe appropriate anti-static

precautions.

Page 25: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

Date : 2000/10/27 WWW.LETBASIC.COM 18

11 OUTLINE DIMENSION

Page 26: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

1

INTRODUCTION

The S6B0107 (TQFP type: S6B2107) is an LCD driver LSI with 64 channel outputs for dot matrix liquid crystal graphic display systems. This device provides 64 shift registers and 64 output drivers. It generates the timing signal to control the S6B0108 (64 channel segment driver – TQFP type: S6B2108). The S6B0107 is fabricated by low power CMOS high voltage process technology, and is composed of the liquid crystal display system in combination with the S6B0108 (64 channel segment driver).

FEATURES

• Dot matrix LCD common driver with 64 channel output

• 64-bit shift register at internal LCD driver circuit

• Internal timing generator circuit for dynamic display

• Selection of master/slave mode

• Applicable LCD duty: 1/48, 1/64, 1/96, 1/128

• Power supply voltage: + 5V ± 10%

• LCD driving voltage: 8V - 17V (VDD-VEE)

• Interface

Driver

COMMON SEGMENT Controller

Other S6B0107 S6B0108 MPU

• High voltage CMOS process

• 100QFP / 100TQFP or bare chip available

Page 27: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64 CH SEGMENT DRIVER FOR DOT MATRIX LCD

June. 2000.

Ver. 0.0

S6B0108

Contents in this document are subject to change without notice. No part of this document may be reproducedor transmitted in any form or by any means, electronic or mechanical, for any purpose, without the expresswritten permission of LCD Driver IC Team.

Page 28: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

2

INTRODUCTION

The S6B0108 is a LCD driver LSI with 64 channel output for dot matrix liquid crystal graphic display systems.This device consists of the display RAM, 64 bit data latch, 64 bit drivers and decoder logic. It has the internal dis-play RAM for storing the display data transferred from a 8 bit micro controller and generates the dot matrix Iiquidcrystal driving signals corresponding to stored data. The S6B0108 composed of the liquid crystal display systemin combination with the S6B0107 (64 channel common driver).

FEATURES

• Dot matrix LCD segment driver with 64 channel output

• Input and output signal- Input: 8 bit parallel display data control signal from MPU divided bias voltage (V0R, V0L, V2R, V2L, V3R, V3L, V5R, V5L)- Output: 64 channel for LCD driving.

• Display data is stored in display data RAM from MPU.

• Interface RAM- Capacity: 512 bytes (4096 bits)- RAM bit data: RAM bit data = 1: On RAM bit data = 0: Off

• Applicable LCD duty: 1/32-1/64

• LCD driving voltage: 8V-17V (VDD-VEE)

• Power supply voltage: + 5V ± 10%

• Interface

Drivers

Common SegmentController

S6B0107 Other S6B0108 MPU

• High voltage CMOS process.

• Bare chip available

Page 29: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

3

BLOCK DIAGRAM

InstructionDecoder

LCD Driver

Data Latch

Display Data RAM512 × 8 = 4096bits

DisplayOn/Off

Dis

play

Sta

rt L

ine

Reg

iste

r

I/O B

uffe

r

88

6

3

6

S64

S63 S

2

S1

V5R

V3R

V2R

V0R

M

V5L

V3L

V2L

V0L

FRM

CL

ADC

RSTBERSR/WCS3CS2BCS1B

CLK

2

CLK

1

DB<0:7>

InputRegister

OutputRegister

Busy

Y-Counter

Y-CounterX-Decoder

Z-D

ecod

er

Pag

e S

elec

tor

6 64

1

6

64

64

64

8

8

Page 30: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

4

PAD DIAGRAM

3 2 1 100

99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78

VD

D

M AD

CF

RM

E CLK

1C

LK2

CL

RS

R/W

RS

TB

CS

1BC

S2B

CS

3N

CN

CN

CD

B7

DB

6D

B5

DB

4D

B3

DB

2D

B1

DB

0V

SS

456789

1011121314151617181920212223242526272829

V3RV2RV5RV0RVEE2

S64S63S62S61S60S59S58S57S56S55S54S53S52S51S50S49S48S47S46S45S44

Chip size: 4090 × 4020PAD size: 100 × 100Unit : µm

(0, 0) X

Y

7776757473727170696867666564636261605958575655545352

V3LV2LV5LV0LVEE1

S1S2S3S4S5S6S7S8S9S10S11S12S13S14S15S16S17S18S19S20S21

30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

S43

S42

S41

S40

S39

S38

S37

S36

S35

S34

S33

S32

S31

S30

S29

S28

S27

S26

S25

S24

S23

S22

There is mark of S6B0108 on the bottom left in the chip.

Page 31: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

5

PAD CENTER COORDINATES

Coordinate Coordinate CoordinatePADNumber

PADName X Y

PadNumber

PadName X Y

PadNumber

PadName X Y

1 ADC -1140 1845 35 S38 -687 -1845 69 S4 1882 791

2 M -1275 1845 36 S37 -562 -1845 70 S3 1882 916

3 VDD -1410 1845 37 S36 -437 -1845 71 S2 1882 1041

4 V3R -1882 1809 38 S35 -312 -1845 72 S1 1882 1166

5 V2R -1882 1684 39 S34 -187 -1845 73 VEE1 1882 1310

6 V5R -1882 1559 40 S33 -62 -1845 74 V0L 1882 1435

7 V0R -1882 1434 41 S32 62 -1845 75 V5L 1882 1559

8 VEE2 -1882 1309 42 S31 187 -1845 76 V2L 1882 1684

9 S64 -1882 1165 43 S30 312 -1845 77 V3L 1882 1809

10 S63 -1882 1040 44 S29 437 -1845 78 VSS 1412 1845

11 S62 -1882 915 45 S28 562 -1845 79 DB0 1277 1845

12 S61 -1882 790 46 S27 687 -1845 80 DB1 1142 1845

13 S60 -1882 665 47 S26 812 -1845 81 DB2 1007 1845

14 S59 -1882 540 48 S25 937 -1845 82 DB3 882 1845

15 S58 -1882 415 49 S24 1062 -1845 83 DB4 757 1845

16 S57 -1882 290 50 S23 1187 -1845 84 DB5 632 1845

17 S56 -1882 165 51 S22 1487 -1845 85 DB6 507 1845

18 S55 -1882 40 52 S21 1882 -1379 86 DB7 382 1845

19 S54 -1882 -84 53 S20 1882 -1239 87 NC

20 S53 -1882 -209 54 S19 1882 -1099 88 NC

21 S52 -1882 -334 55 S18 1882 -959 89 NC

22 S51 -1882 -459 56 S17 1882 -834 90 CS3 245 1845

23 S50 -1882 -584 57 S16 1882 -709 91 SC2B 120 1845

24 S49 -1882 -709 58 S15 1882 -584 92 SC1B -5 1845

25 S48 -1882 -834 59 S14 1882 -459 93 RSTB -130 1845

26 S47 -1882 -959 60 S13 1882 -334 94 R/W -255 1845

27 S46 -1882 -1099 61 S12 1882 -209 95 RS -380 1845

28 S45 -1882 -1239 62 S11 1882 -84 96 CL -505 1845

29 S44 -1882 -1379 63 S10 1882 41 97 P2 -630 1845

30 S43 -1487 -1845 64 S9 1882 166 98 P1 -755 1845

31 S42 -1187 -1845 65 S8 1882 291 99 E -880 1845

32 S41 -1062 -1845 66 S7 1882 416 100 FRM -1005 1845

33 S40 -937 -1845 67 S6 1882 541

34 S39 -812 -1845 68 S5 1882 666

Page 32: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

6

PIN DESCRIPTION

Table 1. Pin Description

Pin NumberQFP(TQFP)

SymbolInput /Output

Description

3(1)78(76)73(71), 8(6)

VDDVSS

VEE1.2

Power

For internal logic circuit (+5V ± 10%)GND (0V)For LCD driver circuitVSS = 0V, VDD = +5V ± 10%, VDD-VEE = 8V - 17VVEE1 and VEE2 is connected by the same voltage.

74(72), 7(5)76(74), 5(3)77(75), 4(2)75(73), 6(4)

V0L, V0RV2L, V2RV3L, V3RV5L, V5R

Power

Bias supply voltage terminals to drive the LCD.

Select Level

V0L(R), V5L(R)

Non-Select Level

V2L(R), V3L(R)

V0L and V0R (V2L & V2R, V3L & V3R, V5L & V5R) should beconnected by the same voltage.

92(89)91(87)90(86)

CS1BCS2BCS3

InputChip selectionIn order to interface data for input or output, the terminalshave to be CS1B = L, CS2B = L, and CS3 = H.

2(100) M Input Alternating signal input for LCD driving.

1(99) ADC Input

Address control signal to determine the relation between Yaddress of display RAM and terminals from which the data isoutput.ADC = H → Y0: S1 - Y63: S64ADC = L → Y0: S64 - Y63: S1

100(98) FRM Input

Synchronous control signal.Presets the 6-bit Z counter and synchronizes the commonsignal with the frame signal when the frame signal becomeshigh.

99(97) E Input

Enable signal.Write mode (R/W = L) → data of DB<0:7> is latched at the falling edge of E.Read mode (R/W = H) → DB<0:7> appears the reading data while E is at high level.

98(96)97(95)

CLK1CLK2

Input2 phase clock signal for internal operation.Used to execute operations for input/output of display RAMdata and others.

96(94) CL InputDisplay synchronous signal.Display data is latched at rising time of the CL signal andincrements the Z-address counter at the CL falling time.

95(93) RS InputData or Instruction.RS = H → DB<0:7>: Display RAM dataRS = L → DB<0:7>: Instruction data

Page 33: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

7

Table 1. Pin Description (Continued)

Pin NumberQFP(TQFP)

SymbolInput /Output

Description

94(92) R/W Input

Read or Write.R/W = H → Data appears at DB<0:7> and can be read by the CPU while E = H, CS1B = L, CS2B = L and CS3 = H .

R/W = L → Display data DB<0:7> can be written at falling of E when CS1B = L, CS2B = L and CS3 = H.

79-86(77-84)

DB0-DB7 Input/OutputData bus.Three state I/O common terminal.

72-9(70-7)

S1-S64 Output

LCD segment driver output.Display RAM data 1: OnDisplay RAM data 0: Off (relation of display RAM data & M)

M

L

Data

L

H

Output Level

L

H

H

V2

V0

V3

V5

93(91) RSTB Input

Reset signal.When RSTB=L,

- ON / OFF register becomes set by 0. (display off)– Display start line register becomes set by 0 (Z-address 0set, display from line 0)After releasing reset, this condition can be changed only byinstruction.

87(85), 88(88)89(90) NC No connection. (open)

Page 34: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

8

MAXIMUM ABSOLUTE LIMIT

Characteristic Symbol Value Unit Note

Operating voltage VDD -0.3 to +7.0 V (1)

Supply voltage VEE VDD-19.0 to VDD+0.3 V (4)

VB -0.3 to VDD+0.3 V (1), (3)Driver supply voltage

VLCD VEE-0.3 to VDD+0.3 V (2)

Operating temperature TOPR -30 to +85 °°C

Storage temperature TSTG -55 to +125 °°C

NOTES:1. Based on VSS = 0V.

2. Applies the same supply voltage to VEE1 and VEE2. VLCD=VDD-VEE.

3. Applies to M, FRM, CL, RSTB, ADC, CLK1, CLK2, CS1B, CS2B, CS3, E, R/W, RS and DB0 - DB7.4. Applies to V0L(R), V2L(R), V3L(R) and V5L(R).

Voltage level: VDD ≥ V0L = V0R ≥ V2L = V2R ≥ V3L = V3R ≥ V5L = V5R ≥ VEE.

Page 35: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

9

ELECTRICAL CHARACTERISTICS

DC CHARACTERISTICS (VDD = +5V ±± 10%, VSS = 0V, VDD-VEE = 8 to 17V, Ta =-30 to +85°°C)

Characteristic Symbol Condition Min Typ Max Unit Note

VIH1 - 0.7VDD - VDD V (1)Input high voltage

VIH2 - 2.0 - VDD V (2)

VIL1 - 0 - 0.3VDD V (1)Input low voltage

VIL2 - 0 - 0.8 V (2)

Output high voltage VOH IOH = -200µA 2.4 - - V (3)

Output low voltage VOL IOL = 1.6mA - - 0.4 V (3)

Input leakage current ILKG VIN = VSS - VDD -1.0 - 1.0 µA (4)

Three-state(off) inputcurrent

ITSL VIN = VSS - VDD -5.0 - 5.0 µA (5)

Driver input leakagecurrent

IDIL VIN = VEE - VDD -2.0 - 2.0 µA (6)

IDD1 During display - - 100 µA (7)

Operating currentIDD2

During accessAccess cycle = 1MHz

- - 500 µA (7)

On resistance RONVDD-VEE = 15V

ILOAD = ± 0.1mA- - 7.5 KΩ (8)

NOTES:1. CL, FRM, M RSTB, CLK1, CLK22. CS1B, CS2B, CS3, E, R/W, RS, DB0 - DB73. DB0 - DB74. Except DB0 - DB75. DB0 - DB7 at high impedance6. V0L(R), V2L(R), V3L(R), V5L(R)7. 1/64 duty, FCLK = 250kHz, frame frequency = 70HZ, output: no load8. VDD - VEE = 15.5V

V0L(R) > V2L(R) = VDD - 2/7 (VDD-VEE) > V3L(R) = VEE + 2/7 (VDD-VEE) > V5L(R)

Page 36: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

10

AC CHARACTERISTICS (VDD = +5V ±± 10%, VSS = 0V, Ta =-30 to +85°°C)

Clock Timing

Characteristic Symbol Min Typ Max Unit

CLK1, CLK2 cycle time tCY 2.5 - 20 µs

CLK1 "low" level width tWL1 625 - -

CLK2 "low" level width tWL2 625 - -

CLK1 "high" level width tWH1 1875 - -

CLK2 "high" level width tWH2 1875 - -

CLK1-CLK2 phase difference tD12 625 - -

CLK2-CLK1 phase difference tD21 625 - -

CLK1, CLK2 rise time tR - - 150

CLK1, CLK2 fall time tF - - 150

ns

CLK1

CLK2

tCYtWH1

tF tR

tWL1

tD12 tD21

tWL2tF tR

tWH2

tCY

0.7VDD0.3VDD

0.7VDD0.3VDD

Figure 1. External Clock Waveform

Page 37: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

11

Display Control Timing

Characteristic Symbol Min Typ Max Unit

FRM delay time tDF -2 - +2 us

M delay time tDM -2 - +2 us

CL "low" level width tWL 35 - - us

CL "high" level width tWH 35 - - us

0.7VDD0.3VDD

tWL

0.7VDD0.3VDD

tDF tDF

tWH

tDM

0.7VDD0.3VDD

Figure 2. Display Control Waveform

Page 38: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

12

MPU Interface

Characteristic Symbol Min Typ Max Unit

E cycle tC 1000 - - ns

E high level width tWH 450 - - ns

E low level width tWL 450 - - ns

E rise time tR - - 25 ns

E fall time tF - - 25 ns

Address set-up time tASU 140 - - ns

Address hold time tAH 10 - - ns

Data set-up time tDSU 200 - - ns

Data delay time tD - - 320 ns

Data hold time (write) tDHW 10 - - ns

Data hold time (read) tDHR 20 - - ns

E

R/W

CS1B, CS2B,CS3, RS

DB0 - 7

tC

tWL

tWH

tR tF

tAHtASU

tASU tAH

0.8V 2.0V

tDSU tDHW

2.0V0.8V

Figure 3. MPU Write Timing

Page 39: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

13

E

R/W

CS1B, CS2B,CS3, RS

DB0 - 7

tC

tWLtWH

tR tF

tAHtASU

tASU tAH

tD tDHR

Figure 4. MPU Read Timing

Page 40: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

14

OPERATING PRINCIPLES AND METHODS

I/O BUFFER

Input buffer controls the status between the enable and disable of chip. Unless the CS1B to CS3 is in activemode, Input or output of data and instruction does not execute. Therefore internal state is not change. But RSTBand ADC can operate regardless CS1B-CS3.

INPUT REGISTER

Input register is provided to interface with MPU which is different operating frequency. Input register stores thedata temporarily before writing it into display RAM. When CS1B to CS3 are in the active mode, R/W and RSselect the input register. The data from MPU is written into input register. Then Writing it into display RAM. Datalatched for falling of the E signal and write automatically into the display data RAM by internal operation.

OUTPUT REGISTER

Output register stores the data temporarily from display data RAM when CS1B, CS2B and CS3 are in activemode and R/W and RS = H, stored data in display data RAM is latched in output register. When CS1B to CS3 isin active mode and R/W = H, RS = L, status data (busy check) can read out. To read the contents of display dataRAM, twice access of read instruction is needed. In first access, data in display data RAM is latched into outputregister. In second access, MPU can read data which is latched. That is, to read the data in display data RAM, itneeds dummy read. But status read is not needed dummy read.

RS R/W Function

L InstructionL

H Status read (busy check)

L Data write (from input register to display data RAM)H

H Data read (from display data RAM to output register)

Page 41: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

15

RESET

The system can be initialized by setting RSTB terminal at low level when turning power on, receiving instructionfrom MPU.

When RSTB becomes low, following procedure is occurred.

• Display off

• Display start line register become set by 0. (Z-address 0)

While RSTB is low, No instruction except status read can be accepted. Therefore, execute other instructions aftermaking sure that DB4 = 0 (clear RSTB) and DB7 = 0 (ready) by status read instruction. The Conditions of powersupply at initial power up are shown in table 1.

Table 2. Power Supply Initial Conditions

Item Symbol Min Typ Max Unit

Reset time tRS 1.0 - - us

Rise time tR - - 200 ns

tR

tRS

4.5VVDD

RSTB 0.7VDD0.3VDD

Page 42: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

16

Busy Flag

Busy Flag indicates that S6B0108 is operating or no operating. When busy flag is high, S6B0108 is in internaloperating. When busy flag is low, S6B0108 can accept the data or instruction. DB7 indicates busy flag of theS6B0108.

N + 2N + 1N

RS

R/W

E

Address

Data at address N Data at address N+1Output register

DB0-DB7 Busycheck

Writeaddress N

Busycheck

Read data(dummy)

Busycheck

Read dataat address

N

Busycheck

Data readaddress N + 1

Busy Check

E

Busy FlagT Busy

1/fCLK < T Busy < 3/fCLK

fCLK is CLK1, CLK2 frequency

Busy Flag

Page 43: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

17

Display ON / OFF Flip - Flop

The display on/off flip-flop makes on/off the liquid crystal display. When flip-flop is reset (logical low), selectivevoltage or non selective voltage appears on segment output terminals. When flip-flop is set (logic high), nonselective voltage appears on segment output terminals regardless of display RAM data. The display on/off flip-flop can changes status by instruction. The display data at all segment disappear while RSTB is low. The statusof the flip-flop is output to DB5 by status read instruction. The display on/off flip-flop synchronized by CL signal.

X Page Register

X page register designates pages of the internal display data RAM. Count function is not available. An address isset by instruction.

Y Address Counter

Y address counter designates address of the internal display data RAM. An address is set by instruction and isincreased by 1 automatically by read or write operations of display data.

Display Data RAM

Display data RAM stores a display data for liquid crystal display. To indicate on state dot matrix of liquid crystaldisplay, write data 1. The other way, off state, writes 0.

Display data RAM address and segment output can be controlled by ADC signal.

• ADC = H → Y-address 0:S1 - Y address 63:S64

• ADC = L → Y-address 0:S64 - Y address 63:S1

ADC terminal connect the VDD or VSS.

Display Start Line Register

The display start line register indicates of display data RAM to display top line of liquid crystal display. Bit data(DB<0:5>) of the display start line set instruction is latched in display start line register. Latched data istransferred to the Z address counter while FRM is high, presetting the Z address counter. It is used for scrolling ofthe liquid crystal display screen.

Page 44: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

18

DISPLAY CONTROL INSTRUCTION

The display control instructions control the internal state of the S6B0108. Instruction is received from MPU toS6B0108 for the display control. The following table shows various instructions.

Instruction RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function

Displayon/off

L L L L H H H H H L/H

Controls the display on or off.Internal status and displayRAM data is not affected.L: OFF, H: ON

Setaddress

(Y address)L L L H Y address (0 - 63)

Sets the Y address in the Yaddress counter.

Set page(X address)

L L H L H H H Page (0 - 7)Sets the X address at the Xaddress register.

Displaystart line(Z address)

L L H H Display start line (0 - 63)Indicates the display dataRAM displayed at the top ofthe screen.

Status read L H Busy LOn/

OffReset L L L L

Read status.BUSY L: Ready H: In operationON/OFF L: Display ON H: Display OFFRESET L: Normal H: Reset

Writedisplaydata

H L Write data

Writes data (DB0:7) intodisplay data RAM. Afterwriting instruction, Y addressis increased by 1automatically.

Readdisplaydata

H H Read dataReads data (DB0: 7) fromdisplay data RAM to the databus.

Page 45: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

19

DISPLAY ON / OFF

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

0 0 0 0 1 1 1 1 1 D

The display data appears when D is 1 and disappears when D is 0. Though the data is not on the screen with D =0, it remains in the display data RAM. Therefore, you can make it appear by changing D = 0 into D = 1.

SET ADDRESS (Y ADDRESS)

S R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

0 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0

Y address (AC0 - AC5) of the display data RAM is set in the Y address counter. An address is set by instructionand increased by 1 automatically by read or write operations of display data.

SET PAGE (X ADDRESS)

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

0 0 1 0 1 1 1 AC2 AC1 AC0

X address(AC0 - AC2) of the display data RAM is set in the X address register. Writing or reading to or from MPUis executed in this specified page until the next page is set.

DISPLAY START LINE (Z ADDRESS)

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

0 0 1 1 AC5 AC4 AC3 AC2 AC1 AC0

Z address (AC0 - AC5) of the display data RAM is set in the display start line register and displayed at the top ofthe screen. When the display duty cycle is 1/64 or others(1/32 - 1/64), the data of total line number of LCDscreen, from the line specified by display start line instruction, is displayed.

Page 46: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

20

STATUS READ

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

0 1 BUSY 0 ON/OFF RESET 0 0 0 0

• BUSYWhen BUSY is 1, the Chip is executing internal operation and no instructions are accepted.When BUSY is 0, the Chip is ready to accept any instructions.

• ON/OFFWhen ON/OFF is 1, the display is OFF.When ON/OFF is 0, the display is ON.

• RESETWhen RESET is 1, the system is being initialized.In this condition, no instructions except status read can be accepted.When RESET is 0, initializing has finished and the system is in the usual operation condition.

WRITE DISPLAY DATA

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

1 0 D7 D6 D5 D4 D3 D2 D1 D0

Writes data (D0 - D7) into the display data RAM. After writing instruction, Y address is increased by 1automatically.

READ DISPLAY DATA

RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

1 1 D7 D6 D5 D4 D3 D2 D1 D0

Reads data (D0 - D7) from the display data RAM. After reading instruction, Y address is increased by 1automatically.

Page 47: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

21

APPLICATION CIRCUIT

1/64 DUTY COMMON DRIVER (S6B0107) INTERFACE CIRCUIT

DIO1DIO2

MFRM

CLK1CLK2

CL2

C1

C64

R

CR C

RS

TB

DB

7

-

DB

0ER

SR

/WC

S3

CS

2BC

S1B

VDD

ADCOpenOpen

S1 S64

SEG1 SEG64

LCDCOM1

COM64

From MPU

V0R, V0LV5R, V5LV2R, V2LV3R, V3L

VEE1, VEE2VSS

VDD

V0V5V2V3

VSS

MFRMCLK1CLK2CL2

S6B0108

S6B0107

V0R

, V0L

V5R, V5LV1R, V1LV4R, V4LVEE

V0V

5V1V4

VEE

VSS

DS1SD2PCLK2MSFSSHLVDDVDD

VDD

R1

R1

R2

R1

R1

VEE

V5

V4

V3

V2

V1

V0

-

VEE

R1 R2

Page 48: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0108 64CH SEGMENT DRIVER FOR DOT MATRIX LCD

22

TIMING DIAGRAM (1/64 DUTY)

CLK1

1 2 3 48 49

64 1 2 3 64 1 2 3 64 1

1 Frame 1 Frame

V4V5

V1

V4V1

V5

V1

V0

V4

V4

V0

V4

V5

V1

V4

V0V1

V5V4

V0V1

V2

V2

V5V3

V5V3

V3

V0V2

V0

V2V3

CLK2

CL

FRM

M

C1

C2

C64

S1

S64

Input

Common

Segment

Page 49: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH SEGMENT DRIVER FOR DOT MATRIX LCD S6B0108

23

LCD PANEL INTERFACE APPLICATION CIRCUIT

LCD Panel(128 × 512dots)

S6B0108No. 1

S1 ..... S64

S6B0108No. 2

S1 ..... S64

S6B0108No. 8

S1 ..... S64.....

C1C2C3

C64

CR

R

COM1

COM2

COM3

COM64

S6B0107(master)

C1C2C3

C64

S6B0107(slave)

COM65

COM66

COM67

COM128

..... ..... .....

S1 ..... S64No. 9

S6B0108

S1 ..... S64No. 10

S6B0108

S1 ..... S64No. 16

S6B0108.....

..... ..... .....

Cf

Rf

Page 50: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

2

BLOCK DIAGRAM

64 bit 4- Level Driver

64 bit Bi-Directional Shift

Register

Data Shift Direction & PhaseSelection Control Circuit

OSC

C1

C2

C3

C62

C63

C64

V0LV1LV4LV5L

DIO1PCLK2

SHL

CR

M

CL2

DIO2

V5R

Timing Generator

CircuitCR

FRMCLK1CLK2

VD

D

VS

S

VEE

DS

1

DS

2

MS

FS

V4RV1RV0R

Page 51: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

3

PIN CONFIGURATION

100 QFP

S6B

0107

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

80

79

78

77

76

75

74

73

72

71

70

69

68

67

66

65

64

63

62

61

60

59

58

57

56

55

54

53

52

51

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

100

99

98

97

96

95

94

93

92

91

90

89

88

87

86

85

84

83

82

81

C22

C21

C20

C19

C18

C17

C16

C15

C14

C13

C12

C11

C10

C9

C8

C7

C6

C5

C4

C3

C2

C1

VEE

V1L

V4L

V5L

V0L

VDD

DIO1

FS

C23

C24

C25

C26

C27

C28

C29

C30

C31

C32

C33

C34

C35

C36

C37

C38

C39

C40

C41

C42

DS

1D

S2 C

NC R

NC

CR

NC

SH

LV

SS

NC

MS

CLK

2C

LK1

NC

FRM M

NC

PC

LK2

DIO

2

C43

C44

C45

C46

C47

C48

C49

C50

C51

C52

C53

C54

C55

C56

C57

C58

C59

C60

C61

C62

C63

C64

VEE

V1R

V4R

V5R

V0R

NC

CL2

NC

Page 52: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

4

PAD DIAGRAM (CHIP LAYOUT FOR THE 100QFP)

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

1 100

99

98

97

96

95

94

93

92

91

90

89

88

87

86

85

84

83

82

81

80

C22

C23

C24

C25

C26

C27

C28

C29

C30

C31

C32

C33

C34

C35

C36

C37

C38

C39

C40

C41

C42

C43

VD

D

DIO

1 FS

DS

1

DS

2 C

NC R

NC

CR

NC

SH

L

VS

S

NC

MS

CLK

2

CLK

1

NC

FRM M

NC

PC

LK2

DIO

2

NC

CL2 NC

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

C21

C20

C19

C18

C17

C16

C15

C14

C13

C12

C11

C10

C9

C8

C7

C6

C5

C4

C3

C2

C1

VEE

V1L

V4L

V5L

V0L

Chip size: 3450 × 4000

PAD size: 100 × 100

Unit : µm

(0, 0) X

Y

79

78

77

76

75

74

73

72

71

70

69

68

67

66

65

64

63

62

61

60

59

58

57

56

55

54

C44

C45

C46

C47

C48

C49

C50

C51

C52

C53

C54

C55

C56

C57

C58

C59

C60

C61

C62

C63

C64

VEE

V1R

V4R

V5R

V0R

There is the mark S6B0107 on the center of the chip.

Page 53: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

5

PAD CENTER COORDINATES (100QFP)

Pad Number

Pad Name

Coordinate Pad Number

Pad Name

Coordinate Pad Number

Pad Name

Coordinate

X Y X Y X Y

1 C22 -1314.5 1775.4 32 DS2 -677.6 -1775 71 C52 1500.9 630

2 C21 -1499.9 1630 34 C -527.6 -1775 72 C51 1500.9 755

3 C20 -1499.9 1505 35 R -377.6 -1775 73 C50 1500.9 880

4 C19 -1499.9 1380 37 CR -227.6 -1775 74 C49 1500.9 1005

5 C18 -1499.9 1255 39 SHL -77.6 -1775 75 C48 1500.9 1130

6 C17 -1499.9 1130 40 VSS 113.8 -1775 76 C47 1500.9 1255

7 C16 -1499.9 1005 42 MS 308.7 -1775 77 C46 1500.9 1380

8 C15 -1499.9 880 43 CLK2 458.7 -1775 78 C45 1500.9 1505

9 C14 -1499.9 755 44 CLK1 608.7 -1775 79 C44 1500.9 1630

10 C13 -1499.9 630 46 FRM 758.7 -1775 80 C43 1310.5 1775.4

11 C12 -1499.9 505 47 M 908.7 -1775 81 C42 1185.5 1775.4

12 C11 -1499.9 380 49 PCLK2 1058.7 -1775 82 C41 1060.5 1775.4

13 C10 -1499.9 255 50 DI02 1208.7 -1775 83 C40 935.5 1775.4

14 C9 -1499.9 130 52 CL2 1358.7 -1775 84 C39 810.5 1775.4

15 C8 -1499.9 5 54 V0R 1500.9 -1495 85 C38 685.5 1775.4

16 C7 -1499.9 -120 55 V5R 1500.9 -1370 86 C37 560.5 1775.4

17 C6 -1499.9 -245 56 V4R 1500.9 -1245 87 C36 435.5 1775.4

18 C5 -1499.9 -370 57 V1R 1500.9 -1120 88 C35 310.5 1775.4

19 C4 -1499.9 -495 58 VEE 1500.9 -995 89 C34 185.5 1775.4

20 C3 -1499.9 -620 59 C64 1500.9 -870 90 C33 60.5 1775.4

21 C2 -1499.9 -745 60 C63 1500.9 -745 91 C32 -64.5 1775.4

22 C1 -1499.9 -870 61 C62 1500.9 -620 92 C31 -189.5 1775.4

23 VEE -1499.9 -995 62 C61 1500.9 -495 93 C30 -314.5 1775.4

24 V1L -1499.9 -1120 63 C60 1500.9 -370 94 C29 -439.5 1775.4

25 V4L -1499.9 -1245 64 C59 1500.9 -245 95 C28 -564.5 1775.4

26 V5L -1499.9 -1370 65 C58 1500.9 -120 96 C27 -689.5 1775.4

27 V0L -1499.9 -1495 66 C57 1500.9 5 97 C26 -814.5 1775.4

28 VDD -1345.6 -1775 67 C56 1500.9 130 98 C25 -939.5 1775.4

29 DI01 -1127.6 -1775 68 C55 1500.9 255 99 C24 -1064.5 1775.4

30 FS -977.6 -1775 69 C54 1500.9 380 100 C23 -1189.5 1775.4

31 DS1 -827.6 -1775 70 C53 1500.9 505

Page 54: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

6

100 TQFP (S6B2107)

C19

C18

C17

C16

C15

C14

C13

C12

C11

C10

C9

C8

C7

C6

C5

C4

C3

C2

C1

VEE

V1L

V4L

V5L

V0L

VD

D

S6B2107

(100 TQFP)

1 2 3 4 5 6 7 8 9 10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

75

74

73

72

71

70

69

68

67

66

65

64

63

62

61

60

59

58

57

56

55

54

53

52

51

504948

47464544434241403938373635343332313029

282726

767778

79808182838485868788899091929394959697

9899

100

C44C43C42C41

C40C39C38C37C36C35C34C33C32C31C30C29C28C27C26C25C24C23

C22C21C20

NCCL2NCDIO2

PCLK2NCMFRMNCCLK1CLK2MSNCVSSSHLNCCRNCRNCCDS2DS1

FSDIO1

C45

C46

C47

C48

C49

C50

C51

C52

C53

C54

C55

C56

C57

C58

C59

C60

C61

C62

C63

C64

VEE

V1R

V4R

V5R

V0R

Page 55: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

7

PAD DIAGRAM (CHIP LAYOUT FOR THE 100-TQFP)

75

747372

7170

696867

6665

646362

6160

595857

565554

5352

51

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

100

99

98

97

96

95

94

93

92

91

90

89

88

87

86

85

84

83

82

81

80

79

78

77

76

C20

C21

C22

C23

C24

C25

C26

C27

C28

C29

C30

C31

C32

C33

C34

C35

C36

C37

C38

C39

C40

C41

C42

C43

C44

DIO

1 FSD

S1

DS

2 CN

C RN

CC

RN

CS

HL

VS

S

NC

MS

CLK

2C

LK1

NC

FRM M

NC

PC

LK2

DIO

2N

CC

L2 NC

C45

C46C47C48

C49C50

C51C52C53

C54C55

C56C57C58

C59C60

C61C62C63

C64VEE

V1R

V4RV5R

V0R

1

234

56

789

1011

121314

1516

171819

202122

2324

25

C19

C18C17C16

C15C14

C13C12C11

C10C9

C8C7C6

C5C4

C3C2C1

VEE

V1LV4L

V5LV0L

VDD

Chip size: 3850 X 100PAD size: 100 X 100

Unit : µ m

(0, 0) X

Y

There is the mark S6B2107 on the center of the chip.

Page 56: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

8

PAD CENTER COORDINATES (100-TQFP)

Pad Number

Pad Name

Coordinate Pad Number

Pad Name

Coordinate Pad Number

Pad Name

Coordinate

X Y X Y X Y 1 C19 -1697 1534 35 NC 69 C51 1697 784 2 C18 -1697 1409 36 SHL -195 -1821 70 C50 1697 909 3 C17 -1697 1284 37 VSS 0 -1821 71 C49 1697 1034 4 C16 -1697 1159 38 NC 72 C48 1697 1159 5 C15 -1697 1034 39 MS 195 -1821 73 C47 1697 1284 6 C14 -1697 909 40 CLK2 345 -1821 74 C46 1697 1409 7 C13 -1697 784 41 CLK1 495 -1821 75 C45 1697 1534 8 C12 -1697 659 42 NC 76 C44 1500 1822 9 C11 -1697 534 43 FRM 645 -1821 77 C43 1375 1822

10 C10 -1697 409 44 M 795 -1821 78 C42 1250 1822 11 C9 -1697 284 45 NC 79 C41 1125 1822 12 C8 -1697 159 46 PCLK2 945 -1821 80 C40 1000 1822 13 C7 -1697 34 47 DIO2 1095 -1821 81 C39 875 1822 14 C6 -1697 -91 48 NC 82 C38 750 1822 15 C5 -1697 -216 49 CL2 1245 -1821 83 C37 625 1822 16 C4 -1697 -341 50 NC 84 C36 500 1822 17 C3 -1697 -466 51 V0R 1697 -1466 85 C35 375 1822 18 C2 -1697 -591 52 V5R 1697 -1341 86 C34 250 1822 19 C1 -1697 -716 53 V4R 1697 -1216 87 C33 125 1822 20 VEE -1697 -841 54 V1R 1697 -1091 88 C32 0 1822 21 V1L -1697 -966 55 VEE 1697 -966 89 C31 -125 1822 22 V4L -1697 -1091 56 C64 1697 -841 90 C30 -250 1822 23 V5L -1697 -1216 57 C63 1697 -716 91 C29 -375 1822 24 V0L -1697 -1341 58 C62 1697 -591 92 C28 -500 1822 25 VDD -1697 -1466 59 C61 1697 466 93 C27 -625 1822 26 DIO1 -1245 -1821 60 C60 1697 -341 94 C26 -750 1822 27 FS -1095 -1821 61 C59 1697 -216 95 C25 -875 1822 28 DS1 -945 -1821 62 C58 1697 -91 96 C24 -1000 1822 29 DS2 -795 -1821 63 C57 1697 34 97 C23 -1125 1822 30 C -645 -1821 64 C56 1697 159 98 C22 -1250 1822 31 NC 65 C55 1697 284 99 C21 -1375 1822 32 R -495 -1821 66 C54 1697 409 100 C20 -1500 1822 33 NC 67 C53 1697 534 34 CR -345 -1821 68 C52 1697 659

Page 57: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

9

PIN DESCRIPTION

Table 1. Pin Description

Pin Number QFP (TQFP)

Symbol I/O Description

28(25) 40(37) 23(20), 58(55)

VDD VSS VEE

Power For internal logic circuit (+5V ± 10%) GND ( = 0 V) For LCD driver circuit

27(24), 54(51) 24(21), 57(54) 25(22), 56(53) 26(23), 55(52)

V0L, V0R V1L, V1R V4L, V4R V5L, V5R

Power Bias supply voltage terminals to drive LCD.

Slelect Level

V0L (R), V5L (R)

Non-Select Level

V1L (R), V4L (R)

V0L and V0R (V1L & V1R, V4L & V4R, V5L & V5R) should be connected by the same voltage.

42(39) MS Input Selection of master/slave mode - Master mode (MS = 1) DIO1, DIO2, CL2 and M is output state.

- Slave mode (MS = 0) SHL = 1 → DIO1 is input state (DIO2 is output state) SHL = 0 → DIO2 is input state (DIO1 is output state) CL2 and M are input state.

39(36) SHL Input Selection of data shift direction.

SHL

H

L

Data Shift Direction

DIO1 → C1 ...... C64 → DIO2

DIO2 → C64 ...... C1 → DIO1

49(46) PCLK2 Input Selection of shift clock (CL2) phase.

PCLK2

H

L

Shift Clock (CL2) Phase

Data shift at the rising edge of CL2

Data shift at the falling edge of CL2

30(27) FS Input Selection of oscillation frequency. - Master mode When the frame frequency is 70 Hz, the oscillation frequency should be fosc = 430kHz at FS = 1(VDD) fosc = 215kHz at FS = 0(VSS)

- Slave mode Connect to VDD.

Page 58: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

10

Table 1. Pin Description (Continued)

Pin Number QFP (TQFP)

Symbol I/O Description

31(28) 32(29)

DS1 DS2

Input Selection of display duty.

- Master mode

DS1

L

DS2

L

L

H

H

L

Duty

1/48

1/64

1/96

H H 1/128

- Slave mode Connect to VDD

33(30) 35(32) 37(34)

C R

CR

RC Oscillator - Master mode: Use these terminals as shown below.

S6B0107

R C

Rf

CR

Cf

S6B0107

R CCR

Open OpenExternal

- Slave mode: Stop the oscillator as shown below.

R CCR

Open OpenV

DD

44(41) 43(40)

CLK1 CLK2

Output Operating clock output for the S6B0108 - Master mode: connection to CLK1 and CLK2 of the S6B0108 - Slave mode: open

46(43) FRM Output Synchronous frame signal. - Master mode: connection to FRM of the S6B0108 - Slave mode: open

47(44) M Input/ Output

Alternating signal input for LCD driving. - Master mode: output state Connection to M of the S6B0108 - Slave mode: input state Connection to the controller

52(49) CL2 Input / Output

Data shift clock - Master mode: output state Connection to CL of the S6B0108 - Slave mode: input state Connection to shift clock terminal of the controller.

Page 59: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

11

29(26) 50(47)

DIO1 DIO2

Input/ Output

Data input/output pin of internal shift register.

MS

H

DS2

H

L

L

L

DIO1

Output

Output

InputH

Output

DIO2

Output

Output

Output

Input

Page 60: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

12

Table 1. Pin Description (Continued)

Pin Number QFP (TQFP)

Symbol I/O Description

22-1(19-1) 100-59(100-56)

C1-C64 Output Common signal output for LCD driving.

Data

L

L

H

H

M Out

L

H

L

H

V1

V4

V5

V0

34(31), 36(33) 38(35), 41(38) 45(42), 48(45) 51(48), 53(50)

NC No connection

MAXIMUM ABSOLUTE LIMIT

Characteristic Symbol Value Unit Note

Operating voltage VDD -0.3 to +7.0 V (1)

Supply voltage VEE VDD-19.0 to VDD+0.3 V (4)

Driver supply voltage VB -0.3 to VDD+0.3 V (1), (2)

VLCD VEE-0.3 to VDD+0.3 V (3), (4)

Operating temperature TOPR -30 to +85 °C -

Storage temperature TSTG -55 to +125 °C -

NOTES: 1. Based on VSS = 0V

2. Applies to input terminals and I/O terminals at high impedance. (Except V0L(R), V1L(R), V4L(R) and V5L(R)) 3. Applies to V0L(R), V1L(R), V4L(R) and V5L(R). 4. Voltage level: VDD ≥ V0L = V0R ≥ V1L = V1R ≥ V4L = V4R ≥ V5L = V5R ≥ VEE.

Page 61: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

13

ELECTRICAL CHARACTERISTICS

DC CHARACTERISTICS (VDD = +5V ± 10%, VSS = 0V, |VDD-VEE |=8 - 17V, TA = -30 - +85°C)

Characteristic Symbol Condition Min Typ Max Unit Note

High VIH - 0.7VDD - VDD V (1) Input Voltage

Low VIL VSS - 0.3VDD

High VOH IOH = -0.4mA VDD-0.4 - - V (2) Output voltage Low VOL IOL = 0.4mA - - 0.4

Input leakage current ILKG VIN = VDD-VSS -1.0 - 1.0 µA (1)

OSC frequency fOSC Rf = 47kΩ ± 2%

Cf = 20pf ± 5% 315 450 585 kHz

On resistance (VDIV-Ci)

RON VDD-VEE = 17V Load current = ± 150µA

- - 1.5 KΩ

Operating current IDD1 Master mode 1/128 Duty

- - 1.0 mA (3)

IDD2 Slave mode 1/128 Duty

- - 200 µA (4)

Supply current IEE Master mode 1/128 Duty

- - 100 (5)

Operating fop1 Master mode External clock

50 - 600 kHz

Frequency fop2 Slave mode 0.5 - 1500

NOTES: 1. Applies to input terminals FS, DS1, DS2, CR, SHL, MS and PCLK2 and I/O terminals DIO1, DIO2, M and CL2 in the input state. 2. Applies to output terminals CLK1, CLK2 and FRM and I/O terminals DIO1, DIO2, M and CL2 in the output state. 3. This value is specified at about the current flowing through VSS. Internal oscillation circuit: Rf = 47kΩ, Cf =

20pF. Each terminal of DS1, DS2, FS, SHL and MS is connected to VDD and out is no load.

4. This value is specified at about the current flowing through VSS. Each terminal of DS1, DS2, FS, SHL, PCLK2

and CR is connected to VDD, and MS is connected to VSS. CL2, M, DIO1 is external clock.

5. This value is specified at about the current flowing through VEE. Don’t connect to VLCD (V1-V5).

Page 62: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

14

AC CHARACTERISTICS (VDD = 5V ± 10%, TA = -30°C - +85°C)

Master Mode (MS = VDD, PCLK2 = VDD, Cf = 20pF, Rf = 47kΩ)

CL2

DIO1 (SHL = VDD

)DIO2 (SHL = V

SS)

CLK1

tsu

tsu

tD

DIO2 (SHL = VDD

)DIO1 (SHL = V

SS)

FRM

M

CLK2

0.7VDD

0.3VDD

0.7VDD

0.3VDD

tWLC

tWHC

tDF

tDM

tDM

tF t

R tWH1

tD12

tWL1

tD21

tF

tR

tWH2

tD

tDH

tWHC

Page 63: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

15

Master Mode

Characteristic Symbol Min Typ Max Unit

Data setup time tSU 20 - - µs

Data hold time tDH 40 - -

Data delay time tD 5 - -

FRM delay time tDF -2 - 2

M delay time tDM -2 - 2

CL2 low level width tWLC 35 - -

CL2 high level width tWHC 35 - -

CLK1 low level width tWL1 700 - - ns

CLK2 low level width tWL2 700 - -

CLK1 high level width tWH1 2100 - -

CLK2 high level width tWH2 2100 - -

CLK1-CLK2 phase difference tD12 700 - -

CLK2-CLK1 phase difference tD21 700 - -

CLK1, CLK2 rise/fall time tR/tF - - 150

Page 64: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

16

Slave Mode (MS = VSS)

tWLC

tWHC1

CL2 (PLK2 = VSS

)

CL2 (PLK2 = VDD

)

DIO1 (SHL = VDD

)

DIO2 (SHL = VSS

)

Input Data

DIO1 (SHL = VDD

)

DIO2 (SHL = VSS

)

Onput Data

tF

tR

tWLC1

0.7VDD

0.3VDD

0.7VDD

0.3VDD

0.7VDD

0.3VDD

tWHC2

tSU

tR

tF

tD

tHCL

tH

Characteristics Symbol Min Typ Max Unit Note

CL2 low level width tWLC1 450 - - ns PCLK2 = VSS

CL2 high level width tWHC1 150 - - ns PCLK2 = VSS

CL2 low level width tWLC2 150 - - ns PCLK2 = VDD

CL2 high level width tWHL 450 - - ns PCLK2 = VDD

Data setup time tSU 100 - - ns

Data hold time tDH 100 - - ns

Data delay time tD - - 200 ns (NOTE)

Output data hold time tH 10 - - ns

CL2 rise/fall time tR/tF - - 30 ns

NOTE: Connect load CL = 30pF

Output

30pF

Page 65: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

17

FUNCTIONAL DESCRIPTION

RC Oscillator

The RC Oscillator generates CL2, M, FRM of the S6B0107, and CLK1 and CLK2 of the S6B0108 by the oscillation resister R and capacitor C. When selecting the master/slave mode, the oscillation circuit is as following:

Master Mode: In the master mode, use these terminals as shown below.

S6B0107

R C

Rf

CR

Cf

47KΩ 20pF

Internal Oscillation

S6B0107

R CCR

Open Open

External Clock

ExternalClock

Slave Mode: In the slave mode, stop the oscillator as shown below.

S6B0107

R CCR

Open OpenV

DD

Timing Generation Circuit

It generates CL2, M, FRM, CLK1 and CLK2 by the frequency from the oscillation circuit.

Selection of Master/Slave (M/S) Mode - When M/S is H, it generates CL2, M, FRM, CLK1 and CLK2 internally. - When M/S is “L”, it operates by receiving M and CL2 from the master device.

Frequency Selection (FS) To adjust FRM frequency by 70Hz, the oscillation frequency should be as follows:

FS Oscillation Frequency

H fOSC = 430kHz

L fOSC = 215kHz

In the slave mode, it is connected to VDD.

Page 66: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

18

Duty Selection (DS1, DS2)

It provides various duty selections according to DS1 and DS2.

DS1 DS2 DUTY

L L 1/48

H 1/64

H L 1/96

H 1/128

Data Shift & Phase Select Control

Phase Selection

It is a circuit to shift data on synchronization or rising edge, or falling edge of the CL2 according to PCLK2.

PCLK2 Phase Selection

H Data shift on rising edge of CL2

L Data shift on falling edge of CL2

Data Shift Direction Selection

When M/S is connected to VDD, DIO1 and DIO2 terminal is only output. When M/S is connected to VSS, it depends on the SHL.

MS SHL DIO1 DIO2 Direction of Data

H H Output Output C1 → C64

L Output Output C64 → C1

L H Input Output DIO1 → C1 → C64 → DIO2

L Output Input DIO2 → C64 → C1 → DIO1

Page 67: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

19

TIMING DIAGRAM

1/48 DUTY TIMING (MASTER MODE)

Condition: DS1 = L, DS2 = L, SHL = H(L), PCLK2 = H

Relation of CL2 & DIO1 ( DIO2 )

C

CLK1

CLK2

CL2

FRM

DIO1 ( DIO2 )

M

C1 ( C48 )

C2 ( C47 )

C47 ( C2 )

C48 ( C1 )

DIO2 ( DIO1 )

CLK2

CL2

DIO1 ( DIO2 )

1 2 3 63 64

1 2 3 46 47 48 1 2 3 46 47 48

V0

V4

V0

V1

~ ~~ ~

~ ~

~ ~~ ~

~ ~

~ ~~ ~

~ ~

~ ~~ ~

~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~

V1

V4

V4

V5

V1

V1

V5V1

V4

V0

V4

V4

V0

V4

V4

V1

V1

V4

V1

V5

V5

V1

V1

V5

V5

V0

Page 68: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

20

1/128 DUTY TIMING (MASTER MODE)

Condition: DS1 = H, DS2 = H, SHL = H(L), PCLK2 = H

Relation of CL2 & DIO1 ( DIO2 )

C

CLK1

CLK2

CL2

FRM

DIO1 ( DIO2 )

M

C1 ( C128 )

C2 ( C127 )

C127 ( C2 )

C128 ( C1 )

DIO2 ( DIO1 )

CLK2

CL2

DIO1 (DIO2)

1 2 3 23 24

1 2 3 126 127 128 1 2 3 126 127 128

~ ~~ ~

~ ~

~ ~~ ~

~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~

V4

V0

V4

V4V5

V5

V1

V1

V1

V1

V1

V5V1

V5

V0

V4

V0

V4

V4

V0

V5

V1

V5

V1

V4

V4

V1

V1V0

V4

Page 69: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

21

1/48 DUTY TIMING (SLAVE MODE)

Condition: PCLK2 = L, SHL = H(L)

1 2 46 47 48 1 2 46 47 48

CL2

M

DIO1 ( DIO2 )

C1 ( C48 )

C2 ( C47 )

C47 ( C2 )

C48 ( C1 )

DIO2 ( DIO1 )

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

~ ~~ ~

V1 V0

V1

V4

V0

V1

V4

V5

V4

V4

V4

V5

V1

V5

V1

V1

V0

V4

V0 V1

V1

V5

V1

V5

V4

V4

V4V4

V0

Page 70: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

S6B0107 64CH COMMON DRIVER FOR DOT MATRIX LCD

22

POWER DRIVER CIRCUIT

To

S6B0108

V0

V1

V2

V3

V4

V5

VDD

R1

R1

R2

R1

R1

VR

V0L/R

V1L/R

V4L/R

V5L/R VEE

S6B0107

VDD

VEE

Relation of Duty & Bias

Duty Bias RDIV

1/48 1/8 R2 = 4R1

1/64 1/9 R2 = 5R1

1/96 1/11 R2 = 7R1

1/128 1/12 R2 = 8R1

When duty factor is 1/48, the value of R1 & R2 should satisfy.

R1/(4R1 + R2) = 1/8

R1 + 3kΩ, R2 = 12kΩ

Page 71: WITH GRAPHICS LCD DISPLAYs Version 1 - tellab · WITH GRAPHICS LCD DISPLAYs Version ... acters value is sent to the LCD. This is useful for sending control ... connected to the 16F84

64CH COMMON DRIVER FOR DOT MATRIX LCD S6B0107

23

APPLICATION CIRCUIT

1/128 duty Segment driver (S6B0108) interface circuit

LCD Panel

V0R

/L

V2R

/L

V3R

/L

V5R

/L

CS3

CS2BCS1BDB0 -DB7

RSTBE

R/WRS

FRM

CLK

1

CLK

2

MVD

D

CL

VS

S

V0R

/L

V2R

/L

V3R

/L

V5R

/L VEE

CS3CS2B

CS1BDB0 -DB7RSTB

ER/W

RS

FRM

CLK

1

CLK

2

MVD

D

CL

VS

S

S6B0108

S6B0108

S1 - S

64

S1 - S

64

15

15

SEG

128

SEG

1

COM1 COM128

VEE

V2R

/L

V3R

/L

CS3

CS2BCS1B

DB0 -DB7

RSTBE

R/WRS

FRM

CLK

1

CLK

2

M VD

D

CL

VSS

S6B0108

S1 - S

64

VEE

V0R

/L

V5R

/L

VEE

V2R

/L

V3R

/L

CS3CS2B

CS1BDB0 -DB7

RSTB

ER/W

RS

FRM

CLK

1

CLK

2

M VD

D

CL

VSS

S6B0108

S1 - S

64

V0R

/L

V5R

/L

MPU

RS

R/W

ER

STB

DB

0 - D

B7

CS

1B

CS

2B

CS

3

15

15

15

C1

C64

C

CR

R

DS1

DS2

PCLK2

MS

FS

SHL

VDD

VS

S

V0R

/L

V1R

/L

V4R

/L

V5R

/L

VEE

DIO2

DIO1

CL2

M

CLK2

CLK1

FRM

C1

C64

VD

D

VS

S

V0R

/L

V1R

/L

V4R

/L

V5R

/L

VEE

CLK2

CLK1

FRM

C

PC

LK2 FS

DS

1

KS

2

SH

L

CR

R

DIO2

M

CL2

MS

S6B0107

(master)

S6B0107

(slave)2

5

5

C1

R1

open

open

5op

enop

enop

enop

enop

en

VD

D

V0

V1

V2

V3

V4

V5

VEE

VD

D