Coding Standard and Naming Conventions ............MISRA C Exceptions for C2000 MCU C28x Architecture ........Appendix D C2000 Compiler and Tools Development Process and Tracking ................Appendix E STL Test Suite Release Process ....Appendix F Typical Application Firmware With IEC60730 Safety Supervisory Functions .........................
Page 3
................C2000 STL Library Development Process ........C2000 IEC60730 STL Library – Design, Test and Regression Flow - DTR Typical Application Firmware Components With C2000 IEC60730 STL (Self Test Libraries) – POST and ......................PEST Functions List of Tables ....................
• Software design and development process It is expected that the user of this document should have a general familiarity with the C2000 product family. More information can be found at http://www.ti.com/C2000. This document is intended to be used in conjunction with the device-specific data sheets, technical reference manuals, and other documentation for the products under development.
C2000 MCUs brings together highly efficient control CPU, control peripherals and rich analog peripherals to build a deterministic control applications. All C2000 MCUs use real-time 32-bit C28x CPU with or without floating-point unit (FPU). Higher end C2000 MCUs support highly differentiated math capabilities using Viterbi Complex Unit (VCU) modules.
C2000 Architecture and Product Overview www.ti.com Figure 1. C2000 MCU for IEC60730 Applications - An Overview of System Architecture C2000 MCU Architecture Classifications The following configurations of CPU and subsystems are available across many of Piccolo and Delfino MCU devices. In this document subsystem refers to a collection of Control or Analog peripherals, critical for real time control applications.
TI MCUs for more than a decade. This offers high level of integration, performance and reliability. The C2000 MCU IEC60730 Safety Manual is to be complemented with its device level documentation, as listed in...
For example, the fault tolerant time intervals for typical motor drives can be within few 10s of milliseconds. The C2000-based system can address fault tolerant times similar to these intervals or better. C2000 MCU's overall response can reach < 10 ms fault tolerant time interval.
MCUs that cater to industrial and automotive applications. TI Standard Automotive MCU and C2000 MCU Development Process Texas Instruments has been developing microcontrollers for industrial and automotive markets that require safety and non-safety applications for over twenty years. Industrial and automotive markets have strong requirements on quality management and high product reliability.
IEC 61508 as well and is under a process of continuous improvement to incorporate new features. Piccolo and Delfino series of C2000 MCUs are developed to offer devices with several temperature grades to address consumer, industrial and automotive applications.
For a safety critical development, it is necessary to manage both systematic and random faults. The C2000 MCU product architecture includes safety mechanisms that can help detect and respond to random faults when used correctly. This section describes the architectural safety concept and software layers that need to be adopted in C2000 MCU devices.
Figure 3. C2000 MCU Piccolo F2806x With Safety Features in Software Piccolo6x: TMS320F2806x MCU is the full featured C2000 MCU with a dedicated 32-bit C28x main CPU, floating-point unit and Viterbi and math accelerators (VCU). CPU performance is further supported by an event optimized, CLA that is capable of 32-bit C28x CPU functions with floating-point precision.
4.3.2 Type B: C28x CPU + CLA With Control and Analog Subsystem – Piccolo3x Family Figure 4. C2000 MCU Piccolo F2803x With Safety Features in Software Piccolo3x: TMS320F2803x MCU is functionally identical to TMS320F2806x except for the FPU, VCU and USB modules.
4.3.3 Type B: C28x CPU + CLA With Control and Analog Subsystem – Piccolo5x Family Figure 5. C2000 MCU Piccolo F2805x With Safety Features in Software Piccolo5x: TMS320F2805x MCU is functionally identical to TMS320F2803x except for the PGA, CAN and LIN modules.
4.3.4 Type D: C28x CPU With Control and Analog Subsystem – Piccolo2x Family Figure 6. C2000 MCU Piccolo F2802x With Safety Features in Software Piccolo2x: TMS320F2802x MCU is functionally identical to TMS320F2803x except for the CLA, CAN and LIN modules. It has a dedicated 32-bit C28x main CPU supports fixed point and IQmath capabilities to accelerate time critical functions, and control algorithms.
POR and BOR logic to generate under voltage detection. Delfino MCU Family Delfino is high performance member of the C2000 MCU addressing a wide of industrial applications. The makeup of the family is differentiated at the 32-bit C28x CPU performance, control and analog subsystem peripherals.
Figure 7. C2000 MCU Delfino F2833x With Safety Features in Software Delfino: TMS320F2833x MCU is the full featured C2000 MCU with a dedicated 32-bit C28x main CPU, floating point unit, designed for high performance (150MHz)). CPU performance is capable of fixed point math, IQmath and floating point precision.
4.4.2 Type D: C28x CPU With Control and Analog Subsystem – Delfino F2823x Family Figure 8. C2000 MCU Delfino F2823x With Safety Features in Software Delfino: TMS320F2823x MCU is functionally identical to TMS320F2833x family except for the floating- point unit. For more details on this family, see Table Safety Manual for C2000™...
Figure 9. Piccolo and Delfino MCUs Operating States • Powered Off - This is the initial operating state of the C2000 MCUs. No power is applied to either core –1.8 V/1.2 V) or I/O power supply (V –3.3 V) and the device are non-functional. This state can DDIO only transition to the safe state, and can only be reached from the safe state.
Standard Safety Diagnostic Functions With C2000 MCUs and Subsystems The C2000 MCU system has several functional safety features that can initiate fault or error interrupts when the fault occurs. However, except for a few special hardware modules, not all of these safety modules are able to generate alarms in their dormant state.
Optimizer (SFO) functions are software libraries that are built with internal hardware assist SFO Clock Accuracy Check logic in C2000 MCU devices that can help to measure and clock accuracies. Details of SFO functions are in explained in the TMS320x2806x Piccolo Technical Reference Manual (SPRUH18).
C2000 MCU Architecture Safety Mechanisms and Assumptions of Use www.ti.com Table 3. Functional Descriptions of Safety Modules in C2000 MCUs (continued) Safety Diagnostics Functions to Enable Safety Attributes and Features Description Information redundancy techniques can be applied via software as an additional runtime diagnostic on any memory block, serial communication peripherals and control peripherals.
• SafeTI solutions and product support on the web: http://www.ti.com/ww/en/functional_safety/safeti/SafeTI-60730.html • Access C2000 MCU page s any time on the web: http://www.ti.com/lsds/ti/microcontroller/32- bit_c2000/overview.page • The Piccolo Wiki page provides answers to many commonly asked questions: http://www.ti.com/lsds/ti/microcontroller/32-bit_c2000/training.page...
Page 28
Next Steps in Your Safety Development www.ti.com Table 4. C2000 MCU IEC60730/UL1998/IEC60335 product functional safety deliverables (continued) IEC60730 Safety Documentation Contents Status Release Control Card Software source for Software libraries for IEC60730 Class B Beta4 Dec 2012 IEC60730 lib evaluation...
Appendix A Summary of Recommended Safety Feature Usage Table 6 provides a summary of the safety concept recommendations for C2000 MCU. Each recommendation is given a unique identifier to aid in requirements management. This is a generic table applicable per MCU module or peripheral. These modules may not be available on all the MCUs. For its availability in the selected MCU, see the device-specific data sheet.
Appendix C C2000 MCU IEC60730 Software Safety Development Process The C2000 MCU IEC60730 self-test library functions are written in C28x CPU assembly and C. Assembly functions are intended to do self test more efficiently and leverage architecture features. All these functions are user friendly calling functions that can be included in the end application.
MISRA C Exceptions for C2000 MCU C28x Architecture www.ti.com C.2.11 Code Review Process • Face-to-face code review. Most issues are resolved in real time with lingering issues logged in the Bugzilla system for later resolution. • LDRA toolset will be used to track peer review comments.
Appendix D C2000 Compiler and Tools Development Process and Tracking Software code development and firmware debug is made easy using the Code Composer Studio™ tool set from Texas Instruments. Details of the tools and the environment are listed in Table 8.
Texas Instruments C2000 MCU Specific C28x CPU Texas Instruments 32-Bit Central processing Unit Texas Instruments 32-Bit processor to Function as Control Law Accelerator Floating-Point Unit designed to work with C28x CPUs IQ Math Floating-Point Unit designed to work with C28x CPUs...
Page 41
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue.
Need help?
Do you have a question about the C2000 and is the answer not in the manual?
Questions and answers