环球电气之家-午夜精彩视频-中国专业电气电子产品行业服务网站!

產(chǎn)品分類

當(dāng)前位置: 首頁(yè) > 工業(yè)電子產(chǎn)品 > 半導(dǎo)體產(chǎn)品 > 微處理器MPU > Cortex

類型分類:
科普知識(shí)
數(shù)據(jù)分類:
Cortex

Energy Micro’s Wonder Geckos Extend Cortex-M4 Designs

發(fā)布日期:2022-05-30 點(diǎn)擊率:88

       
Cell phones have created a headache for engineers. Consumers have come to expect high-speed, high-resolution, fully-featured devices that will work all day off a tiny battery. This is an unreasonable expectation, but it is one now shared across the consumer, industrial, and medical industries. More than an expectation, it is now a design requirement.

The answer to achieving that starts at the architectural level, and to that end more and more embedded devices today are based on the ARM? Cortex?-M series of processor cores. Low-power MCU vendor Energy Micro, now part of Silicon Labs, has based their whole 32-bit MCU product line around the Cortex-M series architecture, ranging from the Cortex-M0-based Zero and Tiny Geckos; to the Cortex-M3-based Gecko, Leopard, and Giant Geckos; to the Cortex-M4-based Wonder Gecko. These are well-ARMed little Geckos.

Energy Micro's EFM32WG-STK3800 Wonder Gecko Starter Kit takes a 48 MHz ARM Cortex-M4 core with FPU and DSP extensions and surrounds it with a host of sensors and other peripherals (Figure 1). In this article, we will install the kit and all the software tools and then use the energy profiler to explore the capabilities of EFM32?WG series MCUs.

Silicon Labs EFM32 Wo<em></em>nder Gecko architecture


Figure 1: EFM32 Wonder Gecko architecture (Courtesy of Silicon Labs).

The ARMs race

With so many vendors standardizing on the ARM architecture, there would seem to be limited room for product differentiation, but that is definitely not the case. For starters, Energy Micro’s EFM32 Wonder Geckos add all the Cortex–M4 options: a single-precision floating point unit (FPU); DSP extensions; and an eight-region memory protection unit (MPU). In addition, the EFM32WG990F256 that is included in the starter kit comes with 256 Kbytes of Flash, 32 Kbytes of RAM, an integrated LCD controller, 12-bit ADC, 12-bit DAC, hardware AES encryption, 12-channel DMA controller, and the list goes on. Basically the Wonder Gecko is a full-featured high-end Cortex-M4.

A key differentiator is Energy Micro’s detailed focus on low power, which usually takes a backseat to speed and functionality in Cortex-M4 designs. Wonder Geckos have five operating modes (Figure 2):

  • Run Mode (EM0): Current consumption is 160 μA/MHz.

  • Sleep Mode (EM1): Current consumption is 45 μA/MHz.

  • Deep-Sleep Mode (EM2): Current consumption is 900 nA and wakeup time to EM0 is 2 μs.

  • Stop Mode (EM3): Current consumption is 600 nA and wakeup time to EM0 is 2 μs.

  • Shutoff Mode (EM4): Current consumption is 20 nA and wakeup time to EM0 is 160 μs.

Silicon Labs EFM32 energy modes


Figure 2: EFM32 energy modes (Courtesy of Silicon Labs).

With low-power sensor applications in mind, Wonder Geckos include a Low-Energy Sensor Interface (LESENSE) that provides a configurable and energy-efficient way of controlling up to 16 external analog sensors without involving the CPU. This generic low-energy sensor interface works in the 900 nA deep-sleep mode and enables autonomous monitoring of virtually any type of analog sensor control scheme including capacitive, inductive, and resistive sensors. LESENSE can be set up to monitor sensor values and take action via the peripheral reflex system (PRS) to either pass this information along to other peripherals or wake up the CPU only if programmable thresholds are exceeded, therefore avoiding recurring, energy-wasting CPU wake-ups (Figure 3).

Silicon Labs EFM32 Low-Energy Sensor Interface


Figure 3: EFM32 Low-Energy Sensor Interface (LESENSE) (Courtesy of Silicon Labs).

The Peripheral Reflex System in EFM32 MCUs makes it possible to directly connect one peripheral to another without involving the CPU. Using the PRS, a peripheral can produce signals which other peripherals can consume, instantly reacting to events while the CPU is sleeping. For example, the ADC could wake up periodically, sample input from a sensor, detect whether it is within certain parameters, and only wake the CPU if further processing is needed. The PRS minimizes the amount of time the CPU spends in active mode, which can greatly reduce the overall energy profile of an application.

