Tag Archives: coremark

Atmel’s SAM4S clinches highest CoreMark/MHz scores

Atmel’s SAM4S MCU lineup – which clocks in at a top speed of 120MHz+ – is based on ARM’s Cortex-M4 core. The microcontroller series integrates a Flash read accelerator along with cache memory to increase system performance. Additional key specs include a multi-layer bus matrix, multi-channel direct memory access (DMA) and distributed memory to facilitate high data rate communication.

Recently, the EEMBC (Embedded Microprocessor Benchmark Consortium) certified five SAM4S MCU benchmark scores running a version of CoreMark compiled using the IAR Embedded Workbench for ARM version 6.50. As it turns out, Atmel’s SAM4S MCUs racked up the highest CoreMark/MHz for any Cortex-M microcontroller submitted to date.

“The CoreMark benchmark is designed to measure the performance of the processor core alone,” Atmel engineering rep Brian Hammill told Bits & Pieces.

“While the CoreMark may not always convey how well a particular part will perform in a specific application, it does offer an accurate test of core performance and efficiency. As such, CoreMark can be used to understand how the performance of a particular MCU and compiler combination compares to others.”

According to Hammill, the Atmel scores are particularly significant as they illustrate the overall efficiency of the Cortex-M4 cache implemented on the SAM4SA16 and SAM4SD32, as well as the optimized performance of the IAR Embedded Workbench version (6.50).

“Looking at the Atmel SAM4SD32CAU, we see the CoreMark for the IAR EWARM 6.50 was run at both 21 MHz and 123 MHz. If we run the EEMBC CoreMark report or export the data to Excel, here is what we see:

coremarkatmelscores

“As expected, the CoreMark scores are much higher at the faster clock speed. But what is most significant is the difference in the CoreMark/MHz scores. Notice that the 21 MHz CoreMark memory configuration is zero wait states. The memory configuration for the 123 MHz CoreMark is 5 wait states but with prefetch and cache enabled. You see a small difference in the CoreMark/MHz scores between the 21 and 123 MHz benchmarks.”

Why? Well, as Hammill, notes, if you had a perfect zero wait state memory or cache system, the exact same CoreMark/MHz would be returned regardless of the speed.

“Of course it is to be expected that the cache helps – but does not completely cover the wait states of Flash. However, the small difference between 3.32 CoreMark/Mhz at 123 MHz and 3.38 CoreMark/ MHz illustrates Atmel’s SAM4SD32CAU device has a very good implementation of cache and prefetch,” he explained.

atmelcoremark2

“Indeed, if the Atmel cache and prefetch weren’t optimized, you would expect to see a much larger difference in the CoreMark/MHz scores. I would also like to note that the Atmel SAM4SD32CAU require 5 wait states in flash to run at 123 MHz – but with very slight performance penalty as indicated by the CoreMark/MHz scores.”

atmelcoremark1

CoreMark – written in C – was developed in 2009 by Shay Gal-On at EEMBC and contains implementations of numerous algorithms. These include list processing (find and sort), Matrix (mathematics) manipulation (common matrix operations), state machine (determine if an input stream contains valid numbers) and CRC. Like any benchmark, the EEMBC CoreMark clearly isn’t perfect, although it is certainly a fair assessment of overall performance, as well as the core and memory efficiency of a specific processor.

Building a GPS tracker with Atmel’s SAM D20 MCU

A GPS tracking unit uses the Global Positioning System to determine and record the precise location of a vehicle, device or individual. Key design requirements for a GPS tracker include a small form factor, low power consumption and flexible connectivity options.

Atmel’s recently launched SAM D20 ARM Cortex-M0+ based MCU can be used to power such a device, taking all of the above-mentioned design requirements into account.

“The SAM D20 MCU – embedded with serial communication modules (SERCOM) and low power consumption – provides the flexibility, connectivity and low power required for GPS tracker applications,” Atmel engineering manager Bob Martin told Bits & Pieces.

“How low is low in terms of power consumption? Well, we are talking about <150µA/MHz in active (CoreMark) and <2µA with RTC and full RAM retention. Meanwhile, the peripheral event system and intelligent peripherals with Atmel SleepWalking technology further reduce CPU activity and power consumption.”

