Make sure that the pin is configured for ADC input and not as general I/O. I am guessing that this is likely the case.
P6SEL |= (1<<inputchannel#); sets pin to function
P6 DIR &=~(1<<inputchannel#); sets pin to input
Matt
[EMAIL PROTECTED] wrote: -----To: tinyos-help@Millennium.Berkeley.EDU
From: "Nicolas Schulcz" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 07/20/2006 11:33AM
Subject: [Tinyos-help] To low input impedance on msp430
Hi,
I try to work with the analog inputs on my TMote module,
and when I connect in an other thing than my big power supply,
the input mesured is very low.
So I have mesured the input impedance of analog input, they seem
to be less than 100ohms, the ADC seem to be broken, but I have
tested the impedance on an other TMote and it is the same...
Have you already met this problem??
Thanks,
Nicolas
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help