Hello to all,
I would like to measure the current variation due to Functional Unit activation and deactivation. Can anyone help me out with the assembly program or the code through which I can measure this? I am using LPCXpresso 54114 board(ARM Cortex-M4).
Kindly, help me out with this. I read the various documentation but didn't get a clear picture.
Thanking you,
Regards,
Himanshu
Hello Mr. Yiu,
Thank you very much for your quick reply. I have tried the sample code, provided by you. From the resultant power pattern, it was difficult to see any difference with 1 ADD instruction in the loop of NOP instruction. But, on trial of more ADD consecutive instruction, there was a significant jump in the power pattern.
What can be the reason, or is it due to the consecutiveness of the ADD instruction only?
In NOP instruction sequence there is no write to register bank so all registers could be clock gated.
When a sequence of ADD instructions are executed, the result of the ADD need to be stored and hence the power used by the register bank would be higher (destination register need to be active every cycle).
regards,
Joseph
Thank you so much for the explanation. It is really helpful.
Thank you once again,