Sorry guys forgot to cc tinyos-help.
Andrew
---------- Forwarded message ----------
From: Andrew Redfern <[EMAIL PROTECTED]>
Date: Mar 14, 2007 2:07 PM
Subject: Re: [Tinyos-help] Port / PIN information on Tmote Sky
To: Alborz Sedaghat <[EMAIL PROTECTED]>
Hi Alborz,
Take a look at the other MSP430GeneralIO files in the msp430. These will
help you figure out how the functions are implemented. As for the port
number there are two ways to do this. The first is to look at the schematic
and port mapping in tmote sky data sheet. The other is to call them by name
using the tmote sky platform calls. Take a look at the hardware.h file in
$MOTEIV_DIR/tos/platform/tmote/ directory. If you use the later way you can
do things like:
TOSH_SEL_GIO0_IOFUNC();
TOSH_MAKE_GIO0_OUTPUT();
TOSH_SET_GIO0_PIN();
TOSH_CLR_GIO0_PIN();
Also you can take a look at old post using google. Here is a good example
that I pulled up:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-January/007254.html
Hope this helps,
Andrew
On 3/14/07, Alborz Sedaghat <[EMAIL PROTECTED]> wrote:
Hello
I am new to this mail list, me and some friends are working on a project
using Tmote Sky.
I am trying to reach some PIN on the mote, i found this interface…
interface MSP430GeneralIO
{
async command void setHigh();
async command void setLow();
async command void toggle();
async command uint8_t getRaw();
async command bool get();
async command void makeInput();
async command void makeOutput();
async command void selectModuleFunc();
async command void selectIOFunc();
}
But there is no information what so ever,… where can i found some
information or comments about the methods above. Any help would be
appreciated.
Another question, how do i find/make port numbers to our PIN or the mote.
I have tested and found out that CHANNEL_A1 gives access to ADC01 and /
Port35 to Uart0RX / Port34 toUart0TX / but isn´t it just one place to find
all the Ports and channels in one place?
Thank you all
Sweden - Chalmers
/Alborz
_______________________________________________
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