Skip to main content
GBert.2
Senior
May 16, 2022
Solved

How does the STM32CubeMonitor real-time data streaming work under the hood?

  • May 16, 2022
  • 2 replies
  • 1318 views

Hi,

I want to understand fundamentally how the STM32CubeMonitor is able to monitor my memory and the tradeoffs of using such software.

Is there some documentation on the topic? I can't find anything.

How does the atomicity work? Is the core stopped while the st-link is reading memory? Are you using special ARM cortex-m instructions?

Thanks,

Gabriel

EDIT: if needed, I'm using the STM32CubeMonitor v1.4.0

This topic has been closed for replies.
Best answer by Javier1

The core doesnt look to me to be stopped while the stlink is reading memory, i am able to run motor control algoritms and very fast softpwm syntetizers while using cubemonitor without any spurious spike.

It is my understanding the SWD peripheral accesses the AHB bus independently so if your application makes intensive use of the AHB bus you might notice something.

https://www.cnblogs.com/shangdawei/p/4753040.html

2 replies

Javier1
Javier1Best answer
Principal
May 16, 2022

The core doesnt look to me to be stopped while the stlink is reading memory, i am able to run motor control algoritms and very fast softpwm syntetizers while using cubemonitor without any spurious spike.

It is my understanding the SWD peripheral accesses the AHB bus independently so if your application makes intensive use of the AHB bus you might notice something.

https://www.cnblogs.com/shangdawei/p/4753040.html

hit me up in https://www.linkedin.com/in/javiermuñoz/
GBert.2
GBert.2Author
Senior
May 17, 2022

Interesting @Javier Muñoz​, I'm gonna take a look at the AHB bus.