2012-08-07 12:38 AM
Hello,
I implemented the RTC example of ST (calendar, time counter) but it seems to work just with an interval of 1 second. I need it to work with an interval of 1ms. How can I do it?Thank you!Best regards2012-08-07 07:48 AM
On the F1 you could get sub-second timing by playing with the prescaler. You could also read the prescalers counter to get fractional seconds, although perhaps not in the units you desire.
Another alternative is to use SysTick to count microseconds. Or the core's cycle counter to get 10's of nanoseconds.