2.1.2 Architecture

The SAM C21 Diagnostic Library architectural focus is to implement a software API for the diagnostic mechanisms defined in Section 3.2 of the SAM C21 Safety Manual. The solution gives applications access to the functions required to test for the presence of faults (such as SRAM single bit failures or watchdog timer running too slow or fast, and other faults) identified in the SAM C21 FMEDA.

The library is a Static-Link Library (SLL) supporting easy-to-use functions. The library is available for the MPLAB XC32 functional safety compiler.

The library is designed to be linked with an application and exist in its flash space. The application should adhere to the recommended sequence of operations for each diagnostic.

There are some faults not detected by the library. The Integrator should read the Assumption of Use (AoU) Section 7 of the SAM C21 Safety Manual to understand the role of the System Integrator and assumptions of use.

Note: The library is not responsible for the mitigation of detected faults.