2020-06-26 09:51 AM
Hi, I'm using a Nucleo-F072RB at the moment and would like to use the STM32cubeMonitor tool to visualize a few signals at 1-10kHz. Right now I am only able to read at about 5Hz update, which seems very slow. I noticed a section on the wiki for speed optimization, but access is blocked.
Could someone offer advice for increasing the acquisition rate?
BTW, I really like the idea of this tool if it can become more oscilloscope-like!
Solved! Go to Solution.
2020-07-09 12:51 AM
Hello,
A new wiki page is available https://wiki.st.com/stm32mcu/wiki/STM32CubeMonitor:How_to_optimize_acquisition_speed.
Hope it will help.
Best Regards
Philippe
2020-06-29 12:30 AM
Hello
Indeed, 5Hz seems very low : The time to read 1 variable is usually around 1 and 2 ms, so for one variable it is possible to reach more than 500Hz.
Some advises :
The snapshot mode may provide better speed and regularity for acquisition, but need to add code on the target.
Best regards
2020-06-29 10:20 AM
Thank you, Stephane.
Is there a faster ST link? Any additional settings to check?
I don't mind adding code to the target but I'd like to quickly understand the limits of Monitor to know if it can fulfill my application needs or not. Can target mode send a time-series array back? For example, send 100 values every 1ms?
2020-06-30 12:31 AM
Hello
So it is not possible to reach the target of 100 values every 1ms with STM32CubeMonitor and the ST-Link.
Best regards
Stephane
2020-07-09 12:51 AM
Hello,
A new wiki page is available https://wiki.st.com/stm32mcu/wiki/STM32CubeMonitor:How_to_optimize_acquisition_speed.
Hope it will help.
Best Regards
Philippe