also, make sure you wire to Msp430Adc12ClientAutoRVGC (not Msp430Adc12ClientC), because your configuration involves the internal reference voltage. Jan
On 8/3/07, Jan Hauer <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > > >> [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
