TOP Contributors

  1. MIKROE (2662 codes)
  2. Alcides Ramos (357 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 (137023 times)
  2. FAT32 Library (70145 times)
  3. Network Ethernet Library (56030 times)
  4. USB Device Library (46353 times)
  5. Network WiFi Library (41968 times)
  6. FT800 Library (41297 times)
  7. GSM click (29065 times)
  8. mikroSDK (26502 times)
  9. PID Library (26452 times)
  10. microSD click (25425 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: 785 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

Vibro Motor click

0

Vibro Motor click features a compact size Eccentric Rotating Mass (ERM) motor, labeled as C1026B002F. This type of motor is often used for haptic feedback on many small handheld devices, such as the cellphones, pagers, RFID scanners and similar devices. This motor contains a small eccentric weight on its rotor, so while rotating it also produces vibration effect. This kind of motors is sometimes referred to as coin motors, due to its shape.

[Learn More]

RTC 5 click

1

RTC5 click carries MCP79510, a real-time clock/calendar with an SPI interface (mikroBUS MISO, MOSI, SCK and CS pins); along with a programmable interrupt for system output.

[Learn More]

USB HID Demo

0

The application demonstrates USB HID functionality.

[Learn More]