Microchip Technology SAM4S Arm® Flash Microcontrollers

Microchip Technology SAM4S Arm® Flash Microcontrollers (MCUs) are based on the high-performance 32-bit Arm Cortex®-M4 RISC processor. The SAM4S MCUs operate at a maximum speed of 120MHz and feature up to 2048KB of Flash, with optional dual-bank implementation and cache memory, and up to 160KB of SRAM. The peripheral set includes a full-speed USB Device port with embedded transceiver, a high-speed MCI for SDIO/SD/MMC, an External Bus Interface featuring a Static Memory Controller to connect to SRAM, PSRAM, NOR Flash, LCD Module and NAND Flash, 2 USARTs, 2 UARTs, 2 TWIs, 3 SPIs, an I2S, as well as a PWM timer, two 3- channel general-purpose 16-bit timers (with stepper motor and quadrature decoder logic support), an RTC, a 12-bit ADC, a 12-bit DAC, and an analog comparator.

The SAM4S MCUs are ready for capacitive touch, offering native support for the Atmel QTouch® library for easy implementation of buttons, wheels, and sliders.

The SAM4S devices have feature Sleep, Wait, and Backup software-selectable low-power modes. In Sleep mode, the processor is stopped while all other functions can be kept running. In Wait mode, all clocks and functions are stopped but some peripherals can be configured to wake up the system based on predefined conditions. In Backup mode, only the low-power RTC and wakeup logic are running.

The real-time event management allows peripherals to receive, react to and send events in Active and Sleep modes without processor intervention.

The SAM4S MCUs are medium-range, general-purpose microcontrollers with an ideal ratio in terms of reduced power consumption, processing power, and peripheral set. This enables the SAM4S devices to sustain a wide range of applications that includes consumer, industrial control, and PC peripherals.

The Microchip Technology SAM4S Arm Flash Microcontrollers are offered in 100-lead LQFP, TFBGA, and VFBGA; 64-lead LQFP, QFN, and WLCP; and 48-lead LQFP and QFN packages. These devices are pin-to-pin and software compatible with the SAM3 Cortex-M3 processor-based MCUs, offering a smooth upwards migration path for performance and memory size.

Features

  • Core
    • Arm Cortex-M4 with 2KB of cache running at up to 120MHz
    • Memory Protection Unit (MPU)
    • DSP Instruction Set
    • Thumb®-2 instruction set
  • Pin-to-pin compatible with SAM3N, SAM3S, SAM4N and SAM7S legacy products (64-pin version)
  • Memories
    • Up to 2048KB embedded Flash with optional dual-bank and cache memory, ECC, Security Bit and Lock Bits
    • Up to 160KB embedded SRAM
    • 16KB ROM with embedded boot loader routines (UART, USB) and IAP routines
    • 8-bit Static Memory Controller (SMC): SRAM, PSRAM, NOR and NAND Flash support
  • System
    • Embedded voltage regulator for single supply operation
    • Power-on-Reset (POR), Brown-out Detector (BOD) and Watchdog for safe operation
    • Quartz or ceramic resonator oscillators: 3MHz to 20MHz main power with failure detection and optional low-power 32.768kHz for RTC or device clock
    • RTC with Gregorian and Persian calendar mode, waveform generation in low-power modes
    • RTC counter calibration circuitry compensates for 32.768kHz crystal frequency inaccuracy
    • High-precision 8/12MHz factory-trimmed internal RC oscillator with 4MHz 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 PLLs up to 240MHz 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)
    • Up to 22 Peripheral DMA (PDC) channels
  • Low-power Modes
    • Sleep, Wait, and Backup modes; consumption down to 1 µA in Backup mode\
  •  I/O
    • Up to 79 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
  • Peripherals
    • USB 2.0 Device: 12Mbps, 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), one high-speed Multimedia Card Interface (SDIO/SD Card/MMC)
    • 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 32kHz trimming features
    • 256-bit General Purpose Backup Registers (GPBR)
    • Up to 16-channel, 1Msps ADC with differential input mode and programmable gain stage and auto calibration
    • One 2-channel 12-bit 1Msps DAC
    • One Analog Comparator with flexible input selection, selectable input hysteresis
    • 32-bit Cyclic Redundancy Check Calculation Unit (CRCCU) for data integrity check of off-/on-chip memories
    • Register Write Protection
  • Packages
    • 100-lead packages
      • LQFP – 14mm x 14mm, pitch 0.5mm
      • TFBGA – 9mm x 9mm, pitch 0.8mm
      • VFBGA – 7mm x 7mm, pitch 0.65mm
    • 64-lead packages
      • LQFP – 10mm x 10mm, pitch 0.5mm
      • QFN – 9mm x 9mm, pitch 0.5mm
      • WLCSP – 4.42mm x 4.72mm, pitch 0.4mm (SAM4SD32/SAM4SD16)
      • WLCSP – 4.42mm x 3.42mm, pitch 0.4mm (SAM4S16/S8)
      • WLCSP – 3.32mm x 3.32mm, pitch 0.4mm (SAM4S4/S2)
    • 48-lead packages
      • LQFP – 7mm x 7mm, pitch 0.5mm
      • QFN – 7mm x 7mm, pitch 0.5mm

Applications

  • Medical equipment
  • Audio
  • Industrial automation
  • Machine-to-machine (M2M)
  • PC, cell phone and gaming peripherals
  • Test and measurement
  • Smart grid
  • Consumer goods and toys
  • Home and building automation

Videos

Block Diagrams

Published: 2011-11-22 | Updated: 2022-03-11