Can you make the time interval shorter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 4:41 AM - edited ‎2023-09-08 5:05 AM
i increases by 1. The delay is 1.
stm cubemonitor
variables node
I received the data as an Excel file.
x is the time, and y is the value of i.
The time interval of the data is 1 ms(=0.001s).
Can you make the time interval shorter?
If you can shorten the time interval, please tell me how to do it in detail. please.
thank you.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 5:20 AM
Hello @kust
The best way to make shorter interval of time is by using a TIMER in counter mode instead of delay and than you can configure the TIMER to count and Interrupt every ∆T you want (event in microseconds). To do this you can find exemples in all STM32cube firmwares.
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 5:03 AM - edited ‎2023-09-08 5:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 5:20 AM
Hello @kust
The best way to make shorter interval of time is by using a TIMER in counter mode instead of delay and than you can configure the TIMER to count and Interrupt every ∆T you want (event in microseconds). To do this you can find exemples in all STM32cube firmwares.
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 6:09 AM
When your question is answered. Close the topic by choosing a best answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-11 5:06 AM
thank you
