Trying doing it in start().

   P2DIR |= 1;
   P2SEL |= 1;

It should be the equivalent of the above two lines, which I know do work.

-Joe

On 6/15/06, giovanni gamba <[EMAIL PROTECTED]> wrote:
I found in the datasheet that i have to use port 20. I have to select the
ACLK and then to selesct the direction.
 How i do this?
 I try to use the General IO  component on port 20 and write in the init of
my application :
            call CLK_PIN.selectModuleFunc();
             call CLK_PIN.makeOutput();

 But nothing appens...
 What can i do?


2006/6/15, giovanni gamba <[EMAIL PROTECTED]>:
>
> Ok thank you very much... i'm gonna try it
>
>
>
> 2006/6/15, Joe Polastre <[EMAIL PROTECTED]>:
>
> > See the MSP430x1xx User's Guide.  You can output ACLK, the 32768Hz
> > clock, to a pin on the microcontroller.
> >
> > -Joe
> >
> > On 6/15/06, giovanni gamba < [EMAIL PROTECTED] > wrote:
> > > Hi all, i'm trying to get precise timestamping measurement on Tmote
Sky.
> > >  I get a 32 bit timestamp based on my 32Khz timer.
> > >  I acquire data and, in Java, divide the 32 bit value by the 32768
value
> > > (the nominal frequency of crystal).
> > >  I would like to measure the clock based on the crystal (to see how it
> > > follow the nominal value), but how can i do?
> > >  Is there a method to drive the clock signal to an external pin?
> > >  I've tryed to use an alarm32 module with a startNow(1) command, but
it
> > > seems to be using all the Mote resources (nothing else work) and when
the
> > > mote is in a stand-by
> > >  state (not tx or rx) the oscilloscope connected to the pin shows a
clock
> > > signal of about 5 Khz (not 16 KHz like i expected) with a large
jigger.
> > >  Thank you very much
> > >  Giovanni
> > >
> > > _______________________________________________
> > > 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

Reply via email to