SPRADM0 August 2025 F28E120SC , F29H850TU , F29H859TU-Q1 , TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137 , TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1 , TMS320F28075 , TMS320F28075-Q1 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S , TMS320F28384D , TMS320F28384S , TMS320F28386D , TMS320F28386S , TMS320F28388D , TMS320F28388S , TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1 , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
A high level overview of the Rapid Time Logger feature and all the layers involved from Table 3-1 is shown below. The steps to enable the Rapid Time Logger feature on the primary device as well as the enhance Communication Logger feature on the bridge device are described in the following walk-through.
For this walk-through, two example message structures have been added in the GUI. Under the Log Message Structure view, add two instances. Each instance represents a specific message structure that is designated in the packet. Different message structure definitions can be used for various application specific purposes (for example: message type 0 is sent before some event and message type 1 is sent after some event in the application). For this example, add four variables named a, b, c, and d in the first log message structure definition. In the second log message structure definition, add another variable named e.
| Variable | Variable Type |
|---|---|
| a | 16-bit unsigned integer |
| b | 32-bit unsigned integer |
| c | 32-bit floating point |
| d | Array of 16-bit unsigned integers Length of array : 2 |
| e | Array of 32-bit floating points Length of array: 8 |
In the above figure, each log variable can have a unique name, variable type, and size. The size is automatically calculated based on the variable type. For this walk-through configure a, b, c, d, and e according to the table for each structure type.
Figure 8-3 Log Message Structure 0 Definitions//
// Included Files
//
...
#include "logger/rt_log.h"
uint16_t a = 0;
uint32_t b = 6798004;
float c = -189.4934;
uint16_t d[2] = {19872, 290};
float e[8] = {
1243.43, -4399.24, -23.392, 0.0213,
-2093, 238.4993, -2390.300, 329.401
};
volatile uint16_t toggle = 0;//
// Logging Inits
//
RTLOG_init();// Insert delay if required for debugging purposes
DEVICE_DELAY_US(1000000);
if (toggle == 0)
{
RTLOG_writeLog_0(a, b, c, d);
}
else {
RTLOG_writeLog_1(e);
}
toggle ^= 1;The only steps left are setting up the communication logger feature for the bridge device as described in Section 7.1 and add some additional steps. TI provides a JSON file that contains encodings for all the variables sent over the FSI TX frame that the communication logger uses to decode the Rapid Time Logger messages. The steps below are needed after the primary project has been configured and the steps from the Section 5.1 have been followed on the bridge project.
Build the communication logger application code, and make sure to follow the steps in Section 4 to generate the GUI inside CCS.