10.3Watchdog Timer (T3)
11I/O FACILITIES
12FULL DUPLEX SERIAL PORT (UART)
12.1The Serial Port operating modes
12.2Serial Port Control Register (SCON)
13REDUCED POWER MODES
13.1Idle mode
13.2Power-down mode
13.3Wake-up from Power-down mode
13.4Status of external pins
13.5Power Control Register (PCON)
14OSCILLATOR CIRCUIT
15RESET
15.1Power-on reset
16MULTIPLE PROGRAMMING ROM
(MTP-ROM)
16.1Features
16.2General description
16.3Automatic programming and Automatic chip
erase
16.4Command definitions
16.5Silicon-ID-Read command
16.6Set-up of Automatic chip erase and Automatic
erase commands
16.7Set-up of the Automatic program and Program
commands
16.8Reset command
16.9Write operation status
16.10Write operation
16.11System considerations
16.12Command programming/data programming
and erase operation
17SPECIAL FUNCTION REGISTERS
OVERVIEW
18INSTRUCTION SET
19LIMITING VALUES
20DC CHARACTERISTICS
21AC CHARACTERISTICS
21.1Serial Port characteristics
21.2Timing waveforms
21.3Timing symbol naming conventions
22PACKAGE OUTLINES
23SOLDERING
23.1Introduction
23.2DIP
23.3PLCC and QFP
24DEFINITIONS
25LIFE SUPPORT APPLICATIONS
1998 Apr 072
Page 3
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
1FEATURES
• 80C51 CPU
• 64-kbyte on-chip Multiple Programming ROM
(MTP-ROM), expandable externally to 64 kbytes
program memory address space
• 512-byte on-chip RAM, expandable externally to
64 kbytes data memory address space
• P89C738 pin outs fully compatible to the standard
8051/8052
• 8-bit I/O ports for P89C738: 4 and P89C739: 6
• Full-duplex UART compatible with the standard 80C51
and the 8052
• Two standard 16-bit timers/event counters
• An additional 16-bit timer (functionally equivalent to the
Timer 2 of the 8052)
• On-chip Watchdog Timer (T3)
• 6-source and 6-vector interrupt structure with 2 priority
levels
• Up to 3 external interrupt request inputs
• Two programmable power reduction modes: Idle and
Power-down
• Termination of Idle mode by any interrupt, external or
Watchdog Timer reset
• Wake-up from Power-down by external interrupt,
external or Watchdog Timer reset
• Packages,
– P89C738: DIP40, PLCC44 and QFP44
– P89C739: PLCC68 and QFP64
• Improved Electromagnetic Compatibility (EMC)
• Frequency range: 3.5 to 40 MHz
• ROM code protection.
2GENERAL DESCRIPTION
The P89C738 and P89C739 (hereafter generally referred
to as P89C738 unless the P89C739 is specifically
mentioned) are 8 8-bit Flash microcontrollers
manufactured in an advanced CMOS process and is a
derivative of the PCB80C51 microcontroller family. This
device provides architectural enhancements that make it
applicable in a variety of applications in general control
systems, especially in those systems which need a large
on-chip ROM and RAM capacity.
The P89C738 contains a non-volatile 64-kbyte Multiple
Programming ROM (MTP-ROM) program memory, a
volatile 512 bytes read/write data memory, four 8-bit I/O
ports (six for the P89C739), two 16-bit timer/event
counters (identical to the timers of the 80C51), a 16-bit
timer (identical to the Timer 2 of the 8052), a multi-source
two-priority-level nested interrupt structure, one serial
interface (UART), a Watchdog Timer (T3), an on-chip
oscillator and timing circuits. For systems that require
extra capability, the P89C738 can be expanded using
standard TTL compatible memories and logic.
The device also functions as an arithmetic processor
having facilities for both binary and BCD arithmetic plus
bit-handling capabilities. The P89C738 has the same
instruction set as the PCB80C51 which consists of over
100 instructions: 49 one-byte, 46 two-byte and
16 three-byte. With a 16 MHz crystal, 58% of the
instructions are executed in 750 ns and 40% in 1.5 µs.
Multiply and divide instructions require 3 µs.
1. Temperature and frequency range for all types: 0 to 70 °C and 3.5 to 40 MHz.
2. For more information on the package outline of this version, please contact the Philips Semiconductors Sales office.
1998 Apr 073
(1)
NAMEDESCRIPTIONVERSION
body 14 × 20 × 2.7 mm; high stand-off height
PACKAGE
SOT319-1
Page 4
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
d
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
1998 Apr 074
(2)
T0
(2)
(2)
T1
internal
interrupts
INT0
(2)
INT1
V
DD
book, full pagewidth
V
SS
RXD
(2)
(2)
TXD
4BLOCK DIAGRAM
8-bit Flash microcontrollersP89C738; P89C739
Philips SemiconductorsProduct specification
XTAL1
XTAL2
TWO 16-BIT
TIMERS/
EVENT
COUNTERS
(T0, T1)
80C51 core
excluding
ROM/RAM
PARALLEL I/O PORTS
AND
EXTERNAL BUS
PROGRAMMABLE
SERIAL PORT
FULL DUPLEX
UART
SYNCHRONOUS
SHIFT
CPU
PROGRAM
MEMORY
64-kbyte
MTP-ROM
DATA
MEMORY
256-byte
RAM
DATA
MEMORY
256-byte
AUX-RAM
P89C738
P89C739
8-bit
internal bus
16-BIT
16 kbytes BUS
EXPANSION CONTROL
888888
P3P2P1P0
P4
P5
RD
PSENEAALE/WEWR
(3)
(3)
(2)
(2)
TIMER/
EVENT
COUNTER
T2EX
(T2)
(1)
T2
(1)
internal
reset
WATCHDOG
TIMER
(T3)
RST
MGK189
(1) Alternative function for Port 1.
(2) Alternative function for Port 3.
(3) P4 and P5 are only available on the P89C738ABA and P89C739ABB (PLCC68 and QFP64).
Fig.1 Block diagram.
Page 5
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
5FUNCTIONAL DIAGRAM
handbook, full pagewidth
XTAL1
XTAL2
PORT 5
PORT 4
RST
EA
PSEN
ALE
P89C738
P89C739
PORT 0
PORT 1
PORT 2
PORT 3
T2
T2EX
RXD
TXD
INT0
INT1
T0
T1
WR
RD
ADDRESS
AND
DATA BUS
ADDRESS
BUS
secondary
functions
MGK191
Fig.2 Functional diagram.
1998 Apr 075
V
SS
V
DD
Page 6
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
6PINNING INFORMATION
6.1Pin configuration
handbook, full pagewidth
P1.5
P1.6
P1.7
RST
P3.0/RXD/data
n.c.
P3.1/TXD/clock
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1
P1.4
P1.3
P1.2
P1.1/T2EX
6
5
4
3
7
8
9
10
11
12
13
14
15
16
17
18
19
P3.6/WR
20
XTAL2
P3.7/RD
P89C738ABA
21
XTAL1
P1.0/T2
n.c.
2
1
22
23
SS
n.c.
V
VDDP0.0/AD0
44
43
24
25
P2.0/A8
P2.1/A9
P0.1/AD1
P0.2/AD2
42
41
27
26
P2.2/A10
P2.3/A11
P0.3/AD3
40
28
MGK185
P2.4/A12
39
38
37
36
35
34
33
32
31
30
29
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA/V
PP
n.c.
ALE/WE
PSEN
P2.7/A15
P2.6/A14
P2.5/A13
Fig.3 Pin configuration for PLCC44 package; for more information on the version see Chapter 3.
P5.0
P2.4/AD12
P2.3/AD11
P4.7
P2.2/AD10
P2.1/AD9
P2.0/AD8
P4.6
n.c.
V
SS
P4.5
XTAL1
XTAL2
P3.7/RD
P4.4
P3.6/WR
P4.3
27
28
29
30
31
32
33
34
n.c.
n.c.
n.c.
P1.5
P1.6
P1.7
RST
P3.0/RXD/data
Fig.6 Pin configuration for PLCC68 package; for more information on the version see Chapter 3.
1998 Apr 079
35
n.c.
36
n.c.
37
n.c.
38
39
n.c.
P3.1/TXD/clock
40
41
P3.2/INT0
P3.3/INT1
42
P3.4/T0
43
MGK187
P3.5/T1
Page 10
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
PP
P5.4
64
P5.3
63
P0.5/AD5
P0.6/AD6
62
61
P0.7/AD7
60
EA/V
59
n.c.
58
ALE/WE
PSEN
57
56
P2.7/AD15
P2.6/AD14
55
54
P5.2
53
P5.1
52
P0.4/AD4
P5.5
P0.3/AD3
P0.2/AD2
P5.6
P0.1/AD1
P0.0/AD0
P5.7
V
DD
V
SS
P1.0/T2
P4.0
P1.1/T2EX
P1.2
P1.3
P4.1
P1.4
P4.2
P1.5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
P89C739ABB
P2.5/AD13
51
P5.0
50
P2.4/AD12
49
48
P2.3/AD11
47
P4.7
46
P2.2/AD10
45
P2.1/AD9
P2.0/AD8
44
P4.6
43
n.c.
42
V
41
40
P4.5
39
XTAL1
38
XTAL2
37
P3.7/RD
P4.4
36
P3.6/WR
35
34
P4.3
33
P3.5/T1
SS
20
21
22
23
24
25
n.c.
n.c.
n.c.
P1.7
RST
P1.6
Fig.7 Pin configuration for QFP64 package (SOT319-1).
1998 Apr 0710
26
27
28
n.c.
n.c.
P3.0/RXD/data
29
30
31
P3.2/INT0
P3.3/INT1
P3.1/TXD/clock
32
MGK188
P3.4/T0
Page 11
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
1998 Apr 0711
Table 1 Pin description for DIP40; QFP44; PLC44; QFP64 and PLCC68.
(1)
SYMBOL
PIN
DESCRIPTION
PLCC68QFP64PLCC44QFP44DIP40
P1.0/T219111621Port 1: P1.0 to P1.7; 8-bit quasi-bidirectional I/O port. Port 1 can
P1.1/T2EX21131532
P1.222141443
P1.323151354
P1.425171265
P1.52719176
sink/source one TTL (= 4 LSTTL) input. It can drive CMOS inputs
without external pull-ups.
Port 1 alternative functions are: T2; Timer/event counter 2 external
event counter input (falling edge triggered). T2EX; Timer/event
counter 2 capture/reload trigger or external interrupt 2 input (falling
edge triggered).
P1.62820287
P1.72921398
RST30224109Reset; a HIGH level on this pin for two machine cycles while the
oscillator is running, resets the device. An internal pull-down resistor
permits power-on reset using only a capacitor connected to V
After a Watchdog Timer overflow this pin is pulled HIGH while the
internal reset signal is active.
P3.0/RXD/data342651110Port 3: P3.0 to P3.7; 8-bit quasi-bidirectional I/O Port with internal
P3.1/TXD/clock 392971311
P3.2/
pull-ups. Port 3 can sink/source one TTL (= 4 LSTTL) input. It can
drive CMOS inputs without external pull-ups.
Port 3 alternative functions are: RXD/data; Serial Port data input
(asynchronous) or data input/output (synchronous).
TXD/clock; Serial Port data output (asynchronous) or clock output
(synchronous). INT0; External interrupt 0 or gate control input for
Timer/event counter 0. INT1; External interrupt 1 or gate control
input for Timer/event counter 1. T0; external input for Timer/event
counter 0. T1; external input for Timer/event counter 1.
WR; external data memory write strobe. RD; external data memory
read strobe.
XTAL24838422018Crystal input 2: output of the inverting amplifier that forms the
oscillator. This pin left open-circuit when an external oscillator clock
is used (see Figs 18 and 20).
XTAL14939412119Crystal input 1: input to the inverting amplifier that forms the
oscillator, and input to the internal clock generator. Receives the
external oscillator clock signal when an external oscillator is used
(see Figs 18 and 20).
V
SS
5141402220Ground: circuit ground potential.
DD
6.2Pin description
.
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Page 12
1998 Apr 0712
(1)
SYMBOL
PIN
DESCRIPTION
PLCC68QFP64PLCC44QFP44DIP40
P2.0/A8 to
P2.2/A10
P2.3/A11 to
P2.4/A12
P2.5/A13 to
P2.7/A15
54 to 5644 to 4638 to 3424 to 3121 to 28Port 2: P2.0 to P2.7; 8-bit quasi-bidirectional I/O Port with internal
pull-ups. Port 2 can sink/source one TTL (= 4 LSTTL) input. It can
58 to 5948 to 49
drive CMOS inputs without external pull-ups.
Port 2 alternative functions are: A8 to A15; during access to
61, 64
and 65
51, 54
and 55
23 to 25
external memories (RAM/ROM) that use 16-bit addresses (MOVX
@DPTR) Port 2 emits the high-order address byte (A8 to A15).
PSEN6756263229Program Store Enable output: read strobe to the external program
memory via Port 0 and Port 2. It is activated twice each machine
cycle during fetches from external program memory.
When executing out of external program memory two activations of
PSEN are skipped during each access to external data memory.
PSEN is not activated (remains HIGH) during no fetches from
external program memory .PSEN can sink/source 8 LSTTL inputs. It
can drive CMOS inputs without external pull-ups.
WE
(2)
6857273330Address Latch Enable output: latches the lower byte of the
ALE/
address during access to external memory in normal operation. It is
activated every six oscillator periods except during an external data
memory access. ALE can sink/source 8 LSTTL inputs. It can drive
CMOS inputs without an external pull-up.
WE: Write Enable.
EA/V
PP
2 59293531External Access input: when during reset, EA is held at a TTL
HIGH level, the CPU executes from the internal program ROM.
When EA is held at a TTL LOW level during reset, the CPU executes
out of external program memory via Port 0 and Port 2. EA is not
allowed to float. EA is latched during reset and don’t care after reset.
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
P0.7/AD7 to
P0.4/AD4
P0.3/AD3 to
P0.2/AD2
P0.1/AD1 to
P0.0/AD0
V
DD
VPP: programming supply voltage.
3, 5, 6
and 9
11 to 123 to 422 to 21
60, 61, 62
and 1
30 to 3336 to 4332 to 39Port 0: P0.7 to P0.0; 8-bit open-drain bidirectional I/O port. It is also
the multiplexed low-order address and data bus during accesses to
external memory: AD0 to AD7. During these accesses internal
pull-ups are activated. Port 0 can sink/source 8 LSTTL inputs.
14 to 156 to 720 to 19
179184440Power supply (+5 V) pin for normal operation, Idle mode and
Power-down mode.
Page 13
1998 Apr 0713
(1)
SYMBOL
PIN
DESCRIPTION
PLCC68QFP64PLCC44QFP44DIP40
P4.0 to P4.720, 24,
26, 44,
46, 50, 53
and 57
P5.0 to P5.760, 62,
63, 7, 8,
10, 13
and 16
n.c.1, 4, 18,
31, 32,
33, 35,
36, 37, 38
12, 16,
18, 34,
36, 40, 43
and 47
50, 52,
53, 63,
64, 2, 5
and 8
23, 24,
25, 27,
28, 42
and 58
(3)
n.a.
n.a.n.a.Port 4: P4.0 to P4.7; 8-bit quasi-bidirectional I/O port with internal
pull-ups. Port 4 can sink/source 4 LSTTL inputs. It can drive CMOS
inputs without external pull-ups.
n.a.n.a.n.a.Port 5: P5.0 to P5.7; 8-bit quasi-bidirectional I/O port with internal
pull-ups. Port 5 can sink/source 4 LSTTL inputs. It can drive CMOS
inputs without external pull-ups.
6, 17, 28
and 39
1, 12, 23
and 34
n.a.Not connected.
52 and 66
Notes
1. To avoid a ‘latch-up’ effect at power-on, the voltage on any pin (at any time) must not be higher than VDD+ 0.5 V or lower than VSS− 0.5 V
respectively.
2. To prohibit the toggling of the ALE/WE pin (RFI noise reduction) the bit RFI in the PCON register (PCON.5) must be set by software. This bit is
cleared on reset and can be cleared by software. When set, ALE/WE pin will be pulled down internally, switching an external address latch to a
quiet state. The MOVX instruction will still toggle ALE/WE as a normal MOVX. ALE/WE will retain its normal HIGH value during Idle mode and a
LOW value during Power-down mode while in the ‘RFI’ mode. Additionally during internal access (EA = 1) ALE/WE will toggle normally when the
address exceeds the internal program memory size. During external access (EA = 0) ALE/WE will always toggle normally, whether the flag ‘RFI’ is
set or not.
3. n.a. = not applicable.
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Page 14
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
7FUNCTIONAL DESCRIPTION
This chapter gives a brief overview of the device.
Detailed functional descriptions are given in the following
chapters:
Chapter 8 “Memory organization”
Chapter 9 “Interrupt system”
Chapter 10 “Timers/counters”
Chapter 11 “I/O facilities”
Chapter 12 “Full duplex Serial Port (UART)”
Chapter 13 “Reduced power modes”
Chapter 14 “Oscillator circuit”
Chapter 15 “Reset”
Chapter 16 “Multiple Programming ROM (MTP-ROM)”.
7.1General
The P89C738 is a stand-alone high-performance
microcontroller designed for use in real time applications
such as instrumentation, industrial control and medium to
high-end consumer applications.
In addition to the 80C51 standard functions, the device
provides a number of dedicated hardware functions for
these applications. The P89C738 is a control-oriented
CPU with on-chip Program and data memory. It can
execute programs with internal or external program
memory up to 64 kbytes. It can also access up to
64 kbytes of external data memory. For systems requiring
extra capability, the P89C738 can be expanded using
standard memories and peripherals.
The P89C738 has two software selectable modes of
reduced activity for further power reduction: Idle and
Power-down. The Idle mode freezes the CPU while
allowing the RAM, timers, serial ports and interrupt system
to continue functioning. The Power-down mode saves the
RAM contents but freezes the oscillator causing all other
chip functions to be inoperative except the Watchdog
Timer if it is enabled. The Power-down mode can be
terminated by an external reset, a Watchdog Timer
overflow and in addition, by either of the two external
interrupts.
7.2Instruction set execution
The P89C738 uses the powerful instruction set of the
80C51. Additional Special Function Registers (SFRs) are
incorporated to control the on-chip peripherals.
The instruction set consists of 49 single-byte, 46 two-byte
and 16 three-byte instructions. When using a 16 MHz
oscillator, 64 instructions execute in 750 ns and
45 instructions execute in 1.5 µs. Multiply and divide
instructions execute in 3 µs (see Chapter 18).
1998 Apr 0714
Page 15
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
8MEMORY ORGANIZATION
The Central Processing Unit (CPU) manipulates operands
in three memory spaces; these are the 64 kbytes external
data memory (of which the lower 256 bytes reside in the
internal AUX-RAM), 512 bytes internal data memory
(consisting of 256 bytes standard RAM and 256 bytes
AUX-RAM) and the 64 kbytes internal and external
program memory.
8.1Program memory
The program memory address space of the P89C738
comprises an internal and an external memory portion.
The P89C738 has 64 kbytes of program memory on-chip.
The program memory can also be externally addressed up
to 64 kbytes. If the
EA pin is held HIGH, the P89C738
executes out of the internal program memory. If EA pin is
held LOW, the P89C738 fetches all instructions from the
external program memory. Figure 8 illustrates the program
memory address space.
The security bit is always set in the P89C738 and
P89C739 to protect the ROM code. Table 2 lists the
access to the internal and external program memory by the
MOVC instructions when the security bit has been set to a
logic 1. If the security bit has been set to a logic 0 there are
no restrictions for the MOVC instructions.
Table 2 Internal and external program memory access
MOVC
INSTRUCTION
MOVC in internal
PROGRAM MEMORY ACCESS
INTERNALEXTERNAL
YESYES
program memory
MOVC in external
NOYES
program memory
8.2Internal data memory
The internal data memory is divided into three physically
separated parts: 256 bytes of RAM, 256 bytes of
AUX-RAM, and a 128 bytes Special Function Registers
(SFRs) area. These parts can be addressed as follows
(see Fig.9 and Table 3):
• RAM locations 0 to 127 can be addressed directly and
indirectly as in the 80C51. Address pointers are R0 and
R1 of the selected register bank.
• RAM locations 128 to 255 can only be addressed
indirectly. Address pointers are R0 and R1 of the
selected register bank.
• AUX-RAM locations 0 to 255 are indirectly addressable
as the external data memory locations 0 to 255 with the
MOVX instructions. Address pointers are R0 and R1 of
the selected register bank and DPTR. When executing
from internal program memory, an access to AUX-RAM
0 to 255 will not affect the ports Port 0, Port 2,
P3.6 and P3.7.
• The SFRs can only be addressed directly in the address
range from 128 to 255.
An access to external data memory locations higher than
255 will be performed with the MOVX DPTR instructions in
the same way as in the 80C51 structure, i.e. with Port 0
and Port 2 as data/address bus and P3.6 and P3.7 as write
and read timing signals. Note that the external data
memory cannot be accessed with R0 and R1 as address
pointer.
Figure 9 shows the internal and external data memory
address space. Chapter 17 shows the Special Function
Registers overview. Four 8-bit register banks occupy
locations 0 through 31 in the lower RAM area. Only one of
these banks may be enabled at a time. The next 16 bytes,
locations 32 through 47, contain 128 directly addressable
bit locations.
handbook, halfpage
65535
0
INTERNAL
(EA = 1)
PROGRAM MEMORY
EXTERNAL
(EA = 0)
MGK190
Fig.8 Program memory address space.
1998 Apr 0715
The stack can be located anywhere in the internal
256-byte RAM. The stack depth is only limited by the
available internal RAM space of 256 bytes. All registers
except the Program Counter and the four 8-bit register
banks reside in the SFR address space.
Table 3 Internal data memory access
MEMORYLOCATIONADDRESS MODE
RAM0 to 127direct and indirect
128 to 255indirect only
SFR128 to 255direct only
AUX-RAM0 to 255indirect only with MOVX
Page 16
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
64 kbytes64 kbytes
64 kbytes
INTERNAL
(EA = 1)
0
PROGRAM MEMORY
EXTERNAL
(EA = 0)
255
127
0
Fig.9 Internal and external data memory address space.
8.3Addressing
The P89C738 has five modes for addressing:
• Register
• Direct
• Register-Indirect
• Immediate
• Base-Register plus Index-Register-Indirect.
The first three methods can be used for addressing
destination operands. Most instructions have a
‘destination/source’ field that specifies the data type,
addressing methods and operands involved.
For operations other than MOVs, the destination operand
is also a source operand.
OVERLAPPED SPACE
256
INDIRECT ONLY
DIRECT AND
INDIRECT
MAIN RAM
INTERNAL DATA MEMORY
SFRs
AUXILIARY
RAM
MBK524
EXTERNAL
DATA MEMORY
• 512 bytes of internal RAM through Direct or
Register-Indirect addressing. Bytes 0 to 127 of internal
RAM may be addressed directly/indirectly. Bytes
128 to 255 of internal RAM share their address location
with the SFRs and so may only be addressed indirectly
as data RAM. Bytes 0 to 255 of AUX-RAM can only be
addressed indirectly via MOVX.
• SFR through Direct addressing at address locations
128 to 255
• External data memory through Register-Indirect
addressing
• Program memory look-up tables through Base-Register
plus Index-Register-Indirect addressing.
Access to memory addresses is as follows:
• Register in one of the four 8-bit register banks through
Register, Direct or Register-Indirect addressing
1998 Apr 0716
Page 17
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
9INTERRUPT SYSTEM
The P89C738 contains the same interrupt structure as the
PCB80C51BH, but with a six-source interrupt structure
with two priority levels (see Fig.10).
The external interrupts INT0 and INT1 can each be either
level-activated or transition-activated, depending on bits
IT0 and IT1 in SFR TCON. The flags that actually generate
these interrupts are bits IE0 and IE1 in TCON. When an
external interrupt is generated, the corresponding request
flag is cleared by the hardware when the service routine is
vectored to, only if the interrupt was transition-activated.
If the interrupt was level-activated the external source has
to hold the request active until the requested interrupt is
actually generated. Then it has to deactivate the request
before the interrupt service routine is completed, or else
another interrupt will be generated.
The Timer 0 and Timer 1 interrupts are generated by TF0
and TF1, which are set by a roll-over in their respective
timer/counter register (except for Timer 0 in Mode 3 of the
serial interface). When a timer interrupt is generated, the
flag that generated it is cleared by the on-chip hardware
when the service routine is vectored to.
The Serial Port interrupt is generated by the logical ‘OR’ of
RI and TI. Neither of these flags is cleared by hardware.
The service routine will normally have to determine
whether it was RI or TI that generated the interrupt, and the
bit will have to be cleared by software.
The Timer 2 interrupt is generated by the logical OR of TF2
and EXF2. Neither of these flags is cleared by hardware.
In fact the service routine may have to determine whether
it was TF2 or EXF2 that generated the interrupt, and the bit
will have to be cleared by software.
An additional (third) external interrupt is available, if
Timer 2 is not used as timer/counter or if Timer 2 is used
in the baud rate generator mode. That external interrupt 2
is falling-edge triggered. It shares the Timer 2 interrupt
vector, interrupt enable and interrupt priority bits. If bit
EXEN2 = 1 (T2CON.3), a HIGH-to-LOW transition at pin
P1.1/T2EX sets the interrupt request flag EXF2
(T2CON.6) and can be used to generate an external
interrupt.
The P89C738 contains three 16-bit timer/counters:
Timer 0, Timer 1 and Timer 2; and one 8-bit timer, the
Watchdog Timer (T3). Timer 0, Timer 1 and Timer 2 may
be programmed to carry out the following functions:
• Measure time intervals and pulse durations
• Count events
• Generate interrupt requests.
10.1Timer 0 and Timer 1
Timers 0 and 1 each have a control bit in SFR TMOD that
selects the timer or counter function of the corresponding
timer. In the timer function, the register is incremented
every machine cycle. Thus, one can think of it as counting
machine cycles. Since a machine cycle consists
of 12 oscillator periods, the count rate is
1
⁄12 of the
oscillator frequency.
In the counter function, the register is incremented in
response to a HIGH-to-LOW transition at the
corresponding external input pin, T0 or T1. In this function,
the external input is sampled during S5P2 of every
machine cycle. When the samples show a HIGH in one
cycle and a LOW in the next cycle, the counter is
incremented. Thus, it takes two machine cycles
(24 oscillator periods) to recognize a HIGH-to-LOW
transition. There are no restrictions on the duty cycle of the
external input signal, but to ensure that a given level is
sampled at least once before it changes, it should be held
for at least one full machine cycle.
Timer 0 and Timer 1 can be programmed independently to
operate in one of four modes:
Mode 0 8-bit timer/counter with divide-by-32 prescaler
Mode 1 16-bit timer/counter
Mode 2 8-bit timer/counter with automatic reload
Mode 3 Timer 0: one 8-bit timer/counter and one 8-bit
timer. Timer 1: stopped.
When Timer 0 is in Mode 3, Timer 1 can be programmed
to operate in Modes 0, 1 or 2 but cannot set an interrupt
request flag and generate an interrupt. However, the
overflow from Timer 1 can be used to pulse the Serial Port
transmission-rate generator. With a 16 MHz crystal, the
counting frequency of these timer/counters is as follows:
• In the timer function, the timer is incremented at a
frequency of 1.33 MHz (
1
⁄12× oscillator frequency)
• In the counter function, the frequency handling range for
external inputs is 0 to 0.66 MHz.
Both internal and external inputs can be gated to the timer
by a second external source for directly measuring pulse
duration.
The timers are started and stopped under software control.
Each one sets its interrupt request flag when it overflows
from all logic 1's to all logic 0's (respectively, the automatic
reload value), with the exception of Mode 3 as previously
described.
10.1.1Timer/Counter Mode Control Register (TMOD)
Table 9 Timer/Counter Mode Control Register (SFR address 89H)
76543210
GATEC/
TM1M0GATEC/TM1M0
Table 10 Description of TMOD bits for Timer 1 and Timer 0
Timer 0: bit TMOD.0 to TMOD.3; Timer 1: bit TMOD.4 to TMOD.7; n = 0, 1.
BITSYMBOLDESCRIPTION
7 and 3GATEGating control. When set Timer/counter ‘n’ is enabled only when
INTn pin is HIGH and
control bit TRn (TR1 or TR0) is set. When cleared Timer n is enabled whenever TRn
control bit is set.
6 and 2C/
TTimer or Counter Selector. Cleared for Timer operation; input from internal system
clock. Set for Counter operation; input from pin Tn (T1 or T0).
5 and 1M1Timer 0, Timer 1 mode select; see Table 11.
4 and 0M0
1998 Apr 0719
Page 20
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 11 Timer 0; Timer 1 mode select
M1M0OPERATING
00Timer TL0; TL1 serves as 5-bit prescaler.
0116-bit Timer/Counter TH0; TH1 and TL0; TL1 are cascaded; there is no prescaler.
108-bit auto-reload Timer/Counter TH0; TH1 holds a value which is to be reloaded into
TL0; TL1 each time it overflows.
11Timer 0: TL0 is an 8-bit Timer/Counter controlled by the standard Timer 0 control bits.
TH0 is an 8-bit timer only controlled by Timer 1 control bits.
11Timer 1: Timer/Counter 1 stopped.
10.1.2Timer/Counter Control Register (TCON)
Table 12 Timer/Counter Control Register (SFR address 88H)
76543210
TF1TR1TF0TR0IE1IT1IE0IT0
Table 13 Description of TCON bits
BITSYMBOLDESCRIPTION
7 and 5TF1 and TF0 Timer 1 and Timer 0 overflow flags. Set by hardware on Timer/Counter overflow.
Cleared by hardware when processor vectors to interrupt routine.
6 and 4TR1 and TR0 Timer 1 and Timer 0 run control bits. Set/cleared by software to turn Timer/Counter
on/off.
3 and 1IE1 and IE0Interrupt 1 and Interrupt 0 edge flags. Set by hardware when external interrupt edge
detected. Cleared when interrupt processed.
2 and 0IT1 and IT0Interrupt 1 and Interrupt 0 type control bits. Set/cleared by software to specify falling
edge/LOW level triggered external interrupts.
1998 Apr 0720
Page 21
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
10.2Timer 2
Timer 2 is functionally similar to the Timer 2 of the 8052AH. Timer 2 is a 16-bit timer/counter which is formed by two
SFRs, TL2 and TH2. Another pair of SFRs, RCAP2L and RCAP2H, form a 16-bit capture register or a 16-bit reload
register.
Like Timer 0 and Timer 1, Timer 2 can operate either as timer or as event counter. This is selected by bit C/T2 in SFR
T2CON. The timer has three operating modes: ‘capture’, ‘autoload’ and ‘baud rate generator’, which are selected by bits
in SFR T2CON (see Tables 14 and 15).
10.2.1T
Table 14 Timer/Counter 2 Control Register (SFR address C8H)
Table 15 Description of T2CON bits
IMER/COUNTER 2CONTROL REGISTER (T2CON)
76543210
TF2EXF2RCLKTCLKEXEN2TR2C/
BITSYMBOLDESCRIPTION
7TF2Timer 2 overflow flag. Set by a Timer 2 overflow and must be cleared by software. TF2
will not be set when either RCLK = 1 or TCLK = 1. When Timer 2 interrupt is enabled,
TF2 = 1 will cause the CPU to vector to Timer 2 interrupt routine.
6EXF2Timer 2 external flag. Set when either a capture or reload is caused by a negative
transition on T2EX and when EXEN2 = 1. When Timer T2 interrupt is enabled,
EXF2 = 1 will cause the CPU to vector to Timer 2 interrupt routine.
5RCLKReceive clock flag. When set, causes the Serial Port to use Timer 2 overflow pulses
for its receive clock in Modes 1 and 3. RCLK = 0 causes Timer 1 overflows to be used
for the receive clock.
4TCLKTransmit clock flag. When set, causes the Serial Port to use Timer 2 overflow pulses
for its transmit clock in Modes 1 and 3. TCLK = 0 causes Timer 1 overflows to be used
for the transmit clock.
3EXEN2Timer 2 external enable flag. When set, allows a capture or reload to occur as a result
of a negative transition on T2EX, if Timer 2 is not being used to clock the Serial Port.
EXEN2 = 0, causes Timer 2 to ignore events at T2EX.
T2Timer 2 timer or counter select. C/T2 = 0 selects the internal timer with a clock
frequency of1⁄12f
RL2Capture/reload flag. When set, capture will occur on negative transitions at T2EX if
EXEN2 = 1. When cleared, reloads will occur upon either Timer 2 overflows or negative
transitions at T2EX if EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is ignored
and the timer is forced to reload upon overflow.
10.2.2CAPTURE MODE
In the capture mode (see Fig.11) there are two options
which are selected by bit EXEN2 in T2CON. If EXEN2 = 0,
then Timer 2 is a 16-bit timer/counter which on overflow
sets bit TF2 (Timer 2 overflow bit). TF2 can be used to
generate an interrupt. If EXEN2 = 1, Timer 2 operates as
above, with the added feature that a HIGH-to-LOW
transition at the external input T2EX causes the current
value in Timer 2 registers (TL2 and TH2) to be captured
into registers RCAP2L and RCAP2H, respectively. The
HIGH-to-LOW transition of T2EX also causes bit EXF2 in
T2CON to be set. EXF2 can be used to generate an
interrupt.
10.2.3A
UTOMATIC RELOAD MODE
In the automatic reload mode (see Fig.12) there are two
options which are selected by bit EXEN2 in SFR T2CON.
If EXEN2 = 0, then a Timer 2 overflow sets TF2 and
causes the Timer 2 registers to be reloaded with the 16-bit
value in registers RCAP2L and RCAP2H, which are preset
by software.
If EXEN2 = 1, Timer 2 operates as above, with the added
feature that a HIGH-to-LOW transition at the external input
T2EX triggers the 16-bit reload and sets EXF2.
The baud rate generation by Timer 1 and/or Timer 2 is
used for the Serial Port in Mode 1 and Mode 3. The baud
rate generation mode is similar to the automatic reload
mode, in that a roll-over in TH2 causes the Timer 2
registers to be reloaded with the 16-bit value in registers
RCAP2L and RCAP2H, which are preset by software.
The baud rates for the Serial Port in Modes 1 and 3 are
determined by Timer 2 overflow rate as follows:
In this mode an overflow of Timer 2 does not set TF2.
If EXEN2 = 1, a HIGH-to-LOW transition at pin T2EX sets
EXF2 and can be used to generate an interrupt.
10.2.4B
AUD RATE GENERATOR MODE
The baud rate generator mode (see Fig.13) is selected by
RCLK = 1 and/or TCLK = 1 in SFR T2CON. Overflows of
either Timer 2 or Timer 1 can be used independently for
generating baud rates for transmit and receive.
handbook, full pagewidth
12OSC
T2 PIN
T2EX PIN
C/T2 = 0
C/T2 = 1
transition
detector
control
TR2
capture
control
EXEN2
Fig.11 Timer 2 in capture mode.
TL2
(8 BITS)
RCAP2LRCAP2H
TH2
(8 BITS)
TF2
EXF2
MLA608
Timer 2
interrupt
1998 Apr 0722
Page 23
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
handbook, full pagewidth
12OSC
T2 PIN
T2EX PIN
(note: oscillator frequency
is divided by 2 not by 12)
C/T2 = 0
C/T2 = 1
transition
detector
TH2
(8 BITS)
control
EXEN2
control
TR2
reload
TL2
(8 BITS)
RCAP2LRCAP2H
Fig.12 Timer 2 in automatic reload mode.
timer 1
overflow
TF2
EXF2
÷2
Timer 2
interrupt
MLA609
10
OSC
÷2
T2 pin
T2EX pin
C/T2 = 0
C/T2 = 1
transition
detector
control
TR2
control
EXEN2
TL2
(8 BITS)
RCAP2LRCAP2H
EXF2
Fig.13 Timer 2 in baud rate generator mode.
1998 Apr 0723
TH2
(8 BITS)
timer 2
interrupt
reload
10
10
÷16
÷16
SMOD
RCLK
RX clock
TCLK
TX clock
MGK192
Page 24
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
10.3Watchdog Timer (T3)
The Watchdog Timer (see Fig.14), consists of an 11-bit
prescaler and an 8-bit timer formed by SFR T3. The timer
is incremented every 1.5 ms, which is derived from the
system clock frequency of 16 MHz by the following
f
formula:
f
timer
=
clk
-------------------------------- 12 2048×()
The 8-bit timer increments every 12 × 2048 cycles of the
on-chip oscillator. When a timer overflow occurs, the
microcontroller is reset. The internal reset signal is not
inhibited when the external RST pin is kept LOW, e.g. by
an external reset circuit. The reset signal drives Ports 1, 2,
3, 4 and 5 outputs into the HIGH state and Port 0 into
high-impedance, no matter whether the clock oscillator is
running or not.
To prevent a system reset the timer must be reloaded in
time by the application software. If the processor suffers a
hardware/software malfunction, the software will fail to
reload the timer. This failure will result in a reset upon
overflow thus preventing the processor running out of
control.
This time interval is determined by the 8-bit reload value
that is written into register T3:
Watchdog time interval
T3[]12×2048×
=
---------------------------------------------f
clk
The Watchdog Timer can only be reloaded if the condition
flag WLE (PCON.4) has been previously set HIGH by
software. At the moment the counter is loaded WLE is
automatically cleared.
In the Idle mode the Watchdog Timer and reset circuitry
remain active.
The Watchdog Timer is controlled by the Watchdog enable
signal
EW (EBTCON.1). A HIGH level enables the
Watchdog Timer and disables the Power-down mode.
A LOW level disables the Watchdog Timer and enables
the Power-down mode.
handbook, full pagewidth
(1) See Fig.21.
1/12 f
EW
clk
INTERNAL BUS
PRESCALER
11-BIT
write
T3
TIMER T3 (8-BIT)
LOADCLEAR
CLEAR
PCON.4
INTERNAL BUS
Fig.14 Watchdog Timer block diagram.
to reset circuitry
LOADEN
WLEPD
LOADEN
(1)
PCON.1
MBH081
1998 Apr 0724
Page 25
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
11 I/O FACILITIES
The P89C738 has 4 and P89C739 has 6 8-bit ports.
Ports 0 to 3 are the same as in the 80C51, with the
exception of the additional function of Port 1. Port lines
P1.0 and P1.1 may be used as inputs for Timer 2, P1.1
may also be used as an additional (third) external interrupt
request input.
Ports 0, 1, 2, and 3 perform the following alternative
functions:
Port 0 Provides the multiplexed low-order address and
data bus used for expanding the P89C738 with
standard memories and peripherals.
Port 1 Pins can be configured individually to provide:
expanding the P89C738 with external program
memory and/or external data memory.
Port 3 Pins can be configured individually to provide:
external interrupt request inputs (external
interrupt 0/1); external inputs for Timer/counter 0
and Timer/counter 1; Serial Port receiver input and
transmitter output control signals to read and write
external data memory.
Bits which are not used for the alternative functions may be
used as normal bidirectional I/O pins. The generation or
use of a Port 1 or Port 3 pin as an alternative function is
carried out automatically by the P89C738 provided the
associated SFR bit is HIGH. Otherwise the port pin is held
at a logical LOW level.
V
DD
p2
p1
p3
from port latch
input data
read port pin
Q
INPUT
BUFFER
n
I1
Fig.15 I/O buffers in the P89C738; P89C739 (Ports 1, 2, 3, 4 and 5).
I/O PIN
MGG025
1998 Apr 0725
Page 26
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
12 FULL DUPLEX SERIAL PORT (UART)
The serial port is functionally similar to the implementation
in the 8052AH, with the possibility of two different baud
rates for receive and transmit with Timer 1 and Timer 2 as
baud rate generators. It is full duplex, meaning it can
receive and transmit simultaneously. It is also
receive-buffered, meaning it can commence reception of a
second byte before a previously received byte has been
read from the receive register. However, if the first byte still
has not been read by the time the reception of the second
byte is complete, one of the bytes will be lost. The Serial
Port receive and transmit registers are both accessed as
SFR SBUF. Writing to SBUF loads the transmit register,
and reading SBUF accesses the physically separate
receive register.
12.1The Serial Port operating modes
The serial port can operate in one of 4 modes:
Mode 0 Serial data enters and exits through RXD.
TXD outputs the shift clock. Eight bits are
transmitted/received (LSB first). The baud rate is
fixed at
1
⁄12f
.
clk
Mode 1 10 bits are transmitted (through TXD) or received
(through RXD): a start bit (logic 0), 8 data bits
(LSB first), and a stop bit (logic 1). On receive,
the stop bit goes into RB8 in SFR SCON.
The baud rate is variable.
Mode 2 11 bits are transmitted (through TXD) or received
(through RXD): start bit (logic 0), 8 data bits (LSB
first), a programmable 9th data bit, and a stop bit
(logic 1). On transmit, the 9th data bit (TB8 in
SFR SCON) can be assigned the value of a
logic 0 or logic 1. For example, the parity bit (P in
the PSW) could be moved into TB8. On receive,
the 9th data bit goes into RB8 in SFR SCON,
while the stop bit is ignored. The baud rate is
programmable to either
1
⁄32or1⁄64f
clk
.
Mode 3 11 bits are transmitted (through TXD) or received
(through RXD): a start bit (logic 0), 8 data bits
(LSB first), a programmable 9th data bit and a
stop bit (logic 1). In fact, Mode 3 is the same as
Mode 2 in all respects except the baud rate.
The baud rate in Mode 3 is variable.
In all four modes, transmission is initiated by any
instruction that uses SFR SBUF as a destination register.
In Mode 0, reception is initiated by the condition RI = 0 and
REN = 1. Reception is initiated by incoming start bit if
REN = 1 in the other modes.
1998 Apr 0726
Page 27
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
12.2Serial Port Control Register (SCON)
Table 17 Serial Port Control Register (SFR address 98H)
76543210
SMOSM1SM2RENTB8RB8TIRI
Table 18 Description of SCON bits
BITSYMBOLDESCRIPTION
7SM0These bits are used to select the Serial Port mode; see Table 19.
6SM1
5SM2Enables the multiprocessor communication feature in Modes 2 and 3. In these
modes, if SM2 = 1, then RI will not be activated if the received 9th data bit (RB8) is a
logic 0. In Mode 1, if SM2 = 1, then RI will not be activated unless a valid stop bit was
received. In Mode 0, SM2 should be a logic 0.
4RENEnables serial reception. Set and cleared by software as required.
3TB8The 9th data bit that will be transmitted in Modes 2 and 3. Set or cleared by software
as required.
2RB8In Modes 2 and 3, RB8 is the 9th data bit received. In Mode 1, if SM2 = 0 then RB8 is
the stop bit that was received. In Mode 0, RB8 is not used.
1TITransmit Interrupt flag. Set by hardware at the end of the 8th bit time in Mode 0, or at
the beginning of the stop bit time in the other modes, in any serial transmission. TI must
be cleared by software.
0RIReceive Interrupt flag. Set by hardware at the end of the 8th bit time in Mode 0, or
halfway through the stop bit time in the other modes, in any serial transmission (except:
Two software selectable modes of reduced power
consumption are implemented: Idle and Power-down
mode.
Idle mode operation permits the interrupt, serial ports and
timer blocks to function while the CPU is halted. The
following functions remain active during Idle mode:
• Timer 0, Timer 1, Timer 2, Watchdog Timer
• UART
• External interrupt.
These functions may generate an interrupt or reset and
thus end the Idle mode.
The Power-down mode operation freezes the oscillator.
and can only be activated by setting the PD bit in the SFR
PCON (see Fig.17).
13.1Idle mode
The instruction that sets IDL (PCON.0) is the last
instruction executed in the normal operating mode before
Idle mode is activated. Once in the Idle mode, the CPU
status is preserved in its entirety: the Stack Pointer,
Program Counter, Program Status Word, Accumulator,
RAM and all other registers maintain their data during Idle
mode. The status of external pins during Idle mode is
shown in Table 20.
There are three ways to terminate the Idle mode:
• Activation of any enabled interrupt will cause IDL
(PCON.0) to be cleared by hardware terminating Idle
mode. The interrupt is serviced, and following return
from interrupt instruction RETI, the next instruction to be
executed will be the one which follows the instruction
that wrote a logic 1 to PCON.0.
The flag bits GF0 (PCON.2) and GF1 (PCON.3) may be
used to determine whether the interrupt was received
during normal execution or during the Idle mode.
For example, the instruction that writes to PCON.0 can
also set or clear one or both flag bits. When Idle mode is
terminated by an interrupt, the service routine can
examine the status of the flag bits.
• The second way of terminating the Idle mode is with an
external hardware reset. Since the oscillator is still
running, the hardware reset is required to be active for
two machine cycles (24 oscillator periods) to complete
the reset operation.
• The third way of terminating the Idle mode is by internal
watchdog reset.
13.2Power-down mode
The instruction that sets PD (PCON.1) is the last executed
prior to going into the Power-down mode. The oscillator is
stopped. Note that the Power-down mode also can be
entered when the watchdog has been disabled.
The Power-down mode can be terminated by an external
reset in the same way as in the 80C51 or in addition by any
one of the two external interrupts, IE0 or IE1
(see Section 9.1).
The status of the external pins during Power-down mode
is shown in Table 20. If the Power-down mode is activated
while in external program memory, the port data that is
held in the SFR P2 is restored to Port 2. If the data is a
logic 1, the port pin is held HIGH during the Power-down
mode by the strong pull-up transistor ‘p1’ (see Fig.15).
13.3Wake-up from Power-down mode
The Power-down mode of the P89C738 can also be
terminated by any one of the two external interrupts, IE0 or
IE1. A termination with an external interrupt does not affect
the internal data memory and does not affect the Special
Function Registers (SFRs). This gives the possibility to
exit Power-down without changing the port output levels.
To terminate the Power-down mode with an external
interrupt, IE0 or IE1 must be switched to be level-sensitive
and must be enabled. The external interrupt input signal
INT0 and INT1 must be kept LOW until the oscillator has
restarted and stabilized (see Fig.16).
In order to prevent any interrupt priority problems during
wake-up, the priority of the desired wake-up interrupt
should be higher than the priorities of all other enabled
interrupt sources. The instruction following the one that put
the device into the Power-down mode will be the first one
which will be executed after an interrupt has been
serviced.
Fig.17 Internal Idle and Power-down clock configuration.
1998 Apr 0729
Page 30
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
13.4Status of external pins
Table 20 Status of the external pins during Idle and Power-down modes
MODEMEMORYALE
IdleinternalHIGHHIGHport dataport dataport dataport dataport dataport data
externalHIGHHIGHfloatingport dataaddressport dataport dataport data
Power-downinternalLOWLOWport dataport dataport dataport dataport dataport data
externalLOWLOWfloatingport dataport dataport dataport dataport data
13.5Power Control Register (PCON)
Special modes are activated by software via the SFR PCON. PCON is not bit addressable. The reset value of PCON is
00H.
Table 21 Power Control Register (SFR address 87H)
76543210
SMODARERFIWLEGF1GF0PDIDL
Table 22 Description of PCON bits
BITSYMBOLDESCRIPTION
7SMODDouble baud rate bit. When set to a logic 1 the baud rate is doubled when Timer 1 is
used to generate baud rate, and the Serial Port is used in Modes 1, 2 or 3.
6AREAUX-RAM enable bit. When set to a logic 1 the AUX-RAM is disabled, so that all
MOVX-instructions access the external data memory.
5RFIReduced Radio Frequency Interference bit. When set to a logic 1 the toggling of the
ALE pin is prohibited. This bit is cleared on reset. See also Chapters 1 “Features”: on
EMC and 6 “Pinning information”: note 2.
4WLEWatchdog Load Enable. This flag must be set by software prior to loading the
Watchdog Timer (T3). It is cleared when timer T3 is loaded.
3GF1General-purpose flag bit.
2GF0
1PD
0IDL
(1)
(1)
Power-down select. Setting this bit activates the Power-down mode.
Idle mode select. Setting this bit activates the Idle mode.
PSENPORT 0PORT 1PORT 2PORT 3PORT 4PORT 5
Note
1. If logic 1s are written to PD and IDL at the same time, PD takes precedence.
1998 Apr 0730
Page 31
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
14 OSCILLATOR CIRCUIT
The oscillator circuit of the P89C738 is a single-stage
inverting amplifier in a Pierce oscillator configuration.
The circuitry between the XTAL 1 and XTAL 2 is basically
an inverter biased to the transfer point. Either a crystal or
ceramic resonator can be used as the feedback element to
complete the oscillator circuitry (see Fig.19).
handbook, full pagewidth
XTAL1XTAL2
to internal
timing circuits
400 Ω
Q1
Both are operated in parallel resonance. XTAL 1 is the
high gain amplifier input, and XTAL 2 is the output (see
Fig.18).
To drive the P89C738 externally, XTAL 1 is driven from an
external source and XTAL 2 left open-circuit (see Fig.20).
The reset circuitry for the P89C738 is connected to the
reset pin RST. A Schmitt trigger is used at the input for
noise rejection. The output of the Schmitt trigger is
sampled by the reset circuitry every machine cycle.
A reset is accomplished by holding the RST pin HIGH for
at least two machine cycles (24 oscillator periods).
The CPU responds by executing an internal reset. During
reset ALE and PSEN output are at a HIGH level. In order
to perform a correct reset, this level must not be affected
by external elements.
In the P89C738 the internal reset can also be activated by
the Watchdog Timer (T3). If the Watchdog Timer is also
used to reset external devices, the usual capacitor
arrangement should not be connected to RST pin. Instead,
an extra circuit should be used to perform the power-on
reset operation. It should be remembered that a timer T3
overflow, if enabled, will force a reset condition to the
P89C738 by an internal connection, whether the output
RST is tied to LOW or not (see Fig.21).
The internal reset is executed during the second cycle in
which RST is pulled HIGH and is repeated every cycle until
RST goes LOW. It leaves the internal registers as shown
in Chapter 17.
15.1Power-on reset
Figure 21 shows the on-chip reset configuration.
When VDD is turned on, and provided its rise time does not
exceed 10 ms, an automatic reset can be obtained by
connecting the RST pin to VDD via a 2.2 µF capacitor.
When the power is switched on, the voltage on the RST pin
is equal to V
minus the capacitor voltage, and
DD
decreases from VDD as the capacitor charges through the
internal resistor (R
the more slowly V
) to ground. The larger the capacitor,
RST
decreases. V
RST
must remain above
RST
the lower threshold of the Schmitt trigger long enough to
effect a complete reset. The time required is the oscillator
start-up time, plus 2 machine cycles.
handbook, full pagewidth
V
DD
+
10 µF
RST
8 kΩ
on-chip circuit
R
GND
SCHMITT
TRIGGER
RST
Fig.21 On-chip reset configuration.
1998 Apr 0732
overflow timer T3
RSTOUT
RESET
CIRCUITRY
POC
MGK198
Page 33
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
16 MULTIPLE PROGRAMMING ROM (MTP-ROM)
16.1Features
• 64 kbytes electrically erasable internal program memory
• Up to 64 kbytes external program memory if the internal
program memory is switched off (
EA = 0)
• Programming and erasing voltage 12 V ±5%
• Command register architecture
– Byte Programming (10 µs typical)
– Auto chip erase: 5 seconds (typical; including
pre-programming time)
• Auto-erase and auto-program
– DATA polling
– Toggle bit
• Minimum 100 erase/program cycles
• Advanced CMOS MTP memory technology.
16.2General description
The P89C738’s MTP memories augment EPROM
functionality with in-circuit electrical erasure and
programming. The P89C738 uses a command register to
manage this functionality.
P89C738’s MTP reliably stores memory contents even
after 100 erase and program cycles. The cell is designed
to optimize the erase and programming mechanisms. In
addition, the combination of advanced tunnel oxide
processing and low internal electric fields for erase and
programming operations produces reliable cycling.
The P89C738 uses a V
= 12.0 V ±5% supply to perform
PP
the auto-erase and auto-program algorithms.
16.3Automatic programming and Automatic chip
erase
The P89C738 is byte programmable using the Automatic
programming algorithm. The Automatic programming
algorithm does not require the system to time out or verify
the data programmed. At typical room temperature the
chip programming time of the P89C738 is less than
5 seconds.
The device may be erased using the Automatic erase
algorithm. The Automatic erase algorithm automatically
programs the entire array prior to electrical erase.
The timing and verification of the electrical erase are
controlled internally by the device.
16.3.1A
UTOMATIC PROGRAMMING ALGORITHM
The P89C738 Automatic programming algorithm requires
the user to only write a program set-up command and a
program command (program data and address).
The device automatically times the programming pulse
width, provides the program verification, and counts the
number of sequences. A status bit similar to DATA polling
and a status bit toggling between consecutive read cycles,
provide feedback to the user as to the status of the
programming operation.
16.3.2A
UTOMATIC ERASE ALGORITHM
The P89C738 Automatic erase algorithm requires the user
to only write an erase set-up command and erase
command. The device will automatically pre-program and
verify the entire array. Then the device automatically times
the erase pulse width, provides the erase verify, and
counts the number of sequences. A status bit similar to
DATA polling and a status bit toggling between
consecutive read cycles, provide feedback to the user as
to the status of the erase operation.
Commands are written to the command register. Register
contents serve as inputs to an internal state-machine
which controls the erase and programming circuitry.
During write cycles, the command register internally
latches address and data needed for the programming and
erase operations. For system design simplification, the
P89C738 is designed to support either WE or CE
controlled writes. During a system write cycle, addresses
are latched on the falling edge of WE or CE whichever
occurs last. Data is latched on the rising edge of WE or CE
whichever occur first. To simplify the following discussion,
theWE pin is used as the write cycle control pin throughout
the rest of this text. All set-up and hold times are with
respect to the WE signal.
16.4Command definitions
When a low voltage is applied to the V
pin, the contents
PP
of the command register is set to a default value: 00H.
Applying high voltage to the VPP pin enables read/write
operations. Device operations are selected by writing
specific data patterns into the command register.
Table 23 defines these P89C738 register commands.
Table 24 defines the bus operations of the P89C738.
1998 Apr 0733
Page 34
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 23 Command definitions
COMMAND
BUS
CYCLES
Read identified codes2writeX
FIRST BUS CYCLESECOND BUS CYCLE
OPERATION ADDRESS DATA OPERATION ADDRESS DATA
(1)
90HreadIA
(2)
ID
(3)
Set-up auto erase/auto chip erase2writeX30HwriteX30H
Set-up auto program/program2writeX40HwritePA
(4)
PD
(5)
Reset2writeXFFHwriteXFFH
Notes
1. X = don’t care.
2. IA = identifier address.
3. ID = data read from location IA during device identification.
4. PA = address of memory location to be programmed.
5. PD = data to be programmed at location.
Table 24 P89C738 bus operations
READ/WRITE OPERATIONV
(2)
Read
Standby
(5)
WriteV
(1)
PP
V
PPH
V
PPH
PPH
CEOEWED00 TO D07
data in
(3)(4)
(3)
V
IL
V
IH
V
IL
V
IL
(6)
X
V
IH
V
IH
data out
X3-state
V
IL
Notes
1. V
is the programming voltage specified for the device.
PPH
2. Manufacturer and device codes are accessed via a command register write sequence. Refer to Table 23. All other
addresses are LOW.
3. Data out means that the data is read out from the microcontroller. Data in means that the data is send into the
microcontroller from outside.
4. Read operation with VPP=V
may access array data (if write command is preceded) or Silicon-ID codes.
PPH
5. With VPP at high voltage, the standby current equals IDD+IPP (standby).
6. X can be VILor VIH.
1998 Apr 0734
Page 35
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
16.5Silicon-ID-Read command
MTP memories are intended for use in applications where
the local CPU alters memory contents. As such,
manufacturer and device-codes must be accessible while
the device resides in the target system.
P89C738 contains a Silicon-ID-Read operation.
The operation is initiated by writing 90H into the command
register. Following the command write, a read cycle from
address 0000H retrieves the manufacturer code: C2H.
A read cycle from address 0001H returns the device
code: 1AH.
16.6Set-up of Automatic chip erase and Automatic
erase commands
The Automatic chip erase does not require the device to be
entirely pre-programmed prior to executing the set-up of
Automatic erase command and Automatic chip erase
commands. Upon executing the Automatic chip erase
command, the device automatically will program and verify
the entire memory for an all-zero data pattern. When the
device is automatically verified to contain an all-zero
pattern, a self-timed chip erase and verify begin. The erase
and verify operations are complete when the data on DQ7
is a logic 1 at which time the device returns to the standby
mode. The system is not required to provide any control or
timing during these operations.
When using the Automatic chip erase algorithm, note that
the erase automatically terminates when adequate erase
margin has been achieved for the memory array (no erase
verify command is required). The margin voltages are
internally generated in the same manner as when the
standard erase verify command is used.
The set-up of the Automatic erase command is a
command only operation that stages the device for
automatic electrical erasure of all bytes in the array.
The set-up Automatic erase is performed by writing 30H to
the command register.
To execute the Automatic chip erase, 30H must be written
again to the command register. The automatic chip erase
begins on the rising edge of the
the data on DQ7 is a logic 1 and the data on DQ6 stops
toggling for two consecutive read cycles, at which time the
device returns to the standby mode.
16.7Set-up of the Automatic program and Program
commands
WE and terminates when
The set-up of Automatic program is performed by writing
40H to the command register.
Once the set-up of the Automatic program operation is
performed, the next
active programming operation. Addresses are internally
latched on the falling edge of the WE pulse. Data is
internally latched on the rising edge of the WE pulse.
The rising edge of WE also starts the programming
operation. The system is not required to provide further
controls or timings. The device will automatically provide
an adequate internally generated program pulse and verify
margin. The automatic programming operation is
completed when the data read on DQ6 stops toggling for
two consecutive read cycles and the data on DQ7 and
DQ6 are equivalent to data written to these two bits at
which time the device returns to the read mode (no
program verify command is required; but data can be read
out if OE is active LOW).
16.8Reset command
A reset command is provided as a means to safely abort
the erase or program command sequences.
Following either set-up command (erase or program) with
two consecutive writes of FFH will safely abort the
operation. Memory contents will not be altered. Should
program-fail or erase-fail happen, two consecutive writes
of FFH will reset the device to abort the operation. A valid
command must then be written to place the device in the
desired state.
16.9Write operation status
16.9.1Toggle bit DQ6
The P89C738 features a ‘toggle bit’ as a method to
indicate to the host system that the Automatic program or
erase algorithms are either in progress or completed.
While the Automatic program or erase algorithm is in
progress, successive attempts to read data from the
device will result in DQ6 toggling between a logic 1and a
logic 0. Once the Automatic program or erase algorithm is
completed, DQ6 will stop toggling and valid data will be
read. The toggle bit is valid after the rising edge of the
second
Toggle bit appears in Q6, when program or erase is
operating.
WE pulse of the two write pulse sequences.
WE pulse causes a transition to an
The set-up of the Automatic program is a command only
operation that stages the devices for automatic
programming.
1998 Apr 0735
Page 36
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
16.9.2DATA polling DQ7
The P89C738 also features DATA polling as a method to
indicate to the host system that the Automatic program or
erase algorithms are either in progress or completed.
While the Automatic programming algorithm is in operation
an attempt to read the device will produce the complement
data of the data last written to DQ7. Upon completion of
the Automatic programming algorithm an attempt to read
the device will produce the true data last written to DQ7.
The DATA polling feature is valid after the rising edge of
the second
WE pulse of the two write pulse sequences.
While the Automatic erase algorithm is in operation, DQ7
will read a logic 0 until the erase operation is completed.
Upon completion of the erase operation, the data on DQ7
will read a logic 1. The DATA polling feature is valid after
the rising edge of the second WE pulse of two write pulse
sequences.
The DATA polling feature is active during Automatic
program or erase algorithms.
DATA polling appears in Q7 during programming or erase.
16.10 Write operation
16.11 System considerations
During the switch between active and standby conditions,
transient current peaks are produced on the rising and
falling edges of
CE. The magnitude of these transient
current peaks is dependent on the output capacitance
loading of the device.
A ceramic capacitor of minimum 0.1 µF (high frequency,
low inherent inductance) should be used on each device
between VDD and VSS, and between VPP and VSS to
minimize transient effects.
Table 25 Capacitance of pin V
T
amb
=25°C; f
= 1.0 MHz
clk
PP
SYMBOLPARAMETERCONDITION VALUE
C
IN
C
OUT
input capacitanceVIN= 0 V14 pF
output capacitance V
=0V16pF
OUT
Because of the electronic features of the Flash cell, the
data to be programmed into Flash should be reversed
when programming. In other words, to program 00H the
value FFH must be sent to Port 0.
1998 Apr 0736
Page 37
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
16.12 Command programming/data programming and erase operation
P0
+5 V
PGM command/data
V
PP
LOW pulse
LOW
OE
A15
A8 to A13
0000B
handbook, full pagewidth
4 to 6 MHz
A0 to A7
HIGHEA
CE
P1
RSTIN
P3.3
P89C738
XTAL2
XTAL1
V
P2.6, P3.7, P3.1 and P3.0
SS
P2.0 to P2.5
V
DD
ALE/WE
PSEN
P2.7
P3.5
P3.4A14
MGK199
Fig.22 Automatic programming/erase timing and verification.
Table 26 Pin connections during Automatic programming/erase timing and verification
PIN NAMESIGNALFUNCTION
P1.0 to P1.7A0 to A7input low-order address bits
P2.0 to P2.5A8 to A13input high-order address bits
P3.4 to P3.5A14 to A15
P0.0 to P0.7Q0 to Q7data input/output
P3.3
P2.7
WEWEWrite Enable pin
ALE/
EA/V
PP
CEChip Enable input
OEOutput Enable input
V
PP
programming supply voltage
P2.6, P3.7, P3.1 and P3.0FTEST3 to FTEST0Flash Test mode selection
V
DD
V
SS
V
DD
V
SS
power supply voltage (+5 V)
ground pin
Table 27 DC characteristics during Command programming/data programming and erase operation
= 0 to 70 °C; VDD=5V±10% (note 1); VPP= 12.0 V ±5%; all currents are in RMS unless otherwise noted
T
amb
(sampled, not 100% tested).
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
I
LI
I
LO
I
DD(stb)
input leakage currentVIN=VSSto V
output leakage currentV
OUT=VSS
supply current standby modeCE = V
to V
IH
DD
DD
−10µA
−10µA
−1mA
CE = VDD±0.3 V−100µA
I
DD(read)
I
DD(prog)
supply current read modeIO= 0 mA; f
I
= 0 mA; f
O
supply current program mode−50mA
= 1 MHz−30mA
clk
= 11 MHz−50mA
clk
1998 Apr 0737
Page 38
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
I
DD(erase)
I
DD(prog-verify)
I
DD(erase-verify)
I
PP(read)
I
PP(prog)
I
PP(erase)
I
PP(prog-verify)
I
PP(erase-verify)
V
IL
V
IH
V
OL
V
OH
Notes
1. VDD must be applied before VPP and removed after VPP.
2. VPP must not exceed 14 V including overshoot.
3. The device reliability can be affected when the device is installed or removed while VPP=12V.
4. Do not alter VPP either ‘VIL to 12 V’ or ‘12 V to VIL’ when CE = VIL.
5. V
IL(min)
6. If VIH is over the specified maximum value, programming operation cannot be guaranteed.
supply current erase mode−50mA
supply current program/verify mode−50mA
supply current erase/verify mode−50mA
programming supply current read
Table 28 AC characteristics during command programming, data programming and erase operation
T
= 0 to 70 °C; VDD=5V+10%; VPP= 12 V + 5%; refer to Figs 23 to 27.
amb
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
t
su(Vpp)
t
su(OE)
T
cy(P)
t
WP(WE)
t
WP(WE)H1
t
WP(WE)H2
t
su(A)
t
h(A-DATA)
t
su(D)
t
h(D)
t
su(DATA-CE)
t
su(CE)
t
su(CE-W)
VPP set-up time100−−ns
OE set-up time100−−ns
command programming cycles150−−ns
WE programming pulse width60−−ns
WE programming pulse width HIGH20−−ns
WE programming pulse width HIGH100−−ns
address set-up time0−−ns
address hold time for DATA polling0−−ns
DATA set-up time50−−ns
DATA hold time10−−ns
CE set-up time before DATA polling/toggle bit100−−ns
CE set-up time0−−ns
CE set-up time before command write100−−ns
1998 Apr 0738
Page 39
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
t
h(Vpp)
t
o(dis)
t
ACC(DATA)
t
E(tot)
t
P(tot)
Notes
1. CE and OE must be fixed HIGH during VPP transition from ‘5 to 12 V’ or from ‘12 to 5 V’.
2. t
defined as the time at which the output achieves the open circuit condition and data is no longer driven.
o(dis)
VPP hold time100−−ns
output disable time; note 2−35−ns
DATA polling/toggle bit access time−150−ns
total erase time in auto-chip-erase−5−s
total programming time in auto-verify15−300us
16.12.1 AUTOMATIC PROGRAMMING
One byte data is programmed. Verifying in fast algorithm
and additional programming by external control are not
required because these operations are executed
automatically by the internal control circuit. Programming
completion can be verified by DATA polling (see
Section 16.9.2) and toggle bit (see Section 16.9.1)
checking after automatic verify starts. Device outputs
DATA during programming and DATA after programming
on Q7. Q0 to Q5 are in high-impedance state; Q6 is the
toggle bit (see Section 16.9.1).
Figure 23 shows the timing waveform.
16.12.2 AUTOMATIC ERASE
All the data on the chip is erased. External erase verifying
is not required because data is erased automatically by
internal control circuit. Erasure completion can be verified
by DATA polling and toggle bit checking after automatic
erase starts.
Device outputs a logic 0 during erasure and a logic 1 after
erasure on Q7. Q0 to Q5 are in high-impedance state; Q6
is the toggle bit (see Section 16.9.1).
87PCON0000 0000Power Control Register
83DPH0000 0000Data Pointer High byte Register
82DPL0000 0000Data Pointer Low byte Register
81SP0000 0111Stack Pointer
80P0
(2)
1111 1111I/O Port Register 0
Notes
1. X = undefined.
2. Bit addressable register.
1998 Apr 0743
Page 44
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
18 INSTRUCTION SET
The instruction set consists of 49 single-byte, 46 two-byte and 16 three-byte instructions. When using a 12 MHz
oscillator, 64 instructions execute in 1 µs and 45 instructions execute in 2 µs. Multiply and divide instructions execute in
4 µs.
For the description of the Data Addressing modes and Hexadecimal opcode cross-reference see Table 33.
Table 29 Instruction set description: Arithmetic operations
MNEMONICDESCRIPTIONBYTESCYCLES
Arithmetic operations
ADDA,RrAdd register to A112*
ADDA,directAdd direct byte to A2125
ADDA,@RiAdd indirect RAM to A1126, 27
ADDA,#dataAdd immediate data to A2124
ADDCA,RrAdd register to A with carry flag113*
ADDCA,directAdd direct byte to A with carry flag2135
ADDCA,@RiAdd indirect RAM to A with carry flag1136, 37
ADDCA,#dataAdd immediate data to A with carry flag2134
SUBBA,RrSubtract register from A with borrow119*
SUBBA,directSubtract direct byte from A with borrow2195
SUBBA,@RiSubtract indirect RAM from A with borrow1196, 97
SUBBA,#dataSubtract immediate data from A with borrow2194
INCAIncrement A1104
INCRrIncrement register110*
INCdirectIncrement direct byte2105
INC@RiIncrement indirect RAM1106, 07
DECADecrement A1114
DECRrDecrement register111*
DECdirectDecrement direct byte2115
DEC@RiDecrement indirect RAM1116, 17
INCDPTRIncrement data pointer12A3
MULABMultiply A and B14A4
DIVABDivide A by B1484
DAADecimal adjust A11D4
OPCODE
(HEX)
1998 Apr 0744
Page 45
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 30 Instruction set description: Logic operations
MNEMONICDESCRIPTIONBYTESCYCLES
Logic operations
ANLA,RrAND register to A115*
ANLA,directAND direct byte to A2155
ANLA,@RiAND indirect RAM to A1156, 57
ANLA,#dataAND immediate data to A2154
ANLdirect,AAND A to direct byte2152
ANLdirect,#dataAND immediate data to direct byte3253
ORLA,RrOR register to A114*
ORLA,directOR direct byte to A2145
ORLA,@RiOR indirect RAM to A1146, 47
ORLA,#dataOR immediate data to A2144
ORLdirect,AOR A to direct byte2142
ORLdirect,#dataOR immediate data to direct byte3243
XRLA,RrExclusive-OR register to A116*
XRLA,directExclusive-OR direct byte to A2165
XRLA,@RiExclusive-OR indirect RAM to A1166, 67
XRLA,#dataExclusive-OR immediate data to A2164
XRLdirect,AExclusive-OR A to direct byte2162
XRLdirect,#dataExclusive-OR immediate data to direct byte3263
CLRAClear A11E4
CPLAComplement A11F4
RLARotate A left1123
RLCARotate A left through the carry flag1133
RRARotate A right1103
RRCARotate A right through the carry flag1113
SWAPASwap nibbles within A11C4
OPCODE
(HEX)
1998 Apr 0745
Page 46
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 31 Instruction set description: Data transfer
MNEMONICDESCRIPTIONBYTESCYCLES
Data transfer
MOVA,RrMove register to A11E*
MOVA,direct (note 1) Move direct byte to A21E5
MOVA,@RiMove indirect RAM to A11E6, E7
MOVA,#dataMove immediate data to A2174
MOVRr,AMove A to register11F*
MOVRr,directMove direct byte to register22A*
MOVRr,#dataMove immediate data to register217*
MOVdirect,AMove A to direct byte21F5
MOVdirect,RrMove register to direct byte228*
MOVdirect,directMove direct byte to direct3285
MOVdirect,@RiMove indirect RAM to direct byte2286, 87
MOVdirect,#dataMove immediate data to direct byte3275
MOV@Ri,AMove A to indirect RAM11F6, F7
MOV@Ri,directMove direct byte to indirect RAM22A6, A7
MOV@Ri,#dataMove immediate data to indirect RAM2176, 77
MOVDPTR,#data 16 Load data pointer with a 16-bit constant3290
MOVCA,@A+DPTRMove code byte relative to DPTR to A1293
MOVCA,@A+PCMove code byte relative to PC to A1283
MOVXA,@RiMove external RAM (8-bit address) to A12E2, E3
MOVXA,@DPTRMove external RAM (16-bit address) to A12E0
MOVX@Ri,AMove A to external RAM (8-bit address)12F2, F3
MOVX@DPTR,AMove A to external RAM (16-bit address)12F0
PUSHdirectPush direct byte onto stack22C0
POPdirectPop direct byte from stack22D0
XCHA,RrExchange register with A11C*
XCHA,directExchange direct byte with A21C5
XCHA,@RiExchange indirect RAM with A11C6, C7
XCHDA,@RiExchange LOW-order digit indirect RAM with A11D6, D7
OPCODE
(HEX)
Note
1. MOV A,ACC is not permitted.
1998 Apr 0746
Page 47
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 32 Instruction set description: Boolean variable manipulation, Program and machine control
MNEMONICDESCRIPTIONBYTESCYCLES
Boolean variable manipulation
CLRCClear carry flag11C3
CLRbitClear direct bit21C2
SETBCSet carry flag11D3
SETBbitSet direct bit21D2
CPLCComplement carry flag11B3
CPLbitComplement direct bit21B2
ANLC,bitAND direct bit to carry flag2282
ANLC,/bitAND complement of direct bit to carry flag22B0
ORLC,bitOR direct bit to carry flag2272
ORLC,/bitOR complement of direct bit to carry flag22A0
MOVC,bitMove direct bit to carry flag21A2
MOVbit,CMove carry flag to direct bit2292
Program and machine control
ACALLaddr11Absolute subroutine call22•1addr
LCALLaddr16Long subroutine call3212
RETReturn from subroutine1222
RETIReturn from interrupt1232
AJMPaddr11Absolute jump22♦1addr
LJMPaddr16Long jump3202
SJMPrelShort jump (relative address)2280
JMP@A+DPTRJump indirect relative to the DPTR1273
JZrelJump if A is zero2260
JNZrelJump if A is not zero2270
JCrelJump if carry flag is set2240
JNCrelJump if carry flag is not set2250
JBbit,relJump if direct bit is set3220
JNBbit,relJump if direct bit is not set3230
JBCbit,relJump if direct bit is set and clear bit3210
CJNEA,direct,relCompare direct to A and jump if not equal32B5
CJNEA,#data,relCompare immediate to A and jump if not equal32B4
CJNERr,#data,relCompare immediate to register and jump if not equal32B*
CJNE@Ri,#data,rel Compare immediate to indirect and jump if not equal32B6, B7
DJNZRr,relDecrement register and jump if not zero22D*
DJNZdirect,relDecrement direct and jump if not zero32D5
NOPNo operation1100
OPCODE
(HEX)
1998 Apr 0747
Page 48
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
Table 33 Description of the mnemonics in the Instruction set
MNEMONICDESCRIPTION
Data addressing modes
RrWorking registers R0 to R7.
direct128 internal RAM locations and any special function register (SFR).
@RiIndirect internal RAM location addressed by register R0 or R1 of the actual register bank.
#data8-bit constant included in instruction.
#data 1616-bit constant included as bytes 2 and 3 of instruction.
bitDirect addressed bit in internal RAM or SFR.
addr1616-bit destination address. Used by LCALL and LJMP.
The branch will be anywhere within the 64 kbytes Program Memory address space.
addr11111-bit destination address. Used by ACALL and AJMP. The branch will be within the same 2 kbytes
page of Program Memory as the first byte of the following instruction.
relSigned (two's complement) 8-bit offset byte. Used by SJMP and all conditional jumps.
Range is −128 to +127 bytes relative to first byte of the following instruction.
Hexadecimal opcode cross-reference
*8, 9, A, B, C, D, E, F.
•1, 3, 5, 7, 9, B, D, F.
♦0, 2, 4, 6, 8, A, C, E.
1998 Apr 0748
Page 49
1998 Apr 0749
Table 34 Instruction map
First hexadecimal character of opcode← Second hexadecimal character of opcode →
In accordance with the Absolute Maximum Rating System (IEC 134).
SYMBOLPARAMETERMIN.MAX.UNIT
V
DD
V
I
P
tot
T
stg
T
amb
20 DC CHARACTERISTICS
V
=5V±10%; VSS=0V; T
DD
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
Supply
V
DD
I
DD
I
DD(id)
I
DD(pd)
supply voltage−0.5+6.5V
input voltage on any pin with respect to ground (VSS)−0.5VDD+ 0.5 V
total power dissipation−1W
storage temperature−65+150°C
operating ambient temperature070°C
= 0 to +70 °C; all voltages with respect to VSS unless otherwise specified.
amb
supply voltage4.55.5V
supply current operatingVDD=6V; f
= 24 MHz;
clk
−60mA
notes 1 and 2
supply current Idle modeVDD= 6.5 V ±10%; f
= 24 MHz;
clk
−25mA
notes 2 and 3
supply current Power-down
2V≤VPD≤ V
; note 4−100µA
DD(max)
mode
Inputs
V
IL
V
IL1
V
IH
V
IH1
I
IL
I
ITL
I
LI1
Outputs
V
OL
V
OL1
V
OH
LOW-level input voltage;
−0.50.2VDD− 1V
except EA
LOW-level input voltage EA−0.50.2VDD− 0.3V
HIGH-level input voltage
IOL= 1.6 mA; notes 5 and 6−0.45V
Ports 1, 2, 3, 4 and 5
LOW-level output voltage
IOL= 3.2 mA; notes 5 and 6−0.45V
Port 0, ALE and PSEN
HIGH-level output voltage
Ports 1, 2, 3, 4 and 5
IOH= −60 µA; VDD=5V±10%2.4−V
= −25 µA0.75V
I
OH
I
= −10 µA0.9V
OH
DD
DD
−V
−V
1998 Apr 0750
Page 51
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
V
OH1
R
RST
C
I/O
Notes
1. The operating supply current is measured with all output pins disconnected; XTAL1 driven with tr=tf= 5 ns;
VIL=VSS+ 0.5 V; VIH=VDD− 0.5 V; XTAL2 not connected; EA = RST = Port 0 = VDD; the Watchdog Timer is
disabled (by the external reset).
2. I
DD(max)
3. The Idle mode supply current is measured with all output pins disconnected; XTAL1 driven with tr=tf= 5 ns;
VIL=VSS+0.5 V; VIH=VDD−0.5 V; XTAL2 not connected; the Watchdog Timer is disabled; EA = RST = VSS;
Port 0 = P1.6 = P1.7 = VDD.
4. The Power-down current is measured with all output pins disconnected; XTAL2 not connected; Watchdog Timer is
disabled; EA = RST = XTAL1 = VSS; Port 0 = P1.6 = P1.7 = VDD.
5. Capacitive loading on Port 0 and Port 2 may cause spurious noise pulses to be superimposed on the LOW-level
output voltage of ALE, Port 1 and Port 3. The noise is due to external bus capacitance discharging into the Port 0
and Port 2 pins when these pins make a HIGH-to-LOW transition during bus operations. In the worst cases
(capacitive loading >100 pF) the noise pulse on the ALE line may exceed 0.8 V. In such cases it may be desirable
to provide ALE with a Schmitt trigger, or use an address latch with a Schmitt trigger STROBE input.
6. Under steady state (non-transient) conditions, IOL must be externally limited as follows:
a) Maximum IOL per port pin: 10 mA.
b) Maximum IOL per 8-bit port: Port 0 = 26 mA; Ports 1, 2, 3, 4 and5=15mA.
c) Maximum total IOL for all output pins: 71 mA.
d) If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current
7. Capacitive loading on Port 0 and Port 2 may cause the HIGH-level output voltage on ALE and PSEN to momentarily
fall below the 0.9VDD specification when the address bits are stabilizing.
HIGH level output voltage
Port 0 in external bus mode,
ALE, PSEN and RST
IOH= −800 µA; VDD=5V±10%2.4−V
I
= −300 µA0.75V
OH
I
= −80 µA; note 70.9V
OH
DD
DD
−V
−V
RST pull−down resistor40100kΩ
capacitance of input buffertest frequency = 1 MHz;
T
=25°C
amb
−10pF
at other frequencies can be derived from Fig.28.
greater than the listed test conditions.
1998 Apr 0751
Page 52
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
30
handbook, halfpage
I
DD
(mA)
20
10
0
0
Fig.28 IDD as function of frequency; valid only within frequency specifications of the device under test.
21 AC CHARACTERISTICS
V
=5V±10%; VSS=0V; T
DD
= 0 to +70 °C; t
amb
all other outputs unless otherwise specified; t
12 MHz16 MHz24 MHz40 MHzVARIABLE CLOCK
SYMBOLPARAMETER
MIN. MAX. MIN. MAX. MIN. MAX. MIN. MAX.MIN.MAX.
maximum active mode
typical active mode
maximum Idle mode
typical Idle mode
42081216
frequency (MHz)
= 63 ns; Cl= 100 pF for Port 0, ALE and PSEN; Cl= 80 pF for
clk(min)
clk(min)
= 1/f
clk(max);fclk
= clock frequency; t
MGK205
= clock period.
clk
(1)
UNIT
External program memory
t
LHLL
ALE pulse
127−85−43−35−2t
duration
t
AVLL
address set-up
28−8−23−10−t
time to ALE
t
LLAX
address hold
48−28−21−10−t
time after ALE
t
LLIV
time from ALE to
−233−150−95−55−4t
valid instruction
input
t
LLPL
time from ALE to
43−23−28−10−t
control pulse
PSEN
t
PLPH
control pulse
205−143−90−60−3t
duration PSEN
t
PLIV
time from PSEN
−145−83−55−25−3t
to valid
instruction input
1998 Apr 0752
− 40−ns
clk
− 55−ns
clk
− 35−ns
clk
− 100 ns
clk
− 40−ns
clk
− 45−ns
clk
− 105 ns
clk
Page 53
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
SYMBOLPARAMETER
t
PXIX
input instruction
hold time after
PSEN
t
PXIZ
input instruction
float delay after
PSEN
t
AVIV
address to valid
instruction input
t
PLAZ
PSEN to
address float
time
External data memory
t
LHLL
ALE pulse
duration
t
AVLL
address set-up
time to ALE
t
LLAX
address hold
time after ALE
t
RLRH
RD pulse
duration
t
WLWH
WR pulse
duration
t
RLDV
RD to valid data
input
t
RHDX
data hold time
after RD
t
RHDZ
data float delay
after RD
t
LLDV
time from ALE to
valid data input
t
AVDV
address to valid
data input
t
LLWL
time from ALE to
RD or WR
t
AVWL
time from
address toRD or
WR
t
WHLH
time from RD or
WR HIGH to
ALE HIGH
t
QVWX
data valid to
WR transition
12 MHz16 MHz24 MHz40 MHzVARIABLE CLOCK
(1)
UNIT
MIN. MAX. MIN. MAX. MIN. MAX. MIN. MAX.MIN.MAX.
0−0−0−0−0−ns
−59−38−8−15−t
−312−208−125−65−5t
− 25ns
clk
− 105 ns
clk
−10−10−105−−10ns
127−85−43−35−2t
28−8−15−10−t
48−28−21−10−t
400−275−149−120−6t
400−275−149−120−6t
−252−148−118−30−5t
− 40−ns
clk
− 55−ns
clk
− 35−ns
clk
− 100 −ns
clk
− 100 −ns
clk
− 165ns
clk
0−0−0−0−0−ns
−97−55−40−15−2t
−517−350−183−110−8t
−585−398−209−130−9t
2003001382387417460903t
203−120−91−70−4t
431232310321661040t
23−3−21−5−t
− 503t
clk
− 130 −ns
clk
− 40t
clk
− 60−ns
clk
− 70ns
clk
− 150ns
clk
− 165 ns
clk
+50ns
clk
+40ns
clk
1998 Apr 0753
Page 54
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
SYMBOLPARAMETER
12 MHz16 MHz24 MHz40 MHzVARIABLE CLOCK
MIN. MAX. MIN. MAX. MIN. MAX. MIN. MAX.MIN.MAX.
t
QVWH
data set-up time
433−288−200−125−7t
before WR
t
WHQX
data hold time
33−13−21−5−t
after WR
t
RLAZ
address float
−0−0−0−0−0ns
delay after RD
Note
1. The operating frequency is limited to: 3.5 MHz ≤ f
Table 35 External clock drive XTAL1
SYMBOLPARAMETER
f
clk
t
CLCL
t
CHCX
t
CLCX
t
CLCH
t
CHCL
t
CY
clock frequency3.540MHz
clock period63833ns
high time20t
low time20t
rise time−20ns
fall time−20ns
cycle time (tCY= 12t
)0.7510µs
clk
≤ 40 MHz.
clk
clk
− 50−ns
clk
VARIABLE CLOCK
MIN.MAX.
− t
clk
CLCX
− t
clk
CHCX
(1)
UNIT
− 150 −ns
UNIT
ns
ns
t
handbook, full pagewidth
CHCX
V
IH1VIH1
0.8 V0.8 V
t
Fig.29 External clock drive XTAL1.
1998 Apr 0754
t
CLCH
CLCX
V
0.8 V0.8 V
t
CLCL
IH1
V
IH1
t
CHCL
MLA856
Page 55
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
VDD − 0.5
0.45 V
0.2VDD + 0.9
0.2VDD − 0.1
a. Output waveform.
handbook, full pagewidth
V
LOAD
V
LOAD
V
LOAD
+ 0.1 V
− 0.1 V
timing
reference points
b. Float waveform
AC testing inputs are driven at 2.4 V for a logic 1 and 0.45 V for a logic 0.
Timing measurements are taken at 2.0 V for a logic 1 and 0.8 V for a logic 0, see Fig.30a.
The float state is defined as the point at which a Port 0 pin sinks 3.2 mA or sources 400 µA at
the voltage test levels, see Fig.30b.
Fig.30 AC testing input.
MGK209
VOH − 0.1 V
VOL + 0.1 V
MGK210
1998 Apr 0755
Page 56
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
dotted lines
are valid when
RD or WR are
active
only active
during a read
from external
data memory
sampling time of I/O port pins during input (including INT0 and INT1)
data output or data input
Fig.31 Instruction cycle timing.
address
A0 - A7
address A8 - A15address A8 - A15 or Port 2 outaddress A8 - A15
MGA180
1998 Apr 0756
Page 57
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
21.1Serial Port characteristics
Table 36 Serial Port timing: Shift Register mode
=5V±10%; VSS=0V; T
V
DD
= 0 to 70 °C; load capacitance = 80 pF.
amb
SYMBOLPARAMETER
t
XLXL
t
QVXH
t
XHQX
t
XHDX
t
XHDV
handbook, full pagewidth
Serial Port clock cycle time1−12t
output data set-up to clock rising edge 700−10t
output data hold after clock rising edge 50−2t
input data hold after clock rising edge0−0−ns
clock rising edge to input data valid−700−10t
INSTRUCTION
ALE
CLOCK
t
OUTPUT DATA
QVXH
t
XLXL
t
XHQX
12 MHz
OSCILLATOR
VARIABLE OSCILLATOR
MIN.MAX.MIN.MAX.
clk
− 133−ns
clk
− 117−ns
clk
−µs
− 133ns
clk
UNIT
876543210
WRITE TO SBUF
INPUT DATA
CLEAR RI
t
XHDV
VALIDVALIDVALIDVALIDVALIDVALIDVALIDVALID
t
XHDX
Fig.32 Shift register mode timing.
1998 Apr 0757
MGA179
SET TI
SET RI
Page 58
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
21.2Timing waveforms
handbook, full pagewidth
ALE
PSEN
PORT 0
PORT 2
t
LHLL
t
AVLL
t
LLPL
t
LLAX
A0 to A7instr inA0 to A7
t
LLIV
t
AVIV
t
PLIV
t
PLAZ
t
PLPH
t
PXIX
t
PXIZ
Fig.33 External program memory read cycle.
A8 to A15A0 to A15
MGK206
handbook, full pagewidth
ALE
PSEN
RD
PORT 0
PORT 2
t
AVLL
t
LLWL
t
RLAZ
t
LLAX
A0 to A7
from RI or DPL
t
AVWL
t
LLDV
t
RLDV
t
AVDV
P2.0 to P2.7 or A8 to A15 from DPHA0 to A15 from PCH
Fig.34 External data memory read cycle.
1998 Apr 0758
t
RLRH
t
RHDX
data in
t
WHLH
t
RHDZ
instr inA0 to A7 from PCL
MGK207
Page 59
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
handbook, full pagewidth
ALE
PSEN
WR
PORT 0
PORT 2
t
AVLL
t
AVWL
t
LLAX
A0 to A7
from RI or DPL
t
LLWL
t
QVWX
P2.0 to P2.7 or A8 to A15 from DPFA0 to A15 from PCH
Fig.35 External data memory write cycle.
21.3Timing symbol naming conventions
Each timing symbol has five characters. The first character
is always a ‘t’ (= time). The remaining four characters of
the symbol (typed in subscript), depending on their relative
positions, indicate the name of a signal or the logical status
of that signal. The designations are as follows:
DIMENSIONS (inch dimensions are derived from the original mm dimensions)
A
A
A
UNIT
inches
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
max.
mm
OUTLINE
VERSION
SOT129-1
12
min.
max.
1.70
1.14
0.067
0.045
IEC JEDEC EIAJ
051G08MO-015AJ
b
b
1
0.53
0.38
0.021
0.015
0.36
0.23
0.014
0.009
REFERENCES
cD E eM
52.50
51.50
2.067
2.028
1998 Apr 0760
14.1
13.7
0.56
0.54
20
(1)(1)
e
L
1
3.60
3.05
0.14
0.12
M
E
15.80
15.24
0.62
0.60
EUROPEAN
PROJECTION
17.42
15.90
0.69
0.63
H
ISSUE DATE
w
0.2542.5415.24
0.010.100.60
92-11-17
95-01-14
max.
2.254.70.514.0
0.089 0.190.0200.16
(1)
Z
Page 61
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
QFP64: plastic quad flat package;
64 leads (lead length 1.95 mm); body 14 x 20 x 2.7 mm; high stand-off height
c
y
X
SOT319-1
5133
52
pin 1 index
64
1
w M
b
e
p
D
H
D
DIMENSIONS (mm are the original dimensions)
mm
A
max.
3.3
0.36
0.10
2.87
2.57
0.25
cE
p
0.50
0.25
0.35
0.13
UNITA1A2A3b
A
32
Z
E
e
A
H
E
E
2
A
A
1
w M
b
p
20
19
Z
D
v M
A
B
v M
B
0510 mm
scale
(1)
(1)(1)(1)
D
20.1
19.9
eH
H
14.1
13.9
24.2
1
23.6
D
E
18.2
17.6
LL
p
1.0
0.6
0.20.10.21.95
detail X
Z
D
1.2
0.8
(A )
L
p
L
Zywvθ
E
o
1.2
7
o
0.8
0
3
θ
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
OUTLINE
VERSION
IEC JEDEC EIAJ
REFERENCES
SOT319-1
1998 Apr 0761
EUROPEAN
PROJECTION
ISSUE DATE
95-02-04
97-08-01
Page 62
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
23 SOLDERING
23.1Introduction
There is no soldering method that is ideal for all IC
packages. Wave soldering is often preferred when
through-hole and surface mounted components are mixed
on one printed-circuit board. However, wave soldering is
not always suitable for surface mounted ICs, or for
printed-circuits with high population densities. In these
situations reflow soldering is often used.
This text gives a very brief insight to a complex technology.
A more in-depth account of soldering ICs can be found in
our
“Data Handbook IC26; Integrated Circuit Packages”
(order code 9398 652 90011).
23.2DIP
23.2.1S
OLDERING BY DIPPING OR BY WAVE
The maximum permissible temperature of the solder is
260 °C; solder at this temperature must not be in contact
with the joint for more than 5 seconds. The total contact
time of successive solder waves must not exceed
5 seconds.
The device may be mounted up to the seating plane, but
the temperature of the plastic body must not exceed the
specified maximum storage temperature (T
stg max
). If the
printed-circuit board has been pre-heated, forced cooling
may be necessary immediately after soldering to keep the
temperature within the permissible limit.
23.2.2R
EPAIRING SOLDERED JOINTS
Apply a low voltage soldering iron (less than 24 V) to the
lead(s) of the package, below the seating plane or not
more than 2 mm above it. If the temperature of the
soldering iron bit is less than 300 °C it may remain in
contact for up to 10 seconds. If the bit temperature is
between 300 and 400 °C, contact may be up to 5 seconds.
Reflow soldering requires solder paste (a suspension of
fine solder particles, flux and binding agent) to be applied
to the printed-circuit board by screen printing, stencilling or
pressure-syringe dispensing before package placement.
Several methods exist for reflowing; for example,
infrared/convection heating in a conveyor type oven.
Throughput times (preheating, soldering and cooling) vary
between 50 and 300 seconds depending on heating
method. Typical reflow peak temperatures range from
215 to 250 °C.
23.3.2W
AVE SOLDERING
23.3.2.1PLCC
Wave soldering techniques can be used for all PLCC
packages if the following conditions are observed:
• A double-wave (a turbulent wave with high upward
pressure followed by a smooth laminar wave) soldering
technique should be used.
• The longitudinal axis of the package footprint must be
parallel to the solder flow.
• The package footprint must incorporate solder thieves at
the downstream corners.
23.3.2.2QFP
Wave soldering is not recommended for QFP packages.
This is because of the likelihood of solder bridging due to
closely-spaced leads and the possibility of incomplete
solder penetration in multi-lead devices.
CAUTION
Wave soldering is NOT applicable for all QFP
packages with a pitch (e) equal or less than 0.5 mm.
23.3PLCC and QFP
23.3.1REFLOW SOLDERING
Reflow soldering techniques are suitable for all PLCC and
QFP packages.
The choice of heating method may be influenced by larger
plastic PLCC and QFP packages (44 leads, or more).
If infrared or vapour phase heating is used and the large
packages are not absolutely dry (less than 0.1% moisture
content by weight), vaporization of the small amount of
moisture in them can cause cracking of the plastic body.
For details, refer to the Drypack information in the
1998 Apr 0762
If wave soldering cannot be avoided, for QFP
packages with a pitch (e) larger than 0.5 mm, the
following conditions must be observed:
• A double-wave (a turbulent wave with high upward
pressure followed by a smooth laminar wave)
soldering technique should be used.
• The footprint must be at an angle of 45° to the board
direction and must incorporate solder thieves
downstream and at the side corners.
Page 63
Philips SemiconductorsProduct specification
8-bit Flash microcontrollersP89C738; P89C739
23.3.2.3Method (PLCC and QFP)
During placement and before soldering, the package must
be fixed with a droplet of adhesive. The adhesive can be
applied by screen printing, pin transfer or syringe
dispensing. The package can be soldered after the
adhesive is cured.
Maximum permissible solder temperature is 260 °C, and
maximum duration of package immersion in solder is
10 seconds, if cooled to less than 150 °C within
6 seconds. Typical dwell time is 4 seconds at 250 °C.
A mildly-activated flux will eliminate the need for removal
of corrosive residues in most applications.
24 DEFINITIONS
Data sheet status
Objective specificationThis data sheet contains target or goal specifications for product development.
Preliminary specificationThis data sheet contains preliminary data; supplementary data may be published later.
Product specificationThis data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or
more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation
of the device at these or at any other conditions above those given in the Characteristics sections of the specification
is not implied. Exposure to limiting values for extended periods may affect device reliability.
23.3.3REPAIRING SOLDERED JOINTS
Fix the component by first soldering two diagonallyopposite end leads. Use only a low voltage soldering iron
(less than 24 V) applied to the flat part of the lead. Contact
time must be limited to 10 seconds at up to 300 °C. When
using a dedicated tool, all other leads can be soldered in
one operation within 2 to 5 seconds between
270 and 320 °C.
Application information
Where application information is given, it is advisory and does not form part of the specification.
25 LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Philips customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such
improper use or sale.
1998 Apr 0763
Page 64
Philips Semiconductors – a worldwide company
Argentina: see South America
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381
Uruguay: see South America
Vietnam: see Singapore
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 625 344, Fax.+381 11 635 777
For all other countries apply to: Philips Semiconductors,
International Marketing & Sales Communications, Building BE-p, P.O. Box 218,
5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
Internet: http://www.semiconductors.philips.com
Printed in The Netherlands455104/1200/02/pp64 Date of release: 1998 Apr 07Document order number: 9397 750 03529
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.