2025-06-25 3:01 AM
I have a request.
The complexity of the peripheral features and the peripheral registers with the inter dependent settings makes it difficult to get everything right the first time or even after multiple tries. This involves a code generation, code compile and download just to try one different setting. This is not very efficient nor is it a good use of available resources.
Would it be possible to use the STM32MX GUI as a direct controller to modify peripheral settings in real time as the micro is running? I'm working with a comparator, a timer, DMA, and DFSDM. When I try to interconnect them so the run without code, I have very little visibility to what is going on and trying out many configurations and combinations can be very time consuming.
There is a lot of power in the peripherals but it is not easy to tinker and try things out. I have used the debug IDE to modify peripheral registers in real time, but that has its hazards.
Firstly, there is no feature driven interface just bits in a register which may or may not require other bits to be set.
Secondly, if a peripheral is clicked on to be viewed in the SFR tab without breaking the micro first, the whole application hangs and must be restarted killing the debugger first. This bug has been here for years and I can't believe no one has fixed it!
2025-06-25 3:58 AM
@RChap.1 wrote:Would it be possible to use the STM32MX GUI as a direct controller to modify peripheral settings in real time as the micro is running?
No.
A debug session in STM32CubeIDE (or other IDE of your choice) is the only option.
2025-06-25 6:15 AM - edited 2025-06-25 6:15 AM
Reading the reference manual is a faster method for learning how register settings affect behavior.
2025-06-26 4:00 AM - edited 2025-06-26 4:08 AM
The GUI for SFRs indeed isn't quite up to the 21h century. Better representation of the bit values can be helpful. AI support to interpret the bits and look at several blocks at once would be very cool. But we aren't there yet. A trained human eye is still the best tool.
@RChap.1 can you please post this separately, with tags CubeIDE and bug-report ?
> if a peripheral is clicked on to be viewed in the SFR tab without breaking the micro first, the whole application hangs and must be restarted killing the debugger first. This bug has been here for years and I can't believe no one has fixed it!