Hi,
We are working on a project based on nrf51822. We have an application that needs to send 2 byte values to the mobile app every 200 milliseconds accurately(ideally 5 values every second).
we are using application timers for this purpose with
APP_TIMER_TICKS(200, APP_TIMER_PRESCALER) and the APP_TIMER_PRESCALER is 0(default)
But the app receives data at irregular intervals. it recieves all 5 values with in a time span of 400 msec and stops for that particular second and again it starts sending 5 values within 400 msec of the following second and the scenario repeats.
Ideally app has to recieve the values at 200th, 400th, 600th, 800th and 1000th milli second of every second but it is not happening.
Can you please help us why this behaviour is happening?
Best,
Krish