1 Preface
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Refer to our website (www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files.
Welcome to the SAM C21 Diagnostic Library User Guide, where the user can find information about how to use the library for SAM C21 SL3 devices.
This library provides diagnostics software that can help detect specified failure modes, caused by random hardware faults, in supported SAM C21 SL3 devices (see section 4 Appendix: Failure Mode Diagnostic Mapping). The library helps ensure safe operation of the device for use in applications requiring functional safety. The library is used as directed in the safety manual and in accordance with ISO 26262 ASIL B or IEC 61508 SIL 2 requirements.
The library is fully integrated as an extension to MPLAB® Code Configurator (MCC).
The library consists of:
- Peripheral Diagnostics - modules to evaluate the presence of peripheral faults.
- Core Diagnostics - modules to evaluate the presence of Cortex-M0+ faults.
- Safe Peripheral Library - (Safe-PLIB) - modules which ensure safe low-level peripheral operations. The Safe PLIBs are provided as example code to illustrate how the system integrator can support the low-level peripheral operations required by the diagnostic libraries. The system integrator is responsible for implementing a Safe Peripheral Libray(SAFE-PLIB).
The intended readers of this document are System Integrators, who use the library on SAM C21 microcontrollers to realize a functional safety solution.