sh6611a SinoWealth Micro-Electronics Corp. Ltd, sh6611a Datasheet

no-image

sh6611a

Manufacturer Part Number
sh6611a
Description
1k 4-bit Microcontroller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
Preliminary
Features
General Description
SH6611A is a single-chip microcontroller integrated with an SH6610C CPU core, SRAM, timer, alarm generator, LCD driver,
I/O port, and program ROM.
Pad Configuration
SH6610C-based single-chip 4-bit microcontroller with
LCD driver
ROM: 1024 × 16 bits
RAM: 256 × 4 bits (data memory)
Operation Voltage Range: 2.2V - 5.4V (3V typically)
16 CMOS I/O pins (PORTA - D, CMOS or Open Drain
by code option )
4 level subroutine nesting (including interrupts)
Two 8-bit timers with pre-divider circuit
Oscillator warm-up timer
4 priority interrupt sources:
- External interrupt (falling edge)
- Timer0 interrupt
- Timer1 interrupt
- PortB interrupt (falling edge)
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
39
40
41
42
43
44
45
46
47
48
49
50
51
52
38
1
S
E
G
S
E
G
1
7
2
37
2
S
E
G
S
E
G
1
8
1
36
3
S
E
G
T
E
S
T
1
9
35
4
S
E
G
R
E
S
E
T
2
0
34
SH6611A
B0
G
5
S
E
2
1
V
D
D
1K 4-bit Microcontroller with LCD Driver
33
G
6
O
S
E
2
2
P
R
T
A
0
32
7
G
O
S
E
P
R
T
A
2
3
1
1/25
31
8
G
O
S
E
P
R
T
A
2
4
2
30
9
G
O
S
E
2
5
P
R
T
A
3
29
10
Clock source: 32.768KHz crystal or 262K RC (code
option)
Instruction cycle time:
4/32.768KHz (≈ 122µs) for 32.768KHz crystal
4/262KHz (≈ 15µs) for 262KHz RC
LCD driver:
4 × 26 (1/4 duty , 1/3 bias or 1/3 duty , 1/2 bias)
Two low power operation modes - HALT or STOP
mode
Built-in alarm generator (carrier frequency: 2KHz or
4KHz code option)
Low power consumption (Iop < 10µA, 32.768KHz, 3V)
Bonding option for multi-code software
Available in CHIP FORM
G
O
S
E
2
6
P
R
T
B
0
28
11
C
O
M
O
R
1
P
T
B
1
27
12
C
O
M
O
R
2
P
T
B
2
B1
26
25
24
23
22
21
20
19
18
17
16
15
14
13
COM3
COM4
OSCI
OSCO
GND
PORTD3
PORTD2
PORTD1
PORTD0
PORTC3
PORTC2
PORTC1
PORTC0
PORTB3
SH6611A
Ver 0.0

Related parts for sh6611a

sh6611a Summary of contents

Page 1

... External interrupt (falling edge) - Timer0 interrupt - Timer1 interrupt - PortB interrupt (falling edge) General Description SH6611A is a single-chip microcontroller integrated with an SH6610C CPU core, SRAM, timer, alarm generator, LCD driver, I/O port, and program ROM. Pad Configuration SEG16 SEG15 SEG14 ...

Page 2

... Bit programmable I/O P Ground pin I Bonding option, internally pull-high O Oscillator output pin, connected to crystal oscillator I Oscillator input pin, connected to crystal or external resistor O Common signal output for LCD display 2/25 SH6611A TEST OSCI OSC OSCO PORTB, PORTC PORTD PORTA.0 (INT) PORTA.1(BD) PORTA.2 (BD) PORTA.3 COMMON ...

Page 3

... During an interrupt service or call instruction, the carry flag is pushed into the stack 2. ROM The SH6611A can address 1K × 16 bit words of program area from $000 to $3FF. ROM SPACE in the system is 1024 X 16 bits. (a) 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 4

