In addition to the debug signals of the SWD interface which allows normal debug operations and programming of the EFM32. The microcontroller also includes a SWO (Serial Wire Output) interface. SWO specifies a dedicated pin, which allows the CPU to output data on the dedicates pin via UART or Manchester protocol. This pin is unidirectional, so it is not possible to send data to the target CPU on this pin.
The SWO module formats and sends the data from the ITM (Instrumentation Trace Module). By having the software writing to the ITM-registers, data can be sent to the debugger through this one wire interface.
The following section demonstrates how to send string through the SWO interface to the Simplicity commander.
A simplicity studio project for EFM32TG be attached to demonstrate how to send signal character use ITM_SendChar(char c) and send string by calling printf().