[Tinyos-help] gio0 problem on tmote sky
André Miguel de Almeida Marrão Rodrigues
andremiguelrodrigues at gmail.com
Wed Nov 14 05:50:12 PST 2007
Thanks Michael and Urs
Just a few comments to close the issue:
T2 has HPL, HAL and HIL interfaces. The selecIOFunc() was not in
GeneralIO (which I think is a HIL interface, and the one application
developers should use) but in HplMsp430GeneralIO it exists.
So, to be on the safe side I use it...
>> I think this is because the ports with ADC capability don't offer
>> interrupt capability. So if you need to trigger an external interrupt
>> (and only then) you need to bridge R14.
After reading the specs again I recognize the "(and only then)", that 3
words were
very helpfull. So, for sure there is no need , in my case, to use the gio0
and add a resistor in R14, ADC3 (Port63) is just fine.
Thanks,
André Rodrigues
>>
>> Cheers,
>> Urs
>>
>>> I'd say if it works, you are doing it the right way.
>>>
>>> MS
>>>
>>>
>>>
>>> André Miguel de Almeida Marrão Rodrigues wrote:
>>>> Hi
>>>>
>>>> I'm in T2
>>>>
>>>>> Unless you are using the ADC component the ADC inputs are not
>>>>> configured to do anything, so there is nothing to disable.
>>>> I'm using the ADC for ADC0, ADC1 and ADC2.
>>>> But I'm not sure if it affects ADC3?
>>>>
>>>>> I am entirely clueless as to why those R14-like shorting
>>>>> options exist as all they do is tie two IO pins together...
>>>> A shortage on connector pins?
>>>>
>>>>> I have yet to fully test this, but I believe you can do the
>>>>> following to turn ADC3 into an output pin (under Boomerang,
>>>>> which seems to be TOS1.1.15++):
>>>> I manage to do that forgeting the R14 (not connected) and the gpio0
>>>> and making
>>>> the ADC3 pin output and high. And now it's working, I didn't use
>>>> selecIOfunc because I didn't see that in GeneralIO interface.
>>>> What´s the function?
>>>>
>>>> But at the end I'm not sure if it's the correct way to do it
>>>>
>>>> Regards,
>>>>
>>>> André
More information about the Tinyos-help
mailing list