... Data pointer for INX low nibble Data pointer for INX middle nibble Data pointer for INX high nibble Bit0: set PA.1, PA.2 as Alarm O/P Bit1: HEAVY LOAD Mode Bit2: LCD off Bit3: set LCD segment as outport Alarm Envelope Control Bit0: change LCD duty to 1/4 duty, 1/3 bias Reserved SH6611A Ver 0.0 ...

Page 5

... System Clock and Oscillator SH6611A has one clock source. Oscillator is determined by code option. The oscillator generates the basic clock pulses that provide the system clock to supply CPU and on-chip peripherals. System clock = FOSC/4. (a) Instruction cycle time: (1) 4/32768Hz ( ≈ 122.1 µ s) for 32768Hz oscillator. ...

Page 6

... Timer0 & Timer1 SH6611A has two 8-bit timers. The timer / counter has the following features: - 8-bit up-counting timer/counter. - Automatic re-loads counter. - 8-level prescaler. - Interrupt on overflow from $FF to $00. The following is a simplified timer block diagram. Tosc SYNC Fosc/4 PRESCALER COUNTER TM.2 TM.1 TM.0 The timers provide the following functions: - Programmable interval timer function ...

Page 7

... I/O Port SH6611A has 16 CMOS quasi-I/O ports, PORTA, PORTB, PORTC, PORTD. All I/O ports are bit programmable. If PORTA,B,C,D are pull-high internally weak drive. The equivalent circuit is below: Port I/O Data Register: (PDR) Address Bit3 $08 PORT A.3 $09 PORT B.3 $0A PORT C.3 $0B PORT D.3 Data-Out Data-In Bit2 PORT A.2 PORT B.2 PORT C ...

Page 8

... Four interrupt sources are available on SH6611A: External interrupt ( INT shared with PA.0) - Timer0 interrupt - - Timer1 interrupt PortB interrupts (falling edge) - 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 9

... Seg1 - 4 as output ports Bit 1 Bit 0 R/W - DUTY R/W 1: 1/4 duty, 1/3 bias Bit 2 Bit 1 COM3 COM2 COM1 - - DATA_BIT - - DATA_BIT - - DATA_BIT - - DATA_BIT 9/25 SH6611A Description Bit0: set PA.1, PA.2 as Alarm O/P Bit1: HEAVY LOAD Mode Bit2: LCD off Bit3: set LCD segment as outport Description LCD duty control Bit 0 Ver 0.0 ...

Page 10

... SEG9 313H SEG10 SEG10 314H SEG11 SEG11 315H SEG12 SEG12 316H SEG13 SEG13 317H SEG14 SEG14 318H SEG15 SEG15 319H 10/25 SH6611A Bit 0 COM1 SEG1 SEG2 SEG3 SEG4 Bit 3 Bit 2 Bit 1 COM4 COM3 COM2 SEG16 SEG16 SEG16 SEG17 SEG17 SEG17 SEG18 SEG18 ...

Page 11

... DD3 COM2 V COM2 DD2 V DD1 COM1 GND V DD3 V DD2 COM3 V DD1 GND V DD3 V DD2 COM4 V DD1 GND SEGn+1 V SEGn DD3 SEGn V DD2 V DD1 GND SEGn+1 V DD3 V DD2 V DD1 GND V COM4 - SEGn DD3 V DD2 V DD1 GND -V DD1 -V DD2 -V DD3 11/25 SH6611A Unlight Ver 0.0 ...

Page 12

... COM3 V COM1 DD2 V DD1 GND COM2 COM1 V DD2 COM2 V SEGn+2 DD1 GND V COM3 DD2 V DD1 GND SEGn+1 SEGn V COM4 DD2 V DD1 GND V DD2 SEGn V DD1 GND V SEGn+1 DD2 V DD1 GND V DD2 COM1 - SEGn V DD1 GND -V DD1 -V DD2 12/25 SH6611A Unlight Ver 0.0 ...

Page 13

... The consumption of power will increase during the use of the HLM mode, but it will not affect the RC oscillator. Note: The HLM needs about 5 instruction cycles to set-up the oscillation for 32.768KHz crystal oscillator. HLM waveform HLM Heavy load OFF 1ms or more 13/25 SH6611A Ver 0.0 ...

Page 14

