FlexRay Module (FLEXRAYV2)
MFR4300 Data Sheet, Rev. 1
90
Freescale Semiconductor
3.3.2.21
Protocol Status Register 2 (PSR2)
This register provides a snapshot of status information about the Network Idle Time NIT, the Symbol
Window and the clock synchronization. The NIT related status bits NBVB, NSEB, NBVA, and NSEA are
Table 3-26. PSR1 Field Descriptions
Field
Description
15
CSAA
Cold Start Attempt Aborted Flag
— protocol related event: ‘set coldstart abort indicator in CHI’
This flag bit is set when the FlexRay modulehas aborted a cold start attempt. The application clears this flag by
writing 1 to it. Writing a 0 will not change the state of the flag. If the application clears the flag while the FlexRay
module sets the flag at the same time, then the flag is not cleared.
0 No such event
1 Cold start attempt aborted
Leading Cold Start Path
— This status bit is set when the FlexRay module has reached the
POC:normal active
state via the leading cold start path. This indicates that this node has started the network
0 No such event
1
POC:normal active
reached from
POC:startup
state via leading cold start path
Remaining Coldstart Attempts
— protocol related variable:
vRemainingColdstartAttempts
This field provides the number of remaining cold start attempts that the FlexRay module will execute.
Leading Cold Start Path Noise
— protocol related variable:
vPOC!ColdstartNoise
This status bit is set if the FlexRay module has reached the
POC:normal active
state via the leading cold start
path under noise conditions. This indicates there was some activity on the FlexRay bus while the FlexRay
module was starting up the cluster.
0 No such event
1
POC:normal active
state was reached from
POC:startup
state via noisy leading cold start path
Host Halt Request Pending
— protocol related variable:
vPOC!CHIHaltRequest
This status bit is set when FlexRay module receives the HALT command from the application via the
Protocol
Operation Control Register (POCR)
. The FlexRay module clears this status bit after a hard reset condition or
when the protocol is in the
POC:default config
state.
0 No such event
1 HALT command received
Freeze Occurred
— protocol related variable:
vPOC!Freeze
This status bit is set when the FlexRay module has reached the
POC:halt
state due to the host FREEZE
command or due to an internal error condition requiring immediate halt. The FlexRay module clears this status
bit after a hard reset condition or when the protocol is in the
POC:default config
state.
0 No such event
1 Immediate halt due to FREEZE or internal error condition
Allow Passive to Active Counter
— protocol related variable:
vPOC!AllowPassivetoActive
This field provides the number of consecutive even/odd communication cycle pairs that have passed with valid
rate and offset correction terms, but the protocol is still in the
POC:normal passive
state due to an application
configured delay to enter
POC:normal active
state. This delay is defined by the allow_passive_to_active field in
the
Protocol Configuration Register 12 (PCR12)
. If this APTAC counter has reached its maximum value, it is not
incremented any more.
14
CSP
12–8
REMCSAT
7
CPN
6
HHR
5
FRZ
4–0
APTAC
0x002C
Additional Reset: RUN Command
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R NBVB NSEB STCB SBVB SSEB
W
Reset
0
0
MTB
NBVA NSEA STCA SBVA SSEA
MTA
CLKCORRFAILCNT
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 3-20. Protocol Status Register 2 (PSR2)