Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading...
Transcript of Atmel | SMARTarmtechforum.com.cn/2014/bj/B-7_Atmel.pdf · 30 © 2014 Atmel Confidential Offloading...
1 © 2014 Atmel Confidential1
2014 ARM Tech Symposia
Atmel | SMARTThink Beyond the Core
2 © 2014 Atmel Confidential
Let’s Make a Microcontroller…
3 © 2014 Atmel Confidential
Start With a Core…
4 © 2014 Atmel Confidential
ARM Cortex-M0+ Use Case
5 © 2014 Atmel Confidential
Add the bare necessities…
ProtectionPOR, WDT, BOD
Memories
Timers/Counters
CommunicationPeripherals
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
7 © 2014 Atmel Confidential
How Do You Differentiate
ProtectionPOR, WDT, BOD
Memories
Timers/Counters
CommunicationPeripherals
ADC, DAC, AC
DMA
USB
…
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.
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.
10 © 2014 Atmel Confidential
Think Beyond The Core….
A Cortex M0+ MCU is NOT just a Cortex M0+ MCU
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
12 © 2014 Atmel Confidential
Offloading the CPU - Peripheral Co-operation
The Peripheral Event System
13 © 2014 Atmel Confidential
CPU
14 © 2014 Atmel Confidential
CPU
• Timer starts DAC conversion
15 © 2014 Atmel Confidential
CPU
• Timer starts DAC conversion
16 © 2014 Atmel Confidential
CPU
• Timer starts DAC conversion• Analog Comparator stops PWM
17 © 2014 Atmel Confidential
CPU
• Timer starts DAC conversion• Analog Comparator stops PWM
18 © 2014 Atmel Confidential
• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp
CPU
19 © 2014 Atmel Confidential
CPU
• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp• …
20 © 2014 Atmel Confidential
CPU
Overload
• Timer starts DAC conversion• Analog Comparator stops PWM• I/O starts ADC + time stamp• …
21 © 2014 Atmel Confidential
Atmel
Solution
22 © 2014 Atmel Confidential
Atmel
23 © 2014 Atmel Confidential
Atmel
24 © 2014 Atmel Confidential
Atmel
25 © 2014 Atmel Confidential
Atmel
26 © 2014 Atmel Confidential
Atmel
27 © 2014 Atmel Confidential
Atmel
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
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?
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
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%
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
33 © 2014 Atmel Confidential
Thinking Beyond The Silicon...
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
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
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
37 © 2014 Atmel Confidential