1996 Jun 27
93
Philips Semiconductors
Product specication
8-bit microcontroller with on-chip CAN
P8xCE598
22.1.2
CALCULATING THE MAXIMUM BIT-TIME
Table 93 Example for calculating the maximum bit-time
STATEMENT
COMMENTS
tMAX TRANSFER TIME = 10 ms
assumption.
nDATA BYTES, WORST CASE = 6
longest message in that network; assumption.
nDATA BYTES = 4
‘our message’; assumption.
nBIT MAX LATENCY ≤ 130
using Equations (3) and (4).
nMESSAGE ≤ 92
using Equation (2).
using Equation (1).
t
BIT
10 ms
130
92
+
()
-----------------------------
0.045 ms
45
s
=
≤
22.2
Connecting a P8xCE598 to a bus line
(physical layer)
22.2.1
ON-CHIP TRANSCEIVER
The P8xCE598 features an on-chip differential transceiver
including output driver and input comparator both being
configurable (see Fig.37). 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 P8xCE598 can directly drive a differential bus line.
An example is given in Fig.38 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
TRANSCEIVER FOR IN-VEHICLE COMMUNICATION
Fig.39 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
DETECTION AND HANDLING OF BUS WIRING
FAILURES
Using the P8xCE598 a superior wiring failure tolerance
and detection performance can be achieved. This requires
both bus lines to be mutually decoupled as shown in
Fig.40. Each bus wire is based separately to a reference
voltage of 1
2AVDD.
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
2AVDD.
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
P8xCE598; see Section 13.5.11, Table 51). To find out
which of the bus wires is corrupted a heuristic method is
applied.