Microchip Technology Inc

ATSAM4S4A

In Production

Microchip's ARM®-based SAM4S4A microcontroller builds on the high-performance 32-bit Cortex®-M4 core.

The SAM4S4A features:

  • Maximum operating speed of 120MHz
  • 256KB of flash memory and 64KB of SRAM
  • 1.62V to 3.6V supply
  • Power consumption of 180uA/MHz in dynamic mode, below 25uA in RAM retention mode and 1uA at 1.8V in back-up mode with the RTC running
  • Extensive peripheral set for connectivity, system control and analog interfacing
  • Native support for Microchip QTouch?? capacitive touch technology for implementation of buttons, sliders and wheels
  • Pin-to-pin compatible with Microchip SAM7S, SAM3N, SAM4N and SAM3S MCUs
  • Parallel Input/Output (IO) data capture mode

 

    Features

        Microcontroller Features

        Core

        • ARM Cortex-M4 running at up to 120 MHz

        • Memory Protection Unit (MPU)

        • DSP Instructions, Floating Point Unit (FPU), Thumb®-2 instruction set

        Memories

        • 256 Kbytes embedded Flash, ECC, Security Bit and Lock Bits

        • 64 Kbytes embedded SRAM

        • 16 Kbytes ROM with embedded boot loader routines (UART, USB) and IAP routines

        System

        • Embedded voltage regulator for single-supply operation

        • Power-on-Reset (POR), Brown-out Detector (BOD) and Dual Watchdog for Safe Operation

        • Quartz or ceramic resonator oscillators: 3 to 20 MHz with clock failure detection and 32.768 kHz for RTT or system clock

        • RTC with Gregorian and Persian Calendar Mode, Waveform Generation in Backup mode

        • RTC counter calibration circuitry compensates for 32.768 kHz crystal frequency inaccuracy

        • High-precision 8/12 MHz factory-trimmed internal RC oscillator with 4 MHz default frequency for device startup, in-application trimming access for frequency adjustment

        • Slow clock internal RC oscillator as permanent low-power mode device clock

        • Two PLL up to 240 MHz for Device Clock and for USB

        • Temperature Sensor

        • Low-power tamper detection on two inputs, anti-tampering by immediate clear of general-purpose backup registers (GPBR)

        • 22 Peripheral DMA Controllers

        Low Power modes

        • Sleep, Wait and Backup modes; consumption down to 1 μA in Backup mode

        Package

        • 48-lead LQFP, 7 x 7 mm, pitch 0.5 mm

        • 48-lead QFN, 7 x 7 mm, pitch 0.5 mm

        Temperature operating range

        • Revision A - Industrial (-40° C to +85° C), Revision B -(-40° C to +105° C)

        Peripheral Features

        • USB 2.0 Device: 12 Mbps, 2668 byte FIFO, up to 8 bidirectional Endpoints, on-chip transceiver

        • Up to two USARTs with ISO7816, IrDA®, RS-485, SPI, Manchester and Modem Mode

        • Two 2-wire UARTs

        • Up to two 2-Wire Interface modules (I2C-compatible), one SPI, one Serial Synchronous Controller (I2S)

        • Two 3-channel 16-bit Timer Counters with capture, waveform, compare and PWM mode, Quadrature decoder logic and 2-bit Gray up/down counter for stepper motor

        • 4-channel 16-bit PWM with complementary output, fault input, 12-bit dead time generator counter for motor control

        • 32-bit Real-time Timer and RTC with calendar, alarm and 32 kHz trimming features

        • 256-bit General Purpose Backup Registers (GPBR)

        • 32-bit Cyclic Redundancy Check Calculation Unit (CRCCU) for data integrity check of off-/on-chip memories

        I/O

        • 34 I/O Lines with external interrupt capability (edge or level sensitivity), debouncing, glitch filtering and on-die series resistor termination

        • Three 32-bit Parallel Input/Output Controllers, Peripheral DMA-assisted Parallel Capture mode

        Analog Features

        • 8-channel, 1Msps ADC with differential input mode and programmable gain stage and auto calibration

        Debugger Development Support

        • Serial Wire/JTAG Debug Port(SWJ-DP)

        • Debug access to all memories and registers in the system, including Cortex-M4 register bank when the core is running, halted, or held in reset.

        • Serial Wire Debug Port (SW-DP) and Serial Wire JTAG Debug Port (SWJ-DP) debug access.

        • Flash Patch and Breakpoint (FPB) unit for implementing breakpoints and code patches.

        • Data Watchpoint and Trace (DWT) unit for implementing watchpoints, data tracing, and system profiling.

        • Instrumentation Trace Macrocell (ITM) for support of printf style debugging.

        • IEEE1149.1 JTAG Boundary-scan on all digital pins.

        Integrated Software Libraries and Tools

        • ASF-Atmel software Framework – SAM software development framework

        • Integrated in the Atmel Studio IDE with a graphical user interface or available as standalone for GCC, IAR compilers.

        • DMA support, Interrupt handlers Driver support

        • USB, TCP/IP, Wi-Fi and Bluetooth, Numerous USB classes, DHCP and Wi-Fi encryption Stacks

        • RTOS integration, FreeRTOS is a core component

    Parameter Name
    Value
    Family
    ATSAM4S4A
    Max Speed MHz
    120
    Program Memory Size (KB)
    256
    RAM (KB)
    64
    Auxiliary Flash (KB)
    0.512
    Temperature Range (C)
    -40 to 85
    Operating Voltage Range (V)
    1.62 to 3.6
    DMA Channels
    22
    SPITM
    2
    I2CTM Compatible
    2
    Peripheral Pin Select (PPS) Crossbar
    Yes
    USB
    1
    A/D channels
    8
    Max A/D Resolution
    12
    Max A/D Sample Rate (KSPS)
    1000
    Number of DACs
    1
    Input Capture
    12
    16-bit Digital Timers
    6
    Comparators
    1
    Internal Oscillator
    4,8,12Mhz,32Khz
    RTCC
    Yes
    I/O Pins
    34
    Pin Count
    48
    Quadrature Encoder Interface (QEI)
    1
    Documentation
    Data Sheets
    06/01/2015
    5587KB
      Application Notes
     
     
     
    AppNote
    07/01/2011
    592KB
    AppNote
    03/01/2013
    434KB
    AppNote
    04/01/2013
    451KB
    AppNote
    06/01/2013
    3404KB
    AppNote
    12/10/2016
    573KB
    AppNote
    09/01/2013
    594KB
    AppNote
    10/01/2013
    388KB
    AppNote
    05/01/2014
    445KB
    AppNote
    12/01/2013
    334KB
    AppNote
    01/01/2014
    256KB
    AppNote
    04/01/2014
    556KB
    AppNote
    07/01/2015
    272KB
    AppNote
    05/01/2014
    228KB
    AppNote
    05/01/2014
    306KB
    AppNote
    07/01/2015
    291KB
    AppNote
    05/01/2014
    278KB
    AppNote
    05/01/2014
    467KB
    AppNote
    05/01/2014
    371KB
    AppNote
    05/01/2014
    247KB
    AppNote
    07/01/2015
    343KB
    AppNote
    07/01/2015
    245KB
    AppNote
    05/01/2014
    545KB
    AppNote
    05/01/2014
    266KB
    AppNote
    12/01/2014
    2009KB
    AppNote
    12/10/2016
    472KB
    AppNote
    12/10/2016
    318KB
    AppNote
    12/10/2016
    341KB
    AppNote
    12/10/2016
    347KB
    AppNote
    12/10/2016
    362KB
    AppNote
    12/10/2016
    292KB
    AppNote
    12/10/2016
    409KB
    AppNote
    12/10/2016
    340KB
    AppNote
    12/10/2016
    383KB
    AppNote
    12/10/2016
    328KB
    AppNote
    09/01/2014
    1625KB
    AppNote
    12/01/2014
    2007KB
    AppNote
    03/01/2015
    865KB
    AppNote
    06/01/2015
    6498KB
    AppNote
    06/01/2015
    554KB
    AppNote
    07/01/2015
    663KB
    AppNote
    08/01/2015
    791KB
    AppNote
    12/10/2016
    755KB
    AppNote
    12/10/2016
    800KB
    AppNote
    12/10/2016
    828KB
    AppNote
    08/01/2007
    1076KB
    AppNote
    07/28/2017
    936KB
    AppNote
    06/23/2017
    302KB
      Brochures
     
     
     
    Brochures
    02/24/2017
    2719KB
    Brochures
    07/25/2017
    424KB
    Brochures
    12/10/2016
    3582KB
    Brochures
    12/10/2016
    497KB
    Brochures
    09/01/2012
    108KB
    Brochures
    02/01/2013
    37KB
    Brochures
    11/01/2014
    785KB
      Product Document
     
     
     
     
    Product Document
    01/01/2010
    411KB
      Quick Start Guides
     
     
     
    Quick Start Guides
    05/01/2013
    112KB
    Quick Start Guides
    06/01/2013
    933KB
    Quick Start Guides
    05/01/2013
    100KB
    Quick Start Guides
    05/01/2013
    104KB
      Tutorials
     
     
     
     
    Tutorials
    04/01/2014
    2203KB
      User Guides
     
     
     
    User Guides
    06/01/2015
    1432KB
    User Guides
    10/01/2011
    4KB
      White Papers
     
     
     
     
    WhitePapers
    05/01/2013
    443KB
    Pricing & Samples
    All pricing shown in USD only.
    Part Number
    Leads
    Package Type
    Temp Range
    Packing
    1+
    26+
    100+
    1000+
    5000+
    Buy
    Sample
    ATSAM4S4AA-AU
    48
    LQFP
    -40C to +85C
    TRAY
    3.52
    3.20
    2.90
    2.65
    2.54
    ATSAM4S4AA-MU
    48
    VQFN
    -40C to +85C
    TRAY
    3.59
    3.27
    2.96
    2.71
    2.59
    ATSAM4S4AB-AN
    48
    LQFP
    -40C to +105C
    TRAY
    3.70
    3.36
    3.05
    2.78
    2.67
     
    ATSAM4S4AB-ANR
    48
    LQFP
    -40C to +105C
    T/R
    3.64
    3.31
    3.00
    2.73
    2.62
     
    ATSAM4S4AB-MN
    48
    VQFN
    -40C to +105C
    TRAY
    3.77
    3.42
    3.10
    2.83
    2.72
     
    ATSAM4S4AB-MNR
    48
    VQFN
    -40C to +105C
    T/R
    3.71
    3.39
    3.07
    2.80
    2.68
     

    ** Device not available to purchase online. Please contact a sales office for pricing information.
    Open a microchipDIRECT account today!

    Development Tools
    • Demo & Eval Boards
    • SAM-ICE ( AT91SAM-ICE )

      SAM-ICE

      SAM-ICE is a JTAG emulator designed for SAMA5, SAM3, SAM4, SAM7 and SAM9 ARM® core-based MCUs and MPUs, including Thumb mode. It supports download speeds up to 720K Bytes per second and maximum JTAG speeds up to 12 MHZ. It also supports Serial Wire Debug (SWD) and Serial Wire Viewer (SWV) from SAM-ICE hardware V6.

    • Power Debugger kit ( ATPOWERDEBUGGER )

      Power

      Power Debugger is a powerful development tool for debugging and programming AVR microcontrollers using UPDI, JTAG, PDI, debugWIRE, aWire, TPI or SPI target interfaces and ARM® Cortex®-M based SAM microcontrollers using JTAG or SWD target interfaces.

      In addition the Power Debugger has two independent current sensing channels for measuring and optimizing the power consumption of...

    • SAM4S Xplained Pro starter kit ( ATSAM4S-XSTK )

      SAM4S

      The SAM4S Xplained Pro starter kit is ideal for evaluation and prototyping with the SAM4S Cortex®-M4 processor-based microcontroller. The SAM4S Xplained Pro board is available as an evaluation kit or starter kit. Extension boards can also be individually purchased.

      The ATSAM4S-XSTK starter kit includes the

    • SAM4S Xplained Pro evaluation kit ( ATSAM4S-XPRO )

      SAM4S

      The SAM4S Xplained Pro evaluation kit is ideal for evaluation and prototyping with the SAM4S Cortex®-M4 processor-based microcontroller. The SAM4S Xplained Pro board is available as an evaluation kit or starter kit. Extension boards can also be individually purchased.

      The ATSAM4S-XPRO evaluation kit does not include extension boards.

      For a complete and ready to go package,...

    • OLED1 Xplained Pro extension kit ( ATOLED1-XPRO )

      OLED1

      OLED1 Xplained Pro is an extension kit with a 128x32 OLED display, 3 LEDs and 3 push buttons. It connects to the extension headers of any Xplained Pro evaluation kit.

    • PROTO1 Xplained Pro extension kit ( ATPROTO1-XPRO )

      PROTO1

      PROTO1 Xplained Pro provides easy prototyping on the Xplained Pro platform. It connects to the extension headers of any Xplained Pro evaluation kit and can be used as a gateway to other Xplained Pro extension boards with its own Xplained Pro extension header.

    • SAM4S Xplained Pro starter kit ( ATSAM4S-XSTK )

      SAM4S

      The SAM4S Xplained Pro starter kit is ideal for evaluation and prototyping with the SAM4S Cortex®-M4 processor-based microcontroller. The SAM4S Xplained Pro board is available as an evaluation kit or starter kit. Extension boards can also be individually purchased.

      The ATSAM4S-XSTK starter kit includes the

    • Ethernet1 XPRO ( ATETHERNET1-XPRO )

      Ethernet1

      Ethernet1 Xplained Pro is an extension board in the Xplained Pro evaluation platform. The board enables the user to experiment with Ethernet network connectivity applications.

    • Atmel-ICE Full Kit ( ATATMEL-ICE )

      Atmel-ICE

      Atmel-ICE is a powerful development tool for debugging and programming ARM® Cortex®-M based SAM and AVR microcontrollers with on-chip debug capability.

      Atmel-ICE supports:

      • Programming and on-chip debugging of all AVR 32-bit MCUs on both JTAG and aWire interfaces
      • Programming and on-chip debugging of all AVR...

    • I/O1 Xplained Pro extension kit ( ATIO1-XPRO )

      I/O1

      I/O1 Xplained Pro provides a light sensor, temperature sensor, and microSD card. It connects to the extension headers of any Xplained Pro Evaluation Kit.

    • BTLC1000-XPRO-ADPT ( ATBTLC1000-XPRO-ADPT )

      BTLC1000-XPRO-ADPT

      The ATBTLC1000-XPRO-ADPT is an adapter board for the ATBTLC1000-XPRO expansion board. It is required for the UART hardware flow control functionality to operate correctly when the ATBTLC1000-XPRO expansion board is connected to certain Xplained MCU base boards.

      The BTLC1000XPRO-ADP adapter board supports the SMART SAM L21 Xplained Pro, SAM D21 Xplained Pro, SAM 4S Xplained Pro and...

    • SAM4S-WPIR-RD ( ATSAM4S-WPIR-RD )

      (Not Recommended for new design)
      SAM4S-WPIR-RD

       This product is being phased out. 

      This reference design kit provides everything you need to get a quick start designing a low-cost yet powerful passive infrared motion detector camera solution, as found in building or home alarm and monitoring systems. The enabling microcontroller isthe SAM4S Cortex-M4 processor-based microcontroller.

    • SAM4S-EK2 ( ATSAM4S-EK2 )

      (Not Recommended for new design)
      SAM4S-EK2

      This kit lets designers quickly evaluate and develop code for applications running on SAM4S with the ARM®-based Cortex®-M4 core.

    Similar Devices
    Product
    Pins
    Flash
    RAM
    Price5K
    Notes
    48
    256
    65,536
    $2.54
     
    RoHS Information
    Part
    Number
    Device
    Weight
    Shipping
    Weight
    Lead
    Count
    Package
    Type
    Package
    Width
    Solder
    Composition
    JEDEC
    Indicator
    RoHS
     
    China
    EFUP
    ATSAM4S4AB-ANR
    0.182400
    0.537000
    48
    LQFP
    7x7x1.4mm
    Matte Tin
    e3
    ATSAM4S4AB-AN
    0.182400
    0.800000
    48
    LQFP
    7x7x1.4mm
    Matte Tin
    e3
    ATSAM4S4AA-AU
    0.182400
    0.800000
    48
    LQFP
    7x7x1.4mm
    Matte Tin
    e3
    ATSAM4S4AB-MN
    0.144300
    0.434615
    48
    VQFN
    7x7x1mm
    Matte Tin
    e3
    ATSAM4S4AB-MNR
    0.144300
    0.060857
    48
    VQFN
    7x7x1mm
    Matte Tin
    e3
    ATSAM4S4AA-MU
    0.144300
    0.434615
    48
    VQFN
    7x7x1mm
    Matte Tin
    e3
    To see a complete listing of RoHS data for this device, please Click here
    Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.