you will need to study the cpu documentation. are you using the telosb?
the manual you want for the 1611 is the User's Guide for the 1611 family. msp430x1xx You should also look at the specific data sheet for the part. Where did you get the number 25 from? But all things considered (I just looked at the data sheet), it should work. On Fri, Apr 5, 2013 at 12:49 AM, Andres Mabini <[email protected]>wrote: > Hi all, > > What is the maximum sampling frequency that the MSP430 12-bit ADC could > support? > > If I want to sample at around 40KHz using Msp430Adc12ClientAutoDMAC() as > the client, am I doing it correctly if I set the config as > > #define CONFIG_AVCC INPUT_CHANNEL_A0, REFERENCE_AVcc_AVss, > REFVOLT_LEVEL_NONE, SHT_SOURCE_SMCLK, SHT_CLOCK_DIV_1, > SAMPLE_HOLD_4_CYCLES, SAMPCON_SOURCE_SMCLK, SAMPCON_CLOCK_DIV_1 > > and call > > call SingleChannel.configureMultiple(&config, buffer, BUFFER_SIZE, 25 > > ? > > I reckoned 1048576 / 25 = 41 934, so the resulting sampling frequency > would then 41KHz. Is this correct? > > Much thanks. > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
