Chapter 28 Fault Collection Unit (FCU)
MPC5602P Microcontroller Reference Manual, Rev. 4
778
Freescale Semiconductor
The register block implements all the FCU registers including input capture logic. The interface
implements the read functionality and generated write and register enable signals. The timeout counter
implements the counter to calculate timeout to switch from Alarm state to Fault state. The output prescaler
module generates the prescaled clock to be used to generate output sequence. The FCU control implements
the FCU state machine. The output generation logic generates two external output signals according to the
output generation protocol.
28.3.1
State machine
The FCU provides four states: Init, Normal, Alarm, and Fault.
Figure 28-15. Finite state machine
The Init state is entered after any destructive reset assertion. Once the FCU goes into Fault state, both
functional and destructive reset assertion lets the FCU move into Init state.
Once a configuration is locked (see
Section 28.2.3.1, “Module Configuration Register (FCU_MCR)
), the
FCU goes into Normal state. Then, when a fault occurs, the FCU can move into Alarm/Fault states
depending on the Fault Enable Register (FCU_FER). The Fault Flag Register (FCU_FFR) stores any fault
that has occurred, even if the FCU is not entering into the Alarm or the Fault state.
When the FCU is in Alarm state, a timer starts counting up to a fixed timeout (see
) before going into Fault state.
When the FCU goes into Fault state, the status of the FCU_MCR is copied into the FCU_FMCSR. Also,
the FCU_FFR is copied into the FCU_FFFR.
The FCU can be tested by setting field TM[1:0] in the FCU_MCR during initialization. In this way, the
FCU_FFGR can be accessed and faults can be emulated, since FCU behavior is the same whether real or
fake faults occur. Optionally, the output pins can be disabled in Test mode (by setting the TM field to ‘01’).
To exit from Test mode, the TM field must be set to ‘00’ or ‘11’.
NORMAL
INIT
ALARM
FAULT
Destructive reset
Destructive reset
Destructive reset
Destructive
A user-enabled fault
cause has been
detected.
Timeout is enabled
Fault is
recovered
A user-enabled fault
cause has been detected.
Timeout is disabled
Timeout elapses
Functional reset
reset
Configuration phase is finished
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...