Connect with us

Current used for "each" instruction cycle

Discussion in 'Microcontrollers, Programming and IoT' started by jacobkats, Nov 29, 2017.

Scroll to continue with content
  1. jacobkats


    Nov 29, 2017
    Hi all,

    I am an Engineering student and I have a little confusion.

    When developing a system with Micro-Controller (for example Attiny 417) - it is assumed as a digital component which work in a digital manner, right?
    1. How can I calculate or predict what current will it consume at each instruction cycle?

    2. If I use a few instructions to make some "simple operation" (i.e. check memory according to incident) - will the current be "high" consumed only during the time of executing the instructions? Or does it take time to "stabilize" and high current keeps being consumed until the micro-controller return to sleep mode?

    3. Is the sleep mode current provided in the datasheet is the same as it is in "real" conditions or does it vary? If so - how much?

  2. BobK


    Jan 5, 2010
    1. The datasheet will tell you how much current is drawn based on the supply voltage and operating frequency.

    2. There is probably some delay in getting in and out of sleep mode where some intermediate current is used. Unless the wake time is very short this can probably be ignored.

    3. The sleep mode current is a minimum that assumes no I/O pins are sourcing or sinking current.

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day