SPRADN5 December 2024 F29H850TU , F29H859TU-Q1
After inserting all the compiler intrinsic, exporting out of the device can be easily done by reading from the FIFO and calling the DLT export package software API. Inside of a background loop the following code snippet can be used to send out the DLT package.
The below empties out the content from the DLT log buffer and writes to an API to export the data out of the device. The DLT interrupt content is used to set the empty_dlt_fifo flag when the FIFO reaches 500 elements.
Figure 6-12 DLT Code Marker and Data Log Intrinsic - psfb_main.c
Figure 6-13 DLT Interrupt Content