Hi,
I had this problem too.
It was because i did not provide the AdcConfigure interface.
Your app should provide this interface by implementing its
getConfiguration() command.
command adc_config_t getConfiguration()
{
return &config;
}
Otherwise you get 0xff's as data in the dataready events.
Cheers,
O.Chougna
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicolas
Esteves
Sent: dinsdag 19 juni 2007 15:39
To: Jan Hauer
Cc: [email protected]
Subject: Re: [Tinyos-help] Multichannel Adc sampling and DMA
Ok, I've enough other stuff to look at so i'll wait for the multi
channel :)
Thanks again for your reply
regards
Jan Hauer wrote:
>> the buffer signaled by dataReady is always full of 0xfff....
>
> The problem is the reference voltage. You are, I guess, wiring to
> Msp430Adc12ClientC, which does not use the reference voltage
> generator. But your configuration requires the RefVolt generator to be
> on (REFERENCE_VREFplus_AVss).
>
> What you would like to use is Msp430Adc12ClientAutoRVGC, but it does
> not (yet) provide theMsp430Adc12MultiChannel interface (see last
> sentence of my previous mail).
>
> Jan
>
_______________________________________________
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