HMS81C1616B.pdf 데이터시트 (총 30 페이지) - 파일 다운로드 HMS81C1616B 데이타시트 다운로드

No Preview Available !

www.DataSheet4U.com
ABOV SEMICONDUCTOR
8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81C1808B/16B
HMS81C1708B/16B
HMS81C1608B/16B
HMS81C1508B/16B
HMS81C1404B/08B/16B
User’s Manual (Ver. 1.20)

No Preview Available !

www.DataSheet4U.com
REVISION HISTORY
VERSION 1.20 (April 2, 2008) This book
Corrected PSW(NVGBHIZC) for “INC A” instruction from N-----Z- to N-----ZC at " Arithmetic / Logic Operation" on page iv.
VERSION 1.1 (MAR. 2006)
The company name, MagnaChip Semiconductor Ltd. changed to ABOV Semiconductor Co., Ltd..
VERSION 1.05 (OCT. 2005)
Correct the circuit connection condition in case of internal 4MHz oscillation.
Add internal oscillation frequency tolerance in DC Electrical Characteristics
Add notes in STOP operation and internal 4MHz oscillation.
VERSION 1.04 (JUN. 2005)
Add Pb free package
VERSION 1.03 (MAR. 2005)
Add read-modify-write chapter.
Correct the internal 4MHz oscillation clock period accuracy
VERSION 1.02 (SEP. 2004)
The company name, Hynix Semiconductor Inc. changed to MagnaChip Semiconductor Ltd.
VERSION 1.01 (MAR. 2004)
Correct the external RC oscillation characteristics.
Fixed some errata.
Version 1.20
Published by
FAE Team
©2006 ABOV Semiconductor Ltd. All right reserved.
Additional information of this manual may be served by ABOV Semiconductor offices in Korea or Distributors and Representatives.
ABOV Semiconductor reserves the right to make changes to any information here in at any time without notice.
The information, diagrams and other data in this manual are correct and reliable; however, ABOV Semiconductor is in no way responsible
for any violations of patents or other rights of the third party generated by the use of this manual.

No Preview Available !

www.DataSheet4U.com
HMS81C1404B/08B/16B/1508B/1516B/1608B/1616B/1708B/1716B/1808B/1816B
1. OVERVIEW......................................................... 1
Description ........................................................ 1
Features............................................................ 1
Development Tools ........................................... 2
Ordering Information.................................. 2
2. BLOCK DIAGRAM ............................................. 3
3. PIN ASSIGNMENT ............................................. 4
4. PACKAGE DRAWING........................................ 6
5. PIN FUNCTION................................................... 9
6. PORT STRUCTURES....................................... 11
7. ELECTRICAL CHARACTERISTICS ................ 17
Absolute Maximum Ratings ............................ 17
Recommended Operating Conditions............. 17
A/D Converter Characteristics ........................ 17
DC Electrical Characteristics .......................... 18
AC Characteristics .......................................... 19
Typical Characteristics.................................... 20
8. MEMORY ORGANIZATION ............................. 23
Registers......................................................... 23
Program Memory ............................................ 25
Data Memory .................................................. 28
Addressing Mode ............................................ 32
9. I/O PORTS ........................................................ 36
RA and RAIO registers ................................... 36
RB and RBIO registers ................................... 37
RC and RCIO registers ................................... 39
RD and RDIO registers ................................... 40
RE and REIO registers ................................... 40
Read-modify-write Feature ............................. 41
10. CLOCK GENERATOR ................................... 43
Oscillation Circuit ............................................ 43
11. Basic Interval Timer ..................................... 45
12. TIMER / COUNTER ........................................ 46
8-bit Timer/Counter Mode ............................... 47
16-bit Timer/Counter Mode ............................. 48
8-bit Compare Output (16-bit) ......................... 49
8-bit Capture Mode ......................................... 49
16-bit Capture Mode ...................................... 52
PWM Mode .................................................... 52
13. Serial Peripheral Interface ........................... 55
14. Buzzer Output function................................ 57
15. ANALOG TO DIGITAL CONVERTER........... 58
16. INTERRUPTS ................................................ 61
Interrupt Sequence......................................... 63
BRK Interrupt ................................................. 64
Multi Interrupt ................................................. 64
External Interrupt............................................ 66
17. WATCHDOG TIMER...................................... 68
18. Power Saving Mode ..................................... 69
Stop Mode...................................................... 69
STOP Mode using Internal RCWDT .............. 71
Wake-up Timer Mode..................................... 72
Minimizing Current Consumption ................... 73
19. RESET ........................................................... 75
20. POWER FAIL PROCESSOR......................... 77
21. COUNTERMEASURE OF NOISE ................. 79
Oscillation Noise Protector............................. 79
Oscillation Fail Processor............................... 80
Examples of ONP........................................... 80
22. MASK Option ................................................ 81
A. INSTRUCTION .................................................. ii
Terminology List................................................. ii
Instruction Map.................................................. iii
Instruction Set ................................................... iv
B. MASK ORDER SHEET(HMS81C1404B).......... x
C. MASK ORDER SHEET(HMS81C1408B)......... xi
D. MASK ORDER SHEET(HMS81C1416B)........ xii
E. MASK ORDER SHEET(HMS81C1508B)....... xiii
F. MASK ORDER SHEET(HMS81C1516B) ....... xiv
G. MASK ORDER SHEET(HMS81C1608B) ....... xv
H. MASK ORDER SHEET(HMS81C1616B)....... xvi
I. MASK ORDER SHEET(HMS81C1708B) ....... xvii
J. MASK ORDER SHEET(HMS81C1716B) ..... xviii
K. MASK ORDER SHEET(HMS81C1808B)....... xix
L. MASK ORDER SHEET(HMS81C1816B) ........ xx
April 2, 2008 Ver 1.20
1

No Preview Available !

www.DataSheet4U.com
HMS81C1404B/08B/16B/1508B/1516B/1608B/1616B/1708B/1716B/1808B/1816B
2 April 2, 2008 Ver 1.20

No Preview Available !

www.DataSheet4U.com
HMS81C1404B/08B/16B/1508B/1516B/1608B/1616B/1708B/1716B/1808B/1816B
HMS81C1808B/1816B
HMS81C1708B/1716B
HMS81C1608B/1616B
HMS81C1508B/1516B
HMS81C1404B/1408B/1416B
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
1. OVERVIEW
1.1 Description
The HMS81C1X04B/08B/16B is an advanced CMOS 8-bit microcontroller with 4K/8K/16K bytes of ROM. The ABOV semiconductor’s
HMS81C1X04B/08B/16B is a powerful microcontroller which provides a highly flexible and cost effective solution to many embedded
control applications. The HMS81C1X04B/08B/16B provides the following standard features: 4K/8K/16K bytes of ROM, 448 bytes of
RAM, 8-bit timer/counter, 8-bit A/D converter, 10-bit high speed PWM output, programmable buzzer driving port, 8-bit serial communi-
cation port, on-chip oscillator and clock circuitry. In addition, the HMS81C1X04B/08B/16B support power saving modes to reduce power
consumption.
This document is only explained for the base HMS81C1816B, the other’s eliminated functions are same as below.
Device name
EPROM
RAM
EXT.INT
HMS81C14XXB
HMS81C15XXB
HMS81C16XXB
HMS81C17XXB
HMS81C18XXB
4,8,16K bytes
8,16K bytes
448bytes
4
BUZ
O
Operating
Voltage
2.3 ~ 5.5V
I/O Package
23 28 SKDIP or SOP
27 32 PDIP
35 40 PDIP
37 42 SDIP
39 44 QFP
1.2 Features
• 4K/8K/16 Bytes On-chip Program Memory
• 448 Bytes of On-chip Data RAM
(Included stack memory)
• Instruction Cycle Time:
- 250nS at 8MHz
• Programmable I/O pins
(LED direct driving can be source and sink)
- HMS81C14XXB : 23
- HMS81C15XXB : 27
- HMS81C16XXB : 35
- HMS81C17XXB : 37
- HMS81C18XXB : 39
• Operating Voltage & Frequency
- 2.3V ~ 5.5V (at 1 ~ 4.2MHz)
- 4.5V ~ 5.5V (at 1 ~ 8.0MHz)
• Eight 8-bit A/D Converter
• Four External Interrupt Ports.
• One 8-bit Basic Interval Timer
• Four 8-bit Timer / Counters
• Two 10-bit High Speed PWM Outputs
• Watchdog timer (can be operate with internal
RC-oscillation)
• One 8-bit Serial Peripheral Interface
• Twelve Interrupt sources
- External input: 4
- A/D Conversion: 1
April 2, 2008 Ver 1.20
1