The SAMD5x/E5x series of Arm® Cortex®-M4F based microcontrollers (MCUs) offers a high-performance motor control solution. These devices offer connectivity features for increased application flexibility. They can be interfaced with our LAN9252 2-3-port EtherCAT® controller via the high-speed SPI interface to create embedded industrial designs.

160219-WPD-DIAG-RN4870-71-7x5

Key Features

  • Arm Cortex-M4F based MCU running at 120 MHz with single-precision Floating Point Unit (FPU)
  • Quad Serial Peripheral Interface (QSPI) with Execute-in-Place (XIP) support
  • Support for five low-power modes with class-leading 65 µA/MHz active power performance
  • Up to two Secure Digital Host Controllers (SDHCs) for eMMC/SDIO/SD
  • Up to eight serial communication (SERCOM) ports configurable as UART/USART, ISO 7816, SPI or I2C
  • Full-speed USB with embedded host/device
  • Integrated security features including AES hardware encryption engines, TRNG and SHA-based memory integrity checker
  • Hardware touch support with QTouch® technology Peripheral Touch Controller (PTC) supporting up to 256 channels of capacitive touch
  • Pin compatibility with SAM D2x MCUs available on select packages
  • Packages ranging from 48 to 128 pins

Motor Control Integration

  • Two 24-bit Timer/Counters for Control (TCC/PWM)
  • Two 12-bit, 1 Msps Analog-to-Digital Converters (ADCs) with up to 16 channels each
  • Two analog comparators, each supporting multiple compare functions
  • Two 12-bit, 1 Msps Digital-to-Analog Converters (DACs) for level setting
  • Position decoder supporting Quadrature Encoder Inteface (QEI) and Hall sensor-type inputs
  • Error Correction Code (ECC) available on both Flash and RAM
  • Tightly coupled core memory for increased code execution speed

Timer/Capture for Control (TCC) Modules


You may have noticed a difference between our classic MIPS® technology-based devices and our Arm Cortex core-based SAM MCUs regarding Pulse-Width Modulators (PWMs) and TCCs. They are interchangeable terms, however, TCCs are counted in single instances that include multiple input and output channels.

 

180326-apid-diag-sam-d-ps

TCCs Support a Multitude of Real-Time Control Extensions:


  • Up to eight compare/capture channels per TCC instance
  • Frequency, single- and dual-slope PWM
  • Input Capture (IC)
  • Waveform extensions
    • Output matrix: CC channels distributed across pins
    • Low- and high-side output with dead-time insertion
    • Waveform swap option
    • Pattern generation
    • Dithering
    • Double-buffered registers
  • Event inputs
    • Two events input for the counter
    • One event input for each CC channel
    • Any internal system event can be selected to trigger actions in TCC (using the Event System)
  • Event outputs
    • Overflow, Compare Match or Capture
    • Can trigger various system actions by using the Event System

Simulation and Modeling Tools


SAM D5x/E5x devices are supported in the open-source Scilab® simulation package, a two-part modeling environment that includes the Scilab main and Xcos system modeler.

Scilab Key Features

  • Mathematics and simulation
  • Data visualization
  • Optimization
  • Statistics
  • Control system design and analysis
  • Signal processing
  • Algorithm development
  • Application deployment

Xcos Key Features

  • Standard palettes and blocks
  • Model building and edition
  • Model customization and Modelica blocks creation
  • Simulation

Development Software and Hardware


MPLAB® Harmony, a flexible, abstracted, fully integrated firmware development platform for PIC32 and SAM MCUs, provides support for peripherals, application demos and motor control applications using the SAM D5x/E5x family of MCUs. It provides easy-to-use software modules targeted for motor control that work together in complete harmony and can be configured to meet your specific requirements. It also includes a set of peripheral libraries, drivers and system services that are easily accessible for your application development. The code development format allows for maximum re-use and reduces your time to market.

We offer the following motor control development boards to simplify your development with SAM D5x/E5x devices. You will also need to purchase the ATSAME54 Motor Control Plug-In Module to add a SAM D5x/E5x device to your design. Demo examples for sensored and sensorless Field Oriented Control (FOC) of a permanent magnet synchronous motor are available within MPLAB Harmony v3.

dm330021-2-mclv-2-development-board-front-layered

dsPICDEM™ MCLV-2 Low-Voltage Motor Control Development Board

2950-dm330023-3

dsPICDEM MCHV-3 High-Voltage Motor Control Development Board

atsame54-motor-control-plug-in-module-small

ATSAME54 Motor Control Plug-In Module

New/Popular SAM E 32-bit MCU Products


Documentation