Bob Dunlop wrote: > Since there's been a little bit of discussion about 13MHz operation > on the IRC channel here's a patch I've been playing with to switch > the system in and out of 13MHz operation when idle. > > It works for me (saves about 200mW on a Compulab board) but I have done > no analysis of RAM timings etc. A similar patch to add 13Mhz as a > cpufreq stepping left my system stuck at 13MHz and I havn't worked out > why yet. (code snipped) Thanks for that, Bob. I've tried using those routines to jump in and out of 13MHz mode in the embedded code I'm working on and it has proved to me that my CPU isn't actually running at 13MHz, which means that my code's just too slow. Doh! Chris -- Chris Jones - chris@martin-jones.com Martin-Jones Technology Ltd, makers of Solidlights 148 Catharine Street, Cambridge, CB1 3AR, UK Phone +44 (0) 1223 655611 Fax +44 (0) 870 112 3908 http://www.solidlights.co.uk/