This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Current Variation due to Functional Unit activation or deactivation

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

Parents
  • Hi Himanshu,

    Do you mean you want to measure power consumption with various peripherals turned on and off?

    It would be easier to do the peripheral clock gating control in C rather than at assembly level.

    First, start with a simple "hello world" type of application to make sure you got the board up and running.

    Then configure clock setting of the processor to make sure you know how fast the processor and the memory systems are running at.

    And move on to look into the SYSCON block in LPC5411x to see how to turn peripherals on and off.

    LPC5411x user manual can be found in : http://cache.nxp.com/docs/en/user-guide/UM10914.pdf

    This document the control registers, peripheral registers, memory map, etc.

    regards,

    Joseph

Reply
  • Hi Himanshu,

    Do you mean you want to measure power consumption with various peripherals turned on and off?

    It would be easier to do the peripheral clock gating control in C rather than at assembly level.

    First, start with a simple "hello world" type of application to make sure you got the board up and running.

    Then configure clock setting of the processor to make sure you know how fast the processor and the memory systems are running at.

    And move on to look into the SYSCON block in LPC5411x to see how to turn peripherals on and off.

    LPC5411x user manual can be found in : http://cache.nxp.com/docs/en/user-guide/UM10914.pdf

    This document the control registers, peripheral registers, memory map, etc.

    regards,

    Joseph

Children