
1998 Aug 26
2
Philips Semiconductors
Product specification
Low voltage 8-bit microcontroller with
6-kbyte embedded RAM
SZF2002
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)
16
16.1
16.2
16.3
16.4
17
I
2
C-BUS SERIAL I/O
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
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