941
11054A–ATARM–27-Jul-11
SAM9X25
941
11054A–ATARM–27-Jul-11
SAM9X25
41.9.5
CAN Status Register
Name:
CAN_SR
Address:
0xF8000010 (0), 0xF8004010 (1)
Access:
Read-only
• MBx: Mailbox x Event
0 = No event occurred on Mailbox x.
1 = An event occurred on Mailbox x.
An event corresponds to MRDY, MABT fields in the CAN_MSRx register.
• ERRA: Error Active Mode
0 = CAN controller has not reached Error Active Mode since the last read of CAN_SR.
1 = CAN controller has reached Error Active Mode since the last read of CAN_SR.
This flag is automatically cleared by reading CAN_SR register.
This flag is set depending on TEC and REC counter values. It is set when a node is neither in Error Passive Mode nor in
Bus Off Mode.
• WARN: Warning Limit
0 = CAN controller Warning Limit has not been reached since the last read of CAN_SR.
1 = CAN controller Warning Limit has been reached since the last read of CAN_SR.
This flag is automatically cleared by reading CAN_SR register.
This flag is set depending on TEC and REC counter values. It is set when at least one of the counter values has reached a
value greater or equal to 96.
• ERRP: Error Passive Mode
0 = CAN controller has not reached Error Passive Mode since the last read of CAN_SR.
1 = CAN controller has reached Error Passive Mode since the last read of CAN_SR.
This flag is set depending on TEC and REC counters values.
This flag is automatically cleared by reading CAN_SR register.
A node is in error passive state when TEC counter is greater or equal to 128 (decimal) or when the REC counter is greater
or equal to 128 (decimal).
31
30
29
28
27
26
25
24
OVLSY
TBSY
RBSY
BERR
FERR
AERR
SERR
CERR
23
22
21
20
19
18
17
16
TSTP
TOVF
WAKEUP
SLEEP
BOFF
ERRP
WARN
ERRA
15
14
13
12
11
10
9
8
–
–
–
–
–
–
–
–
7
6
5
4
3
2
1
0
MB7
MB6
MB5
MB4
MB3
MB2
MB1
MB0
Summary of Contents for SAM9X25
Page 26: ...26 11054A ATARM 27 Jul 11 SAM9X25...
Page 138: ...138 11054A ATARM 27 Jul 11 SAM9X25 138 11054A ATARM 27 Jul 11 SAM9X25...
Page 162: ...162 11054A ATARM 27 Jul 11 SAM9X25 162 11054A ATARM 27 Jul 11 SAM9X25...
Page 216: ...216 11054A ATARM 27 Jul 11 SAM9X25 216 11054A ATARM 27 Jul 11 SAM9X25...
Page 266: ...266 11054A ATARM 27 Jul 11 SAM9X25 266 11054A ATARM 27 Jul 11 SAM9X25...
Page 330: ...330 11054A ATARM 27 Jul 11 SAM9X25 330 11054A ATARM 27 Jul 11 SAM9X25...
Page 374: ...374 11054A ATARM 27 Jul 11 SAM9X25...
Page 468: ...468 11054A ATARM 27 Jul 11 SAM9X25 468 11054A ATARM 27 Jul 11 SAM9X25...
Page 532: ...532 11054A ATARM 27 Jul 11 SAM9X25 532 11054A ATARM 27 Jul 11 SAM9X25...
Page 692: ...692 11054A ATARM 27 Jul 11 SAM9X25 692 11054A ATARM 27 Jul 11 SAM9X25...
Page 777: ...777 11054A ATARM 27 Jul 11 SAM9X25 777 11054A ATARM 27 Jul 11 SAM9X25...
Page 886: ...886 11054A ATARM 27 Jul 11 SAM9X25 886 11054A ATARM 27 Jul 11 SAM9X25...
Page 962: ...962 11054A ATARM 27 Jul 11 SAM9X25 962 11054A ATARM 27 Jul 11 SAM9X25...
Page 1036: ...1036 11054A ATARM 27 Jul 11 SAM9X25 1036 11054A ATARM 27 Jul 11 SAM9X25...
Page 1128: ...1128 11054A ATARM 27 Jul 11 SAM9X25 1128 11054A ATARM 27 Jul 11 SAM9X25...
Page 1130: ...1130 11054A ATARM 27 Jul 11 SAM9X25...
Page 1132: ...1132 11054A ATARM 27 Jul 11 SAM9X25...
Page 1144: ...xii 11054A ATARM 27 Jul 11 SAM9X25...