FlexRay Communication Controller (FLEXRAY)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
30-33
Preliminary
This register provides the channel status error counter for channel B. The protocol engine generates a slot
status vector for each static slot, each dynamic slot, the symbol window, and the NIT. The slot status vector
contains the four protocol related error indicator bits
vSS!SyntaxError
,
vSS!ContentError
,
vSS!BViolation
,
and
vSS!TxConflict
. The FlexRay block increments the status error counter by 1 if, for a slot or segment,
at least one error indicator bit is set to 1. The counter wraps around after it has reached the maximum value.
For more information on slot status monitoring see
Section 30.6.18, “Slot Status Monitoring
30.5.2.19 Protocol Status Register 0 (PSR0)
This register provides information about the current protocol status.
Table 30-25. CBSERCR Field Descriptions
Field
Description
STATUS_ERR_CNT Channel Status Error Counter. This field provides the current channel status error count. The counter
value is updated within the first macrotick of the following slot or segment.
Base + 0x0028
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
ERRMODE
SLOTMODE
0
PROTSTATE
STARTUPSTATE
0
WAKEUPSTATUS
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 30-19. Protocol Status Register 0 (PSR0)
Table 30-26. PSR0 Field Descriptions (Sheet 1 of 2)
Field
Description
ERRMODE
Error Mode. Protocol related variable:
vPOC!ErrorMode
. This field indicates the error mode of the protocol.
00 ACTIVE
01 PASSIVE
10 COMM_HALT
11 reserved
SLOTMODE Slot Mode. Protocol related variable:
vPOC!SlotMode
. This field indicates the slot mode of the protocol.
00 SINGLE
01 ALL_PENDING
10 ALL
11 reserved
PROTSTATE Protocol State. Protocol related variable:
vPOC!State.
This field indicates the state of the protocol.
000
POC:default config
001
POC:config
010
POC:wakeup
011
POC:ready
100
POC:normal passive
101
POC:normal active
110
POC:halt
111
POC:startup