AVR32

From HandWiki
AVR32
ATMEL AVR32.jpg
DesignerAtmel
Bits32-bit
VersionRev 2
DesignRISC
EncodingVariable
EndiannessBig
ExtensionsJava virtual machine
Registers
15

AVR32 is a 32-bit RISC microcontroller architecture produced by Atmel. The microcontroller architecture was designed by a handful of people educated at the Norwegian University of Science and Technology, including lead designer Øyvind Strøm and CPU architect Erik Renno in Atmel's Norwegian design center.

Most instructions are executed in a single-cycle. The multiply–accumulate unit can perform a 32-bit × 16-bit + 48-bit arithmetic operation in two cycles (result latency), issued once per cycle.

It does not resemble the 8-bit AVR microcontroller family, even though they were both designed at Atmel Norway, in Trondheim. Some of the debug-tools are similar.

Support for AVR32 has been dropped from Linux as of kernel 4.12;[1] Atmel has switched mostly to M variants of the ARM architecture.

Architecture

The AVR32 has at least two micro-architectures, the AVR32A and AVR32B. These differ in the instruction set architecture, register configurations and the use of caches for instructions and data.[2]

The AVR32A CPU cores are for inexpensive applications. They do not provide dedicated hardware registers for shadowing the register file, status and return address in interrupts. This saves chip area at the expense of slower interrupt-handling.

The AVR32B CPU cores are designed for fast interrupts. They have dedicated registers to hold these values for interrupts, exceptions and supervisor calls. The AVR32B cores also support a Java virtual machine in hardware.[3]

The AVR32 instruction set has 16-bit (compact) and 32-bit (extended) instructions, similar to e.g. some ARM, with several specialized instructions not found in older ARMv5 or ARMv6 or MIPS32. Several U.S. patents are filed for the AVR32 ISA and design platform.

Just like the AVR 8-bit microcontroller architecture, the AVR32 was designed for high code density (packing much function in few instructions) and fast instructions with few clock cycles. Atmel used the independent benchmark consortium EEMBC to benchmark the architecture with various compilers and consistently outperformed both ARMv5 16-bit (Thumb) code and ARMv5 32-bit (ARM) code by as much as 50% on code-size and 3× on performance.[citation needed]

Atmel says the "picoPower" AVR32 AT32UC3L consumes less than 0.48 mW/MHz in active mode, which it claimed, at the time, used less power than any other 32-bit CPU.[4] Then in March 2015, they claim their new Cortex-M0+-based microcontrollers, using ARM Holdings' ARM architecture, not their own instruction set, "has broken all ultra-low power performance barriers to date."[5]

Implementations

The AVR32 architecture was used only in Atmel's own products. In 2006, Atmel launched the AVR32A: The AVR32 AP7 core, a 7-stage pipelined, cache-based design platform.[3] This "AP7000" implements the AVR32B architecture, and supports a hardware FPU, SIMD (single instruction multiple data) DSP (digital signal processing) instructions to the RISC instruction-set, in addition to Java hardware acceleration. It includes a Memory Management Unit (MMU) and supports operating systems like Linux. In early 2009, the rumored AP7200 follow-on processor was held back, with resources going into other chips.

In 2007, Atmel launched the second AVR32: The AVR32 UC3 core. This is designed for microcontrollers, using on-chip flash memory for program storage and running without an MMU (memory management unit). The AVR32 UC3 core uses a three-stage pipelined Harvard architecture specially designed to optimize instruction fetches from on-chip flash memory.[6] The AVR32 UC3 core implements the AVR32A architecture. It shares the same instruction set architecture (ISA) as its AP7 sibling, but differs by not including the optional SIMD instructions or Java support. The FPU instruction set is optional, and was not implemented in the initial families of UC3 microcontrollers. It shares more than 220 instructions with the AVR32B. The ISA features atomic bit manipulation to control on-chip peripherals and general purpose I/Os and fixed point DSP arithmetic.

Both implementations can be combined with a compatible set of peripheral controllers and buses first seen in the AT91SAM ARM-based platforms. Some peripherals first seen in the AP7000, such as the high speed USB peripheral controller, and standalone DMA controller, appeared later in updated ARM9 platforms and then in the ARM Cortex-M3 based products.

