Introduction

This is a release of the C2000™ Software Diagnostic Library for F280015x devices. The Diagnostic Library is a collection of self-test libraries (STL) and examples. This document will provide an overview of the Software Diagnostic Library (SDL) and its functions.

Manufacturers of end equipments must take steps to ensure safe and reliable operation of their products in order to meet specific industry safety standards. Specific safety measures and diagnostic tests are recommended or required in order to meet each particular safety standard. The SDL is designed to enable customers to more efficiently and effectively work to meet such safety standards by their systems.

Note that the SDL has not itself undergone any third-party assessment or certification to a particular standard. It is intended to provide reference implementations of diagnostics and usage examples of hardware diagnostic features. The system integrator should consider which safety mechanisms are required by the standard they are targeting and whether the SDL will aid in achieving those safety mechanisms.

Considerations for integrating the SDL should include but are not limited to:

  • the safety mechanism as such

  • the targeted faults of the diagnostic test

  • the API definitions (parameters, functionality, return values)

  • the global error flags which could be set on a detected fault

  • the error injection techniques available

  • the memory requirements of the software components

  • the time or cycle requirements for the diagnostic test

  • the effect of the diagnostic test on the state of the peripheral and/or system

  • the interrupt service routines used in the SDL

The source code of the SDL is provided to enable the system integrator to modify and test the software components as desired. For instance, a subset of SDL components utilize their own interrupt service routines. It may be desirable to integrate the functionality of the SDL ISRs into the system ISRs. In this case, the same ISR could be used to serve the purpose of the system as well as the diagnostic test.

Terms and Abbreviations

API

Application Programming Interface

C2000Ware

A cohesive set of development software and documentation designed to minimize software development time. From device-specific drivers and libraries to device peripheral examples, C2000Ware provides a solid foundation to begin development and evaluation of your product.

C28x Driverlib

A set of header files describing the hardware and a set of drivers that use those header files to access the peripherals. The Driverlib and its examples are intended to be used with Code Composer Studio and TI’s C2000 C Compiler. They will be delivered within C2000Ware.

CCS

Code Composer Studio

PEST

Periodic Self-Test

POST

Power-On Self-Test

SDL

Software Diagnostic Library

SFO

Scale Factor Optimization

SM

Safety Mechanisms

STA

Self-Test Application

STL

Self-Test Library

SW

Software

References

SPRSP68

TMS320F280015x Real-Time Microcontrollers datasheet

SPRZ507

TMS320F280015x Real-Time MCUs Silicon Errata

SPRUIY4

TMS320F280015x Real-Time Microcontrollers Technical Reference Manual

SFFS222

Safety Manual for TMS320F280015x (may not yet be available at the time of the release of this software)

SAFETI_CQKIT

SafeTI™ Compiler Qualification Kit

SWAB013

Industrial Functional Safety for C2000™ Real-Time Microcontrollers

SWAB014

Automotive Functional Safety for C2000™ Real-Time Microcontrollers