Difference between revisions of "Changing the Imote2 CPU Frequency"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
 
Line 1: Line 1:
 
See:  http://tech.groups.yahoo.com/group/intel-mote2-community/message/87
 
See:  http://tech.groups.yahoo.com/group/intel-mote2-community/message/87
 +
 +
Basically, you wire interface DVFS of component DVFSC (defined in tinyos-1.x/tos/platform/imote2/DVFSC.nc) and make the following call:
  
 
<pre>
 
<pre>

Latest revision as of 17:17, 14 May 2008

See: http://tech.groups.yahoo.com/group/intel-mote2-community/message/87

Basically, you wire interface DVFS of component DVFSC (defined in tinyos-1.x/tos/platform/imote2/DVFSC.nc) and make the following call:

call DVFS.SwitchCoreFreq(416,208);
//call DVFS.SwitchCoreFreq(208,208);
//call DVFS.SwitchCoreFreq(104,104); 	// Change the CPU and bus frequencies to 104MHz.  This
	  				// also changes the voltage to the minimum amount needed
	  				// to support this speed.  
	  				// 
	  				// This was copied from: 
	  				//   contrib/imote2/test/TestSensorboard\TestSensorboardM.nc
	  				//
	  				// DVFS is defined in:
  					//   tinyos-1.x/tos/platform/imote2/DVFSC.nc