PDA

View Full Version : Teensy 2.0 and low power mode: CPU Speed?



allenhuffman
12-06-2012, 10:20 PM
Is there a way I can verify my Teensy 2.0 is operating at a certain CPU speed? I am ussing Teensyduino, and I have the option to select 1MHz from the "Tools->CPU Speed" menu, but 1MHz was not listed as an option in this power consumption chart:

See: Typical Current Consumed By Teensy
http://www.pjrc.com/teensy/low_power.html

I am basically looking in to what I can do to use the least power. In my former life working with an embedded operating system, our kernel had a way to drop in to low power mode between interrupts, such as a device driver or the process scheduler clock ticker. Since my project is basically polling I/O pins then sending out USB Keyboard presses, I am thinking I might be able to drop in to some halt mode based on a timer, and wake up to poll the pins.

But I am just getting started with the Teensy, so I haven't gotten this far in to it. I am not even sure if this is available when using the Arduino tools, or requires C.

Suggestions are welcome.