SCU(System Control Units)
SCU模块组成
The System Control Unit (SCU) is a cluster of sub-modules which control various system functions, including:
• Reset Control (RCU)
• Trap generation (TR)
• System Registers for miscellaneous functions (SRU)
• Watchdog Timers (WDT)
• External Request handling (ERU)
• Emergency Stop (ES)
• Power Management Control (PMC)
Reset Control Unit (RCU)
Reset Triggers
The following reset request triggers are available:
- Supply monitor (SWD) triggers a power-on reset (cold reset)
- Core voltage EVR (EVRC) monitor triggers a power-on reset (cold
reset) - 3.3V EVR monitor triggers a power-on reset (cold reset) (If product has EVR33)
- Standby EVR (STBYR) monitor triggers a power-on reset (cold reset)
- External active low hardware “power-on” reset request trigger; PORST
(can be either a warm reset or to extend a cold reset) - External System Request reset trigger pins; ESR0 and ESR1 (warm
reset) - Safety Management Unit (SMU) alarm reset request trigger, (warm
reset) - Software reset (SW), (warm reset)
- System Timer (STMx) trigger (warm reset)
- Resets via the JTAG interface
- Resets initiated via On-Chip Debug System (OCDS)
复位请求触发源以及影响范围可以参考《英飞凌多核单片机应用技术AURIX三天入门篇》P142表格
Reset Types
**Power-on Reset:**上电复位
This reset results in initialization of the complete system into a defined state. A Power-on Reset also generates a Debug Reset and a System Reset and therefore also an Application Reset. (See also the section about Warm and Cold Resets)
**• System Reset:**系统复位
This reset leads to an initialization into a defined state of the complete system but without a reset of the power subsystem, debug subsystem or reset configuration registers.
A System Reset also generates an Application Reset.
**• Debug Reset:**调试复位
This reset leads to an initialization into a defined state of the complete debug system.
• Application Reset: 应用复位
This reset leads to an initialization into a defined state of the complete application system with the following parts: all peripherals, the CPUs and parts of the SCU.
**• Module Resets:**外设模块复位
Module resets result in individual modules being initialized into a defined state without any impact on the rest of the system.
Warm and Cold Resets
Warm Reset:
A warm reset is a reset which is triggered while the system is already operational and the supplies remain stable.
系统供电稳定时,通过触发POSRT引脚便是触发热复位
Cold Reset:
A “Cold Power-on Reset” is a reset which is triggered for the first time during a system power-up or in response to a temporary power failure.
引起冷复位的因素主要包括:
- MCU启动,外部供电电压低于2.97V
- EVR33片上3.3V供电低于2.97V
- EVR13片上1.3V供电低于1.17V
- EVR33和EVR13 in PMSLE module
Some special registers in the EVR are associated with functionality which should not be re-initialized even in the case of a temporary violation of an undervoltage monitor but only on a real power-up event. These are reset only when the supply drops below a very low threshold. The reset