2013-08-05 12:43 AM
Hi,I am using the STM32F051x8,I want a timer which could interrupt every 1ms in the stop mode?But I have found the TIM can't work in the stop mode,and the RTC just happen interrupt every second. How can I do?
Thanks? #stm32f051x8-stop-mode-timer2013-08-05 07:28 AM
What clocks are you using? HSE takes up to 2 ms to start.
Can you just SLEEP/WFI instead for such short periods?2013-08-06 12:37 AM
2013-08-06 12:39 AM
If the mcu in stop mode ,the HSI and HSE are not work,so I use LSE as the clock source.
2013-08-06 04:46 AM
Use the RTC's RTC_SSR register to get sub-second timing, if the granularity is not quite to your liking try a different LSE frequency.
2013-08-07 01:44 AM