Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

ATSAM4S8B

Status: In Production

Features:

  • ARM Cortex-M4 running at up to 120 MHz
  • Memory Protection Unit (MPU)
  • DSP Instructions, Floating Point Unit (FPU), Thumb®-2 instruction set
  • 512 Kbytes embedded Flash, ECC, Security Bit and Lock Bits
  • 128 Kbytes embedded SRAM
  • 16 Kbytes ROM with embedded boot loader routines (UART, USB) and IAP routines
  • 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
  • Sleep, Wait and Backup modes; consumption down to 1 μA in Backup mode
  • 64-lead LQFP, 10 x 10 mm, pitch 0.5 mm
  • 64-lead QFN, 9 x 9 mm, pitch 0.5 mm
  • 64-lead WLCSP, 4.42 x 4.72 mm, pitch 0.4 mm
  • Revision A - Industrial (-40° C to +85° C), Revision B -(-40° C to +105° C)
  • 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), 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 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
  • 47 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
  • 11-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
  • 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.
  • 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
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

For New Designs, we highly recommend to consider Revision B for Prototypes and Production.

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

The SAM4S8 features:

  • Maximum operating speed of 120MHz
  • 512KB of flash memory and 128KB of SRAM
  • 1.62V to 3.6V supply
  • Power consumption 200uA/MHz in dynamic mode at low operating frequency, 30mA at 100MHz and 3uA at 1.8V in back-up mode with the RTC running
  • External bus interface supports SRAM, PSRAM, NOR Flash, LCD module and NAND Flash
  • 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 and SAM3S MCUs
  • Parallel Input/Output (IO) data capture mode

Get started with your application development now with the SAM4S evaluation kit, integrating a comprehensive development tool and software package. To reduce your time-to-market, Microchip and industry-leading third parties provide a worldwide support ecosystem.

Additional 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

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

    • 128 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

    • 64-lead LQFP, 10 x 10 mm, pitch 0.5 mm

    • 64-lead QFN, 9 x 9 mm, pitch 0.5 mm

    • 64-lead WLCSP, 4.42 x 4.72 mm, pitch 0.4 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), 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 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

    • 47 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

    • 11-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

    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

Parametrics
Name
Value
Part Family
ATSAM4S8B
Max CPU Speed MHz
120
Program Memory Size (KB)
512
SRAM (KB)
128
Auxiliary Flash (KB)
0.512
SDIO/SD-CARD/eMMC
1
Temperature Range (C)
-40 to 85
Operating Voltage Range (V)
1.62 to 3.6
Direct Memory Access Channels
22
SPI
3
I2C
2
Peripheral Pin Select / Pin Muxing
Yes
Number of USB Modules
1
ADC Input
10
Max ADC Resolution (Bits)
12
Max ADC Sampling Rate (ksps)
1000
Number of DACs
1
Input Capture
12
Max 16-bit Digital Timers
6
Number of Comparators
1
Internal Oscillator
4,8,12Mhz,32Khz
Hardware RTCC/RTC
Yes
Max I/O Pins
47
Pincount
64
Quadrature Encoder Interface
1

Documents

Jump to:

Data Sheet

06/01/2015
5587KB

Application Notes

Download All

Product Document

01/01/2010
411KB

Tutorials

User Guides

White Papers

05/01/2013
443KB

Development Environment

  • Demo & Evaluation Boards
  • Application Examples
Demo & Evaluation Boards
I/O1 Xplained Pro extension kit
I/O1 Xplained Pro extension kit ( ATIO1-XPRO )

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.

Learn More
Add To Cart
SAM-ICE
SAM-ICE ( AT91SAM-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.

Learn More
Add To Cart
Evaluation kit for SAM4S
Evaluation kit for SAM4S ( ATSAM4S-XPLD )

The SAM4S Xplained kit is the ideal platform for early evaluation of the capabilities offered by the SAM4S Cortex™-M4 processor-based microcontroller. The SAM4S Xplained contains four QTouch® button sensors, LEDs and a USB port. The Xplained expansion headers provide easy access to analog and digital I/O pins. The board is powered by the USB cable and integrates a JTAG emulator with USB...

Learn More
Add To Cart
Ethernet1 XPRO
Ethernet1 XPRO ( ATETHERNET1-XPRO )

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.

Learn More
Add To Cart
PROTO1 Xplained Pro extension kit
PROTO1 Xplained Pro extension kit ( ATPROTO1-XPRO )

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.

Learn More
Add To Cart
SAM4S Xplained Pro evaluation kit
SAM4S Xplained Pro evaluation kit ( ATSAM4S-XPRO )

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,

...

Learn More
Add To Cart
SAM4S Xplained Pro starter kit
SAM4S Xplained Pro starter kit ( ATSAM4S-XSTK )

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

...

Learn More
Add To Cart
OLED1 Xplained Pro extension kit
OLED1 Xplained Pro extension kit ( ATOLED1-XPRO )

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.

Learn More
Add To Cart
SAM4S Xplained Pro starter kit
SAM4S Xplained Pro starter kit ( ATSAM4S-XSTK )

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

...

Learn More
Add To Cart
Power Debugger kit
Power Debugger kit ( ATPOWERDEBUGGER )

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

...

Learn More
Add To Cart
BTLC1000-XPRO-ADPT
BTLC1000-XPRO-ADPT ( ATBTLC1000-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

...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
64
512
131,072
$3.02
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
ATSAM4S8BA-ANR
0.166700
0.366667
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BA-AUR
0.166700
0.366667
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BB-ANR
0.166700
0.366667
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BA-AN
0.166700
1.087500
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BA-AU
0.166700
1.087500
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BB-AN
0.166700
1.087500
64
LQFP
10x10x1.4mm
Matte Tin
e3
ATSAM4S8BA-MU
0.224700
0.969231
64
VQFN
9x9x1mm
Matte Tin
e3
ATSAM4S8BA-MUR
0.224700
0.225143
64
VQFN
9x9x1mm
Matte Tin
e3
ATSAM4S8BB-MN
0.224700
0.969231
64
VQFN
9x9x1mm
Matte Tin
e3
ATSAM4S8BB-MNR
0.224700
0.225143
64
VQFN
9x9x1mm
Matte Tin
e3
ATSAM4S8BA-UUR
0.013600
0.040600
64
WLCSP
4.38x3.38x0.3mm
SAC405
e1
ATSAM4S8BB-UUR
0.013600
0.040600
64
WLCSP
4.38x3.38x0.3mm
SAC405
e1
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.

Buy

Grid
View
Table
View
Filter:
Apply
Clear
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy