element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog PSoC 6: Low Power Management - Power consumption without WiFi or Bluetooth
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Embedded and Microcontrollers requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 20 Feb 2021 11:50 PM Date Created
  • Views 1965 views
  • Likes 5 likes
  • Comments 2 comments
  • low_power
  • aws
  • psoc 6
  • psoc6
Related
Recommended

PSoC 6: Low Power Management - Power consumption without WiFi or Bluetooth

Jan Cumps
Jan Cumps
20 Feb 2021

When you're making a low power design, it's interesting to know the energy use of your gizmo.

In this 2nd post of the series, I measure the current in the different power modes.

image

image source: readme file of the PSoC 6 MCU: Switching Between Power Modes example project

 

The PSoC6 has several sleep modes. Depending on the one that's active, parts of the controller are switched off:

The example project Switching_Power_Modes (source code) demonstrates the modes.

When you load this example, you can cycle through the power modes by pushing the user button.

The best way to see what's happening is by measuring the current in all modes, as explained here.

 

Test steps

 

The example project tells you how to use the user button to navigate between the modes.

WiFi and Bluetooth are off in this exercise.

 

  1. After programming, the application starts automatically.
    Confirm that kit LED blinks at 5 Hz (approximately).
    Take note of the current consumption.
    The device is in Normal Power / MCU Active state at this moment.
  2. Press the kit button for approximately one second and release it.
    Observe that the LED is ON and fully bright.
    Confirm that the current consumption drops a few hundreds of microamperes.
    The device is in Normal Power/MCU Sleep state at this moment.
  3. Quickly press the kit button to return to Normal Power/MCU Active state.
    Observe that the LED blinks quickly again.
  4. Press the kit button for at least two seconds and release it.
    Observe that the LED is OFF and that the current consumption has dropped to a few microamperes.
    The device is in Deep Sleep state at this moment.
  5. Quickly press the kit button to return to Normal Power state.
    Observe that the LED blinks quickly and that the current consumption has increased to the same level measured before.
  6. Quickly press the kit button again to enter Low Power state.
    Observe that the LED blinks slowly and that the current consumption has dropped significantly when compared to Normal Power state.
    You can quickly press the kit button to switch between the two modes.
  7. Keep the device in Low Power state and press the kit button for approximately one second and release it.
    Observe that the LED dims and that the current consumption has dropped a few hundred microamperes.
    The device is in the Low Power / MCU Sleep state at this moment.
  8. Quickly press the kit button to return to the Low Power/MCU Active state.
    Observe that the is blinking slowly again.
  9. Press the kit button for at least two seconds and release it.
    Observe that the LED is OFF and that the current consumption has dropped to a few microamperes.
    The device is in deep sleep state at this moment.
  10. Quickly press the user button and return to the Low Power/MCU Active state.
    Observe that the LED blinks slowly again and that the current consumption has increased to the same level measured before.

 

I recorded the current twice, with a EEVBlog µCurrent, and with a Keithley DMM6500. Here are the measurements.

 

StepPower modeCurrent
1Normal Power MCU Active12 mA
2Normal Power MCU Sleep7 mA
3= 112 mA
4Deep Sleep22 µA
5= 112 mA
6Low Power MCU Active6 mA
7Low Power MCU Sleep4 mA
8= 66 mA
9= 422 µA
10

= 6

6 mA

 

Below is the results of the capture .

The red lines are overflow readings caused by the pullup current when pushing the button.

image

 

I have attached a spreadsheet with the measurements to the bottom of the post.

 

image

 

 

PSoC 6 series
Create a Project with its own Board- and Module configurations
Low Power Management - prepare the board for current measurements
Power consumption without WiFi or Bluetooth
Create a FreeRTOS 10.3 Project
UART receiver with FreeRTOS
FreeRTOS message queue
UART receiver with FreeRTOS - Deep Sleep support
Attachments:
defbuffer1_0220_000504.xlsxdefbuffer1_0220_000504.xlsx
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 4 years ago +1
    This is a profile when using CapSense in a low power design: The system, when it notices there is no interaction with the capacitive sensors, goes to a low energy level. When you touch the cap sense slider…
  • Jan Cumps
    Jan Cumps over 4 years ago

    This is a profile when using CapSense in a low power design:

     

    image

    The system, when it notices there is no interaction with the capacitive sensors, goes to a low energy level.

    When you touch the cap sense slider, the controller wakes up and handles the movements.

    When you stop interacting, it goes a level down, and after an extra level down in energy consumption.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 4 years ago

    Nice update on the various power states.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube