sh66l06a SinoWealth Micro-Electronics Corp. Ltd, sh66l06a Datasheet

no-image

sh66l06a

Manufacturer Part Number
sh66l06a
Description
1k 4-bit Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
Features
General Description
SH66L06A is a single-chip 4-bit micro-controller. This device integrates a SH6610C CPU core, SRAM, timer, alarm generator,
LCD driver, I/O port, voltage pump and program ROM. The SH66L06A is suitable for calculator application.
Pad Configuration
SH6610C-based single-chip 4-bit micro-controller with
LCD driver
ROM: 1024 X 16 bits
RAM: 288 X 4 bits
Operation Voltage: 1.2V - 1.7V
8 CMOS Bi-directional I/O pads
4-Level Stack (Including Interrupts)
Two 8-bit Auto Re-Loaded Timers/Counters
Warm-Up Timer
Powerful Interrupt Sources:
- 32 System Control Register
- 256 Data memory
- 18 LCD RAM
- External interrupt (Low active)
- Timer0 interrupt
- Timer1 interrupt
- PORTB interrupt (Low active)
PORTB1
PORTA0
PORTA1
PORTA2
PORTA3
PORTB0
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9
56
17
55
18
B0
1K 4-bit Micro-controller with LCD Driver
54
19
SH66L06A
53
20
52
21
B1
1
51
22
50
23
49
24
48
25
Oscillator (Code Option)
Instruction Cycle Time (4/f
LCD Driver:
Two Low Power Operation Modes: HALT And STOP
Built-in Watchdog Timer (Code Option)
Built-in Voltage Doubler And Tripler Charge Pump
Circuit
Built-in Alarm Generator
Low power consumption
Bonding option for multi-code software
Available in CHIP FORM
- Crystal Oscillator:
- RC Oscillator:
- 18SEG X 4COM (1/4 Duty, 1/3 Bias)
- 18SEG X 3COM (1/3 Duty, 1/2 Bias)
47
26
27
46
45
28
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
COM4
COM3
COM2
COM1
32.768kHz
131kHz
OSC
)
SH66L06A
V2.0

Related parts for sh66l06a

sh66l06a Summary of contents

Page 1

... Timer1 interrupt - PORTB interrupt (Low active) General Description SH66L06A is a single-chip 4-bit micro-controller. This device integrates a SH6610C CPU core, SRAM, timer, alarm generator, LCD driver, I/O port, voltage pump and program ROM. The SH66L06A is suitable for calculator application. Pad Configuration 1K 4-bit Micro-controller with LCD Driver ...

Page 2

... X 4 Bits LCD data memory CPU V DD Power Circuit GND ROM 1024 X 16 Bits PORTB (4-Bit) Watchdog Timer PORTA (4-Bit) Alarm Generater 8-Bit Timer 0 LCD 8-Bit Timer 1 Reset Circuit 2 SH66L06A PORTB.3-0/Port interrupt PORTA.0/External interrupt PORTA.1 PORTA.2 PORTA.3 SEG1-18 COM1-4 Reset ...

Page 3

... OSC output pad. No output in RC mode. I OSC input pad, connected to a crystal or external resistor. Bit programmable I/O, PORTA.0 could be external interrupt input ( I/O PORTA.1, PORTA.2 could be buzzer output PORTA.1 (BD), PORTA I/O Bit programmable I/O, vector interrupt (Active low level) - Not used P: Power; Z: High impedance 3 SH66L06A Description INT ) ...

Page 4

... The maximum allowed for subroutine calls and interrupts are 4 levels. If the number of calls and interrupt requests exceeds 4, then the bottom of stack will be shifted out, that program execution may enter an abnormal state. Bank2 Bank6 $100 - $17F $300 - $3FF 4 SH66L06A (TBR, AC)). The ...

Page 5

... PBCR.2 $ For SH66L06A, after the chip reset, please first write *11*B to $15. Otherwise, the halt current and stop current will be abnormal 3. ROM The ROM can address 1024 X 16 bits of program area from $000 to $3FF. 3.1. Vector Address Area ($000 to $004) The program is sequentially executed. There is an area address $000 through $004 that is reserved for a special interrupt service routine such as starting vector address ...

Page 6

... PACR.1 PACR.0 0000 PBCR.1 PBCR.0 0000 - - ---- After any Reset $000 Undefined Undefined Undefined 6 SH66L06A Pad Reset WDT Reset 0000 0000 0000 0000 -000 -000 -000 -000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ---- ---- ...

Page 7

... Before selecting crystal, the user should consult the crystal manufacturer for appropriate value of external component to get best performance, visit http://www.sinowealth.com C1 Crystal OSC 1000pF (for reference only) Recommend Type (φ3x8 12.5pF φ3x8 - 32.768KHz for more recommended manufactures. 7 SH66L06A Manufacturer KDS Vectron International ...

