Stm32 Stm8 Functional Safety Packages
Stm32 Stm8 Functional Safety Packages
3
STM32 built-in safety features
• Dual watchdogs: Independent watchdog and system window watchdog
• Backup clock circuitry with clock security system (CSS)
• Supply monitoring (POR, BOR, PVD)
• I/O function locking
• PWM critical register protections with write-once registers (except on STM32L0/L1)
• Memory protection unit (MPU) with 8 or 16 regions to ensure data integrity from invalid behavior (except on STM32F0)
• Built-in safety features in Cortex-M cores (dual stack pointer, fault exceptions, debug module)
4
SIL Functional Safety Package
5
SIL functional safety package
for STM32
Reduce time and cost to build
STM32-based systems certified
to IEC 61508 industrial safety
standard
6
SIL Functional Safety Package
for STM32
ST provides a complete,
certified offering to
- Lower project costs
- Reduce design
complexity
- Ease SIL certification
assessment
7
SIL functional safety for STM32
safety documentation
Safety manuals: detailed list of safety requirements
(conditions of use) and examples to guide STM32 users to
achieve safety integrity level certification in compliance with IEC
61508.
Available at STM32 series level for free download on
www.st.com/x-cube-stl
8
SIL functional safety package for STM32
X-CUBE-STL self-test libraries
• Software-based diagnostic suite designed to detect random
hardware failures in safety-critical STM32 core components
(CPU + SRAM + Flash memory)
• Diagnostic coverage verified by state-of-the-art ST proprietary
fault injection methodology
• Application independent: can be potentially used in any end
customer application
• Compiler independent: delivered as object code
• Certified by TÜV Rheinland 1
• IEC 61508 SC3 compliant
• Provided with safety manual and user guide
Available on demand at STM32 series level²
www.st.com/x-cube-stl
(1) The original certificate and the updated list of certificated software versions can be downloaded from
TÜV Rheinland websites: www.fsproducts.com, www.certipedia.com
(2) submitted to NDA
9
ST functional safety methodology
ST builds functional safety solutions for its STM32 Arm ® Cortex®-M microcontroller
family, including detailed and accurate safety analyses supported by verification
activities based on state-of-the-art fault injection methods.
Proprietary state-of-
IEC 61508-compliant software IEC 61508-compliant safety
the-art fault injection
development analysis
methods
10
Achieve SIL2/SIL3 with STM32
Achievable with
single STM32
(1oo1 architecture)
SIL2 1oo1: 1 out of 1 MCU (no redundancy)
Achievable with
two STM32
(1oo2 architecture)
SIL3 1oo2 : 1 out of 2 MCUs (1 redundant system)
11
STM32 Safety Concepts
Refer to STM32F0, F1, F2, F3, F4, F7, H7 single core, G0, G4, L0, L1,
L4/L4+, L5, U5 safety manuals for details
TÜV Rheinland single core certificate
12
STM32 MCU dual Cortex-M core Safety Concept
PEi1 PEc1
CPU1 PEo1 SF1(s) PEc1 PEc2
PEi12 PEi1 PEo1 SF(s)
CPU1 CPU2
PEc2 PEo2 SF2(s)
PEi2 CPU2
15
STM8A-SafeASIL
Functional Safety Package
Reduce time and cost to build ASIL A/B
STM8A-based systems certified to
ISO 26262 automotive functional Customer Development
safety standard
+
Specification for
Self-Test Library
Safety documentation
16
STM8A-SafeASIL
safety documentation
Safety manual: Detailed list of safety requirements and
examples to support STM8AF and STM8AL use in applications
that need to fulfill functional safety requirements as defined by
automotive safety integrity level ASIL B of ISO 26262.
17
(*) submitted to NDA
STM8A-SafeASIL
specification for self-test library
AN5482
full list of detailed safety requirements enabling STM8AF and STM8AL
users to realize, in the framework of their ISO26262-compliant software
development process, the software Self-test Library required by STM8AF or
STM8AL Safety Manual to support application up to ASIL B.
The quality of the specification document allows its direct use in a development
process compliant to ISO26262-6 requirements.
The specification includes the evidences and rationales behind the generation of
the safety requirements for the completeness of end-user safety case.
Application independent: can be used in potentially any end-user application.
18
CLASS B Functional Safety Package
19
ClassB functional safety
package for STM32 and STM8 MCUs
Reduce time and cost to build • Certified ST self-test libraries
STM32 & STM8 based systems • Optimized code
certified to IEC 60335-1 and
60730-1 household electrical • Safety manuals (guidelines and
appliance safety standards. examples)
20
ClassB functional safety
package for STM32 and STM8 MCUs
STM32 Series covered V2.2.0 - STM32F0, F1, F3, F2, F4, F7,
STM32L0, L1, L4 STM8AF
V2.3.0 - STM32G0, G4, WB, H7 single core STM8AL
V2.4.0 - STM32L5 STM8L
V3.0.0, 3.0.1 - STM32H7 dual core STM8S
V4.0.0 – STM32U5, STM32C0, STM32G0
Supported development IAR Embedded Workbench®, ARM KEIL®, IAR Embedded Workbench®,
environments STM32CubeIDE Cosmic®
Certification
UL@2016-2021 UL & VDE@2018
21
ClassB safety manuals
22
Functional Safety Packages summary
23
Functional Safety Packages
for STM32 & STM8 MCUs
Certification
• Safety Documentation
• Safety Documentation • Self-Test Library • Safety Documentation • Safety Documentation
Package content • Self-Test Libraries specification • Self-Test Libraries • Self-Test Libraries
24
Functional Safety Ecosystem
25
Get support from ST authorized partners
Safety HW & SW
Validation Certification
Requirements Design
26
Functional safety authorized partners
Engineering,
Embedded Software consulting,
development or Training
Software Development Tools
design services
27
ARM
28
ARM
29
Embedded Office
Long-term Maintenance
Active functional safety management, 5
workshops and training
Pre-Certification
Harmonize safety manuals, certify
4 remaining parts, assessment with authority
Safety Concept
Analyze system needs and 1
provide a safety concept
30
Embedded Office
31
embeX
System Engineering
Main Industrial
Sectors
Software
Hardware
Mechanics
Certification
Production
32
embeX
• TÜV Rheinland awarded the first Functional Safety Management (FSM) certificate with the highest
maturity level (5) to embeX
• Offering
• Development of certified turnkey safety products and subsystems
• Transfer of development processes and know-how to customers
• Consulting
33
embeX
Further information:
https://www.embex-engineering.com/en/competencies-technologies/safety-security/
34
IAR Systems
35
Innotec
36
MESCO
37
MESCO
38
MESCO
ST solutions
39
Microsoft
Azure RTOS ThreadX & ThreadX SMP Azure RTOS NetX and NetX Duo
A TCP/IP IPv4/IPv6 embedded network stack
A high-performance real-time
that includes cloud connectivity and IPsec and
operating system
TLS/DTLS security protocols
40
Microsoft
• ThreadX, FileX, GUIX, NetX Duo, USBX pre-certified by TUV to IEC 61508 SIL 4,
IEC 62304 Class C, ISO 26262 ASIL D, EN 50128 SW-SIL 4, UL 1998, UL/IEC
60730, UL/IEC 60335
• Azure RTOS pre-certification covers generic C code
• Same source code whether or not certification is needed
• Pre-certification artifacts are licensed separately
41
NewTec
NTSafetySolutions
42
NewTec
NTSafeFlex STM32
43
SCIOPTA
SCIOPTA RTOS
MIGRATION NON SAFE – SAFE SCIOPTA RTOS' certified API does not differ from the non-certified
version. All system call are certified.
FAST SCIOPTA RTOS is tailored to the specific CPU exploiting all its features
to provide short latencies, small overhead and determnistic execution.
SMALL SCIOPTA RTOS is designed to be compact and still offering a wide range
of system calls to enable almost any kind of application
DYNAMIC SCIOPTA RTOS can be used in a complete dynamic manner so that the
application can react on upcomming needs.
EASY TO USE SCIOPTA RTOS hides many of the burden other RTOSs put on the
developer. A set of six system calls is sufficient for 80% of an
application
FUTURE PROOF SCIOPTA RTOS's asynchronous direct message passing fits perfect
future challenges like many-core SoCs or distributed systems.
USE CASES SCIOPTA RTOS is successfully used in different areas like Automotive,
Defense, Rail Way, Medical, Industrial Automation and Consumer
44
Electronics.
SEGGER Microcontroller
embOS-Safe
Deployed and proven in More than 27 years of Easy transition from embOS features
several billion devices continuous development standard to certified
While any application •Guarantees 100%
▪ Medical embOS is deployed in
several billion devices and
SEGGER started to offer
embOS in the early 90s as
benefits from a reliable
operating environment, in
deterministic real-time
operation
▪ Industrial is a proven choice for a product and has some cases, prove in form •Highest performance with
embedded products. continued to develop the of certification is required. lowest use of memory
▪ Home Appliances It has been deployed in all RTOS and add device In markets where •Powerful and easy to use
API
▪ Transportation kinds of applications, such
as home appliances, IoT,
support until today, It has
become the core for
certification might become
a requirement, embOS is •Kernel awareness plugins
▪ Automotive transportation, industrial,
medical or automotive.
SEGGER’s own products
as well as a multitude of
the ideal choice, as it uses
the same code base as
available
•Zero interrupt latency
▪ and more .. customer products. embOS-Safe making a later •Cycle Precise System
conversion as easy as Time
possible. •MadeForSTM32
SEGGER Microcontroller
embOS-Safe
TÜV Süd has verified the The Application The embOS-Safe The certified RTOS
embOS development Programming Interface certification kit includes all embOS-Safe is also
embOS is labelled process and confirms, (API) is unchanged in necessary documents, available for SEGGER's
that embOS-Safe is relation to embOS. including the IDE Embedded Studio,
MadeForSTM32 ideally suited as Therefore existing comprehensive embOS offering a one-stop-
fundamental component software parts can be (re- Safety Manual. solution. Naturally,
for safety products. )used easily. This helps to embOS-Safe is fully
embOS-Safe is certified use embOS-Safe in suited for usage with
for functional safety existing applications. SEGGER's extensive
according to IEC 61508 portfolio of outstanding
SIL 3 and IEC 62304 middleware, debug
Class C. probes and production
tools, too.
Tuxera
A complete TCP/IP v4 stack for safety-critical automotive, industrial, or medical embedded systems. SafeTCPIP™ is developed to the ISO 26262
ASIL B standard, and mappable to other standards such as IEC 61508 and ISO 62304.
• The stack is suitable for integration into any system that requires a high level of safety-integrity
• Supports TCP, UDP, ARP, ICMP, IGMP, Socket, and Ethernet Interface
• Built with Tuxera's Software SEooC Development Process
• Advanced extra modules: IPsec/IKEv2, MACsec, MQTT, TLS, EAPol, SNMP, SSH, HTTP, FTP, NTP, EST, and many more
• CryptoCore™ software feature supports AES, Base64, ChaCha20, MD5, RSA, SHA, and others
47
Tuxera
48
WITTENSTEIN high integrity systems
SAFERTOS supports:
SAFERTOS Supported Platforms
• X-CUBE-STL;
STM32F3, STM32F4, • STM32Cube embedded software;
ARM Cortex-M4 • STM32 SIL Functional Safety Package;
STM32L4
• Secure boot.
STM32F2, STM32F1,
ARM Cortex-M3
STM32L1, STM32W SAFERTOS Demos for ST are available:
• 30-days evaluation packages with full source
STM32F0 ARM Cortex-M0 code on request. Download Demos here.
WITTENSTEIN high integrity systems (WHIS) are safety RTOS specialists, part of The WITTENSTEIN Group.
WHIS specialize high integrity and safety critical embedded systems design.