We have been using FreeRTOS SW timers all this while for periods ranging from 10ms to 1 minute.
Recently we added a timer for 5 minutes. This paritcular timer seems very inaccurate. It usually takes around 5 minutes 45 seconds to trigger the interrupt. Is there something that i am missing?
configTIMERTASKPRIORITY is 2
Is there something that i am missing?
Don't know, as I don't know what you have.
Which port are you using? Does the chip have a stable and accurate
clock? Or is it using a lower accuracy internal resonator? Have you
checked the accuracy of the clock and the tick frequency using a scope?
Are you setting the tick frequency to something that can be achieved
exactly, or are you using a slow low power clock and attempting a tick
frequency that can't actually be achieved exactly (considering rounding
We are using a port with 64MHz CPU clock which is stable. The configTICKRATEHZ is set 1000
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.