Philips Semiconductors
Product specification
Low voltage 8-bit microcontroller with
6-kbyte embedded RAM
CONTENTS
1
2
3
4
5
6
7
7.1
7.2
8
8.1
8.2
9
9.1
9.2
9.3
9.4
9.5
10
11
11.1
11.2
12
12.1
12.2
12.3
12.4
12.5
13
13.1
13.2
14
14.1
14.2
15
15.1
15.2
15.3
15.4
15.5
FEATURES
GENERAL DESCRIPTION
APPLICATIONS
ORDERING INFORMATION
BLOCK DIAGRAM
FUNCTIONAL DIAGRAM
PINNING INFORMATION
Pinning
Pin description
FUNCTIONAL DESCRIPTION
General
CPU timing
MEMORY ORGANIZATION
Program memory
Data memory
Special Function Registers (SFRs)
Addressing
Paging logic
PROGRAM STATUS WORD (PSW)
I/O FACILITIES
Ports
Port configuration
TIMER/EVENT COUNTERS
Timer 0 and Timer 1
Timer 2
Timer/Counter 2 Control Register (T2CON)
Timer/Counter 2 Mode Register (T2MOD)
Watchdog Timer (T3)
PULSE WIDTH MODULATED OUTPUT
Prescaler Frequency Control Register (PWMP)
Pulse Width Register (PWM)
ANALOG-TO-DIGITAL CONVERTER (ADC)
ADC Control Register (ADCON)
ADC Result Register (ADCH)
REDUCED POWER MODES
Idle mode
Power-down mode
Wake-up from Power-down mode
Status of external pins
Power Control Register (PCON)
17.1
17.2
17.3
18
18.1
18.2
18.3
19
20
20.1
20.2
21
22
22.1
22.2
22.3
22.4
22.5
23
24
25
26
27
28
29
29.1
29.2
29.3
29.4
30
31
32
16
16.1
16.2
16.3
16.4
17
I
2
C-BUS SERIAL I/O
SZF2002
Serial Control Register (S1CON)
Serial Status Register (S1STA)
Data Shift Register (S1DAT)
Address Register (S1ADR)
STANDARD SERIAL INTERFACE SIO0:
UART
Multiprocessor communications
Serial Port Control and Status Register
(S0CON)
Baud rates
INTERRUPT SYSTEM
External interrupts INT2 to INT8
Interrupt priority
Interrupt related registers
CLOCK CIRCUITRY
RESET
External reset using the RST pin
Power-on-reset
SPECIAL FUNCTION REGISTERS
OVERVIEW
DEBUGGING SUPPORT
Recommended equipment
Connecting the pod
Powering the pod
Bank switching support
Software recommendations
INSTRUCTION SET
LIMITING VALUES
DC CHARACTERISTICS
ADC CHARACTERISTICS
AC CHARACTERISTICS
PACKAGE OUTLINE
SOLDERING
Introduction
Reflow soldering
Wave soldering
Repairing soldered joints
DEFINITIONS
LIFE SUPPORT APPLICATIONS
PURCHASE OF PHILIPS I
2
C COMPONENTS
1998 Aug 26
2
Philips Semiconductors
Product specification
Low voltage 8-bit microcontroller with
6-kbyte embedded RAM
1
FEATURES
SZF2002
•
Fully static 80C51 Central Processing Unit (CPU)
•
8-bit CPU, ROM, RAM and I/O in a 80 lead LQFP
package
•
6-kbytes ROM program memory, expandable externally
to 256 kbytes
•
6144 + 256 bytes low power RAM data memory,
expandable externally to 32 kbytes
•
Internal AUX RAM can be used for program execution
(only in combination with internal ROM)
•
Three 8-bit ports; 24 I/O lines
•
Three 16-bit timer/event counters
•
Flash Memory Interface optimized, with power saving
and programming options
•
Internal demultiplexing and latching of address/data bus
to reduce system component count
•
Interfaces to up to 256-kbyte Flash Memory (banked)
•
Fifteen source, fifteen vector nested interrupt structure
with two priority levels
•
Full duplex serial port (UART)
•
I
2
C-bus interface for serial transfer on two lines
•
Analog-to-Digital Converter (ADC) with Power-down
mode; 6 input channels and 8-bit ADC
•
Pulse Width Modulated (PWM) output (8-bit resolution)
•
Watchdog Timer
•
Enhanced architecture with:
– Non-page oriented instructions
– Direct addressing
– Four 8-byte RAM register banks
– Stack depth limited only by available internal RAM
(maximum 256 bytes)
– Multiply, divide, subtract and compare instructions
•
Modes of reduced activity: Power-down and Idle modes
4
ORDERING INFORMATION
TYPE
NUMBER
SZF2002HL
PACKAGE
NAME
LQFP80
DESCRIPTION
plastic low profile quad flat package; 80 leads; body 12
×
12
×
1.4 mm
VERSION
SOT315-1
3
APPLICATIONS
•
Wake-up via external interrupts at INT0 to INT8
•
Frequency range: up to 16 MHz (only limited by external
memory and ADC performance)
•
Supply voltage: 3.0 V
•
Very low power consumption:
operational 0.65 mW/MHz; Idle 0.25 mW/MHz at 3.0 V
•
Operating temperature:
−40
to +85
°C.
2
GENERAL DESCRIPTION
The SZF2002 low power system controller is
manufactured in an advanced 0.5
µm
CMOS technology.
The instruction set of the SZF2002 is based on that of the
80C51 and consists of over 100 instructions: 49 one-byte,
46 two-byte, and 16 three-byte. The device has low power
consumption and two software selectable modes for
power reduction: Idle and Power-down.
This data sheet details the specific properties of the
SZF2002; for details of the 80C51 core and peripheral
functions such as timers, UART and I/O, see
“Data Handbook IC20”.
For the I
2
C-bus refer to
“The
I
2
C-bus and how to use it”,
ordering number
9398 393 40011.
The SZF2002 is an 8-bit general purpose microcontroller
especially suited for wireless telephone and battery
powered applications. The SZF2002 also functions as an
arithmetic processor having facilities for both binary and
BCD arithmetic plus bit-handling capabilities.
1998 Aug 26
3