I have stm32f103,
I have used
Code: Select all
TIME_I2MS(chVTGetSestemTime())
to get real time but the time reset every 32s (16bit).
How can I get 32bit time or 64?
Thanks for any help.
Moderators: RoccoMarco, barthess
Code: Select all
TIME_I2MS(chVTGetSestemTime())
Giovanni wrote:One of the following solutions:
1) Use an STM32 with a 32 bits timer.
2) Disable tick-less mode, that will use a 32 bits counter variable.
3) Use 64 bits time stamps, this is available on RT7 and forward.
Giovanni
asdasdasd wrote:Giovanni wrote:One of the following solutions:
1) Use an STM32 with a 32 bits timer.
2) Disable tick-less mode, that will use a 32 bits counter variable.
3) Use 64 bits time stamps, this is available on RT7 and forward.
Giovanni
thanks for fast replay,
but I didn't understand what is "RT7" and how to use 64 bits time stamps?
I am using Chibios 20.3.2 with stm32f103c8.
what I just want to have a function like in Arduino (millis()) with 32 bits minimum .
asd,
asdasdasd wrote:but I didn't understand what is "RT7"
Users browsing this forum: No registered users and 28 guests