[Tinyos-help] radio CC2420

2008-09-19 Thread margherita errichiello
Dear all, I already wrote a previous e-mail, asking for your help with regard to the consumption of the CC2420 Radio of our telosb mote. In that occasion you advised me to modify the starting programme. So, after following your advice I solved the problem of excessive consumption that I had met,

Re: [Tinyos-help] radio CC2420

2008-09-19 Thread Tony O'Donovan
Hi, In the first version of the code you called send immediately after calling RadioControl.start. This send occurs during the radio transceiver's startup phase and will fail. By moving the send to the RadioControl.startDone you can be sure the radio is operational. Communication cannot occur

[Tinyos-help] radio CC2420

2008-09-18 Thread margherita errichiello
Hi to all, I'm a student working of my bachelor thesis. During some experimentation oriented to power consuption extimation I noticed that it seems that the CC2420 Radio of our telosB motes need 5 seconds to turn it self on. As a result, if I use a transmit rate exceding than one packet each 5

Re: [Tinyos-help] radio CC2420

2008-09-18 Thread Tony O'Donovan
Hi, The cc2420 radio only takes a few microseconds to start, more details can be found in the cc2420 datasheet. Looking at the code below I would suggest moving your AMSend.send call to the RadioControl.startDone event. Your send is currently being called before the radio is started... Tony