1996 Jun 27 91
Philips Semiconductors Product specification
8-bit microcontroller with on-chip CAN P8xC592
22 CAN APPLICATION INFORMATION
22.1 Latency time requirements
Real-time applications require the ability to process and
transfer information in a limited and predetermined period
of time. If knowing this total time and the time required to
process the information, the (maximum allowed) transfer
delay time is given.
It is measured from the initiation of the transfer up to the
signalling of reception.
For instance, this is the period of time between
programming the CAN Command Register bit 0
(Transmission Request) to HIGH and the time getting an
interrupt at a receiving CAN-device (due to the reception
of the respective message).
22.1.1 M
AXIMUM ALLOWED BIT-TIME CALCULATION
The maximum allowed bit-time (t
BIT
) due to latency time requirements can be calculated as:
(1)
Where:
t
MAX TRANSFER TIME
:
the maximum allowed transfer delay time (application-specific).
n
BIT, MAX LATENCY
:
the maximum latency time (in terms of number of bits), which depends on the
actual state of the CAN network (e.g. another message already on the network);
n
BIT, MESSAGE
:
the number of bits of a message; it varies with the number of transferred data bytes
n
DATA BYTES
(0..8) and Stuffbits like:
(2)
Example:
For the calculation of n
BIT, MAX LATENCY
the following is assumed (the term ‘our message’ refers to that one the latency
time is calculated for):
since at maximum one-bit-time ago another CAN-controller is transmitting.
a single error occurs during the transmission of that message preceding ours, leading to the additional transfer of one
Error Frame
‘our message’ has the highest priority,
giving:
(3)
(4)
Where:
The additional 18 bits are due to the Error Frame and the Intermission Field preceding ‘our message’.
n
DATA BYTES, WORST CASE
denotes the number of data bytes contained by the longest message being used in a given
CAN network.
t
BIT
t
MAX TRANSFER TIME
n
BIT, MAX LATENCY
n
BIT, MESSAGE
+()
---------------------------------------------------------------------------------------------
44 8.n
DATA BYTES
+ n
BIT, MESSAGE
52 10.n
DATABYTES
+≤≤
n
BIT, MAX LATENCY
44 8.n
DATA BYTES, WORST CASE
18++
n
BIT, MAX LATENCY
52 10.n
DATA BYTES, WORST CASE
18++
1996 Jun 27 92
Philips Semiconductors Product specification
8-bit microcontroller with on-chip CAN P8xC592
22.1.2 CALCULATING THE MAXIMUM BIT-TIME
Table 93 Example for calculating the maximum bit-time
STATEMENT COMMENTS
t
MAX TRANSFER TIME
= 10 ms assumption
n
DATA BYTES, WORST CASE
= 6 longest message in that network; assumption
n
DATA BYTES
= 4 ‘our message’; assumption
n
BIT MAX LATENCY
130 using Equation (3) and (4)
n
MESSAGE
92 using Equation (2)
using Equation (1)
t
BIT
10 ms
130 92+()
-----------------------------
0.045 ms 45 µs==
22.2 Connecting a P8xC592 to a bus line
(physical layer)
22.2.1 O
N-CHIP TRANSCEIVER
The P8xC592 features an on-chip differential transceiver
including output driver and input comparator both being
configurable (see Fig.36). Therefore it supports many
types of common transmission media such as:
Single-wire bus line
Two-wire bus line (differential)
Optical cable bus line.
The P8xC592 can directly drive a differential bus line.
An example is given in Fig.37 for a bus line having a
characteristic impedance of 120 . Direct interfacing to
the bus line is well suited for applications with limited
requirements concerning electromagnetic susceptibility,
wiring failure tolerance and protection against transients.
22.2.2 T
RANSCEIVER FOR IN-VEHICLE COMMUNICATION
Fig.38 shows a versatile transceiver implementation
designed for automotive applications. It features a bit rate
of up to 1 Mbit/s and dissipates low power during standby
(1.4 mA). Thus it is suitable also for applications requiring
a Sleep mode function with system activation via the bus
line. The transceiver provides and extended common
mode range for high electromagnetic susceptibility
performance.
Two external driver transistors amplify the output current
to 35 mA typically and provide protection against
overvoltage conditions on the bus line (e.g. due to an
accidental short-circuit between a bus wire and battery
voltage). The serial diodes prevent in combination with the
transistors the bus from being blocked in case of a bus not
powered. More than 32 nodes may be connected to the
bus line.
22.2.3 D
ETECTION AND HANDLING OF BUS WIRING
FAILURES
Using the P8xC592 a superior wiring failure tolerance and
detection performance can be achieved. This requires
both bus lines to be mutually decoupled as shown in
Fig.39. Each bus wire is based separately to a reference
voltage of
1
2
AV
DD
.
The diodes suppress reverse current in case of a
termination circuit being not properly powered or a bus line
being short i.e. to a voltage higher than 5 V. Applying this
bus termination circuit the following wiring failures on the
bus are detectable and can be handled:
Interruption of one bus wire at any location.
Short-circuit of one bus wire to ground or battery
voltage.
Short-circuit between the bus wires.
A bus failure can be detected e.g. by a drop out of a status
message, regularly being transmitted on the bus. If a bus
wire is corrupted the following actions have to be taken:
Switch the corresponding comparator input over to a
reference voltage of
1
2
AV
DD
.
Disable the corresponding output driver stage.
As a consequence communication will continue on that
bus wire not being corrupted. The required reference
voltage and the switches for the comparator inputs are
provided on-chip. An output driver stage can be disabled
by reconfiguration of the on-chip output driver
(reprogramming of the Output Control Register of the
P8xC592; see Section 13.5.11, Table 51). To find out
which of the bus wires is corrupted a heuristic method is
applied.
1996 Jun 27 93
Philips Semiconductors Product specification
8-bit microcontroller with on-chip CAN P8xC592
Fig.36 Structure of on-chip CAN-Transceiver.
handbook, full pagewidth
P8xC592
5 V
MGA185
5 V
OUTPUT CONTROL REGISTER COMMAND REGISTER CONTROL REGISTER
CV
SS
AV
DD
V
DD
COMP OUT
TXD
1/2 AV
DD
OUTPUT CONTROL LOGIC
REFCTX0 CTX1 CRX0 CRX1
AV
SS
to the CAN bus line

P80C592FFA/00,512

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT ROMLESS 68PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet