| Author |
Message |
zeeshanzia84
Joined: 29 May 2006 Posts: 199 Helped: 19 Location: Pakistan / Germany
|
03 Jan 2008 15:34 Wireless Sensor Network, TinyOS, and Micaz platform question |
|
|
|
Hi,
I am using the Crossbow Micaz motes in a Wireless Sensor Network project. My mote uses CC2420 as its transceiver.
I was wondering if it is possible to change the transmission frequency (channel) at runtime? i.e. while the program is running.
I know how to do this using the parameter DCC2420_DEF_CHANNEL in the Makefile...however, I am willing to know if this can also be done on the fly.
Thanks a whole lot in advance.
|
|
| Back to top |
|
 |
rajeshkumar123
Joined: 27 Dec 2007 Posts: 141 Helped: 18 Location: Chennai-India
|
03 Jan 2008 15:53 Re: Wireless Sensor Network, TinyOS, and Micaz platform ques |
|
|
|
hi zeeshanzia84 ,
You can change the frequency of operation by changing the content of FSCTRL register. refer datasheet of CC2420 Pg.50 on how to change the frequency of operation. Please be minfull of local RF regulations.
With Regards
S.rajesh Kumar
|
|
| Back to top |
|
 |
zeeshanzia84
Joined: 29 May 2006 Posts: 199 Helped: 19 Location: Pakistan / Germany
|
04 Jan 2008 1:15 Re: Wireless Sensor Network, TinyOS, and Micaz platform ques |
|
|
|
| Thanks a lot!
|
|
| Back to top |
|
 |
kcho
Joined: 12 Feb 2003 Posts: 30
|
25 Apr 2008 16:03 Re: Wireless Sensor Network, TinyOS, and Micaz platform ques |
|
|
|
| Thanks a lot!
|
|
| Back to top |
|
 |
demestav
Joined: 14 Jan 2008 Posts: 7
|
04 Jun 2008 11:09 Re: Wireless Sensor Network, TinyOS, and Micaz platform ques |
|
|
|
I believe there is also a command in the TinyOS to do that while it is running.
This is the command definition:
| Code: |
| command result_t TunePreset(uint8_t freq); |
Its part of the RadioControl interface.
Hope it helps...
|
|
| Back to top |
|
 |