CAN Subsystem
44.3.5.2.13 Protocol Status Register (PSR)
Address: 0x0044
0
1
R
0
0
W
Reset
0
0
16
17
R
0
0
W
Reset
0
0
1. Access type is RX: reset on read.
2. Access type is RS: set on read.
Field
0:17
Reserved
Received CAN FD Message with EDL flag
18
0 Since this bit was reset by the CPU, no CAN FD message has been received
REDL
1 Message in CAN FD format with EDL flag set has been received
BRS flag of last received CAN FD Message
19
This bit is set together with REDL, independent of acceptance filtering.
RBRS
0 Last received CAN FD message did not ha ve its BRS flag set.
1 Last received CAN FD message had its BRS flag set.
ESI CAN FD Message with ESI flag
20
This bit is set together with REDL, independent of acceptance filtering.
RESI
0 Last received CAN FD message did not ha ve its ESI flag set.
1 Last received CAN FD message had its ESI flag set
Fast Last Error Code
Type of last error that occurred in the data phase of a CAN FD format frame with its BRS flag set.
21:23
Coding is the same as for LEC. This field will be cleared to zero when a CAN FD format frame
FLEC
with
its BRS flag set has been transferred (reception or transmission) without error.
Bus_Off Status
24
0 The M_CAN is not Bus_Off
BO
1 The M_CAN is in Bus_Off state
Warning Status
25
0 Both error counters are below the Error_Warning limit of 96
EW
1 At least one of error counter has reached the Error_Warning limit of 96
1016/2058
2
3
4
5
0
0
0
0
0
0
0
0
18
19
20
21
RED
RBR
RESI
1
1
(1)
L
S
0
0
0
0
Figure 484. Protocol status register (PSR)
Table 537. PSR descriptions
DocID027809 Rev 4
6
7
8
9
0
0
0
0
0
0
0
0
22
23
24
25
2
FLEC
BO
EW
0
0
0
0
Description
10
11
12
13
0
0
0
0
0
0
0
0
26
27
28
29
EP
ACT
0
0
0
1
RM0400
Access: RS
14
15
0
0
0
0
30
31
(2)
LEC
1
1
Need help?
Do you have a question about the SPC572L series and is the answer not in the manual?
Questions and answers