On Tuesday 26 June 2007 10:31:49 am Joe Polastre wrote: > You need to use and configure the ADC in software using ADCC. If you > do not use and configure the ADC, then the ports are output and low > (contrary to what Steve wrote).
When the msp430 goes through PUC, the PxDIR registers are reset and so the pins are digital inputs (per msp430 user's guide, sec 9.3). Granted, in tos2 for example, the telosb's MotePlatformC's Init.init() sets unused pins to output 0. I was just pointing out that there is an albeit small window right after PUC where they are in fact inputs. Steve > When a port is not in use on the > MSP430, it must be set to output and low (gnd) to minimize current > leakage. By configuring the pin using ADCC, it is automatically > reconfigured to be input and not drive the signal. > > This is documented in detail at: > http://www.moteiv.com/community/Connecting_External_Sensors > > -Joe > > On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi i use tmote and tinyos 1.1 ; i must use ADC to sample a voltage on > > Capacitor but i have a problem. In fact i use ADC3 and GND(of ADC) but > > this pin result short-circuit when tmote is on. This is a big problem for > > me because the capacitor discharge and i can't mesaure the really value. > > How can i resolve my problem?? > > > > Thanks > > > > > > ------------------------------------------------------ > > Leggi GRATIS le tue mail con il telefonino i-mode⢠di Wind > > http://i-mode.wind.it/ > > > > > > _______________________________________________ > > 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 > > !DSPAM:46814432308192707813856! _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
