Document
MAGNACHIP SEMICONDUCTOR LTD. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS91C8232 HMS97C8232
User’s Manual (Ver. 1.2)
REVISION HISTORY VERSION 1.2 (SEP. 2004) This book The company name, Hynix Semiconductor Inc. changed to MagnaChip Semiconductor Ltd.
Version 1.2 Published by MCU Team 2001 MagnaChip Semiconductor Ltd. All right reserved. Additional information of this manual may be served by MagnaChip Semiconductor offices in Korea or Distributors and Representatives listed at address directory. MagnaChip 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, MagnaChip 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.
HMS91C8232/97C8232
OVERVIEW ...............................................1
Description .........................................................1 Ordering Information ..........................................1 Features .............................................................2 Pin Description ...................................................3 Pin Diagram .......................................................5
MEMORY ORGANIZATION ......................6
Program Memory ...............................................6 Data Memory .....................................................6 Special Function Register ..................................8
HARDWARE DESCRIPTION.................. 10
Clock Generation Block ...................................11 Machine Cycles ................................................12 Timer/Counters (Timer0, Timer1 and Timer2) .13 Timer (Timer3 and Timer4) ..............................17 Timer 5 .............................................................19 Standard Serial Interface (UART) ....................21 Standard Serial Interface (SIO 1, SIO 2) .........29 Port Structure and Operation ...........................38 Watch Dog Timer .............................................40 Buzzer ..............................................................42 IF Counter ........................................................43 PLL ...................................................................48 ADC .................................................................55 LCD DRIVER ...................................................57 Interrupts ..........................................................66 Reset ................................................................70 Power-On Reset ..............................................70 Power failure detection logic ............................71 Power-Saving Modes of Operation ..................72 The On-Chip Oscillators ...................................73 Power Line Configuration .................................75
SPECIAL FUNCTION REGISTERS ........76
Special Function Registers(SFR) Map .............76
Reset Value of the SFRs ................................. 78 Summary of SFR ............................................. 82
INSTRUCTION SET .............................115
Program Status Word .................................... 115 Addressing Modes ........................................ 115 Arithmetic Instructions ................................... 116 Logical Instructions ....................................... 117 Data Transfers .............................................. 118 Lookup Tables ............................................... 119 Boolean Instructions ...................................... 120 Relative Offset ............................................... 120 Jump Instructions .......................................... 121 Instruction Set Summary ............................... 123 Instruction Definitions .................................... 126
ELECTRICAL CHARACTERISTICS .....170
Absolute Maximum Ratings .......................... 170 Operating Conditions .................................... 170 AC Characteristics ........................................ 170 DC Characteristics ........................................ 175 CPU Timing ................................................... 179
EPROM CHARACTERISTICS ..............180
Reading the Signature Bytes: ....................... 180 Modified Quick-Pulse Programming .............. 180 Program Verification ...................................... 181
OTP PROGRAMMING ..........................186
HMS97C8232 OTP Programming ................. 186 Device Configuration Data ........................... 186
DEVELOPMENT TOOLS ......................188
HMS91C8232 Emulator POD Connector ..... 189 HMS9XC8232 POD Hardware Settings ........ 190
PACKAGE DIMENSION .......................192
Mask Order & Verification sheet ............193
APR. 2005 Ver 1.2
HMS91C8232/97C8232
HMS91C8232 HMS97C8232
1. OVERVIEW
1.1 Description
The HMS91C8232 and the HMS97C8232 are a member of the HMS9XC8232 series. This devices are the Digital Tu.