Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High speed plotting #20

Open
Vasili-Sk opened this issue Nov 14, 2023 · 5 comments
Open

High speed plotting #20

Vasili-Sk opened this issue Nov 14, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Vasili-Sk
Copy link

Can we use STM logger (STtrace) library for buffered high data rate plotting? i'm also in motor control and sine is barely visible there :)

@klonyyy
Copy link
Owner

klonyyy commented Nov 14, 2023

Hello, could you elaborate on the topic, or show the problem you're facing? I'm not sure I understand the question.

@Vasili-Sk
Copy link
Author

STM Studio had special libraries for logging data from inside chip, this way you can synchronise it to end of FOC routine, for example and have clearer data at PWM speed
image
These are STM libraries.
image
when you click this little square in stm studio it changes logger mode to buffered, also in settings you can setup how much calls to DumpTrace to be skipped. DumpTrace is a function you need to call from your code that saves data.

@klonyyy
Copy link
Owner

klonyyy commented Nov 15, 2023

I must admit I wasn't aware of this feature. STMStudio still keeps surprising me. I'd have to research this topic, but right now If you'd like a synchronous way of logging data you should try the Trace Viewer and SWO output. I'll keep in mind to try it out and see how it works/how it is implemented in STMStudio. Thanks!

@klonyyy klonyyy self-assigned this Nov 15, 2023
@klonyyy klonyyy added the enhancement New feature or request label Nov 15, 2023
@Vasili-Sk
Copy link
Author

yeah i wish but my boards dont have SWO anymore since i found this thing and always used it :P

@klonyyy
Copy link
Owner

klonyyy commented Nov 15, 2023

Got it. In this case I don't think it's possible to synchronize the readings currently. It seems like a very interesting feature, but most probably it will take some time for me research and implement it. Feel free to contribute on this feature if you have some free time, though! :)

@klonyyy klonyyy moved this to TODO low priority in MCUViewer May 26, 2024
@klonyyy klonyyy moved this from TODO low priority to Future in MCUViewer May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Future
Development

No branches or pull requests

2 participants