Chapter 28 Fault Collection Unit (FCU)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
769
Notice that software recoverable fault flags must be kept high also if the relative signal does not show
anymore a fault. Hardware recoverable fault flags are updated in real time. Reset requests are assumed as
hardware-recoverable.
In order to clear a flag in the FCU_FFR via software, the application should access first time the Key
Register (FCU_KR) by writing the value of a key (0x618B_7A50) second time resetting the appropriate
flag. The following errors are ignored:
•
Wrong key inserted in FCU_KR
•
Attempt to clear a hardware recoverable flag
If user software tries to clear an already cleared software-recoverable flag, SRF0 is set.
In addition to the detailed field descriptions in
provides the hardware/software fault
descriptions.
Address: Base + 0x0004
Access: User read/write, Supervisor read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R SRF
0
SRF
1
SRF
2
SRF
3
SRF
4
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R HRF
15
HRF
14
HRF
13
HRF
12
HRF
11
HRF
10
HRF
9
HRF
8
HRF
7
HRF
6
HRF
5
HRF
4
HRF
3
HRF
2
HRF
1
HRF
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 28-4. Fault Flag Register (FCU_FFR)
Table 28-4. FCU_FFR field descriptions
Field
Description
0:4
SRF0–
SRF4
Software Recoverable Fault [0:4]
0: No error latched
1: Error latched
16:31
HRF15–
HRF0
Hardware Recoverable Fault [15:0]
0: No error latched
1: Error latched
Table 28-5. Hardware/software fault description
Label
Module
Fault type
HRF0
Core
Checkstop mode entered
HRF1
Core
z0h core reset output
HRF2
CMU_0
Loss of crystal
HRF3
FMPLL_0
Loss of lock
HRF4
CMU_0
Frequency out of range