SlideShare a Scribd company logo
1 of 3
Download to read offline
Bringing the best of microcontroller innovations to
new Cortex-M0+ devices
Author:
Andreas Eieland, Sr. Product Marketing Manager, Atmel
The rate at which ARM-based microcontroller devices are being brought to the market is staggering. The
use of a common family of compatible cores with different performance levels brings many benefits to
embedded developers looking for a new device on which to base their new product design or new tech-
nology platform. However, in the rush to bring a device to the market microcontroller suppliers face the
dilemma of spending time fine-tuning their peripheral set and architecture enhancements around the ARM
core or, potentially, losing market share from loyal customers who needs devices right now as they are
embarking on new designs. This is very much the case with ARM’s Cortex-M0/M0+ architecture. Realising
that some of the power saving and peripheral enhancements incorporated in 8-bit devices over the past
years have been highly valued by customers and that custom tailoring is needed to make the best possible
product on any platform has made some microcontroller suppliers take a more thorough approach to
bringing the latest Cortex-M0+ device to market. Atmel is one of them.
By first taking a step back with their first M0+ product, Atmel took stock of their 2 decades of experience
developing 8-bit embedded flash microcontrollers and over 17 years being an ARM licensee. It was clear
that much of the innovation made to their tinyAVR, megaAVR and AVR XMEGA devices would be highly
relevant to their M0+ implementation. One example of an AVR feature that is highly valued by engineers is
the Peripheral Event System. This is an approach that allows peripherals to corporate with each other
without using any CPU or bus resources. Atmel’s low power IP has also been much valued. This includes
 
	
  
2
using low power oscillators, clock gating and prescaling in addition to sleep walking modes and serial
communication improvements to allow no loss of data when waking up from a deep sleep mode.
As a result of incorporating many aspects of Atmel’s own microcontroller innovations with ARM’s core IP
the Atmel Cortex-M0+ based-device, the SAM D20, has a CoreMark benchmark of 2.14coreMark/MHz
and a power consumption better than 150 µA/MHz in active mode and around 2µA when in RAM retention
mode. By comparison, other devices on the market have active power consumption in the range of 200 -
400 µA/MHz performing the same tasks at the same performance levels. Let’s look a bit more closely at
some of the enhancements that have made this possible.
As previously mentioned, the Event System allows peripherals to communicate without involving any CPU
activity. It is a routing network independent of the traditional data bus paths. Different triggers at the pe-
ripheral level can result in an event; like a timer tick triggering a reaction in another peripheral. Comprising
eight independent channels the Event System has a fixed latency of 2 cycles. Without any jitter it is a
100% deterministic method and a perfect fit for real-time applications. No events are lost and they are
handled at a peripheral level in 2 cycles, even if the CPU is performing a non maskable interrupt. Tradi-
tionally the way of handling actions for a low power application would be through the use of interrupts.
Interrupts however would wake up the CPU. For example, consider a motor drive application using PWM.
To detect erroneous situations many motor applications use an analog comparator or ADC to measure the
current going into the motor drive, in an over current situation you want to shut down the PWM channels
driving the motor as soon as you can to prevent permanent damage to the circuit and for safety reasons.
Without an Event System the overcurrent situation will trigger an interrupt, but the interrupt service request
might be delayed if the CPU is performing other higher priority tasks. Using the Event System you can
connect the analog comparator or ADC directly to the timer and always shut down the timer in 2 cycles,
regardless of what the rest of the MCU is doing.
Figure 1 illustrates how the Event System would
manage the motor control current protection with-
out the need for any intervention from the CPU.
There are many advantages to this approach, the
main ones being lowering the overall power con-
sumption budget, the efficient off-loading of routine
tasks from the CPU and achieving a totally pre-
dictable reaction time.
One of the other major differentiating features of
Atmel’s device is the provision of a highly config-
urable multiple serial communication module
Figure 1 –Event System – Example of motor
control driver
 
	
  
