INTEGRATED CIRCUITS
DATA SHEET
P8xC591
Single-chip 8-bit microcontroller
with CAN controller
Preliminary Specification
File under Integrated Circuits, IC28
2000 Jul 26
Philips Semiconductors
Preliminary Specification
Single-chip 8-bit microcontroller with CAN controller
CONTENTS
1
1.1
1.2
2
3
4
5
6
6.1
6.2
7
7.1
7.2
7.3
7.4
8
9
10
11
11.1
11.2
11.3
12
12.1
12.2
12.3
12.4
12.5
13
14
14.1
14.2
14.3
14.4
14.5
15
15.1
15.2
15.3
16
16.1
FEATURES
80C51 Related Features of the 8xC591
CAN Related Features of the 8xC591
GENERAL DESCRIPTION
ORDERING INFORMATION
BLOCK DIAGRAM
FUNCTIONAL DIAGRAM
PINNING INFORMATION
Pinning diagram
Pin description
MEMORY ORGANIZATION
Program Memory
Addressing
Expanded Data RAM addressing
Dual DPTR
I/O FACILITIES
OSCILLATOR CHARACTERISTICS
RESET
LOW POWER MODES
Stop Clock Mode
Idle Mode
Power-down Mode
CAN, CONTROLLER AREA NETWORK
Features of the PeliCAN controller
PeliCAN structure
Communication between PeliCAN controller
and CPU
Register and Message Buffer description
CAN Registers
SERIAL I/O
SIO0 STANDARD SERIAL INTERFACE UART
Multiprocessor Communications
Serial Port Control Register
Baud Rate Generation
More about UART Modes
Enhanced UART
SIO1, I
2
C SERIAL IO
Modes of Operation
SIO1 Implementation and Operation
Software Examples of SIO1 Service Routines
TIMER 2
Features of Timer 2
17
18
18.1
18.2
18.3
19
20
20.1
20.2
20.3
20.4
20.5
21
21.1
21.2
21.3
21.4
22
22.1
23
24
25
25.1
26
26.1
26.2
27
28
28.1
29
30
WATCHDOG TIMER (T3)
P8xC591
PULSE WIDTH MODULATED OUTPUTS
Prescaler Frequency Control Register (PWMP)
Pulse Width Register 0 (PWM0)
Pulse Width Register 1 (PWM1)
PORT 1 OPERATION
ANALOG-TO-DIGITAL CONVERTER (ADC)
ADC features
ADC functional description
10-Bit Analog-to-Digital Conversion
10-Bit ADC Resolution and Analog Supply
Power Reduction Modes
INTERRUPTS
Interrupt Enable Registers
Interrupt Enable and Priority Registers
Interrupt priority
Interrupt Vectors
INSTRUCTION SET
Addressing Modes
LIMITING VALUES
DC CHARACTERISTICS
AC CHARACTERISTICS
Timing symbol definitions
EPROM CHARACTERISTICS
Program verification
Security bits
PACKAGE OUTLINES
SOLDERING
Plastic leaded-chip carriers/quad flat-packs
DEFINITIONS
LIFE SUPPORT APPLICATIONS
2000 Jul 26
2
Philips Semiconductors
Preliminary Specification
Single-chip 8-bit microcontroller with CAN controller
1
1.1
FEATURES
80C51 Related Features of the 8xC591
1.2
P8xC591
CAN Related Features of the 8xC591
•
Full static 80C51 Central Processing Unit available as
OTP, ROM and ROMless
•
16 Kbytes internal Program Memory expandable
externally to 64 Kbytes
•
512 bytes on-chip Data RAM expandable externally to
64 Kbytes
•
Three 16-bit timers/counters T0, T1 (standard 80C51)
and additional T2 (capture & compare)
•
10-bit ADC with 6 multiplexed analog inputs with fast
8-bit ADC option
•
Two 8-bit resolution, Pulse Width Modulated outputs
•
32 I/O port pins in the standard 80C51 pinout
•
I
2
C-bus serial I/O port with byte oriented master and
slave functions
•
On-chip Watchdog Timer T3
•
Extended temperature range:
−40
to +85°C
•
Accelerated (prescaler 1:1) instruction cycle time
500 ns @ 12 MHz
•
Operation voltage range: 5 V
±
5%
•
Security bits:
– ROM version has 2 bits
– OTP/EPROM version has 3 bits
•
32 bytes Encryption array
•
4 level priority interrupt, 15 interrupt sources
•
Full-duplex enhanced UART with programmable
Baudrate Generator
•
Power Control Modes:
– Clock can be stopped and resumed
– Idle Mode
– Power-down Mode
•
ADC active in Idle Mode
•
Second DPTR register
•
ALE inhibit for EMI reduction
•
Programmable I/O port pins (pseudo bi-directional,
push-pull, high impedance, open drain)
•
Wake-up from Power-down by external interrupts
•
Software reset bit (AUXR1.5)
•
Low active reset pin
•
Power-on detect reset
•
Once mode
•
CAN 2.0B active controller, supporting 11-bit Standard
and 29-bit Extended indentifiers
•
1 Mbit/s CAN bus speed with 8 MHz clock achievable
•
64 byte receive FIFO (can capture sequential Data
Frames from the
same
source as required by the
Transport Layer of higher protocols such as DeviceNet,
CANopen and OSEK)
•
13 byte transmit buffer
•
Enhanced PeliCAN core (from the SJA1000 stand-alone
CAN2.0B controller)
1.2.1
P
ELI
CAN F
EATURES
•
Four independently configurable Screeners
(Acceptance Filters)
•
Each Screener has two 32-bit specifies:
– 32-bit Match and
– 32-bit Mask
•
32-bits of Mask
per Screener
allows
unique
Group
addressing per
Screener
•
Higher layer protocols especially supported in Standard
CAN format with:
– Up to four, 11-bit ID Screeners that also Screen the
two (2) Data Bytes
– i.e., Data Frames are Screened by the CAN ID and by
Data Byte content
•
Up to eight, 11-bit ID Screeners half of which
also
Screen the
first
Data Byte
•
All Screeners are changeable “on the fly”
•
Listen Only Mode, Self Test Mode
•
Error Code Capture, Arbitration Lost Capture, readable
Error Counters
2000 Jul 26
3
Philips Semiconductors
Preliminary Specification
Single-chip 8-bit microcontroller with CAN controller
2
GENERAL DESCRIPTION
P8xC591
The temperature range includes (max. f
CLK
= 12 MHz):
•
-40 to +85
°C
version, for general applications
The P8xC591 combines the functions of the P87C554
(microcontroller) and the SJA1000 (stand-alone
CAN-controller) with the following enhanced features:
•
Enhanced CAN receive interrupt (level sensitive)
•
Extended acceptance filter
•
Acceptance filter changeable “on the fly”.
The main differences between P8xC591 and P87C554
are:
•
CAN-controller on chip
•
6-input ADC
•
Low active Reset
•
44 leads.
The P8xC591 is a single-chip 8-bit-high-performance
microcontroller, with on-chip CAN-controller, derived from
the 80C51 microcontroller family.
It uses the powerful 80C51 instruction set and includes the
successful PeliCAN functionality of the SJA1000 CAN
controller from Philips Semiconductors.
The fully static core provides extended power save
provisions as the oscillator can be stopped and easily
restarted without loss of data. The improved internal clock
prescaler of 1:1 achieves a 500 ns instruction cycle time at
12 MHz external clock rate.
Figure 1 shows a Block Diagram of the P8xC591. The
microcontroller is manufactured in an advanced CMOS
process, and is designed for use in automotive and
general industrial applications. In addition to the 80C51
standard features, the device provides a number of
dedicated hardware functions for these applications.
Two versions of the P8xC591 will be offered:
•
P83C591 (with ROM)
•
P87C591 (with OTP)
Hereafter these versions will be referred to as P8xC591.
3
ORDERING INFORMATION
PACKAGE
TYPE NUMBER
NAME
P83C591VFA
P87C591VFA
P83C591VFB
P87C591VFB
PLCC44
QFP44
DESCRIPTION
plastic leaded chip carrier; 44 leads
plastic quad flat package; 44 leads (lead length 1.3 mm);
body 10
×
10
×
1.75 mm
TEMPERATURE
RANGE (°C)
VERSION
SOT187-2
−40
to +85
SOT307-2
2000 Jul 26
4
Philips Semiconductors
Preliminary Specification
Single-chip 8-bit microcontroller with CAN controller
4
BLOCK DIAGRAM
P8xC591
INT0 INT1
T0
T1
PSEN
RD
EA
ALE
WR
handbook, full pagewidth
AVref+
AVSS
AN0 to 5
PWM0 PWM1
RXD
TXD
80C51 CONFIGURABLE CORE
A0 to A7
CPU
CORE
TWO 16-BIT
TIMER/EVENT
COUNTERS
(T0/T1)
16 KBYTES
PROGRAM
MEMORY
512 BYTES
ADC
DATA
MEMORY
PWM
UART
P8xC591
VDD
VSS
XTAL1
OSCILLATOR
XTAL2
WATCHDOG
TIMER (T3)
PARALLEL
I/O PORTS
CPU
INTERFACE
(SFRs)
16-BIT TIMER/EVENT
COUNTER WITH CAPTURE
(T2)
I
2
C SERIAL
INTERFACE
CAN 2.0 B
INTERFACE
RST
P0
P1
P2
P3
RT2
T2
CT0x/INTx
CMSR0 to 5
CMT0 to 1
SDA
SCL
TXDC RXDC
MHI001
Fig.1 Block diagram P8xC591.
2000 Jul 26
5