On Sun, Apr 21, 2013 at 1:06 PM, Maryam Jalalitabar <[email protected]>wrote:

> Hi everyone,
>
> I want to use a high signal  on the telosb to trigger the pin 34 on the
> CC2420 chip which is Radio_SO.
>

What exactly are you trying to do?

Radio_SO is SPI out which is the output from the CC2420 chip and is part of
the SPI bus.   It is input to
the msp430.

So I don't understand what you are trying to trigger.


> Radio_SO is also attached to the MSP430 on pin 30 which is P3.2/SOMI0.
>

Exactly.   It isn't being used as P32 (which is just digital i/o (crappy TI
name).   It is being
used as SlaveOutMasterIn as part of the SPI interface.



>
> My idea is using the high signal as an external hardware interrupt for the
> telosb.
>

For what?

Moot anyway because you can't do it.   Only Port 1 and Port 2 can generate
interrupts.


>
> I found  HplMsp430GeneralIOP component. It provides two  interfaces that
> I think I can use:
>
> interface 
> HplMsp430GeneralIO<http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/ihtml/tos.chips.msp430.pins.HplMsp430GeneralIO.html>
>  as *Port32;*
> interface 
> HplMsp430GeneralIO<http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/ihtml/tos.chips.msp430.pins.HplMsp430GeneralIO.html>
>  as *SOMI0*
> *
> *
> There is another component  HplMsp430InterruptC. It provides a number of
> interfaces to enable or disable interrupt on some ports[10-27].
>
> Port 32 is general I/O but it can not be used for interrupt(it is not
> between the range of 10 and 27). Is this correct?
>

Nothing magic about 10 to 27.  P10 is port P1.0 etc.   so P10 - P17  and
P20-P27 are Ports 1 and 2.

By definition (from TI) only P1 and P2 can be used to generate interrupts.




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



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to