What platform are you using?
 
Matt
[EMAIL PROTECTED] wrote: -----

To: [email protected]
From: "jagan nath" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 05/17/2006 07:53AM
Subject: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

Hello all,
I'm using TimerJiffy.nc to sample the ADC0 pin for my application.I
actually wanted to sample at 3Khz but the highest sampling rate i
could achieve is not more than 1200 samples/sec.

I'm calling TimerJiffy.setPeriodic(11); here 11  corresponds to
3Ksamples/sec(apprx).
whenever the timer fires I'm call ADC.getdata() and in the event
ADC.dataready() I'm incrementing a counter
Now I'm using a normal timer which is set to fire at intervals of
10/20 secs and when this timer fires Im sending this counter value
over the radio and receiving it with TOSBase.

I then further reduced the value of Timerjiffy.setperiodic(5) .with
this also i'm getting a max of 1200 samples/sec.

Am I checking it correctly or is there any other method to achieve the
3Khz sampling rate.

TIA
Jagan

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to