756
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
(b) Error counter
The error counter counts up when an error has occurred, and counts down upon successful trans-
mission and reception. The error counter is updated immediately after error detection.
(c) Occurrence of bit error in intermission
An overload frame is generated.
Caution:
If an error occurs, it is controlled according to the contents of the transmission error
counter and reception error counter before the error occurred. The value of the error
counter is incremented after the error flag has been output.
Table 18-14:
Error counter
State
Transmission error counter
(TEC7 to TEC0 Bits)
Reception error counter
(REC6 to REC0 Bits)
Receiving node detects an error (except bit error
in the active error flag or overload flag).
No change
+1 (when REPS = 0)
Receiving node detects dominant level following
error flag of error frame.
No change
+8 (when REPS = 0)
Transmitting node transmits an error flag.
[As exceptions, the error counter does not
change in the following cases.]
<1> ACK error is detected in error passive
state and dominant level is not detected
while the passive error flag is being output.
<2> A stuff error is detected in an arbitration
field that transmitted a recessive level as a
stuff bit, but a dominant level is detected.
+8
No change
Bit error detection while active error flag or
overload flag is being output (error-active
transmitting node)
+8
No change
Bit error detection while active error flag or
overload flag is being output (error-active
receiving node)
No change
+8 (REPS bit = 0)
When the node detects 14 consecutive
dominant-level bits from the beginning of the
active error flag or overload flag, and then
subsequently detects 8 consecutive dominant-
level bits.
When the node detects 8 consecutive dominant
levels after a passive error flag
+8 (transmitting)
+8
(during reception, when
REPS = 0)
When the transmitting node has completed
transmission without error
(
±
0 if error counter = 0)
–1
No change
When the receiving node has completed
reception without error
No change
•
–1
(1
≤
REC6 to REC0
≤
127,
when REPS = 0)
•
±
0
(REC6 to REC0 = 0,
when REPS = 0)
•
Value of 119 to 127 is set
(when REPS = 1)
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......