
12-08-04, 05:33 PM
|
|
Registered User
|
|
Location: Dallas, TX
Posts: 11
|
|
|
HALFSPEEDCPU etc.
Just dusted off my Servopod for use in a new robot I'm building, and it's being a bit power-hungry at the moment. I'm powering it with a 7.2v 1700mah NiCD pack, and it drains it in just a few hours (though some of this could be due to it being an old battery). I ran across this HALFSPEEDCPU word, and was hoping it would help me out. I'm not sure if the reason for running at half speed would be mainly power savings, or increasing the max cycle time of PWM and other timers. If it'll save me significant power, then I'll definitely use it. At any rate, I'll try it as soon as my battery is recharged.
I was just wondering if there is any reason I shouldn't consider dividing the PLL clock down by 4 or 8 to save me even more power. Assuming I also update the SCI baud rate register appropriately, is IsoMax or anything else in the system going to stop working if I go to QUARTERSPEEDCPU or EIGTHSPEEDCPU?
From the example of HALFSPEEDCPU, it looks like I only want to set the PLL Clock Out Divide (Postscaler) and not the PLL Clock In Divide (Prescaler)...or can I do both to achieve even greater divide-down? Or should I be changing the value in PLLDB [6:0]?
Thanks for any information,
Dennis
|