9.1 Design for Safety

Specific design techniques have been used in the device to resolve general purpose safety concerns. This allows reduced software development and code size, as well as savings on external hardware circuitry, since built-in self-tests are already embedded in the device. The table below gives the list of peripherals which incorporate these techniques for general purpose safety considerations.

Table 9-1. Safety Features
PeripheralComponentFault/Error/Feature
PMC, SUPCClockMCK frequency monitor

- MCK out-of-range operation

32.768 kHz crystal oscillator frequency monitor

- Abnormal frequency deviation

- Failure

Main crystal oscillator failure detector

- Crystal failure detection

ICMMemoriesAny error detection
SEFCEmbedded nonvolatile memorySingle bit error correction
Double bit error detection
System Controller AllSafety critical peripheral logic or circuitry is fed by the always-on slow RC oscillator

- WDT, RSTC, start-up counters, timeout counters, etc.

PIOI/O linesDigital I/O

- Plausibility check

ADCAnalog I/O and ADC converter

- Plausibility check

WDTWatchdogWatchdog is driven by an internal always ON clock

- Program counter stuck at faults

Watchdog configuration can be locked until the next reset

- Errant writes (programming errors, errors introduced by system or hardware failures)

Watchdog overflow generates a reset or interrupt
Cortex-M4 MPUMemory Protection UnitCortex-M4 Memory Protection Unit

MATRIX, RTC, RTT, RSTC, PMC, PIOC, FLEXCOM, QSPI, TC, ADC

PeripheralsConfiguration, Interrupt Enable/Disable and Control registers can be independently write-protected

- Errant writes (programming errors, errors introduced by system or hardware failures)

RTCPeripheralRobust against crystal oscillator glitches. The design of the RTC 32.768 kHz divider does not propagate glitches downstream to time/date counter.