Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: How accurate is osal_start_timerEx() on CC2540?

$
0
0

Hi,

In my application, i need a accuracy timer to turn household appliances on/off every day.

For example, turn on refrigerator at 13:00 and turn off at 18:00.

I use the timerapp client to get the current time when connect to service, then use osal_start_timerEx() to time the current time after master is disconnect.

When i set osal_start_timerEx() to 1 hour time out (timeout parameter is 3600000), it generate time-out event is about 1hour and 15 ~ 20 second.

In other words, osal_start_timerEx() have about 0.5% error every hour.

This is not acceptable in my application.

so how to improve the absolute timing accuracy of osal_start_timerEx()?

Or any suggestion is welcome..

Many thanks!!

BR.

Peter.


Viewing all articles
Browse latest Browse all 116964

Trending Articles