Page 8

... When PAM = 1 (System register $13 Bit0), PORTA are used as Alarm output. Bit1 Bit0 R/W PA.1 PA.0 R/W PORTA data register PB.1 PB.0 R/W PORTB data register PACR.1 PACR.0 R/W PORTA input/output control register PBCR.1 PBCR.0 R/W PORTB input/output control register READ DATA IN READ 8 SH66L06A Remarks V DD Weak Pull high V DD I/O Pad GND ...

Page 9

... PORTA.0 must be released before the relative IRQ flag clearing and IE resetting. Otherwise possible to reenter the active interrupt. Bit 1 Bit 0 R R/W Bit3: Port pull-up control register X X Port Pull-high enable X X Port Pull-high disable Falling Edge Detector PBFR 9 SH66L06A Remarks IEP Port Interrupt IRQP ...

Page 10

... Timer SH66L06A has two 8-bit timers. The timer/counter has the following features: - 8-bit up-counting timer/counter. - Automatic re-load counter. - 8-level prescaler. - Interrupt on overflow from $FF to $00. The following is a simplified timer block diagram. t SYNC OSC System Prescaler clock COUNTER TM.2 TM.1 TM.0 The timers provide the following functions: - Programmable interval timer function ...

Page 11

... Interrupt Four interrupt sources are available on SH66L06A: - External interrupt (Low active) - Timer0 interrupt - Timer1 interrupt - PORTB interrupt (Low active) Interrupt Control Bits and Interrupt Service The interrupt control flags are mapped on $00 and $01 of the system register. They can be accessed or tested by the program. ...

Page 12

... PPULL 1 For SH66L06A, after the chip reset, please first write *11*B to $15. Otherwise, the halt current and stop current will be abnormal. LCD Frame Frequency The LCD Frame Frequency has two modes when the chip is used in RC application. The mode is controlled by the “Clock source” ...

Page 13

... WDT STOP Pad RESET Frame GND 1/2Frame GND GND LCDOFF PUMP CIRCUIT LCDOFF PUMP CIRCUIT SH66L06A Display OFF OFF OFF OFF OFF OFF U OFF Display OFF OFF OFF OFF OFF OFF U U ...

Page 14

... LCD display and turn off the (sets LCDOFF = 1) LCD pump. ....... sets LCDOFF = 0 enable the Display ON LCD display and turn on the (sets LCDOFF = 0) LCD pump. ....... STOP (Pump turns off By RESET automatically) Wake up Other INT ....... 14 SH66L06A Display OFF ON ON OFF LCD pump OFF interrupt service ...

Page 15

... Wakes up after at least 200ms ....... sets LCDOFF = 1 only disable Sets Display Off : the LCD display, won't turn off (sets LCDOFF = 1) the LCD pump. ....... Display ON (sets LCDOFF = 0) ....... STOP (Pump turns off By RESET automatically) Wake up Other INT ....... 15 SH66L06A LCD pump OFF interrupt service ...

Page 16

... SEG5 SEG5 30DH SEG6 SEG6 30EH SEG7 SEG7 30FH SEG8 SEG8 310H SEG9 SEG9 311H 0.1uF V = 1.5V DD 0.1uF 16 SH66L06A Bit 3 Bit 2 Bit 1 COM4 COM3 COM2 SEG10 SEG10 SEG10 SEG11 SEG11 SEG11 SEG12 SEG12 SEG12 SEG13 SEG13 SEG13 SEG14 SEG14 SEG14 ...

Page 17

... VP2 COM2 V DD COM1 GND VP1 VP2 COM3 V DD GND VP1 VP2 COM4 V DD GND SEGn+1 VP1 SEGn VP2 SEGn V DD GND VP1 VP2 SEGn GND VP1 VP2 V DD COM4 - SEGn GND -V DD -VP2 -VP1 17 Unselect Unlight Unlight 3.9ms SH66L06A ...

Page 18

... VP2 COM3 COM1 V DD GND VP2 COM2 V COM2 DD COM1 GND VP2 SEGn+2 COM3 V DD GND VP2 COM4 V DD GND SEGn+1 VP2 SEGn SEGn V DD GND VP2 V SEGn+1 DD GND VP2 V DD COM1 - SEGn GND -V DD -VP2 18 Unselect Unlight Unlight 11.7ms 3.9ms SH66L06A ...

Page 19

... AND other envelope choice logically 1 X R/W 2Hz envelope AND other envelope choice logically X X R/W 4Hz envelope AND other envelope choice logically X X R/W 8Hz envelope AND other envelope choice logically Alarm output waveform 19 SH66L06A Remarks ...

