STMicroelectronics STM8 Application Note AN3181

This document provides guidelines for obtaining IEC60335 Class B certification in an STM8 application. The software packages are divided into STM8S and STM8L families, with the main differences being the hardware architecture. The document also mentions the use of ST firmware libraries.


STMicroelectronics STM8 Application Note AN3181 - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
28
File format
PDF
File size
457 KB
Published
07 August, 2012
Updated
28 September, 2023
Model
STM8
MD5 checksum
5833939C46C8476C2D92EC6DA0F1699D

About this manual

This document outlines the software development guidelines required to achieve IEC 60335 Class B certification for appliances using STM8 microcontrollers. It explains that Class B certification requires software to prevent unsafe operation following component failures, distinguishing it from Class A (hardware-only safety) and Class C (special hazards). The note details the specific microcontroller components that must be tested for compliance, such as CPU registers, clock systems, and memory integrity.

The document provides optimized software packages for the STM8S and STMBL families that include VDE-certified self-tests. These packages cover microcontroller-specific tests including CPU register checks, clock monitoring, RAM functional checks, FLASH checksum integrity, watchdog self-tests, and stack overflow monitoring. The guide also describes how to integrate these startup and periodic run mode self-tests into user applications to ensure system robustness.

What's inside

  • Compliance with IEC and VDE standards
  • Class B software package
  • Package organization
  • Package configuring and debugging
  • Class B solution structure
  • Integrating software into user application
  • Startup selftests
  • Periodic run mode self tests

Frequently asked questions

What safety class does this application note cover for STM8 applications?

This document covers the specifications for Class B, where software prevents unsafe operation.

Which microcontroller components are tested for Class B compliance in the ST firmware library?

The library includes tests for CPU registers, clock, memory spaces, interrupts, timing, stack overflow, and watchdogs.

What tools were used to prepare the projects described in this application note?

The projects were prepared using the STVD visual development tool and compiled by the Cosmic compiler.

Download PDF (457 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →