[Tinyos-help] about the SPI bus in MICAZ in tinyos2.x
songangel
chjx2002 at hotmail.com
Fri Oct 24 09:26:18 PDT 2008
Hello, all
I have found the related answers about SPI bus usage in the MICAZ node as following
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg20111.html
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-April/032819.html
In my sensor node, the hardware is same as MICAZ-OEM expect that the SS pin(for SPI communication) of cc2420 is connected to the power.
That means I can not control the SS pin for SPI communication of CC2420.
Now I want to add a device with SPI communication to this sensor node. Just as Phil answered connecting the same pins as CC2420.
I don´t know whether in my sensor node, SS pin for SPI communication also is connected to the power as CC2420 ?
If it is the same, how to distinguish the cc2420 and this new device? According to the SPI protocol, SS pin is used to distinguish the different slaves.
I found that Phil said Resource arbiter could be used. But I don´t know how to use it, could anybody give me an example?
Thanks in advance.
Jianxin
_________________________________________________________________
新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜!
http://im.live.cn/emoticons/?ID=18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081024/31f98246/attachment.htm
More information about the Tinyos-help
mailing list