SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1249

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
40.9.9
Name:
Address:
Access:
• REC: Receive Error Counter
When a receiver detects an error, REC will be increased by one, except when the detected error is a BIT ERROR while
sending an ACTIVE ERROR FLAG or an OVERLOAD FLAG.
When a receiver detects a dominant bit as the first bit after sending an ERROR FLAG, REC is increased by 8.
When a receiver detects a BIT ERROR while sending an ACTIVE ERROR FLAG, REC is increased by 8.
Any node tolerates up to 7 consecutive dominant bits after sending an ACTIVE ERROR FLAG, PASSIVE ERROR FLAG or
OVERLOAD FLAG. After detecting the 14th consecutive dominant bit (in case of an ACTIVE ERROR FLAG or an OVER-
LOAD FLAG) or after detecting the 8th consecutive dominant bit following a PASSIVE ERROR FLAG, and after each
sequence of additional eight consecutive dominant bits, each receiver increases its REC by 8.
After successful reception of a message, REC is decreased by 1 if it was between 1 and 127. If REC was 0, it stays 0, and
if it was greater than 127, then it is set to a value between 119 and 127.
• TEC: Transmit Error Counter
When a transmitter sends an ERROR FLAG, TEC is increased by 8 except when
When a transmitter detects a BIT ERROR while sending an ACTIVE ERROR FLAG or an OVERLOAD FLAG, the TEC will
be increased by 8.
Any node tolerates up to 7 consecutive dominant bits after sending an ACTIVE ERROR FLAG, PASSIVE ERROR FLAG or
OVERLOAD FLAG. After detecting the 14th consecutive dominant bit (in case of an ACTIVE ERROR FLAG or an OVER-
LOAD FLAG) or after detecting the 8th consecutive dominant bit following a PASSIVE ERROR FLAG, and after each
sequence of additional eight consecutive dominant bits every transmitter increases its TEC by 8.
After a successful transmission the TEC is decreased by 1 unless it was already 0.
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
– the transmitter is error passive and detects an ACKNOWLEDGMENT ERROR because of not detecting a
– the transmitter sends an ERROR FLAG because a STUFF ERROR occurred during arbitration and should
31
23
15
7
dominant ACK and does not detect a dominant bit while sending its PASSIVE ERROR FLAG.
have been recessive and has been sent as recessive but monitored as dominant.
CAN Error Counter Register
CAN_ECR
0x400B4020 (0), 0x400B8020 (1)
Read-only
30
22
14
6
29
21
13
5
28
20
12
4
REC
TEC
27
19
11
3
26
18
10
2
25
17
9
1
SAM3X/A
SAM3X/A
24
16
8
0
1249
1249

Related parts for SAM3X8E