TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136733 times)
  2. FAT32 Library (69949 times)
  3. Network Ethernet Library (55941 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41170 times)
  7. GSM click (28983 times)
  8. PID Library (26413 times)
  9. mikroSDK (26359 times)
  10. microSD click (25375 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

SWO Trace

Rating:

10

Author: MIKROE

Last Updated: 2019-06-04

Package Version: 1.0.0.0

Category: Internal MCU modules

Downloaded: 771 times

Not followed.

License: MIT license  

The ARM SWO trace port uses a single pin to stream out data packets over 32 different ports, using the specified clock rate. The SWO is a part of the ARM® CoreSight Debug module which is incorporated in most of the MCUs based on the Cortex®-M3, M4, and M7 core.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "SWO Trace" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "SWO Trace" changes.

Do you want to report abuse regarding "SWO Trace".

  • Information
  • Comments (0)

Library Blog

Library Description 

 

The ARM SWO trace port uses a single pin to stream out data packets over 32 different ports, using the specified clock rate. The SWO is a part of the ARM® CoreSight Debug module which is incorporated in most of the MCUs based on the Cortex®-M3, M4, and M7

core.

  

This library is perfectly suited to output debug and runtime information and monitor the performance of the application in real time, without using processing resources, and without the need for complex coding routines.

  

Examples description

  

The example is composed of main function and SendTickMessage function: 

 

  • main function - Performs the initialization of SWO module and periodically calls SendTickMessage function. 
  • SendTickMessage - Forms the string that will be sent and sends it via SWO trace port.

 

Additional notes and informations

  

To visualize sent messages you can use the SWO Trace interface from CODEGRIP Suite. 

 

 

SWO Trace

SWO Trace

Mikroe SWO Trace Library

View full image

ALSO FROM THIS AUTHOR

Nano Power 3 click

0

Nano Power 3 Click is a compact add-on board that steps down voltages from its input (supply) to output (load). This board features the RPL-3.0-R, a buck converter with an integrated inductor from Recom Power. This thermally-enhanced converter uses, as input, voltage from 4 up to 18VDC, thus allowing 5V and 12V supply rails to be used.

[Learn More]

LDC 1000 click

0

LDC1000 click carries the world's first inductance-to-digital converter IC, along with a detachable sensor (an LC tank comprising a 36-turn PCB coil and a 100pF 1% NPO capacitor). The LDC1000 IC has a sub-micron resolution in short range applications; the board is ideal for highly precise short range measurements of the position, motion or composition of conductive targets.

[Learn More]

BarGraph 3 click

6

BarGraph 3 click is equipped with a five-segment LED bar graph display, notable for its strong and reliable illumination of the segments.

[Learn More]