[Tinyos-help] Multichannel Adc sampling and DMA

Nicolas Esteves nicolas.esteves at inrialpes.fr
Mon Jul 16 03:58:25 PDT 2007


Hi,
I looked at the demo app you made, i works fine, but when i want to 
change the jiffies parameter i cant get what i want.
When i set something other than 0 the leds doesnt switch on.
I saw in the readme of adc that jiffies = source_freq / needed_freq, and 
i want a 1000hz frequence, so i set the jiffies to 1000000/1000 = 1000.
Can someone help me with this?
Thanks

> Jan Hauer wrote:
>> Updated in CVS. I extended the test app in 
>> tinyos-2.x/apps/tests/msp430/Adc12.
>> Jan
>>
>> On 6/19/07, Nicolas Esteves <nicolas.esteves at inrialpes.fr> wrote:
>>> 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
>>> >
>>>
>>>
>>>
>>>
>>
>
>



More information about the Tinyos-help mailing list