atmel | smartarmtechforum.com.cn/2014/bj/b-7_atmel.pdf · 30 © 2014 atmel confidential offloading...
TRANSCRIPT
![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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/1.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/2.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/3.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/4.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/12.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/13.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/15.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/16.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/17.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/18.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/19.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/20.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/21.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/22.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/23.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/24.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/25.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/26.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/27.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/28.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/29.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/30.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/31.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/32.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/33.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/34.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/35.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/36.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022042315/5f03500f7e708231d408980b/html5/thumbnails/37.jpg)
37 © 2014 Atmel Confidential