Both AVR32 cores include a Nexus class 2+ based On-Chip Debug framework build with JTAG.

The UC3 C core, announced at the Electronica 2010 in Munich Germany on November 10, 2010, was the first member of the UC3 family to implement FPU support.[7]

Devices

AP7 core

On April 10, 2012 Atmel announced the End of Life of AP7 Core devices from April 4, 2013.[8]

UC3 core

If the devicename ends in *AU this is an Audio version, these allow the execution of Atmel licensed Audio firmware IPs.

If the devicename ends in *S it includes an AES Crypto Module.

A0/A1 Series – devices deliver 91 Dhrystone MIPS (DMIPS) at 66 MHz (1 flash wait-state) and consume 40 mA @66 MHz at 3.3 V.
A3/A4 Series – devices deliver 91 Dhrystone MIPS (DMIPS) at 66 MHz and consume 40 mA @66 MHz at 3.3 V.
B Series – deliver 72 Dhrystone MIPS (DMIPS) at 60 MHz and consume 23 mA @66 MHz at 3.3V.
C Series – devices deliver 91 Dhrystone MIPS (DMIPS) at 66 MHz and consume 40 mA @66 MHz at 3.3 V.

D Series – The low-power UC3D embeds SleepWalking technology that allows a peripheral to wake the device from sleep mode.

L Series – deliver 64 Dhrystone MIPS (DMIPS) at 50 MHz and consume 15 mA @50 MHz at 1.8 V.

Boards

Atmel EVK1100 Development Board

See also

References

  1. "avr32: remove support for AVR32 architecture". https://github.com/torvalds/linux/commit/26202873bb51fafdaa51be3e8de7aab9beb49f70. 
  2. "AVR32 Architecture Document". Atmel. http://www.atmel.com/dyn/resources/prod_documents/doc32000.pdf. 
  3. 3.0 3.1 "AVR32 AP Technical Reference Manual". Atmel. http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf. 
  4. "Proven, Innovative Microcontroller Technologies with Low Power and High Performance" (Press release). Atmel Introduces AVR32 Microcontroller which Lowers Industry's Best Power Consumption by 63%; picoPower AVR32 AT32UC3L Microcontroller offers less than 0.48 mW/MHz Active and below 100 nA Sleep Mode
  5. "SAM L family now the world's lowest power ARM Cortex-M based solution". March 30, 2015. http://blog.atmel.com/2015/03/30/sam-l-family-now-the-worlds-lowest-power-arm-cortex-m-based-solution/. "These Cortex-M0+-based MCUs can maintain system functionality, all while consuming just one-third the power of comparable products on the market today. This device delivers ultra-low power running down to 35μA/MHz in active mode, consuming less than 900nA with full 32kB RAM retention.[..]
    "In Atmel's announcement last year for the company's SAM L21 family, I had pointed out the amazingly low current consumption ratings for both the active and sleep mode operation of this product family – now I can confirm this opinion with concrete data derived from the EEMBC ULPBench," explained Markus Levy, EEMBC President and Founder. "Atmel achieved the lowest power of any Cortex-M based processor and MCU in the world because of its patented ultra-low power picoPower technology. These ULPBench results are remarkable, demonstrating the company's low-power expertise utilizing DC-DC conversion for voltage monitoring, as well as other innovative techniques."
    While running the EEMBC ULPBench, the SAM L21 achieves a staggering score of 185, the highest publicly-recorded score for any Cortex-M based processor or MCU in the world — and significantly higher than the 167 and 123 scores announced by other vendors. The SAM L21 family consumes less than 940nA with full 40kB SRAM retention, real-time clock and calendar and 200nA in the deepest sleep mode."
     
  6. "AVR32UC Technical Reference Manual". Atmel. http://atmel.com/dyn/resources/prod_documents/doc32002.pdf. 
  7. "Atmel Introduces First 32-bit AVR Microcontroller Featuring Floating Point Unit". Atmel. http://www.atmel.com/dyn/products/view_detail.asp?FileName=Atmel_Introduces_First_32-bit_AVR_Microcontroller_UC3.html&family_id=607. 
  8. "Smart | Connected | Secure | Microchip Technology". http://www.atmel.com/About/Quality/obsolescence/obsolete_items.aspx?searchText=ap7. 

External links