SPRADN5 December   2024 F29H850TU , F29H859TU-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2C28x vs C29x vs ARM Logging
  6. 3SysConfig
    1. 3.1 Start or Stop Logging
    2. 3.2 Capture Modes
    3. 3.3 Trigger for transferring Logs
  7. 4Interpreting DLT Logs
  8. 5Compiler Intrinsic
  9. 6DLT Tool
    1. 6.1 Visualization
    2. 6.2 Walkthrough on Tool
    3. 6.3 Add Logs to Application
    4. 6.4 Export DLT Log
    5. 6.5 CCS Theia
  10. 7Summary
  11. 8References

Trigger for transferring Logs

There are a few ways to read data from the DLT buffers and write the logs to another location on the device using the CPU or DMA interface. Once the data has been moved, the logs can then be transferred out using any communication peripheral on the device. The DLT has a way to trigger a CPU interrupt or DMA transfer request based on how many logs are in the buffer. Please refer to the FIFO_CONTROL.WR_CTR_TRIG_LEVEL to know what the max trigger level that can be set. The below configuration generates a DLT interrupt when the FIFO reaches 500 logged elements.

 DLT SysConfig - Trigger FIFO level and DMA Figure 3-6 DLT SysConfig - Trigger FIFO level and DMA