SPRADN5 December 2024 F29H850TU , F29H859TU-Q1
There are very specific variables to data log in the example. A couple of the variables to log are sensorSample and sensorTemp. The variables that can be passed into the intrinsic can also be an element of an array. For example, if an array of size 30 is being used. The intrinsic can be passed with array[29] to data log the 30th element. Here is the code snippet to add to the reference design to log the variables. Adhering to the guidelines, at least one tag is placed in every new function scope. Within the reference design under the psfbpcmc.c file, add the following instrinsics.
Figure 6-11 DLT Code Marker and Data Log Intrinsic
- PSFB_updateSensedValues()As shown in Figure 6-11, the logging starts to the DLT log buffer since the value passed into the code marker intrinsic is 0x05 and this value matches the start reference value configured in DLT initialization.