Page 20

... Internal 0.030ms/ WDT Time (0.122ms) out Period 0.488ms SCALER_1 1/16/(4) Condition 20 Remark Timer-out period 0.5ms 1.0ms 2.0ms 4.0ms 16.0ms 64.0ms 256.0ms 512.0ms TM0 PRESCALER /512 /1024 / /32 /128 Final WDT Time out period SH66L06A ...

Page 21

... HALT and STOP Mode After the execution of HALT instruction, SH66L06A will enter the HALT mode. In the HALT mode, the CPU will stop operating. But peripheral (Timer, LCD) circuit will keep status. After the execution of STOP instruction, SH66L06A will enter the STOP mode. The whole chip (Including oscillator) will stop operating ...

Page 22

... B1, B0: Bonding option register Default bonding option bond to GND bond bond to GND & B0 bond to V GND B1 PCB GND B1 PCB SH66L06A Bonding Option 22 SH66L06A Remarks GND GND ...

Page 23

... PF (LCD Pump circuit frequency 2kHz(Default 4kHz D (Duty and bias option 1/3 duty, 1/2 bias (Default 1/4 duty, 1/3 bias W (Watch Dog Timer Disable (Default Enable S (Single solar supply application Disable (Default Enable R (Reset type select Level trigger (Low active) (Default Edge trigger (Falling edge active) 23 SH66L06A ...

Page 24

... Function AC AC ⊕ I AC & I Function AC, Mx Decimal adjust for add AC, Mx Decimal adjust for sub 24 SH66L06A Flag Change Flag Change Flag Change CY CY ...

Page 25

... ( ( ( ( CY (Not include p) PC ST; hhhh, AC lll CY (Include p) No Operation I Immediate data ⊕ Logical exclusive OR | Logical OR & Logical AND bbb RAM bank B RAM bank TBR Table Branch Register SH66L06A CY ...

Page 26

... OL PULL-UP resistor ( -10µ Pull high resistor for RESET pad input “1” (Only in edge trigger type) Pull high resistor for RESET pad input “0” (Only in edge trigger type) No panel loaded. LCD pump frequency = 4k SH66L06A = -0.3mA = 0.3mA) ...

Page 27

... Frequency Variation ∆ F/F (RC) = 1.5V, GND = 0V 25°C, unless otherwise specified) A Min. Typ. Max. Unit µ 25°C, unless otherwise specified) A Min. Typ. Max. Unit - ± Conditions Reset current Conditions f = 32.768kHz OSC Include supply voltage and chip to chip variation OSC = 131kHz RC SH66L06A ...

Page 28

... Typical RC Oscillator Resistor vs. Frequency f 600 500 400 300 200 100 0 0 OSC Typical Voltage vs Frequency fosc 1.2 1.4 1.6 Voltage ( 1.5V) DD OSC Typical RC Oscillator Resistor vs. Frequency f 500 1000 1500 Typical RC Oscillator Resistor (komh) 28 SH66L06A 1 1.5V) OSC DD 2000 2500 3000 ...

Page 29

... Application Circuits (For reference only) SH66L06A chip substrate connects to system ground. AP1: (1) Operating voltage: 1.5V (2) Oscillator: RC: 131kHz (Code Option) (3) LCD: 3V, 1/3 duty, 1/2 bias, (4) PORTA - B: I/O Solar Battery 5 - 500KΩ LCD LED CUP1 VP2 PORTA 0.1uF VP1 SH66L06A OSCI 1.8MΩ PORTB RESET GND ...

Page 30

... OSCO -287.5 OSCI -172.5 GND -57.5 B1 -57.5 57.5 RESET TEST 172.5 CUP1 287.5 CUP2 402.5 VP2 517.5 VP1 637.5 COM1 760 COM2 760 SH66L06A Unit: µ -935 -935 -841 -935 -935 -935 -841 -935 -935 -935 -935 -935 -935 -935 -935 -802.5 ...

Page 31

... SH66L06A Designation X SEG12 760 SEG13 637.5 SEG14 517.5 SEG15 402.5 SEG16 287.5 SEG17 172.5 SEG18 57.5 NC -57.5 NC -172.5 NC -287.5 NC -402.5 NC -517.5 NC -637.5 Y 935 ...

Page 32

... Ordering Information Part No. SH66L06AH Package CHIP FORM 32 SH66L06A ...

Page 33

... Data Sheet Revision History Version 2.0 Revised the description about the PORTB & PORTC and External interrupts. 1.0 Original Content 33 SH66L06A Date Mar. 2007 Jan. 2007 ...

Related keywords