If in fact ADC12_P6PIN_AUTO_CONFIGURE were not defined and you didn't
manually set the pins to the proper mode yourself, then you would
indeed see a low input impedence on these pins.

It looks like Jan checked in some files on June 25th that changed the
name of this #define from P6PIN_AUTO_CONFIGURE to
ADC12_P6PIN_AUTO_CONFIGURE.  The checkin dates and the names of the
#defines seem to be in sync though, so I'm not sure why you would be
seeing this problem.  That is to say, that even though the 2.0.2
release might have the #ifdef set as P6PIN_AUTO_CONFIGURE in
Msp430Adc12ImplP, it is consistently #defined as P6PIN_AUTO_CONFIGURE
in Msp430Adc12.h.

Are you working from cvs?  Maybe you had modified version of
Msp430Adc12ImplP.nc and when you did a cvs update all of your
unmodified files got updated, but this one didn't because you had made
some changes to it.

Kevin

On Jan 7, 2008 9:04 AM, Saverio De Vito <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> In /tos/chips/msp430/adc12/README.txt we can read about the feature
> that automatically switch the ADC connected pins between
> peripheral (ADC) and digital IO mode before and after a conversion. In
> particular
> you can read:
>
> To disable this feature please comment out the
> "ADC12_P6PIN_AUTO_CONFIGURE" macro in Msp430Adc12.h
>
>
>
> Now, ADC12_P6PIN_AUTO_CONFIGURE is correctly defined in Msp430Adc12.h
> but, in TinyOs 2.0.2 distribution and in Xubuntos in Msp430Adc12ImplP.nc
> where switching is carried out by means of select[Module|IO]Func() calls
> you read instead an ifdef P6PIN_AUTO_CONFIGURE.
> Hence, no functional switch is carried out on the ADC connected pins
> ultimatelly leading to a very low input impedance expressed by ADC pins
> that remain in the default IO low status.
> Related correction made on these files solved my previously reported ADC low 
> input
> impedance problems.
> Can you confirm?
>
> Regards,
> Saverio De Vito
>
>
>
>
>
> _______________________________________
> MAIL SCANSIONATA DA ANTIVIRUS GATEWAY
> (Outbound)
> .#ENEA#.
> _______________________________________
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to