English
Language : 

AN3077 Datasheet, PDF (33/82 Pages) STMicroelectronics – Safety application guide
AN3077
Functional safety requirements for application software
3.13.5.2.1
Note:
Software test implementation
● SIUL_SWTEST_REGCRC
The SIUL configuration registers are read and a CRC checksum is computed. The
checksum is compared to the expected value.
● ETIMER0_SWTEST_REGCRC
The eTimer_0 configuration registers are read and a CRC checksum is computed. The
checksum is compared to the expected value.
● ETIMER1_SWTEST_REGCRC
The eTimer_1 configuration registers are read and a CRC checksum is computed. The
checksum is compared to the expected value.
● FLEXPWM0_SWTEST_REGCRC
The FlexPWM_0 configuration registers are read and a CRC checksum is computed.
The checksum is compared to the expected value.
● FLEXPWM1_SWTEST_REGCRC
The FlexPWM_1 configuration registers are read and a CRC checksum is computed.
The checksum is compared to the expected value.
Implementation hint: The eDMA and CRC modules should be used to implement this SIF
to avoid overloading the CPU.
● PWMRB_SWTEST_CMP
This procedure output compares the PWM read back provided by a single channel of
the eTimer_0 (eTimer_1) with the expected values that have been written to the
FlexPWM_1 (FlexPWM_0) output channel.
3.13.5.2.2
Note:
Implementation details
The following hardware elements shall be used for the safety function:
● eTimer_0 channels
● eTimer_1 channels
● FlexPWM_0 channels
● FlexPWM_1 channels
Mandatory: The pads shall be configured via the appropriate pad configuration registers
(PCRn) in the SIUL module.
Rationale: To configure pads used by this safety function
Table 9. Software BIST and/or test
Software BIST or test
Frequency
SIUL_SWTEST_REGCRC
ETIMER0_SWTEST_REGCRC(1)
ETIMER1_SWTEST_REGCRC(1)
FLEXPWM0_SWTEST_REGCRC(2)
FLEXPWM1_SWTEST_REGCRC(2)
PWMRB_SWTEST_CMP
Once after programming
Once after programming
Once after programming
Once after programming
Once after programming
Once every write
1. This software BIST is needed only if the eTimer channels are used for the safety function.
2. This software BIST is needed only if the FlexPWM channels are used for the safety function.
DocID16384 Rev 10
33/82
81