Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading...

37
1 © 2014 Atmel Confidential 1 2014 ARM Tech Symposia Atmel | SMART Think Beyond the Core

Transcript of Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading...

Page 1: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

1 © 2014 Atmel Confidential1

2014 ARM Tech Symposia

Atmel | SMARTThink Beyond the Core

Page 2: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

2 © 2014 Atmel Confidential

Let’s Make a Microcontroller…

Page 3: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

3 © 2014 Atmel Confidential

Start With a Core…

Page 4: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

4 © 2014 Atmel Confidential

ARM Cortex-M0+ Use Case

Page 5: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

5 © 2014 Atmel Confidential

Add the bare necessities…

ProtectionPOR, WDT, BOD

Memories

Timers/Counters

CommunicationPeripherals

Page 6: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

6 © 2014 Atmel Confidential

• Add the things you do not have to have in a micro

• ADC

• DAC

• Analog Comparators

• DMA

• Higher end peripherals

• USB

• Ethernet

• Portability

• …

• ..

How Do You Differentiate

Page 7: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

7 © 2014 Atmel Confidential

How Do You Differentiate

ProtectionPOR, WDT, BOD

Memories

Timers/Counters

CommunicationPeripherals

ADC, DAC, AC

DMA

USB

Page 8: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

8 © 2014 Atmel Confidential

And then….

ProtectionPOR, WDT, BOD

Memories

Timers/Counters

CommunicationPeripherals

ADC, DAC, AC

DMA

USB

Better

Faster Wakeup

Enhanced PWM

Fully Flexible

Smarter!

Advanced triggers

No Xtal

Custom Periph.

Page 9: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

9 © 2014 Atmel Confidential

And then….

ProtectionPOR, WDT, BOD

Memories

Timers/Counters

CommunicationPeripherals

ADC, DAC, AC

DMA

USB

Better

Enhanced PWM

Fully Flexible

Smarter!

Advanced triggers

No XtalAdvanced Clocking and

Power Management

Offload CPU with Innovative peripherals

Faster Wakeup

Custom Periph.

Page 10: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

10 © 2014 Atmel Confidential

Think Beyond The Core….

A Cortex M0+ MCU is NOT just a Cortex M0+ MCU

Page 11: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

11 © 2014 Atmel Confidential

• DMA

• Well known technology to offload CPU from data transfer operations

• Performance and cost options

• Basic

• Dedicated channel per DMA request

• Control registers appear interleaved with register map in peripheral

• Simple transfer and ring buffer supported

• Simple implementation with low baseline cost for a few channels

• Higher performance option

• Generic DMA for peripheral-memory / memory-memory transfers

• Descriptor support for complex transfers

• Muxed channels between peripherals

• QoS support

• Medium initial cost, but low cost per added channel

Offloading the CPU - DMA

Page 12: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

12 © 2014 Atmel Confidential

Offloading the CPU - Peripheral Co-operation

The Peripheral Event System

Page 13: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

13 © 2014 Atmel Confidential

CPU

Page 14: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

14 © 2014 Atmel Confidential

CPU

• Timer starts DAC conversion

Page 15: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

15 © 2014 Atmel Confidential

CPU

• Timer starts DAC conversion

Page 16: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

16 © 2014 Atmel Confidential

CPU

• Timer starts DAC conversion• Analog Comparator stops PWM

Page 17: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

17 © 2014 Atmel Confidential

CPU

• Timer starts DAC conversion• Analog Comparator stops PWM

Page 18: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

18 © 2014 Atmel Confidential

• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp

CPU

Page 19: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

19 © 2014 Atmel Confidential

CPU

• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp• …

Page 20: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

20 © 2014 Atmel Confidential

CPU

Overload

• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp• …

Page 21: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

21 © 2014 Atmel Confidential

Atmel

Solution

Page 22: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

22 © 2014 Atmel Confidential

Atmel

Page 23: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

23 © 2014 Atmel Confidential

Atmel

Page 24: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

24 © 2014 Atmel Confidential

Atmel

Page 25: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

25 © 2014 Atmel Confidential

Atmel

