Product overview
Description
The IEC 60730-1 and IEC 60335-1 safety standards define the test and the diagnostic methods, effective to detect random hardware failures, that ensure the safe operation of hardware and software embedded in household appliances under the control of electronic programmable devices.
With its X-CUBE-CLASSB functional safety package based on robust built-in STM32 safety features, STMicroelectronics provides a comprehensive set of certified software self-test libraries and documentation for manufacturers to reduce significantly the development efforts, time, and cost to achieve the UL/CSA/IEC 60335-1 and the 60730-1 worldwide safety certifications for their STM32-based applications up to Class B level.
A set of test APIs focused on generic safety-critical core components (CPU, SRAM, flash memory, and clock system) is provided exclusively in the firmware package. The associated examples suggest a possible integration of this set in a final application where simple code demonstrates sequential polling of the APIs and checking results of the performed partial tests.
Only the testing methods applied are the subject of the certification. The API integration provided, the extensions to the test of other application-specific core components, and the necessary configuration of all associated hardware through HAL drivers (if applied) are inspected but not certified for safety. This is supposed to be subject to further modification, extension, and verification entirely under the end-user's responsibility (such as the replacement of HAL drivers with sequences calling LL drivers directly).
The parts of the library and examples of its integration, which are delivered as full source code, can lead to dependence on the compilers and HAL driver versions available at the time of the certification process. Users must consider this point when combining the certified API sources with their latest versions as described in the associated user manual.
The X-CUBE-CLASSB functional safety package consists of a set of expansion software for STM32Cube (self-test libraries and their integration examples) and a dedicated user guide. The user guide is either the application note Guidelines for obtaining UL/CSA/IEC 60730-1/60335-1 Class B certification in any STM32 application (AN4435), or one of the dedicated IEC 60730-1 self-test library user guides for each series supported by the version 4.0.0 of the library. The Ordering information of the X-CUBE-CLASSB data brief provides a summary of the versions available.
Common safety principles described in the microcontroller series safety manuals, available with the X-CUBE-STL industrial safety package, are mostly applicable as well, despite the fact that these manuals target different industry-oriented standards. This is due to the significant overlay between these safety standards.
-
All features
- Available versions
- X-CUBE-CLASSB version 2.2.x supports the STM32L0, STM32L1, STM32L4, STM32L4+, STM32F0, STM32F1, STM32F2, STM32F3, STM32F4, and STM32F7 series
- X-CUBE-CLASSB version 2.3.x supports the STM32G0, STM32G4, STM32WB (Cortex®‑M4 core only), and STM32H7 series (Cortex®‑M7 core only)
- X-CUBE-CLASSB version 2.4.x supports the STM32L5 series
- X-CUBE-CLASSB version 3.x.x extends the package for dual-core microcontrollers:
- Operates when both cores contribute to the overall safety task
- Includes safety status exchange between cores
- Handles internal resources overlay
- Certified upon STM32H7x7 dual-core microcontrollers
- X-CUBE-CLASSB version 4.0.0 supports the STM32C0, STM32F7, STM32G0, STM32G4, STM32H5, STM32H7 (Cortex®‑M7 core only), STM32L4, STM32L4+, STM32U5, STM32WL, and STM32MP1 series with a specific user guide for each series and a specific UL common certificate
- Differences between versions
- For versions 2.x.x and 3.x.x, the Expansion Packages:
- are delivered as full code source and based on STM32Cube HAL
- relate to a common user guide (AN4435) as well as to a common UL certificate
- For version 4.0.0, the Expansion Package:
- features a different structure adopted from the similar safety firmware in X-CUBE-STL (STMicroelectronics industrial safety library)
- is delivered in a precompiled, and therefore fixed, object code format (except configuration and integration procedures), which makes it independent of tools, compilers, and any other STMicroelectronics firmware
- relates to a specific dedicated user manual for each supported series and to a specific UL common certificate
- is supported by STM32CubeProgrammer (STM32CubeProg) command-line interface
- For versions 2.x.x and 3.x.x, the Expansion Packages:
- Common version features
- Optimized portability among different microcontrollers through STM32Cube
- Partially optimized code written in assembler code for time-critical tests
- Support for compilers associated with IAR Systems® IAR Embedded Workbench®, Keil® MDK-ARM, and GCC compiler-based integrated development environments such as STMicroelectronics STM32CubeIDE or SW4STM32
- Certified by UL®
- Coverage of worldwide standards (IEC, UL, CSA)
- Available versions