AnsweredAssumed Answered

rtc for milliseconds

Question asked by Rajani Kolani on Jun 30, 2020
Latest reply on Jul 2, 2020 by Kerry Zhou


     I need a function to get time in milliseconds. I implemented a GPT to get an interrupt every msec and used this to count milli seconds. My system clock is tied up in freeRTOS! Also, i can't use the xTaskGetTickCount() as it's available only after the scheduler starts. We did have some issues with the GPT not working due to some interrupt priority settings. As we have a RTC, just wanted to check if its better to use RTC to get total milliseconds? 

Thanks & regards,