LSI LS3102

LSI
LS3102
Simple LCD micro-controller
Features :
*
*
*
*
*
*
*
8 Input pad, 4 I/O, 2 output pad
EL driver output.
Direct drive buzzer output.
1024x12 bit ROM
73x4 bit of RAM.
28x2, x3, or x4 LCD segment mask option
8 bit tone generator.
* 4 bit event counter.
* 12 (of 28 segment) output mask option
* 32768 Crystal/RC oscillator bonding option
* Single 3.0V operation.
* Low cost and low price.
General Description
The LS3102 is a simple micro-controller for LCD application. It has an internal ROM size of
1Kx12bit. A total of 73x4 bit RAM. LCD can be configured to be 1/2, 1/3, 1/4 duty mask option. A
total of 28 segment PAD can be configured to be 28x2, 28x3 or 16x4 + 12x3 LCD segment. LCD bias
is 1/2. Segment pad S17-S28 can be configured as output pad by mask option. The LS3102 integrates
a 8 bit counter for tone/music generation. It also integrates a 4 bit event counter for recording external
triggers. It has a total of 8 input pad, 4 I/O pad and 2 output pad. The output pad can be configured to
be EL driver output by mask option. It has low power consumption.
LSI
LS3102
Functional Description
1. RC Oscillator /Crystal
The LS3102 can use either a crystal oscillator or RC oscillator to provide the internal timing by
mask option.
2. Program ROM
The LSI3102 has internal 1Kx12 bit ROM providing simple operation. It has four internal stack.
3. Interrupt Control
The LSI3102 has 5 different sources of interrupt, namely, POWERUP, F4HZ, F16HZA, F16HZS
and F1HZ. The starting address of the interrupt are as follow :
Interrupt
POWERUP
F1HZ
F4HZ
F16HZA
F16HZS
Address
0x3ff
0x3fe
0x3fc
0x3f8
0x3f1
The system generates 16 interrupts for F16HZS in one second but only 11 interrupts for F16HZA.
The other 5 interrupts goes to F4HZ (4) and F1HZ (1) interrupts.
3. RAM
The system has 73x4bit of program RAM with IO address as follows.
Address
0-0fH
10H-1fH
20-2fH
30H
31H
32H
33H
34H-3fH
54H-56H
58H-5AH
5CH-5EH
70H
71H
72H
73H
Description
RAM
Display RAM
RAM
rptrl
rptrh
rptr1
Beep Control
RAM
Display RAM
Display RAM
Display RAM
Tone Data Low
Tone Data High
Tone Control Register
IOX Register
Initialize
undefined
undefined
undefined
undefined
undefined
undefined
0
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
0
0
Address 31H:30H forms a 8 bit address for indirect read/write operation.
Address 32H:30H forms a 8 bit address for indirect read/write operation.
2
LSI
LS3102
4. Buzzer Control/Tone Generator Control
The system can output 4khz/2khz alarm signal by mask option. The alarm signal is enabled to the
output B0, B1 when the Beep Control Register: Bit[0] is high.
Tone Control Registers (70H – 72H) is used to control the Tone Generator to generate music tone
signal at the buzzer output pad B0, B1.
5. LCD driver
The system has 16 LCD segment pad with 2/3/4 common pads (mask option) providing 28x2, 28x3
or 16x4 + 12 x3 LCD segment output.
The LCD segment table is shown below :
SEG[1:4]
SEG[5:8]
SEG[9:12]
SEG[13:16]
SEG[17:20]
SEG[21:24]
SEG[25:28]
COM 1
1CH:D[0:3]
1DH:D[0:3]
1EH:D[0:3]
1FH:D[0:3]
5CH:D[0:3]
5DH:D[0:3]
5EH:D[0:3]
COM2
18H:D[0:3]
19H:D[0:3]
1AH:D[0:3]
1BH:D[0:3]
58H:D[0:3]
59H:D[0:3]
5AH:D[0:3]
COM3
14H:D[0:3]
15H:D[0:3]
16H:D[0:3]
17H:D[0:3]
54H:D[0:3]
55H:D[0:3]
56H:D[0:3]
COM4
10H:D[0:3]
11H:D[0:3]
12H:D[0:3]
13H:D[0:3]
Not implemented
Not implemented
Not implemented
6. EL Driver
R0, R1 can be configured as general output or E.L. output. When it is configured as E.L. output,
the EL output frequency can also be mask selected as follow :
PUMP FREQUENCY, R0
32KHZ
16KHZ
8KHZ
A.C. FREQUENCY, R1
F512HZ
F256HZ
TONE GENERATOR CONTROL
7. Mask option
Name
BZ2K/4K
BZ[0], BZ[1]
FSYSPRB
description
buzzer frequency
buzzer control
Power Up Control
3
E.L. DUTY CYCLE
1/4
2/4
3/4
LSI
LS3102
Pin Assignment
DESIGNATION
B [0:1]
VC1, VC2
VEE
T2, T1
OO
OI
VDD
GND
I[0:7]
IO[0:3]
R[0:1]
C[1:4]
S[1:28]
TYPE
DESCRIPTION
OUTPUT
OUTPUT
OUTPUT
INPUT (PL)
OUTPUT
INPUT
POWER
POWER
INPUT(PL)
INPUT(PH)/OUTPUT
OUTPUT
OUTPUT
OUTPUT
Buzzer output
Halfer output
Halfer voltage
TEST pin
oscillator output
oscillator input
+3.0V power supply
Ground
Input key/option
Input /Output.
Output /EL output
LCD Common output
LCD Segment output
Note: (PL) – pull low
(PH) - pull high
4
LSI
LS3102
Absolute Maximum Ratings
Supply voltage Vdd - Vss..........................0 to 5V
Input voltage Vin.................................Vss to Vdd
Operating temperature Top .............-10°C to 60°C
Storing temperature Tst ...................-40°C to 70°C
*Comments
Stress above those listed under Absolute Maximum Ratings” may cause permanent damage to the
device. These are stress rating only. Functional operation of this device at these or any other conditions above
those indicated in the operational sections of this specification is not implied and exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
D.C. Electrical Characteristics
(GND = 0V, Vdd = 3.0V, Ta = 25°C unless otherwise specified)
Parameter
Supply Voltage
Operating current
OSC. built-in cap
OSC. trimmer cap
Buzzer output current
LCD frequency
Segment current
Common current
Trigger output current
Symbol
Vdd
Idd
Cd
Ctrim
Ib
Flcd
Is
Ic
Ir
Min.
2.5
5
500
0.15
3.0
100
5
Typ.
3.0
3
20
64
-
Max.
3.6
6
35
-
Unit
V
µA
pF
pF
µA
Hz
µA
µA
µA
Conditions
No load
Vbd-Vss=0.5
Vseg=0.2V
Vcom=0.2V
Vr-Vss=0.5
LSI
LS3102
Pad Diagram
6
LSI
LS3102
Pad location
PAD
C2
C1
S1
S2
S3
S4
S5
S6
S7
S8
S9
S10
S11
S12
S13
S14
S15
S16
VEE
VC1
VC2
PB
R0
R1
OO
OI
T1
X(µ
µm)
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1500.0
-1322.0
-1189.0
-1055.0
-605.0
-569.0
-100.0
+49.0
+1229.0
+1371.0
PAD
GND
B1
B0
VDD
T2
I7
I6
I5
I4
I3
I2
I1
I0
IO0
IO1
IO2
IO3
T3
S28
S27
S26
S25
S24
S23
S22
S21
S20
S19
S18
S17
C4
C4
Y(µ
µm)
-1500.0
-1366.0
-1232.0
-1098.0
-963.0
-766.0
-632.0
-434.0
-300.0
-102.0
+31.0
+229.0
+363.0
+561.0
+695.0
+892.0
+1027.0
+1224.0
+1350.0
+350.0
+1492.0
+1492.0
+1492.0
+1492.0
+1492.0
+1482.0
+1482.0
7
X(µ
µm)
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1372.0
+1343.0
+1209.0
+1076.0
+942.0
+807.0
+674.0
+539.0
+405.0
+271.0
+128.0
-70.0
-204.0
-401.0
-536.0
-734.0
Y(µ
µm)
+1282.0
+1129.0
+821.0
+676.0
+538.0
+368.0
+220.0
+72.0
-75.0
-224.0
-371.0
-519.0
-667.0
-830.0
-979.0
-1127.0
-1276.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
-1510.0
LSI
LS3102
APPLICATION CIRCUIT
8