physical-computation / Warp-firmware

Firmware for the Cambridge Physical Computation Laboratory's Warp Embedded Multi-Sensor Platform.
http://physcomp.eng.cam.ac.uk
BSD 3-Clause "New" or "Revised" License
4 stars 199 forks source link

Investigate low-power pin states #54

Open phillipstanleymarbell opened 5 years ago

phillipstanleymarbell commented 5 years ago

Investigate low-power pin states.

phillipstanleymarbell commented 5 years ago

See the lowPowerPinStates() function. Investigate whether/how much setting the SWD pins to GPIO (will remove SWD access) and driving them low will save.

phillipstanleymarbell commented 5 years ago

See Section 12.1.1 "GPIO instantiation information" of KL03 family reference, KL03P24M48SF0RM.pdf

For the default state of pins, pull capability, etc., the manuals say:

See also, Section 5 of "Power Management for Kinetis L Family" (AN5088.pdf) for additional hints on pin setup for low power.

phillipstanleymarbell commented 5 years ago

See also Power Management for Kinetis MCUs, Rev. 2, 04/2015, Section 2.6 Kinetis Energy Savings – Tips and Tricks for more.