... AEC = $0 PAM = 1 AEC = $8 PAM = 1 AEC = $C PAM = 1 AEC = $A PAM = 1 AEC = $F PAM = 1 14/25 SH6611A Remarks Power On RD $14 To Sound Mixer 16Hz 8Hz 4Hz 2Hz 1Hz $14 mask option 32K or 262K Yes Ver 0.0 ...

Page 15

... After the execution of STOP instruction, SH6611A will enter stop mode. In stop mode, the whole chip (including oscillator) will stop operating. In HALT mode, SH6611A can be waked up if any interrupt occurs. In STOP mode, SH6611A can be waked up if port interrupt occurs or external interrupt occurs. R/W Bit0: Bonding option 0, internal weak drive ...

Page 16

... AC shift right one bit Function ← AC,Mx ← ← AC,Mx ← AC,Mx ← Mx ⊕ I AC,Mx ← AC,Mx ← Mx & I Function AC;Mx ← Decimal adjust for add. AC;Mx ← Decimal adjust for sub. 16/25 SH6611A Flag Change Flag Change ...

Page 17

... X(Not include p) PC ← ST; TBR ← hhhh; A ← llll PC CY;PC ← ST ← X(Include p) PC ← (PC11-PC8) (TBR) ( Operation I Immediate data ⊕ Logical exclusive OR | Logical OR & Logical AND bbb RAM bank=000 TBR Table Branch Register 17/25 SH6611A Flag Change Flag Change CY Ver 0.0 ...

Page 18

... µ 18/25 SH6611A = 32.768KHz, unless otherwise specified) OSC Conditions All output pins unload execute NOP instruction All output pins unload (HALT mode) exclude LCD current All output pins unload (STOP mode) LCD off, no current PORTA, PORTB, PORTC, PORTD PORTA, PORTB, PORTC, PORTD ...

Page 19

... SB1 SB2x SB1 Min. Typ. Max. - 1.9 19/25 SH6611A = 32.768KHz, unless otherwise specified) OSC Conditions All output pins unload execute NOP instruction All output pins unload (HALT mode) exclude LCD current All output pins unload (STOP mode) LCD off, no current PORTA, PORTB, PORTC, PORTD ...

Page 20

... I  ƒ(3.0)- ƒ(2.4)  / ƒ(3.0), RC oscillator (for - - 10 % reference only) variation caused by process variation (for - - 15 % reference only) 20/25 SH6611A Conditions reduces to I after instruction executing sb1 reduces to I after instruction executing sb2 Conditions reduces to I after instruction executing DD sb1 reduces to I after instruction executing ...

Page 21

... Application Circuits (for reference only) SH6611A chip substrate connects to system ground. AP1 OSC : RC: 262K (code option) LCD Panel: 1/4 duty, 1/3 bias; (S/W select 1/4 duty, auto 1/3 bias) LCD Panel: 1/3 duty, 1/3 bias; (S/W select 1/4 duty, auto 1/3 bias; ignore duty 4 segments) PORTA - D : I/O V AP2 OSC: 32.768KHz crystal (code option) ...

Page 22

... DD DD1 LCD 1/2 bias 50K RESET 0.1uF OSCI SH6611A OSCO PORTB.1 GND TEST DD1 LCD 1/3 bias RESET SH6611A OSCI PORTA - D GND TEST 22/25 SH6611A 20p 32768Hz 20p V DD 890K Ω Ver 0.0 ...

Page 23

... PORTB2 13 PORTB3 14 PORTC0 15 PORTC1 16 PORTC2 17 PORTC3 18 PORTD0 19 PORTD1 20 PORTD2 21 PORTD3 22 GND B1 23 OSCO 24 OSCI 25 COM4 Notice: The Pad Locations of SH6611A are different from the SH6611. Please pay attention ...

Page 24

... Ordering Information Part No. SH6611AH Package CHIP FORM 24/25 SH6611A Ver 0.0 ...

Page 25

... Data sheet Version History Version 0.0 SH6611A Specification Revision History Content Original 25/25 SH6611A Date Feb.2004 Ver 0.0 ...

Related keywords