F29H85x-SDK  1.02.01.00
 
Transfer ePWM and DLT Example

Introduction

This example showcases how the DLT can be used for data logging critical CPU run time content and visualize the data through the generated GUI from MCU mission control. This example show cases DLT+ePWM. The communcation peripheral being used is UART and the data will be exported to a PC GUI. The PC GUI being used is GUI Composer. MCU Mission Control within SysConfig helps with setting up the required communication peripheral, packaging of the data, and handling how to export the data. In order to have this example working, selecting the correct COM port and UART pins are necessary. The package format of the data being exported is START/END custom protocol.

Watch Variables

  • None.

External Connections

  • None.

Steps to Run the Example

  • Make sure to set the following variables (DLT_SUPPORT and GUI_SUPPORT) to generate the GUI for DLT logs, and enable DLT support by going to Project Properties -> General -> Variables
  • When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see CCS Build Project).
  • When using makefiles to build, note the required combination and build using make command (see Makefile based Build)
  • Launch a CCS debug session and run the executable, see Build, Load and Run
  • Using the watch var
  • After building, to open the GUI, go to View -> Plugins -> transfer_epwm_dlt
  • If you do not see this in the Plugins view, please refresh the Theia window by going to Help -> Reload Window
  • Within the GUI, select the correct COM port by going to Options -> Serial Port Settings... (You can use the serial terminal to listen to a PORT to verify data is going to PC)
  • Under the DLT tab, you can view the DLT contents