[Tinyos-help] Junk data with Adc on telosb
Jan Hauer
hauer at tkn.tu-berlin.de
Fri Aug 3 02:04:57 PDT 2007
I just checked and for me sampling three channels with your
configuration works fine (except I'm using input channel 10 and twice
11). What did you choose for the "jiffies" parameter, can you post
your Msp430Adc12MultiChannel.configure call with all parameters ?
Jan
On 7/31/07, Nicolas Esteves <nicolas.esteves at inrialpes.fr> wrote:
> Thanks a lot :)
>
> Jan Hauer wrote:
> > I'll take a look and see if I can reconstruct your problem,
> > Jan
> > [sorry for the late reply, I just returned from holidays]
> >
> >
> > On 7/26/07, Nicolas Esteves <nicolas.esteves at inrialpes.fr> wrote:
> >
> >> Hi,
> >> When i use the multi channel sampling component (like in the
> >> apps/tests/msp430/Adc12) I always have junk data at the beginning of the
> >> sampling.
> >>
> >> I'm sampling channels INPUT_CHANNEL_A0, INPUT_CHANNEL_A1 and
> >> INPUT_CHANNEL_A2 with REFERENCE_VREFplus_AVss for each channel and
> >> REFVOLT_LEVEL_2_5, SHT_SOURCE_ACLK, SHT_CLOCK_DIV_1,
> >> SAMPLE_HOLD_4_CYCLES, SAMPCON_SOURCE_SMCLK, SAMPCON_CLOCK_DIV_1 for the
> >> config.
> >>
> >> I sample each channels like 200 times and the first results are always
> >> like 0 or things greater than 4095, there is between 80 and 150 values
> >> of this kind. I cant understand where itś coming from.. I tried to delay
> >> the sampling after the mote wakeup but nothing changed. I tried to do
> >> multiple sequences of capture because i thought that the values may be
> >> caused by the wakeup, but nothing changed too. When i do the same with 3
> >> distinct SingleChannel everything works fine.
> >>
> >> So if someone can help me it would be nice
> >> thanks in advance
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> Tinyos-help at Millennium.Berkeley.EDU
> >> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >
> >
> >
>
>
>
>
More information about the Tinyos-help
mailing list