TOP Contributors

  1. MIKROE (2751 codes)
  2. Alcides Ramos (372 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 (139050 times)
  2. FAT32 Library (71588 times)
  3. Network Ethernet Library (56988 times)
  4. USB Device Library (47326 times)
  5. Network WiFi Library (43005 times)
  6. FT800 Library (42295 times)
  7. GSM click (29754 times)
  8. mikroSDK (27873 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 849 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

7x10 B click

0

7x10 B click can be used for displaying letters on display with 7x5 font resolution. It carries a matrix of 70 green LEDs driven by a pair of 8-bit serial-in, parallel-out shift registers, a Darlington Transistor array and a Johnson counter.

[Learn More]

PWR Meter 3 90A Click

0

PWR Meter 3 Click - 90A is a compact add-on board that measures voltage and current through the connected load. This board features the ACS37800KMACLU-090B3-I2C, an I2C-configurable power monitoring solution from Allegro MicroSystems, which simplifies the addition of power monitoring to many AC/DC powered systems. The ACS37800KMACLU-090B3-I2C Hall-effect-based current sensing technology achieves reinforced isolation ratings (4800 VRMS) alongside a reliable ±90A bidirectional current sensing. It also has two LED indicators for the realization of visual detection of some anomalies in operation, such as under/overvoltage and fast overcurrent fault detection.

[Learn More]

8x8 R click

5

8x8 clicks are 8x8 LED matrix displays in form of add-on boards in mikroBUS form factor. Boards feature MAX7219 8-digit LED display driver module as well as 64 LED diodes.

[Learn More]