On Aug 6, 2007, at 6:58 PM, Ravi Prasad wrote:
Dear David and Dear Philip, I am able to get the low current in CTP-LPL. Although the average current is high, but atleast I see that beautiful 200uA reading sometimes. :-) I just forgot about the mcu peripherals and was concentrating too much on RF. But thanks to David who pointed it out. The 4mA sleep current was due to the UART peripheral which I tunrned on for debugging. :-@ Now after turning off UART I am getting lowest 200uA current. But the current is varying too much (which I guess is again due to periodic beaconing) and I guess the average should be more then 1.5mA. I will post the exact data after I test properly with oscilloscope. I am trying to reduce the periodic beaconing in CTP to make the power consumption low. It will increase the network reconfiguration time, but it is ok with me for now. I just found one parameter in CTP for beaconing - BEACON_INTERVAL defined in TreeRouting.h. I tried after increasing its value but the results were almost same. Dear Philip, can you please comment on on how to reduce _ALL_ the periodic processing in CTP??
Probably the most important parameter is the second one to CtpRoutingEngine. E.g., in CtpP.nc:
components new CtpRoutingEngineP(TREE_ROUTING_TABLE_SIZE, 1, 1024) as Router;
defines the minimum beacon interval of the routing engine to be 1s. If you increase it to, say, 30, then nodes will send one beacon every 30s. They can send beacons more often than that in order to repair from topology failures such as routing loops.
Phil _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