Checking out the starter kit

The EFM32 Wonder Gecko Starter Kit provides a convenient platform for evaluating the capabilities of EFM32WG MCUs in a variety of applications using the onboard light, L/C, and touch sensors. The LESENSE demo is especially interesting, since it takes advantage of the advanced energy-monitoring system and Simplicity Studio's outstanding energy-aware profiler software.

The Advanced Energy Monitor (AEM) uses two current-sense amplifiers to measure the voltage drop over a small series resistor in the supply line; it then translates that into a current rating that is displayed by the energy-aware profiler. Each amplifier is adjusted for current measurement in a specific range; together they are able to measure currents ranging from 0.1 μA to 250 mA, a 114 dB dynamic range. Each time the kit is started up, the AEM is automatically calibrated, compensating for the offset error in the sense amplifiers.

The kit includes the board; IAR Systems Embedded Workbench for Energy Micro; a 30-day evaluation version of Atollic? TrueSTUDIO? for ARM, a C/C++ compiler, and debugger development suite for ARM MCUs; and the usual USB cable.

There is no setup involved with the board, but downloading and setting up all the software can take a while. First you need to download Energy Micro's Simplicity Studio from the company’s website. Simplicity Studio contains numerous tools including energyAware Battery, energyAware Commander, energyAware Designer, and energyAware Profile, this last item by itself being worth the price of admission. Also included are reference manuals, datasheets, API documentation, application notes, kit documentation, and numerous other resources. Simplicity Studio also contains example code for all Energy Micro kits, though it relies on third-party compilers and linkers to generate the object code that the energyAware profiler in turn analyzes and graphically displays. Next I installed IAR embedded workbench from the CD-ROM that comes with the kit. When you do this you have a choice between the code limited (32K) version or a time-limited (30-day) full version. I chose the latter to be able to take advantage of the 256 Kbytes of onboard RAM.

Running the various demo programs could not be easier. Start Simplicity Studio, click on the Demo icon, and you have a choice of 30 demo programs. Double-click on any one of them to download a binary image to the MCU and start running the program. The energyAware Profiler automatically starts up, giving you a real-time graphical indication of the current drain as well as the contribution that each code module is making to the power profile.

Working with the code takes a bit more effort. Click on Examples in Simplicity Studio, select the kit, and then the program you wish to examine. Clicking on Source and Simplicity passes this information to Embedded Workbench, which displays the project files in its source browser. Alternatively, you can skip Simplicity Studio and start Embedded Workbench instead, selecting the appropriate project from the Example Projects button on the Information Center screen. once in Embedded Workbench, make the project, click the Download/Debug button, then press Go to run the program.

While you can debug the program in Embedded Workbench, you need to run Simplicity Studio separately in order to monitor its operation. Having first built the touchscreen program in Embedded Workshop, I then opened the energyAware Profiler from Simplicity Studio, selected Wonder Gecko, selected Ffile/Load Object File, and clicked on the Run icon. As I drew my finger across the touchscreen interface I could watch the current consumption go from approximately 1 μA in deep-sleep mode (spec = 900 nA) to about 7 mA in active mode (160 μA/MHz x 48 MHz). Checking the energy profile, LCD_SyncBusyDelay was consuming 87 percent of the energy and CAPLESENSE_getSliderPosition only 5 percent (Figure 4 and the accompanying photo). With one code module consuming 90 percent of the energy, this is the first place I would look to see how to make the code more efficient.

EnergyAware Profiler


Figure 4: EnergyAware Profiler tracking the touchscreen program.

Energy Micro Wo<em></em>nder Gecko Starter Kit


Summary

The Energy Micro Wonder Gecko Starter Kit provides a flexible platform for exploring the capabilities of a fast Cortex-M4 MCU that manages to retain very impressive low-power credentials. The energy-profiling software in particular gives embedded developers considerable insight into the trade-offs required in optimizing code performance on a granular level.

For more information on the parts discussed in this article, use the links provided to access product information pages on the Digi-Key website.

下一篇: 斷路器、隔離開關(guān)、接

上一篇: 索爾維全系列Solef?PV

推薦產(chǎn)品

