Skip to main content
Associate II
October 29, 2025
Question

change live expression Update rate in IDE

  • October 29, 2025
  • 3 replies
  • 397 views

The STMcube IDE1.18.0  updates live expression very fast. How can I reduce the update rate, if possible?

How to accurately read ADC value for sensor calibration in this case ?

 

3 replies

Karl Yamashita
Principal
October 29, 2025

That's the whole idea of live expression. It updates live.

  1. Print the values to a UART peripheral.
  2. You can pause debugging to view the value
  3. Slow down you ADC conversion so live view is updated at a slower rate.
If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
VidhiPaAuthor
Associate II
October 30, 2025

Yes, of course I understand that. I use workarounds like UART, but older version of STMCube IDE has it updated slowly than this version, so I wanted to know if there is a way to modify this. 

Andrew Neil
Super User
October 30, 2025

@VidhiPa wrote:

I use workarounds (sic) like UART, . 


In this application, I wouldn't call a UART (or similar) a "workaround" - I'd say it's a more appropriate approach to the problem.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Technical Moderator
October 30, 2025

Hello @VidhiPa 

In addition to the suggestion of @Karl Yamashita, you can also Set breakpoints at points of interest and inspect variables when halted.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Saket_Om"
Andrew Neil
Super User
October 30, 2025

@VidhiPa wrote:

How to accurately read ADC value for sensor calibration in this case ?


That's a separate question!

For this, I'd use output to a UART (or similar) as @Karl Yamashita suggested.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.