[Tinyos-help] Turn off Mica2 Radio

2012-06-07 Thread Hao Wang
Hi all, several days ago I send the question of how to use SPI on mica2, and now I think it may has something to do with the radio of mica2, because USART1 shares ports with SPI's MOSI and MISO. So now I want to figure out how to "TURN OFF" the Radio function on mica2 board, so that SPI can get

[Tinyos-help] Mica2 SPI problems: Resource ID and other issues

2012-06-04 Thread Hao Wang
Hi everyone, I'm trying to use the SPI interface in Mica2 mote but encountered problems: I programmed my own code instead of invoking the files in "tinyos-2.x/tos/chips/atm128/spi". My mica2 mote plays as "Master", and I only use it in single, that no other devices are connected to it. The SPI