Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

Home Appliance

Class-B Safety Software

Modern home appliances have made once tedious tasks simple to accomplish. What once took hours of exertion can now be accomplished with a few presses of a button. Modern appliances are in large part electronically controlled. Electronic controls enable higher efficiencies, additional functionality and an improved user experience. But what happens if something goes wrong? Safety specifications, such as IEC 60335, are used to ensure manufactures have designed their products to operate safely. IEC 60335 defines safety standards at a system level. IEC 60730, which is referenced by IEC 60335, addresses safety of electronic controls in appliances. Currently IEC 60730 is mandatory for appliances sold in Europe and widespread adoption is likely. IEC 60730 Annex H defines safety requirements for electronic controls and acceptable measures to address faults/errors are defined in Table H.1 (H.11.12.7 in edition 3).

Microchip has developed a library of low-level software routines and hardware peripherals that simplify meeting IEC 60730 requirements for Class B Safety. Each product family (PIC16, PIC18, PIC24, dsPIC® DSC and PIC32) has functions specifically designed work efficiently with the available resources. Application Note AN1229 describes the Application Programming Interface (API) functions that are available in the Class B Safety Software Library and how to incorporate them in your project.

Microchip ARM® Cortex® M0+ devices are supported by the free Hitex Class-B Library. Download is available from the Hitex site at the following link: Microchip Hitex ARM Class-B Library.  VDE Certificates are available in the documents tab below.

There are several advantages to using the Class B Safety Software Library. First, it reduces development time. Each function has been optimized and thoroughly tested based on each architecture and available resources. Second, it reduces the time and cost required to certify the end appliance. By providing test certificate to the testing agency the requirements covered by the Class B Safety Software Library do not have to be retested. Finally, Microchip Application Engineers can provide guidance on how to effectively implement software safety.

For more information, please email class-b@microchip.com.

Getting Started

Key Features

  • CPU register test
  • Program counter test
  • Variable memory test
  • EEPROM/Flash memory test
  • Clock test
Components Covered by the Class B Safety Software Library
MCU Circuit Component Fault/Error
1 CPU Registers Stuck
2 Program Counter Stuck
3 Interrupt handling and execution No interrupts or too many interrupts
4 Clock Frequency Clock failure or incorrect frequency
5 Memory testing (Flash/EEPROM) All single bit faults
6 Memory testing (RAM) DC fault


Home Appliance Video Channel