Sino Wealth SH66L10A Manual

2k 4-bit micro-controller with lcd driver

Advertisement

Quick Links

Features
SH6610C-based single-chip 4-bit micro-controller with
LCD driver
ROM: 2K X 16 bits
RAM: 288 X 4 bits
- 32 System Control Register
- 256 Data memory
- 34 LCD RAM
Operation Voltage: 1.2V - 1.7V
16 CMOS Bi-directional I/O pads (PORTC, PORTD can
switch to LCD segment)
4-Level Stack (Including Interrupts)
Two 8-bit Auto Re-Loaded Timers/Counters
Warm-Up Timer
Powerful Interrupt Sources:
- External interrupt (Low active)
- Timer0 interrupt
- Timer1 interrupt
- PORTB & PORTC interrupt (Low active)
General Description
SH66L10A 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 SH66L10A is suitable for calculator application.
Pad Configuration
Downloaded from
Elcodis.com
electronic components distributor
2K 4-bit Micro-controller with LCD Driver
SEG25
1
56
55
54
53
52
51
50
49
48
SEG26
2
PORTC0/SEG27
3
PORTC1/SEG28
4
PORTC2/SEG29
5
PORTC3/SEG30
6
PORTD0/SEG31
7
SH66L10A
PORTD1/SEG32
8
PORTD2/SEG33
9
PORTD3/SEG34
10
PORTA0
11
PORTA1
12
PORTA2
13
PORTA3
14
PORTB0
15
19
22
PORTB1
16
17
18
B0
20
21
B1
23
24
25
1
Oscillator (Code Option)
- Crystal Oscillator:
32.768kHz
- RC Oscillator:
131kHz
Instruction Cycle Time (4/f
OSC
LCD Driver:
- 34SEG X 4COM (1/4 Duty, 1/3 Bias)
- 34SEG X 3COM (1/3 Duty, 1/2 Bias)
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
47
46
45
44
SEG12
43
SEG11
42
SEG10
41
SEG9
40
SEG8
39
SEG7
38
SEG6
37
SEG5
36
SEG4
35
SEG3
34
SEG2
33
SEG1
32
COM4
31
COM3
30
COM2
26
27
28
29
COM1
SH66L10A
)
V2.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SH66L10A and is the answer not in the manual?

Questions and answers

Summary of Contents for Sino Wealth SH66L10A

  • Page 1 - PORTB & PORTC interrupt (Low active) General Description SH66L10A 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 SH66L10A is suitable for calculator application.
  • Page 2: Block Diagram

    SH66L10A Block Diagram PORTD.3-0 (SEG31-34) 32 X 4 Bits PORTD (4-Bit) 2048 X 16 Bits System Register PORTC.3-0 (SEG27-30)/ 256 X 4 Bits Watchdog PORTC (4-Bit) Port interrupt Data Memory Timer 34 X 4 Bits PORTB.3-0/Port interrupt PORTB (4-Bit) LCD Data Memory Alarm Generater PORTA.0/External interrupt...
  • Page 3 SH66L10A Pad Description ( Total 58 pads for mask type) Pad No. Designation Description 33 - 56,1 - 2 SEG1 - 26 Segment signal output for LCD display 29 - 32 COM1 - 4 Common signal output for LCD display...
  • Page 4: Functional Description

    SH66L10A Functional Description 1. CPU The CPU contains the following functional blocks: Program 1.4. Table Branch Register (TBR) Counter (PC), Arithmetic Logic Unit (ALU), Carry Flag (CY), Table Data can be stored in program memory and can be Accumulator, Table Branch Register, Data Pointer (INX, DPH, referenced by using Table Branch (TJMP) and Return DPM, and DPL) and Stacks.
  • Page 5 SH66L10A 2.2. Configuration of System Register: Address Bit 3 Bit 2 Bit 1 Bit 0 Remarks IET0 IET1 Interrupt enable flags register IRQX IRQT0 IRQT1 IRQP Interrupt request flags register T0M.2 T0M.1 T0M.0 Bit2-0: Timer0 Mode register T1M.2 T1M.1 T1M.0 Bit2-0: Timer1 Mode register T0L.3...
  • Page 6 SH66L10A 3. ROM The ROM can address 2048 X 16 bits of program area from $000 to $7FF. 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 7 SH66L10A 4. Initial State 4.1. System Register State: Address Bit 3 Bit 2 Bit 1 Bit 0 Power-on Reset Pad Reset WDT Reset IET0 IET1 0000 0000 0000 IRQX IRQT0 IRQT1 IRQP 0000 0000 0000 T0M.2 T0M.1 T0M.0 -000 -000 -000 T1M.2...
  • Page 8: Crystal Oscillator

    SH66L10A 5. System Clock and Oscillator The oscillator generates the basic clock pulses that provide the system clock to supply CPU and on-chip peripherals. System clock f 5.1. Instruction Cycle Time: (1) 4/32.768kHz (≈ 122µs) for 32.768kHz oscillator. (2) 4/131 kHz (≈ 30.53µs) for 131kHz oscillator.
  • Page 9 SH66L10A 6. I/O Port The MCU provides 16 bi-directional I/O ports. The PORT data is put in register $08 - $0B. The PORT control register ($1B - $1E) controls the PORT as input or output. Each I/O port has an internal pull-high resistor, which is controlled by PPULL of $15 and the data of the PORT, when the PORT is used as input.
  • Page 10 SH66L10A Controlling the Pull-up MOS System Register $15: Address Bit 3 Bit 2 Bit 1 Bit 0 Remarks PPULL O/S2 O/S1 Bit3: Port pull-up control register Port Pull-high enable Port Pull-high disable These ports contain pull-up MOS controlled by program. System register $15 Bit3 (PPULL) simultaneously controls ON/OFF of all pull-up MOS.
  • Page 11 SH66L10A 7. Timer SH66L10A has two 8-bit timers. The low-order digit should be written first, and then the high-order digit. The timer/counter is automatically loaded The timer/counter has the following features: with the contents of the load register when the high-order - 8-bit up-counting timer/counter.
  • Page 12 SH66L10A 8. Interrupt Four interrupt sources are available on SH66L10A: - External interrupt (Low active) - Timer0 interrupt - Timer1 interrupt - PORTB & PORTC 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 13 SH66L10A 9. LCD Driver The LCD driver contains a controller, a voltage generator, 4 common driver pads and 34 segment driver pads. There are two different driving modes: 1/4 duty and 1/3 bias, 1/3 duty and 1/2 bias (COM4 same as COM1). The driving mode is controlled by code option.
  • Page 14 SH66L10A Frame COM1 1/2Frame COM2 COM3 Program Notes: The LCD pump circuit and the LCD display will be turned off automatically after the CPU has received a “STOP” instruction. The user should turn on the LCD pump (Set LCDOFF = 0) after the next wake up.
  • Page 15: Pump Circuit

    SH66L10A LCDOFF Program Setting Code Option LCDOFF PUMP CIRCUIT Display “Single solar supply application” code option is disabled “Single solar supply application” code option is enabled Legend: U = unchanged Example: Single Solar Supply Application Enable Power ON LCD pump OFF ..
  • Page 16 SH66L10A Single Solar Supply Application Disable Power ON LCD pump OFF ..sets LCDOFF = 0 enable the Display ON LCD display and turn on the (sets LCDOFF = 0) LCD pump. Save the total current when only use solar battery.
  • Page 17 SH66L10A Configuration of LCD RAM Area: (SEG 1 - 34, 1/4 duty) Bit 3 Bit 2 Bit 1 Bit 0 Bit 3 Bit 2 Bit 1 Bit 0 Address Address COM4 COM3 COM2 COM1 COM4 COM3 COM2 COM1 300H SEG1...
  • Page 18 SH66L10A Configuration of LCD RAM Area: (SEG1 - 34, 1/3 duty) Bit 3 Bit 2 Bit 1 Bit 0 Bit 3 Bit 2 Bit 1 Bit 0 Address Address COM3 COM2 COM1 COM3 COM2 COM1 300H SEG1 SEG1 SEG1 311H...
  • Page 19 SH66L10A 1/4 duty, 1/3 bias LCD Waveform (V = 1.5V, V = 4.5V, V = 3V) Select Unselect COMX SEGX Unlight Light Select Unlight Unlight SEGX Unselect 15.625ms COM4 3.9ms COM1 COM3 COM2 COM2 COM1 COM3 COM4 SEGn+1 SEGn SEGn...
  • Page 20 SH66L10A 1/3 duty, 1/2 bias LCD Waveform (V = 1.5V, V = 3V) Select Unselect COMX SEGX Select Light Unlight SEGX Unselect Unlight Unlight 11.7ms 3.9ms COM3 COM1 COM2 COM2 COM1 SEGn+2 COM3 COM4 SEGn+1 SEGn SEGn SEGn+1 COM1 - SEGn...
  • Page 21 SH66L10A 10. Alarm Output System Register $14: Address Bit 3 Bit 2 Bit 1 Bit 0 Remarks AEC3 AEC2 AEC1 AEC0 ALARM envelope control register DC envelope (Default) 1Hz envelope AND other envelope choice logically 2Hz envelope AND other envelope choice logically...
  • Page 22 SH66L10A 11. Watchdog Timer The watchdog timer is a down-count counter, and its clock source is fetched from the system clock, so it will not run in the STOP mode. The watchdog timer automatically generates a device reset when it overflows. It can be enabled or disabled permanently by using the code option.
  • Page 23 SH66L10A 12. HALT and STOP Mode After the execution of HALT instruction, SH66L10A 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, SH66L10A will enter the STOP mode. The whole chip (Including oscillator) will stop operating.
  • Page 24 B0 = 1 B1 = 0 SH66L10A Bonding Option Up to 4 different bonding options are possible for the user's needs. The chip's program has 4 different program flows that varies depending on which bonding option is used. The readable contents of B1 and B0 will differ depending on bonding.
  • Page 25 SH66L10A 15. Code Option Addresses: $800 Body data: 0110 1010 1010 0000 (6AA0) Addresses: $801 Data: CHAP F1DW SLR0 0000 CH (Clock source): 00 = 32.768kHz Crystal (Default) 10 = 131kHz RC with normal LCD frame frequency 11 = 131kHz RC with 1/2 LCD frame frequency...
  • Page 26: Instruction Set

    SH66L10A Instruction Set All instructions are one cycle and one-word instructions. The characteristic is memory-oriented operation. 1. Arithmetic and Logical Instruction 1.1. Accumulator Type Mnemonic Instruction Code Function Flag Change ADC X (, B) 00000 0bbb xxx xxxx Mx + AC + CY...
  • Page 27 SH66L10A 2. Transfer Instruction Mnemonic Instruction Code Function Flag Change LDA X (, B) 00111 0bbb xxx xxxx STA X (, B) 00111 1bbb xxx xxxx LDI X, I 01111 iiii xxx xxxx AC, Mx 3. Control Instruction Mnemonic Instruction Code...
  • Page 28: Electrical Characteristics

    SH66L10A Electrical Characteristics Absolute Maximum Ratings* *Comments DC Supply Voltage ....-0.3V to +3.0V Stresses exceed those listed under “Absolute Maximum Ratings” may cause permanent damage to this device.
  • Page 29 SH66L10A DC Electrical Characteristics (V = 1.5V, GND = 0V, T = 25°C, unless otherwise specified) Parameter Symbol Min. Typ. Max. Unit Conditions µA Reset Current Reset current REST AC Characteristics (V = 1.5V, GND = 0V, T = 25°C, unless otherwise specified)
  • Page 30 SH66L10A RC Oscillator Characteristics Graphs RC oscillator Characteristics Graphs (For reference only) (a) Typical Voltage vs Frequency f Typical Voltage vs Frequency fosc Voltage (V) (b) Typical RC Oscillator Resistor vs. Frequency f = 1.5V) Typical RC Oscillator Resistor vs. Frequency f = 1.5V)
  • Page 31 SH66L10A Application Circuits (For reference only) SH66L10A 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, PORTD used as segment. (4) PORTA - C: I/O...
  • Page 32: Bonding Diagram

    SH66L10A Bonding Diagram SEG25 SEG12 SEG26 SEG11 PORTC0/SEG27 SEG10 SH66L10A PORTC1/SEG28 SEG9 PORTC2/SEG29 SEG8 PORTC3/SEG30 SEG7 PORTD0/SEG31 SEG6 PORTD1/SEG32 (0,0) SEG5 PORTD2/SEG33 SEG4 PORTD3/SEG34 SEG3 PORTA0 SEG2 PORTA1 SEG1 PORTA2 COM4 PORTA3 COM3 PORTB0 COM2 PORTB1 COM1 1788µm * Substratum connects to ground.
  • Page 33 SH66L10A Pad Location (Continued) Pad No. Designation Pad No. Designation SEG3 -200.3 SEG14 517.5 SEG4 -83.1 SEG15 402.5 SEG5 31.9 SEG16 287.5 SEG6 149.1 SEG17 172.5 SEG7 264.1 SEG18 57.5 SEG8 381.3 SEG19 -57.5 SEG9 496.3 SEG20 -172.5 SEG10 662.5 SEG21 -287.5...
  • Page 34 SH66L10A Ordering Information Part No. Package SH66L10AH CHIP FORM Downloaded from Elcodis.com electronic components distributor...
  • Page 35 SH66L10A Data Sheet Revision History Version Content Date Revised the description about the PORTB & PORTC and External interrupts. Mar. 2007 Change application circuit RC oscillator resistor. Dec. 2006 Original Nov. 2006 Downloaded from Elcodis.com electronic components distributor...

Table of Contents