3
(SERCOM). Comprising up to 6 serial interface channels, each serial port is software configurable to be-
come an I2C, SPI or USART interface. This gives developers immense flexibility when embarking on a
design since it allows you to configure the available interfaces as you need them. For example, if you re-
quire 2 I2C and 4 UART that is what you do. There are two very important benefits to this approach for the
embedded developer. Firstly, you no longer need to trawl through microcontroller specifications looking for
a device with the number of types of serial interfaces you require. Not only does this save a lot of time but it
also allows you to adopt a single microcontroller for a number of similar designs where the interfaces re-
quired may differ slightly and you no longer have to buy a device that has 5 UARTS because you need 3
SPIs. The second benefit relates to design of the PCB. By choosing the interface type to coincide with the
location of any supporting interface components or interconnect on the PCB you can make more efficient
PCB routing that is not only potentially shorter, but also avoids any long signal paths past electrically noisy
components. This is made possible by having multiple SERCOM modules and the fact that each SERCOM
module has multiple pin connection options. Atmel’s SAM D20 device supports I2C fast mode of up to 400
kHz while SPI and UART are capable of up to 24 Mb/s transfer speeds. The serial communication modules
all are connected to the peripheral event system, mentioned above, that allows peripheral cooperation
without CPU intervention. While unlikely to be required for many applications, each SECOM module is also
capable of being reconfigured by software into another interface type on-the-fly.
Finally, in order to deliver a Cortex-M0+ design with the most useful features embedded developers might
seek, Atmel has also added a peripheral touch controller into the SAM D20 based on the extensive
knowledgebase from the maXTouch product line. This, the most innovative of the new peripherals on the
SAM D20, can be used to implement touch control interfaces using buttons, wheels and sliders. The ability
to detect using proximity is also possible. Supporting up to 256 channels in a matrix configuration, the
peripheral touch controller module supports both mutual and self capacitance-sensing methods. Providing
excellent noise rejection and sensitivity characteristics together with self-calibration gives the SAM D20 a
lot of touch controls capabilities on-chip.
Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 │ www.atmel.com
© 2013 Atmel Corporation. / Rev.: Atmel- 45047A-AWP002(D2)Achieving32bitPerformanceWith8bitSimplicity-ARM-Article_US_062013
Atmel
®
, Atmel logo and combinations thereof, Enabling Unlimited Possibilities
®
, and others are registered trademarks or trademarks of Atmel Corporation or its sub-
sidiaries. Other terms and product names may be trademarks of others.
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by
this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL
ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION,
OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and
products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not
suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

More Related Content

Viewers also liked

science-foxywelder
science-foxywelderscience-foxywelder
science-foxywelderfoxywelder
 
Data Driven Software Development
Data Driven Software DevelopmentData Driven Software Development
Data Driven Software DevelopmentJames Governor
 
PD2015 Story of Place and Displacement
PD2015 Story of Place and DisplacementPD2015 Story of Place and Displacement
PD2015 Story of Place and DisplacementTBuegler
 
Traductoreseinterpretes
TraductoreseinterpretesTraductoreseinterpretes
Traductoreseinterpretespretell41
 
#013 lathe machine processes 02
#013 lathe machine processes 02#013 lathe machine processes 02
#013 lathe machine processes 02physics101
 
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...Ken Brand
 

Viewers also liked (11)

science-foxywelder
science-foxywelderscience-foxywelder
science-foxywelder
 
Data Driven Software Development
Data Driven Software DevelopmentData Driven Software Development
Data Driven Software Development
 
Ac igener
Ac igenerAc igener
Ac igener
 
SriramSystemsAdministratorResume
SriramSystemsAdministratorResumeSriramSystemsAdministratorResume
SriramSystemsAdministratorResume
 
PD2015 Story of Place and Displacement
PD2015 Story of Place and DisplacementPD2015 Story of Place and Displacement
PD2015 Story of Place and Displacement
 
Traductoreseinterpretes
TraductoreseinterpretesTraductoreseinterpretes
Traductoreseinterpretes
 
La sindicación
La sindicaciónLa sindicación
La sindicación
 
#013 lathe machine processes 02
#013 lathe machine processes 02#013 lathe machine processes 02
#013 lathe machine processes 02
 
Doc1
Doc1Doc1
Doc1
 
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...
Team Meeting Agenda Notes | BHGRE Gary Greene | November 19th, 2013 | The Woo...
 
Teoria e grafeve
Teoria e grafeveTeoria e grafeve
Teoria e grafeve
 

Recently uploaded

2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sectoritnewsafrica
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 

Recently uploaded (20)

2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 