Martin also noted that the SAM D20 MCU offers design engineers 6 highly flexible serial communication modules (SERCOM), each configurable to operate as USART, I2C and SPI – thereby facilitating easy and flexible connection to external sensors, memories, PCs and wireless modules.

As expected, Atmel supports a wide range of dev tools and software, including Atmel Studio 6 (free IDE with GCC compiler), Atmel Software Framework (free SW libraries of production ready source code), Atmel Gallery (open to extensions) and the SAM D20 Xplained Pro Kit which is packaged with programmer and debugger, as well as connectors for expansion wings.

Intelligent MCUs for Low Power Designs

By Florence Chao, Senior Field Marketing Manager, MCU Business Development

Industrial and consumer devices using ARM® Cortex®-M4

Industrial and consumer devices using ARM® Cortex®-M4

Blood glucose meters, sport watches, game controllers and accessories, guess what they all have in common. Yes, like a lot of other industrial and consumer devices, they run on batteries and demand long or extended battery life. As an engineer, this translates into a key challenge when designing an embedded computing system. You need a central heart—in this case a microcontroller—that consumes as little power as possible in both active and static modes yet doesn’t sacrifice performance.  The Atmel® SAM4L ARM® Cortex®-M4 based series is designed with this in mind.

The SAM4L microcontroller redefines low power, delivering the lowest power consumption in its class in active mode (90uZ/MHz) as well as in static mode with full RAM retention running. It also delivers the shortest wake-up time (1.5us). At the same time, this is the most efficient microcontroller available today, achieving up to 28 CoreMark/mA.

The SAM4L series integrates Atmel’s proprietary picoPower® technology

The SAM4L series integrates Atmel’s proprietary picoPower® technology

The SAM4L series integrates Atmel’s proprietary picoPower® technology, which ensures the devices are developed from the ground up—from transistor design to clocking options—to consume as little power as possible. In addition, Atmel Sleepwalking technology allows the peripherals to make intelligent decisions and wake up the system upon qualifying events at the peripheral level.

In this video, you will see how the SAM4L microcontroller supports multiple power configurations to allow the engineer to optimize its power consumption in different use cases. You will also see another good feature of the SAM4L series, Power Scaling, which is a technique to adjust the internal regulator output voltage to further reduce power consumption provided by the integrated Backup Power Manager Module. In addition, the SAM4L series comes with two regulator options to supply system power based on the application requirement. While the buck/switching regulator delivers much higher efficiency and is operational from 2 to 3.6V. The linear regulator has higher noise immunity and operates from 1.68 to 3.6V.

The Atmel® SAM4L ARM® Cortex®-M4 based Microcontroller

The Atmel® SAM4L ARM® Cortex®-M4 based Microcontroller

It’s all about system intelligence and conserving energy. Simply put, the SAM4L microcontroller is your choice if you are designing a product that requires long battery life but you don’t want to sacrifice performance.  To get started, learn more about Atmel SAM4L Xplained Pro Evaluation and Starter Kits.

What’s new in Atmel’s ARM MCU? picoPower!!

The SAM4L it is the first ARM device to feature Atmel’s picoPower technology, and takes low power to a new level.   There are many different characteristics that make a low power device; foremost it is the active power, the wake-up time and sleep mode power consumption. For the SAM4L, this can go down to 90 µA/MHz in active, down to 700 nA in sleep mode and down to 1.5 µs wake-up. Additionally the Cortex-M4 and Atmel’s fast flash technology allows your application to spend a shorter amount of time in active and spend more time in low power modes. All of this significantly reduces the total power consumption for your application.

picopower explained

Atmel SAM4L MCUs redefine the power benchmark, delivering the lowest power in both active (90uA/MHz) and sleep
modes (1.5uA with full random access memory (RAM) retention and 700nA in backup mode). They are the most efficient
MCUs available today, achieving up to 28 CoreMark™/mA using the IAR Embedded Workbench, version 6.40.

Check out this video for more information about picoPower in the SAM4L.  Also, please be sure to follow us on this blog to learn more on how these ARM devices become so power conscious and other neat application tutorials.  Or share, collaborate, and innovate with the other tens of thousands of engineers/builders in the vibrant AT91 community.