2023-09-08 04:41 AM - edited 2023-09-08 05: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.
2023-09-08 05: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
2023-09-08 05:03 AM - edited 2023-09-08 05:06 AM
2023-09-08 05: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
2023-09-08 06:09 AM
When your question is answered. Close the topic by choosing a best answer.
2023-09-11 05:06 AM
thank you