Atmel - Bringing the Best of Microcontroller Innovations to New Cortex-M0+ Devices [ARTICLE]

  • 1. Bringing the best of microcontroller innovations to new Cortex-M0+ devices Author: Andreas Eieland, Sr. Product Marketing Manager, Atmel The rate at which ARM-based microcontroller devices are being brought to the market is staggering. The use of a common family of compatible cores with different performance levels brings many benefits to embedded developers looking for a new device on which to base their new product design or new tech- nology platform. However, in the rush to bring a device to the market microcontroller suppliers face the dilemma of spending time fine-tuning their peripheral set and architecture enhancements around the ARM core or, potentially, losing market share from loyal customers who needs devices right now as they are embarking on new designs. This is very much the case with ARM’s Cortex-M0/M0+ architecture. Realising that some of the power saving and peripheral enhancements incorporated in 8-bit devices over the past years have been highly valued by customers and that custom tailoring is needed to make the best possible product on any platform has made some microcontroller suppliers take a more thorough approach to bringing the latest Cortex-M0+ device to market. Atmel is one of them. By first taking a step back with their first M0+ product, Atmel took stock of their 2 decades of experience developing 8-bit embedded flash microcontrollers and over 17 years being an ARM licensee. It was clear that much of the innovation made to their tinyAVR, megaAVR and AVR XMEGA devices would be highly relevant to their M0+ implementation. One example of an AVR feature that is highly valued by engineers is the Peripheral Event System. This is an approach that allows peripherals to corporate with each other without using any CPU or bus resources. Atmel’s low power IP has also been much valued. This includes
  • 2.     2 using low power oscillators, clock gating and prescaling in addition to sleep walking modes and serial communication improvements to allow no loss of data when waking up from a deep sleep mode. As a result of incorporating many aspects of Atmel’s own microcontroller innovations with ARM’s core IP the Atmel Cortex-M0+ based-device, the SAM D20, has a CoreMark benchmark of 2.14coreMark/MHz and a power consumption better than 150 µA/MHz in active mode and around 2µA when in RAM retention mode. By comparison, other devices on the market have active power consumption in the range of 200 - 400 µA/MHz performing the same tasks at the same performance levels. Let’s look a bit more closely at some of the enhancements that have made this possible. As previously mentioned, the Event System allows peripherals to communicate without involving any CPU activity. It is a routing network independent of the traditional data bus paths. Different triggers at the pe- ripheral level can result in an event; like a timer tick triggering a reaction in another peripheral. Comprising eight independent channels the Event System has a fixed latency of 2 cycles. Without any jitter it is a 100% deterministic method and a perfect fit for real-time applications. No events are lost and they are handled at a peripheral level in 2 cycles, even if the CPU is performing a non maskable interrupt. Tradi- tionally the way of handling actions for a low power application would be through the use of interrupts. Interrupts however would wake up the CPU. For example, consider a motor drive application using PWM. To detect erroneous situations many motor applications use an analog comparator or ADC to measure the current going into the motor drive, in an over current situation you want to shut down the PWM channels driving the motor as soon as you can to prevent permanent damage to the circuit and for safety reasons. Without an Event System the overcurrent situation will trigger an interrupt, but the interrupt service request might be delayed if the CPU is performing other higher priority tasks. Using the Event System you can connect the analog comparator or ADC directly to the timer and always shut down the timer in 2 cycles, regardless of what the rest of the MCU is doing. Figure 1 illustrates how the Event System would manage the motor control current protection with- out the need for any intervention from the CPU. There are many advantages to this approach, the main ones being lowering the overall power con- sumption budget, the efficient off-loading of routine tasks from the CPU and achieving a totally pre- dictable reaction time. One of the other major differentiating features of Atmel’s device is the provision of a highly config- urable multiple serial communication module Figure 1 –Event System – Example of motor control driver
  • 3.     3 (SERCOM). Comprising up to 6 serial interface channels, each serial port is software configurable to be- come an I2C, SPI or USART interface. This gives developers immense flexibility when embarking on a design since it allows you to configure the available interfaces as you need them. For example, if you re- quire 2 I2C and 4 UART that is what you do. There are two very important benefits to this approach for the embedded developer. Firstly, you no longer need to trawl through microcontroller specifications looking for a device with the number of types of serial interfaces you require. Not only does this save a lot of time but it also allows you to adopt a single microcontroller for a number of similar designs where the interfaces re- quired may differ slightly and you no longer have to buy a device that has 5 UARTS because you need 3 SPIs. The second benefit relates to design of the PCB. By choosing the interface type to coincide with the location of any supporting interface components or interconnect on the PCB you can make more efficient PCB routing that is not only potentially shorter, but also avoids any long signal paths past electrically noisy components. This is made possible by having multiple SERCOM modules and the fact that each SERCOM module has multiple pin connection options. Atmel’s SAM D20 device supports I2C fast mode of up to 400 kHz while SPI and UART are capable of up to 24 Mb/s transfer speeds. The serial communication modules all are connected to the peripheral event system, mentioned above, that allows peripheral cooperation without CPU intervention. While unlikely to be required for many applications, each SECOM module is also capable of being reconfigured by software into another interface type on-the-fly. Finally, in order to deliver a Cortex-M0+ design with the most useful features embedded developers might seek, Atmel has also added a peripheral touch controller into the SAM D20 based on the extensive knowledgebase from the maXTouch product line. This, the most innovative of the new peripherals on the SAM D20, can be used to implement touch control interfaces using buttons, wheels and sliders. The ability to detect using proximity is also possible. Supporting up to 256 channels in a matrix configuration, the peripheral touch controller module supports both mutual and self capacitance-sensing methods. Providing excellent noise rejection and sensitivity characteristics together with self-calibration gives the SAM D20 a lot of touch controls capabilities on-chip. Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 │ www.atmel.com © 2013 Atmel Corporation. / Rev.: Atmel- 45047A-AWP002(D2)Achieving32bitPerformanceWith8bitSimplicity-ARM-Article_US_062013 Atmel ® , Atmel logo and combinations thereof, Enabling Unlimited Possibilities ® , and others are registered trademarks or trademarks of Atmel Corporation or its sub- sidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.