Page 26: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

26 © 2014 Atmel Confidential

Atmel

Page 27: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

27 © 2014 Atmel Confidential

Atmel

Page 28: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

28 © 2014 Atmel Confidential

• Inter-peripheral Communication

• CPU independent

• Eight independent channels

• Synchronous and Asynchronous

• Latency-free Event Handling

• Safe fault protection

• 100% predictable reaction time

• Advantages

• Accurate timing

• Efficiently offloading CPU

• Reduced power consumption

Offloading the CPU - Peripheral Co-operation

The Peripheral Event System

Page 29: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

29 © 2014 Atmel Confidential

• Hardwired co-operation from IO, TC, RTC can trigger ADC event

• Programmable system connecting most peripherals

How Far Do You Want to Take It?

Page 30: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

30 © 2014 Atmel Confidential

Offloading the CPU - Clock On Demand

Atmel Sleep walking

t

W

Standard

RTC + LCD

Active

RTC + LCD

Active Active

CPU wakes andrun AC. Result< thresold, goesback to sleep

2

RTC

AC

CPU

RAMLCD

CPU

Write messageon LCD

5

RTC

AC

CPU

LCD

3

RTC

ADC

CPU

RAMLCD

CPU

AC

RTC wakes-upCPU

CPU wakes andrun AC. Result> thresold.

4

RTC

AC

CPU

RAMLCD

CPURTC

ADC

CPU

RAMAC LCD

CPU

RTC wakes-upCPU

1

Page 31: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

31 © 2014 Atmel Confidential

RTC

ADC

CPU

RAMAC LCD

CPU

RTC wakes ACto measure temperature

1

Temperaturebelow threshold: Return to sleep

2

RTC

AC

CPU

LCD

CPU

Temperatureabove threshold:Wakes-up CPU

4

RTC

AC

CPU

RAMLCD

CPU

Active mode

5

RTC

AC

CPU

LCD

3

RTC

ADC

CPU

LCD

CPU

AC

RTC wakes ACto measure temperature

Offloading the CPU - Clock On Demand

Atmel Sleep walking

t

W

Standard Smart perhipherals

RTC + LCD

Active

RTC + LCD

Active Active

RTC + LCDRTC + LCD + AC

RTC + LCDRTC + LCD + AC

Active

Reduces power consumption by 57%

Page 32: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

32 © 2014 Atmel Confidential

Offloading the CPU – Custom Peripherals

The Atmel Peripheral Touch Controller (PTC)

• Any MCU can do Capacitive Touch Detection

• Traditionally based on firmware only, or combination of firmware and hardware

• The PTC handle the touch acquisition in HW

• Based on Atmels MaxTouch technology

• Self-(re)calibrating, no tuning needed

• No external components needed

• Application benefits:

• Power consumption <1/10th of trad. approach

• Significantly offloading the CPU

Page 33: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

33 © 2014 Atmel Confidential

Thinking Beyond The Silicon...

Page 34: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

34 © 2014 Atmel Confidential

Tools and Ecosystem

Complete Integrated Development Tools Platform

Atmel GalleryAtmel Software Framework

Atmel Studio 6

Embedded Software

Development Tools

App Store

Xplained Pro

Hardware Tools and Kits

Common platform for 8- and 32-bit

development

Page 35: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

35 © 2014 Atmel Confidential

Complimentary product Offering

Supported by both 8- and 32- bit Atmel MCUs

Capacitive Touch Sensing

Authentication and SecurityWireless Solutions

Application Specific

Page 36: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

36 © 2014 Atmel Confidential

• Bolting on standard peripherals to a standard core will not get you an interesting product

• Add SMARTNESS to the entire product, not just the Core

• Add FLEXIBILITY where you can

• OPTIMIZE away performance bottlenecks

• Device performance is much more than MCU core performance…

• Device selection is much more than MCU core selection…

• Selecting an MCU vendor is much more than selecting an MCU…

Summary

Page 37: Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading the CPU - Clock On Demand Atmel Sleep walking t W Standard RTC + LCD Active Active

37 © 2014 Atmel Confidential