Safety Manual for Tms320f28002x User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
www.ti.com Table of Contents Functional Safety Information Safety Manual for TMS320F28002x ABSTRACT This document is a safety manual for the Texas Instruments TMS320F28002x safety critical real time microcontroller product family. The product family utilizes a common safety architecture that is implemented in multiple application-focused products. Table of Contents 1 Introduction.............................................................................................................................................................................3 2 TMS320F28002x Product Safety Capability and Constraints............................................................................................. 4 3 TI Development Process for Management of Systematic Faults....................................................................................... 4 3.1 TI New-Product Development Process.............................................................................................................................. 4 3.2 TI Safety Development Process.........................................................................................................................................5 4 TMS320F28002x Product Overview...................................................................................................................................... 7 4.1 C2000 Architecture and Product Overview........................................................................................................................ 7 4.2 Functional Safety Concept................................................................................................................................................. 8 4.3 C2000 Safety Diagnostics Libraries................................................................................................................................. 16 4.4 TMS320F28002x MCU Safety Implementation................................................................................................................16 5 Brief Description of Safety Elements..................................................................................................................................17 5.1 TMS320F28002x MCU Infrastructure Components.........................................................................................................18 5.2 Processing Elements....................................................................................................................................................... 21 5.3 Memory (Flash, SRAM and ROM)................................................................................................................................... 22 5.4 On-Chip Communication Including Bus-Arbitration..........................................................................................................24 5.5 Digital I/O......................................................................................................................................................................... 27 5.6 Analog I/O........................................................................................................................................................................ 29 5.7 Data Transmission........................................................................................................................................................... 30 6 Brief Description of Diagnostics......................................................................................................................................... 34 6.1 TMS320F28002x MCU Infrastructure Components.........................................................................................................34 6.2 Processing Elements....................................................................................................................................................... 39 6.3 Memory (Flash, SRAM and ROM)................................................................................................................................... 41 6.4 On-Chip Communication Including Bus-Arbitration..........................................................................................................44 6.5 Digital I/O......................................................................................................................................................................... 46 6.6 Analog I/O........................................................................................................................................................................ 52 6.7 Data Transmission........................................................................................................................................................... 55 7 References............................................................................................................................................................................ 61 A Safety Architecture Configurations....................................................................................................................................62 A.1 Safety Architecture Configurations.................................................................................................................................. 62 B Distributed Developments...................................................................................................................................................66 B.1 How the Functional Safety Lifecycle Applies to Functional Safety-Compliant Products..................................................66 B.2 Activities Performed by Texas Instruments......................................................................................................................66 B.3 Information Provided........................................................................................................................................................67 C Summary of Safety Features and Diagnostics..................................................................................................................68 C.1 Summary of Safety Features and Diagnostics................................................................................................................ 68 D Glossary................................................................................................................................................................................89 D.1 Glossary...........................................................................................................................................................................89 List of Figures Figure 3-1. TI New-Product Development Process..................................................................................................................... 5 Figure 4-1. Functional Block Diagram of TMS320F28002x MCU................................................................................................7 Figure 4-2. Definition of the TMS320F28002x MCU Used in a Compliant Item.......................................................................... 8 Figure 4-3. TMS320F28002x MCU With Safety Features........................................................................................................... 9 Figure 4-4. Relationship Between DTI, Fault Reaction Time and FTTI..................................................................................... 10 SPRUIT5 – APRIL 2021 Safety Manual for TMS320F28002x 1 Submit Document Feedback Copyright © 2021 Texas Instruments Incorporated Trademarks www.ti.com Figure 4-5. TMS320F28002x MCU Safe State Definition.......................................................................................................... 11 Figure 4-6. TMS320F28002x MCU Device Operating States....................................................................................................12 Figure 4-7. TMS320F28002x MCU CPU Start-Up Sequence................................................................................................... 13 Figure 4-8. Fault Response Severity......................................................................................................................................... 13 Figure 4-9. Safety Concept Implementation.............................................................................................................................. 17 Figure 5-1. Generic Hardware of a System............................................................................................................................... 18 Figure 6-1. Stack Overflow Monitoring...................................................................................................................................... 40 Figure 6-2. ePWM Fault Detection Using X-BAR...................................................................................................................... 46 Figure 6-3. Monitoring of ePWM by ADC.................................................................................................................................. 49 Figure 6-4. HRCAP Calibration..................................................................................................................................................51 Figure 6-5. QMA Module Block Diagram................................................................................................................................... 52 Figure 6-6. DAC to ADC Loopback............................................................................................................................................53