Related to system clock rate
- From: naresh.ganapathineedi@xxxxxxxxx
- Date: Mon, 11 Aug 2008 07:55:05 -0700 (PDT)
Hi,
I have a question related to system clock. The system clock
rate on my board is set to 50 by using the sysClkRateSet(50)
function.
After this if I call taskDelay(50), my task gets waku up
exactly after 1 sec but if I call taskDelay(60 * 50), my task gets
wakeup few seconds before the 1 minuite:
o/p of one second delay
-----------------------------------
tick value : 50
Before sleeping : 09/08/2008 14:07:58.313208230
After sleeping : 09/08/2008 14:07:59.313208230
Before sleeping : 09/08/2008 14:07:59.313208230
After sleeping : 09/08/2008 14:08:00.313208230
Before sleeping : 09/08/2008 14:08:00.313208230
After sleeping : 09/08/2008 14:08:01.313208230
o/p of one minute delay
----------------------------------
tick value : 50
sleeping time : 3000
Before sleeping : 11/08/2008 17:40:26.332555930
After sleeping : 11/08/2008 17:41:26.312539720
Before sleeping : 11/08/2008 17:41:26.312539720
After sleeping : 11/08/2008 17:42:26.312540670
Please help why taskDelay(60 * 50) is waking up my task few
nanoseconds before the actual 1 min. How can I achive the required
granualarity.
Thanks,
Naresh.
.
- Follow-Ups:
- Re: Related to system clock rate
- From: peter . mitsis
- Re: Related to system clock rate
- Prev by Date: Re: boot loader hangs on startup
- Next by Date: Re: Related to system clock rate
- Previous by thread: how to call my function in bootInit.c
- Next by thread: Re: Related to system clock rate
- Index(es):
Relevant Pages
|