Save power with omniscient code generation
Keywords:low power design? compiler? omniscient code generation? MCU?
Using a low power MCU is a first step in lowering power consumption. The next step should be to minimize the number of instructions the CPU must execute to get the job done, so it can spend as much time as possible in the deepest sleep mode available. This can be accomplished with careful design of the application software structure, tight coding and a compiler that reduces the number of required instructions.
Compilers can have a significant effect on the number of instructions required to execute the application and the resulting power consumption. All too often the method of compilation wastes CPU cycles on interrupt routines and on locating addresses in memory devices with banked memory.
View the PDF document for more information.
Related Articles | Editor's Choice |
Visit Asia Webinars to learn about the latest in technology and get practical design tips.