STM32CubeWBA: Real Time Debug

Revision as of 14:10, 8 November 2023 by Registered User (→‎Debug tables mechanism)


Under construction.png Coming soon

1. Introduction

The STM32CubeWBA firmware provides Real Time debug capabilities. The RTDebug module is GPIO based for a minimal impact on real time timings. The module is present, by default, into the application framework.

While enabling the RTDebug module in the application, the user can choose among a various list of signals the ones it wants to monitor and what GPIO is assigned to each activated debug signal.

2. Concepts

2.1. RTDebug general overview

The main objectives of the RTDebug system module is to provide a GPIO probing solution:

  • with accurate timings.
  • that is not disturbing real time nor modifying critical executions.
  • easy to configure (debug signal selection and GPIO assignation).
  • with low footprint, both memory and execution time.

Regarding these objectives, the RTDebug module is configured at compile time. Only the necessary code is compiled, according to the user configuration.

2.2. Debug tables mechanism

As the RTDebug module configuration is done at compile time, we need to map only chosen debug signals to output GPIOs.

2.3. RTDebug module configuration

2.4. Default GPIO assignation

3. Interfaces

TBD.

4. How to

TBD.