TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139245 times)
  2. FAT32 Library (71743 times)
  3. Network Ethernet Library (57115 times)
  4. USB Device Library (47428 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28073 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 862 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

GNSS 7 click

5

Determine your current position with GNSS 7 click. It carries the NEO-M9N GNSS receiver module from u-blox.

[Learn More]

2x2 key Click

0

2x2 Key Click has a 4 button keypad and allows multiple key presses.

[Learn More]

8x8 R Click

0

8x8 R Click is a 64 LED matrix display Click board™, composed of SMD LEDs organized in 8 rows by 8 columns. It has a digital brightness control in 16 steps, it can control every LED in the display matrix independently, it blanks the display on power up to eliminate glitches and it requires a single resistor to control the current through all the LEDs at once, which simplifies the design. 8x8 R Click uses a fast SPI communication protocol, allowing fast display response and no lag.8x8 R Click is an add-on board in mikroBUS form factor.

[Learn More]