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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Energy Harvesting Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Energy Harvesting Design Challenge
  • More
  • Cancel
Energy Harvesting Design Challenge
Blog Running EnergyMicro Software on Linux
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vsluiter
  • Date Created: 14 Apr 2013 9:31 AM Date Created
  • Views 756 views
  • Likes 1 like
  • Comments 3 comments
  • wuerth
  • energy_harvesting
  • efm32
  • energy_micro
  • energy_harvesting_challenge
  • efm32g990f1024
  • energy_harvesting_source
Related
Recommended

Running EnergyMicro Software on Linux

vsluiter
vsluiter
14 Apr 2013

As promised, here's a small video of the tool chain in action on Linux:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Used setup:

  • arm-none-eabi compiler chain
  • Files from EnergyMicro downloaded with Simplicity Studio; c code, CMSIS headers
  • Code::Blocks IDE, using files from energy micro
  • Programming through gdb is only possible when using the Segger JLink GDBServer. The gdbserver downloaded with Simplicity Studio will be able to debug, but can't program the EFM32GG990F1024 on the demo board
  • I set up code::blocks similar to the makefiles, the code::blocks project file is attached.

 

 

Big question to EFM32 experts: debugging current usage

When powering the EFM32 from the USB connector, I can monitor the current usage. When powering it from the energy harvesters, I can't. Anyone knows (not guesses, but knows) how the current measurement is performed? I guess I can find out by staring at schematics, application etcetera, but if any of the readers knows how it works, that could speed us all up quite a bit!

Attachments:
em_touch.cbp.zip
  • Sign in to reply
  • Former Member
    Former Member over 12 years ago

    Cool video! The SWO output is only needed for the code trace, not the actual current measurement. If you want to hear a little more about how the power measurement work and energyAware Profiler you can check out this introduction: http://www.energymicro.com/lizard-labs/energyaware-profiler

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vsluiter
    vsluiter over 12 years ago in reply to Former Member

    "Am I someone answering my own questions? Yes, I guess I am"

    Thanks for giving me that final nudge to look into the schematics. I looked them up in Simplicity Studio, and the current monitor is comprised of a 4R7 (Page 8 STK3700 schematic) resistor, sensed by an LTC6102 (I've used 6100's before, really nice.). The VMCU is connected to the expansion header, where the Energy Harvesting PCB is connected. There's also a calibration circuit to get some pre-defined loads, so patching to use it for the harvesting outputs may not be the wisest, better use the debugging power to design for energy usage, then connect the harvesters.

     

    I thought the SWO output was also necessary for current measurement (since it is mentioned in the eAProfiler, but apparently it is not for the current measurement.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Not sure if this helps but this is what I got from Lizard Lounge "The current measurements on the starterkit only measures the current from the 3.3V supply on the STK itself. Anders"

    • 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