更多
主站蜘蛛池模板: 七维官网-水性工业漆_轨道交通涂料_钢结构漆 | 北京租车牌|京牌指标租赁|小客车指标出租 | 免联考国际MBA_在职MBA报考条件/科目/排名-MBA信息网 | 杭州翻译公司_驾照翻译_专业人工翻译-杭州以琳翻译有限公司官网 组织研磨机-高通量组织研磨仪-实验室多样品组织研磨机-东方天净 | 上海电子秤厂家,电子秤厂家价格,上海吊秤厂家,吊秤供应价格-上海佳宜电子科技有限公司 | 品牌策划-品牌设计-济南之式传媒广告有限公司官网-提供品牌整合丨影视创意丨公关活动丨数字营销丨自媒体运营丨数字营销 | 懂研帝_专业SCI论文润色机构_SCI投稿发表服务公司 | 辊道窑炉,辊道窑炉厂家-山东艾希尔 | 电动不锈钢套筒阀-球面偏置气动钟阀-三通换向阀止回阀-永嘉鸿宇阀门有限公司 | 佛山市德信昌电子有限公司| 厂厂乐-汇聚海量采购信息的B2B微营销平台-厂厂乐官网 | 洗地机-全自动/手推式洗地机-扫地车厂家_扬子清洁设备 | 众品地板网-地板品牌招商_地板装修设计_地板门户的首选网络媒体。 | 禹城彩钢厂_钢结构板房_彩钢复合板-禹城泰瑞彩钢复合板加工厂 | 宝鸡市人民医院| 湿地保护| 一体化净水器_一体化净水设备_一体化水处理设备-江苏旭浩鑫环保科技有限公司 | 论文查重_免费论文查重_知网学术不端论文查重检测系统入口_论文查重软件 | 单电机制砂机,BHS制砂机,制沙机设备,制砂机价格-正升制砂机厂家 单级/双级旋片式真空泵厂家,2xz旋片真空泵-浙江台州求精真空泵有限公司 | 云南丰泰挖掘机修理厂-挖掘机维修,翻新,再制造的大型企业-云南丰泰工程机械维修有限公司 | 英国公司注册-新加坡公司注册-香港公司开户-离岸公司账户-杭州商标注册-杭州优创企业 | 棕刚玉-白刚玉厂家价格_巩义市东翔净水材料厂 | 国产离子色谱仪,红外分光测油仪,自动烟尘烟气测试仪-青岛埃仑通用科技有限公司 | 防渗土工膜|污水处理防渗膜|垃圾填埋场防渗膜-泰安佳路通工程材料有限公司 | 济南律师,济南法律咨询,山东法律顾问-山东沃德律师事务所 | 连续密炼机_双转子连续密炼机_连续式密炼机-南京永睿机械制造有限公司 | 回转炉,外热式回转窑,回转窑炉-淄博圣元窑炉工程有限公司 | 除尘器布袋骨架,除尘器滤袋,除尘器骨架,电磁脉冲阀膜片,卸灰阀,螺旋输送机-泊头市天润环保机械设备有限公司 | 智成电子深圳tdk一级代理-提供TDK电容电感贴片蜂鸣器磁芯lambda电源代理经销,TDK代理商有哪些TDK一级代理商排名查询。-深圳tdk一级代理 | 熔体泵_熔体出料泵_高温熔体泵-郑州海科熔体泵有限公司 | 鲁尔圆锥接头多功能测试仪-留置针测试仪-上海威夏环保科技有限公司 | 12cr1mov无缝钢管切割-15crmog无缝钢管切割-40cr无缝钢管切割-42crmo无缝钢管切割-Q345B无缝钢管切割-45#无缝钢管切割 - 聊城宽达钢管有限公司 | 单螺旋速冻机-双螺旋-流态化-隧道式-食品速冻机厂家-广州冰泉制冷 | 盐水蒸发器,水洗盐设备,冷凝结晶切片机,转鼓切片机,絮凝剂加药系统-无锡瑞司恩机械有限公司 | 薄壁轴承-等截面薄壁轴承生产厂家-洛阳薄壁精密轴承有限公司 | 自动售货机_无人售货机_专业的自动售货机运营商_免费投放售货机-广州富宏主官网 | 警方提醒:赣州约炮论坛真的安全吗?2025年新手必看的网络交友防坑指南 | 贵州自考_贵州自学考试网| 精益专家 - 设备管理软件|HSE管理系统|设备管理系统|EHS安全管理系统 | 涂层测厚仪_漆膜仪_光学透过率仪_十大创新厂家-果欧电子科技公司 | 全自动包衣机-无菌分装隔离器-浙江迦南科技股份有限公司 |