REVISION HISTORY
VERSION 1.01 (JUL., 2001) sticker
Add the interrupt control block and changed the P2.0 ~ P2.3 pins schematic block.
VERSION 1.02 (NOV., 2001) sticker
Changed Power-On Reset Circuit.
Version 1.02
Published by
MCU Team
©
2001 Hynix Semiconductor Inc. All right reserved.
Additional information of this manual may be served by Hynix Semiconductor offices in Korea or Distributors and Representatives listed
at address directory.
Hynix 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, Hynix 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.
HMS91C8032/97C8032
Table of Contents
1. OVERVIEW............................................1
Description .........................................................1
Ordering Information
Features .............................................................2
Pin Description ...................................................3
Pin Diagram .......................................................5
Port Structure and Operation .......................... 66
Watch Dog Timer ............................................ 68
Buzzer ............................................................. 70
IF Counter ....................................................... 71
PLL .................................................................. 76
ADC ................................................................. 83
Interrupts ......................................................... 85
Reset ............................................................... 89
Power-On Reset .............................................. 89
Power-Saving Modes of Operation ................. 90
The On-Chip Oscillators .................................. 91
2. MEMORY ORGANIZATION...................6
Program Memory ...............................................6
Data Memory .....................................................6
Special Function Register ..................................7
3. INSTRUCTION SET...............................8
Program Status Word ........................................8
Addressing Modes .............................................8
Arithmetic Instructions ........................................9
Logical Instructions ..........................................10
Data Transfers .................................................11
Lookup Tables .................................................12
Boolean Instructions ........................................13
Relative Offset .................................................13
Jump Instructions .............................................13
CPU Timing ......................................................15
Machine Cycles ................................................16
5. ELECTRICAL CHARACTERISTICS....93
Operating Conditions ...................................... 93
AC Characteristics .......................................... 93
DC Characteristics .......................................... 97
6. INSTRUCTION DEFINITIONS.............99
Instruction Set Summary ................................. 99
Instruction Definitions .................................... 102
7. EPROM CHARACTERISTICS...........145
Reading the Signature Bytes: ....................... 145
Modified Quick-Pulse Programming .............. 145
Program Verification ...................................... 146
4. HARDWARE DESCRIPTION...............17
Clock Generation Block ...................................18
Special Function Registers ..............................19
Timer/Counters (Timer0, Timer1 and Timer2) .43
Timer/Counters (Timer3 and Timer4) ..............47
Standard Serial Interface (UART) ....................49
Standard Serial Interface (SIO 1, SIO 2) .........57
8. OTP PROGRAMMING.......................150
HMS97C8032 OTP Programming ................. 150
Device Configuration Data ........................... 150
9. DEVELOPMENT TOOLS...................152
10. PACKAGE DIMENSION ..................153
HMS97C8032/91C8032 (80 pin package) .... 153
NOV., 2001 Ver 1.02
HMS91C8032/97C8032
HMS91C8032
HMS97C8032
1. OVERVIEW
1.1 Description
The HMS91C8032 and the HMS97C8032 are a member of the HMS9XC8032 series. This devices are the Digital Tuning System(DTS)
with PLL. It has extended Intel 8051 core, 32Kbytes one-time programmable(OTP) ROM. Because this device can be programmed by user,
it is suited for applications such as the small-scale production of many different products and rapid development and time-to-market of
new products.
• Extended 8051 core (7.2MHz / 32.768KHz)
• 1K-Byte Data RAM / 32K-Byte Program ROM
• 130 MHz Digital PLL block
• IFC (Intermediate Frequency Counter)
• 8-channel 8-bit ADC
• Five 16-bit Timers/Counters
• Two 3-wire SIO & One UART
• 18 Interrupts Sources( 7 External Interrupts / 5
Timer Interrupts / 3 Serial Port Interrupts / WDT
Interrupt / IF Counter Interrupt / ADC Interrupt ),
Two Priority Levels
• Two Power Saving Mode (Idle Mode and Power
Down Modes)
• 5V
±
10% Power supply
• 80-MQFP Package
HMS9XC8032
32K ROM
Automotive application
7 : O TP , 1 : M ASK
Extended 8051 core family MCU
1.2 Ordering Information
Device name
HMS91C8032
HMS97C8032
32K
32K bytes OTP
ROM Size (bytes)
RAM size
1024 bytes
1024 bytes
Package
80MQFP
80MQFP
Mask ROM version
OTP ROM version
NOV., 2001 Ver 1.02
1
HMS91C8032/97C8032
1.3 Features
Item
ROM
RAM
Instruction Cycle
Instruction Set
I/O Port
A/D Converter
Serial Interface
Timer/Counter
Buzzer(Beep) Output
Interrupt Source
PLL
Frequency
Synthesizer
Division Mode
Reference
Frequency
Charge Pump
Phase Detector
Frequency Counter
32K x 8-bit
1K x 8-bit
With variable instruction execution time function
1.66µs / 3.33µs / 26.6µs (with main system clock : 7.2MHz)
366.2µs (with sub-system clock : 32.768KHz)
MCS-51 Micro-controller Compatible Instruction Set
CMOS I/O : 62 pins (including 4-open drain ports)
8-bit resolution x 8-channels
3-wire serial I/O mode : 2 channels
Full duplex UART : 1 channel
Five 16-bit timers/event counters
Dedicated Watchdog timer
1.2KHz (fx/6000), 2.4KHz (fx/3000), 4.5KHz (fx/1600), 8.0KHz (fx/900)
7 External, 11 Internal Sources
Direct division mode (VCOL pin)
Pulse swallow mode (VCOH and VCOL pins)
13 types selected by program
1, 1.25, 2.5, 3, 5, 6.25, 9, 10, 12.5, 18, 20, 25, 50KHz
Error out : EO pin
Unlock detectable by program
Frequency Measurement
AMIFC pin : for 450KHz count
FMIFC pin : for 10.7MHz count
Idle mode
Power-down mode
Reset by RESET pin
Reset by Vdet circuit
Vdet circuit: Detection of less than 2.7V (Normal operation mode)
VDD = 4.5V to 5.5V (with PLL operating)
VDD > 1.8V (Data retention mode)
Main system clock : 7.2MHz
Sub-system clock : 32.768KHz
80 pin plastic MQFP
Features
Standby Function
Reset
Power Supply Voltage
System Clock
Package
2
NOV., 2001 Ver 1.02