Johannes Philippi

Microcontroller load display

Discussion created by Johannes Philippi on Apr 30, 2008
Latest reply on May 5, 2008 by Fabio Pereira

I've got the following question: How is it possible to know the load of an Microcontroller for a certain programm running on it.
I am using CodeWarrior Special Edition and a HCS08DZ60 controller. I wrote a program that builds to a 20k s.19 file. This is about 1/3 of the program memory of the controller. The controller is running at 8MHz. Now I want to know how "hard" it is for the uC to run this program. Is there any possibility (in the P&E debugger, or in CodeWarrior) to show the load of the MCU?
Is the load in a "one task system" allways 100% or does it differ depending on external events like interrupts, peripheral modules beeing active like ADC or CAN controller...

What I want to know is: can I use a smaller, less powerful microcontroller for the same project? Or are program memory, speed and needed peripherals the only features I need to decide which controller I can use.

JohannesSubmit Post