STM8 & STM32 Functional Safety
Safety-certified systems based on STM8 and STM32
ST provides a comprehensive set of free-of-charge and certified Functional Safety packages based on robust built-in STM8 MCU and STM32 MCU and MPU safety features with the aim of significantly reducing the development efforts, time and cost required to meet functional safety standards. Automatically triggered when a risk of harming users is identified, safety mechanisms in software are embedded in many electronic systems present in Industry 4.0, medical and home electrical appliances and in all new safety-regulated markets such as battery management systems and drones.
Several ST Authorized Partners are experts in functional safety and have expanded their know-how to STM8 and STM32 with software, tools, trainings and other services. Their solutions help designers at any stage of their project: from the mapping of safety requirements to the design and validation of hardware and software,
certification phase included.
STM32 built-in safety features
Features | C0 | F0 | F1 | G0 | F3 | G4 | F2/F4 | F7 | H5 | N6 | H7 | H7RS | L0/L1 | U0 | L4/L4+ | L5 | U5 | WB | WBA | WL | MP1 | MP2 |
Dual watchdogs; Independent watchdog and system window watchdog | ||||||||||||||||||||||
Backup clock circuitry with clock security system (CSS) | ||||||||||||||||||||||
Number of hardware CRC unit | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 1 |
Programmable polynomial in CRC unit | (1) | (1) | ||||||||||||||||||||
Supply monitoring (POR, BOR, PVD) | ||||||||||||||||||||||
I/O Function locking | ||||||||||||||||||||||
PWM critical register protections (write-once registers) | ||||||||||||||||||||||
Memory protection Unit (MPU) 8 zones - to ensure data integrity from invalid behavior | 1 | 2 | 2 | 2 | 2 | |||||||||||||||||
Multiple Flash memory protection levels | NA | NA | NA | NA | ||||||||||||||||||
PWM stop on core lockup | ||||||||||||||||||||||
Parity bit for SRAM memory (1bit/byte) | ||||||||||||||||||||||
ECC (SECDED) for SRAM | ||||||||||||||||||||||
ECC (SECDED) for Flash memory | NA | NA | NA | NA |
(1) Depending on part number
(2) 16 regions
Note: Cortex-M cores also have built-in safety features (dual stack pointer, fault exceptions, and debug module).
ST Functional Safety packages for STM8 and STM32
SIL Functional Safety Package industrial IEC 61508 | Class B Functional Safety Package household electrical appliances IEC 60335-1/60730-1 | ||
MCU SUPPORT | |||
Safety Standards | IEC 61508 | IEC, UL, CSA 60335-1 60730-1 | |
Certifications | |||
Package Content | Safety Documentation Self-Test Library | Safety Documentation Self-Test Library | Safety Documentation Self-Test Library |
ST Package name | X-CUBE-STL | X-CUBE-CLASSB | STM8-SafeCLASSB |
RPN | Supplier | Description | Supported devices |
X-CUBE-STL | ST | Functional safety package for STM32 microcontrollers and microprocessors in systems implementing safety functions up to IEC 61508 safety integrity level SIL2/SIL3 | STM32C0, F0, F1, F3, F4, F7, G0, G4, H5, H7, L0, L4/L4+, L5, U5, WL MCUs, STM32MP15 MPU. |
X-CUBE-CLASSB | ST | Class B 60730-1 and 60335-1 Functional Safety Package with software expansion for STM32Cube | STM32C0, F0, F1, F2, F3, F4, F7, G0, G4, H7, L0, L1, L4, L5, U5, WB MCUs, STM32MP1 MPUs. |
STM8-SafeCLASSB | ST | Functional safety package to achieve IEC 60730 Class B certification with the STM8 | STM8AF, STM8AL, STM8L, STM8S |
Resources
Featured Content
X-CUBE-STL: Supporting All STM32 for Industrial Functional Safety
Our Functional Safety initiative now includes documentation for nearly all our STM32 devices and the new X-CUBE-STL self-test libraries, thus creating the most extensive family of general-purpose microcontrollers capable of running in Safety Integrity Level 2 and 3 certified systems.
Webinars
Date | Event | Location(s) |
Tuesday, June 23th 2020 3:00 pm CEST | Functional Safety packages for STM32 and STM8 Microcontrollers | Webinar Replay |
Authorized Partners software, tools, services and trainings
Embedded Software
RPN | Supplier | Description | Supported devices |
Arm FuSa RTS | Arm | Embedded software components qualified for use in the most safety-critical applications in automotive, medical, railway, and industrial systems | STM32 MCUs; X-CUBE-STL |
Flexible Safety RTOS | Embedded Office | The "Flexible Safety RTOS" is a pre-certified real time kernel | STM32 MCUs; X-CUBE-STL |
Safety Addons | Embedded Office | The "Safety AddOns" provides pre-certified safety measures | STM32 MCUs; X-CUBE-STL |
SCIOPTA Certified RTOS | SCIOPTA Systems | Message based real-time operating system with many built-in safety functions | STM32 MCUs |
SCIOPTA SFFS | SCIOPTA Systems | Safe Flash File System | STM32 MCUs |
SCIOPTA IPS | SCIOPTA Systems | IPS Internet Protocol stack (TCP/IP) | STM32 MCUs |
SCIOPTA FTL | SCIOPTA Systems | Flash Transition Layer | STM32 MCUs |
SCIOPTA FATFS | SCIOPTA Systems | FAT File System | STM32 MCUs |
embOS-Safe | SEGGER Microcontroller | embOS priority-controlled RTOS for embedded real time application from Segger certified for safety. | STM32 MCUs |
Tuxera SafeTCPIP | Tuxera | A complete TCP/IP v4 stack for safety-critical automotive, industrial, or medical embedded systems | STM32 MCUs |
SafeRTOS | Wittenstein | SAFERTOS, The Safety Critical RTOS from WITTENSTEIN high integrity systems | STM32 MCUs; X-CUBE-STL |
SafeRTOS CORE | Wittenstein | SAFERTOS CORE, The RTOS for embedded systems that need to consider safety, but do not require certification | STM32 MCUs; X-CUBE-STL |
Safety Plugins | Wittenstein | Safety plugins are supplied with full source code and Design Assurance Pack designed to meet the requirements of IEC 61508 SIL3 | STM32 MCUs; X-CUBE-STL |
Software Development Tools
RPN | Supplier | Description | Supported devices |
Arm Keil MDK | Arm | Complete software development solution for all STM32 devices. Includes C/C++ Compiler (with support for functional safety), IDE/Debugger, CMSIS, RTOS, middleware | STM32 MCUs; STM32 MPUs |
IAR Embedded Workbench for Arm - Functional Safety | IAR Systems | Integrated Development Environment | STM32 MCUs; STM32 MPUs |
IAR Embedded Workbench for STM8 - Functional Safety | IAR Systems | Integrated Development Environment | STM8 MCUs |
Engineering Services
RPN | Supplier | Description | Supported devices |
Embedded Office Integration Service | Embedded Office Integration Service | Expert integration of safety-critical software components, ensuring compliance, reliability, and seamless system performance | STM32 MCUs; X-CUBE-STL |
Embedded Office Safety Platform | Embedded Office Safety Platform | EComprehensive support for developing and certifying safety-critical systems, ensuring compliance and high-quality performance | STM32 MCUs; X-CUBE-STL |
Functional Safety Consulting | innotec | Safety consulting for IEC61508, ISO13849 and all related standards. Safety Concepts, Specification, FSM, FMEA, Review | STM32 MCUs; X-CUBE-STL |
Safety Design Package Platform | MESCO | Design Packages are proven circuits and bundled software libraries which simplify customized development for safety- and non-safety-related products. | STM32 MCUs; X-CUBE-STL |
Design Service for Functional Safety products | MESCO | Comprehensive hardware and software design service for Functional Safety products from Requirements to certification support | STM32 MCUs; X-CUBE-STL |
Consulting and Design Service for functional Safety | NewTec | Consulting and/or Design Services for safety product development with System-, Hardware- and Software Design | STM32 MCUs; STM8 MCUs; X-CUBE-STL |
embeX engineering services | embeX | embedded turn-key products including hardware and software design services, functional safety, cyber security and explosion protection | STM32 MCUs; X-CUBE-STL |
Trainings
RPN | Supplier | Description | Supported devices |
Functional Safety Training | innotec | Safety Design, Functional Safety Management, Safe Embedded Software, Safe Embedded Hardware, Machinery Safety, Safe Parametrization and Programming | STM32 MCUs |
Functional Safety Training and Consulting | MESCO | Individual consulting services and trainings for product definition and product development | STM32 MCUs |
Functional Safety Training | NewTec | Functional Safety Training, introduction and guidance to Safety and standards, esp IEC61508 and ISO13849. | STM32 MCUs; STM8 MCUs |
STM32 MCUs; X-CUBE-STL |
STM32 MCUs; X-CUBE-STL |
Legal Disclaimer
In addition to the Terms of Use, ST Sales Terms & Conditions and Privacy Policy contained in this Web Site, the following terms and conditions apply to all STMicroelectronics partner programs.
Although STMicroelectronics has attempted to provide accurate information on the Web Site, STMicroelectronics assumes no responsibility for the accuracy of the information. All information provided by STMicroelectronics on this Web Site is provided “AS-IS”, with all faults and without warranty of any kind, whether expressed, implied or statutory. STMicroelectronics may change or discontinue its partner programs or its products or services at any time and without notice. Any mention of non-STMicroelectronics products or services is for information purposes only and does not constitute an endorsement by STMicroelectronics. The use of the word or term “partner or partners” on this Web Site does not indicate or imply the existence of any partnership or agency relationship or any legal or fiduciary relationship of any kind between STMicroelectronics and any other company or that such company is an affiliate of STMicroelectronics in any way. The partners in STMicroelectronics partner programs provide separate licenses for purchase or use of their products and/or services and related technology with STMicroelectronics devices. Contact the appropriate partner directly for licensing terms, price, support any other information on such partner’s product and/or services. The terms and conditions for such products and/or services may vary from partner to partner and are licensed directly and separately from such partner. STMicroelectronics makes no representations or warranties about the suitability of the products and services offered or provided by the partners and STMicroelectronics hereby disclaims all warranties and conditions, whether express, implied or statutory with respect to any product or services provided by the partners, including but not limited to any warranties and conditions of merchantability, fitness for a particular purpose, title, non-infringement or arising from a course of dealing, usage or trade practice. In no event shall STMicroelectronics be liable for any direct, indirect, incidental, special, exemplary, consequential or punitive damages or any damages whatsoever, including but not limited to loss of use, profit or revenue however caused and on any theory of liability, whether in contract, strict liability or tort (including negligence or otherwise) arising in any way out of or in connection with your participation in or your reliance of the partner program, your use or inability to use or purchase of products and/or services from the partners or the performance of such products and services, your relationship with the partner, your use or inability to use or reliance on STMicroelectronics portal or any information provided by STMicroelectronics therein, even if advised of the possibility of such damage. Links to third party Web Sites, when provided by STMicroelectronics, are not under the control of STMicroelectronics and STMicroelectronics is not responsible for any contents, materials, opinions, advice or statements or for the accuracy or reliability of any such contents and materials made on any linked site or any link contained in a linked site, or any changes or updates to such sites. STMicroelectronics is not responsible for any form of transmission received from any linked site, including but not limited to webcasting or audio transmission. Access to any linked site or any link contained in a linked site is at the user's own risk. STMicroelectronics is providing these links to you only as a convenience and the inclusion of any link does not imply any warranty (implied, express or otherwise) or any endorsement by STMicroelectronics of the third-party Web Site.