This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
problems with RTC
- From: Michele Paselli <miguelon at tiscali dot it>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 10 Apr 2007 14:15:27 +0200 (CEST)
- Subject: [ECOS] problems with RTC
- Reply-to: Michele Paselli <miguelon at tiscali dot it>
- Xoriginalsenderip: 194.171.252.108
Hi all,
I'm developing a radio driver for an AT91 platform and I need to
change the time granularity in order to make some precise latency
measures. In order to have a frequency multiplied by 10 (1 KHz since
the default is 100Hz) I multiplied by 10 the CYGNUM_HAL_RTC_DENOMINATOR
parameter. I also modified the CYGNUM_KERNEL_TIMESLICE_TICKS parameter
in order to have the same timeslice interval as I would have in the
default conditions. The ticks are now indeed 1 every millisecond, but
the radio driver does not seem to work properly anymore. In particular,
the driver seems to miss come interrupts. The only call to a function
related to timers in the driver is a timeout counter but I multiplied
its value by 10 to have the same conditions as before. Can anyone
suggest me a possible cause? I think that the conditions for the driver
in terms of timing are the same as before, but maybe I'm missing
something.
Thanks a lot in advance.
Michele
Naviga e telefona senza limiti con Tiscali
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom
http://abbonati.tiscali.it/adsl/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss