TIDUEY9 April   2021

 

  1.   Description
  2.   Resources
  3.   Features
  4.   Applications
  5.   5
  6. 1System Description
  7. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 LP8770
        1. 2.3.1.1 Safety Features
          1. 2.3.1.1.1 Window Watchdog
          2. 2.3.1.1.2 Voltage Monitoring
      2. 2.3.2 AWR1843/xWR6843 mmWave Sensor Solution
    4. 2.4 System Design
      1. 2.4.1 Hardware Block Diagram
      2. 2.4.2 Software Components
        1. 2.4.2.1 Secondary Bootloader (SBL)
        2. 2.4.2.2 mmWaveLink APIs
        3. 2.4.2.3 mmWave Safety Diagnostic Library (SDL)
        4. 2.4.2.4 mmWave SDK Software Block Diagram
  8. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
    2. 3.2 Test Setup
    3. 3.3 Test Results
  9. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  10. 5About the Author

mmWave Safety Diagnostic Library (SDL)

The mmWave SafeTI Diagnostic Library (SDL) is a collection of functions for access to safety functions and response handlers for various safety mechanisms for TI mmWave sensors. These functions assist in the development of software applications involving functional safety.

The SDL provides a collection of diagnostic APIs and low-level driver functions to access the diagnostic features. These safety mechanisms are defined in the mmWave Device Safety Manual.

Chip Support Library (CSL) Register and Function Layer is a hardware abstraction layer that provides a low-level API for the application code to interface to the hardware.

Diagnostics Library (diag) is the Software diagnostics library that provides APIs to access Safety functions and inject/detect faults. The SDL uses CSL to interface to the hardware.


GUID-20210225-CA0I-RKPK-KXD1-W7KC9VWJKRXT-low.gif

Figure 2-9 SDL Layer Architecture

Red blocks are Function safety quality, all relevant documents and reports are provided in SDL package.

The Diagnostic Library provides the implementation of the diagnostics specified in the mmWave Device Safety Manual.

Diagnostic test categories (based on time duration):

  • Single-Shot Diagnostics
  • Periodic Diagnostics

    Diagnostic Test Tupe-

  • Fault insertion diag: ECC, Parity, MPU diagnostics.
  • Self test diag: LBIST, PBIST, DCC, CCM diagnostics.
  • Peripheral IO diag: peripheral loopback, Nerror In/Out diagnostics
  • Readback of static config registers: diagnostics to periodically check static configuration registers

Typical DIAG Test Flow

  • Operating System Adaptation Layer – OSAL layer will define the ability to add & delete hooks. Hooks can be added to ESM error and CPU exceptions.
  • HW Configuration – HW IP registers which need to be configured in order to execute the diagnostic.
  • CPU Exception/ESM Error – Diagnostic generate ESM error/CPU exceptions
  • All diagnostic handler(s) are internal to the diagnostic layer.

GUID-20210225-CA0I-18QV-WNCZ-QTDK7BSPHXBT-low.gif

Figure 2-10 DIAG Test Flow