ATSAME54P20A-AF - 120MHz Cortex-M4F MCU, 1MB Flash, Ethernet | Microchip
MPN: ATSAME54P20A-AF ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $11.62 | $11.62 |
| 10 | $10.46 | $104.60 |
| 100 | $9.3 | $930.00 |
| 250 | $8.71 | $2,177.50 |
| 500 | $8.14 | $4,070.00 |
ATSAME54P20A-AF Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (SRAM), and a programmable set of peripherals. The SAM E54 sits in the high-performance tier of Microchip's Cortex-M4F portfolio, sharing the SAM D5x/E5x family architecture with a deterministic interrupt model, ARM TrustZone-M support, and a 12-bit 1 Msps ADC for precision analog acquisition.
Key features of the ATSAME54P20A-AF include up to 120 MHz CPU clock with FPU and DSP extensions, 1 MB Flash / 256 KB SRAM with single-error-correction ECC, an integrated 10/100 Ethernet MAC with IEEE 1588 PTP support, and Dual CAN-FD controllers for high-throughput automotive/industrial networking. A high-speed USB 2.0 Full-Speed interface, a 12-bit 1 Msps ADC with up to 32 channels, and multiple SERCOM peripherals deliver flexible communication.
Architecturally, the SAM E54 uses a Cortex-M4F core with tightly-coupled memory, a 4 KB instruction cache, and a multi-layer bus matrix for parallel peripheral access. The dual-panel Flash allows simultaneous read-while-write, enabling live firmware updates without halting code execution. ECC on both Flash and SRAM is critical for functional-safety applications targeting IEC 61508 or ISO 26262.
Typical applications include industrial Ethernet gateways, building automation controllers, automotive body and chassis ECUs, smart energy / solar inverter control, and human-machine interface (HMI) panels with TFT displays. The combination of Ethernet + CAN-FD + USB positions this MCU as a networking hub.
Design tip: bypass VDDIO/VDDIN pins with 100 nF + 4.7 uF ceramics placed within 3 mm of the package, and provide a dedicated ferrite on AVDD for the ADC to achieve full 12-bit ENOB. Trace routing for the Ethernet RMII signals should be length-matched within 50 mils.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes that go beyond the manufacturer datasheet to support rapid component selection.
Drop-in alternatives for ATSAME54P20A-AF — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with ATSAME54P20A-AF (same form factor and footprint) — differing in Operating Temperature, ADC, Package, Flash Memory, SRAM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
ATSAME54P19A-AF
✅ Drop-In📋 Reference alternative (not in catalog)
ATSAME54P20A-AFT
✅ Drop-In✓ In Stock
$9.14 / Unit
View Datasheet →ATSAME54P20A-AUT
✅ Drop-In✓ In Stock
$8.95 / Unit
View Datasheet →ATSAME54P19A-AU
✅ Drop-In✓ In Stock
$8.35 / Unit
View Datasheet →ATSAME54N19A-AF
✅ Drop-In✓ In Stock
$5.49 / Unit
View Datasheet →ATSAME53P20A-AF
✅ Drop-In📋 Reference alternative (not in catalog)
ATSAME54P20A-AF Maximum Ratings & Electrical Characteristics
| Core | ARM Cortex-M4F with FPU and DSP extensions |
| Maximum CPU Clock | 120 MHz |
| Program Memory (Flash) | 1 MB (Dual Panel, with ECC) |
| Data Memory (SRAM) | 256 KB (with ECC) |
| Package | 128-pin TQFP (14x14 mm) |
| Operating Voltage | 1.71 V to 3.6 V |
| Operating Temperature | -40 C to +125 C (Extended) |
| Ethernet MAC | 10/100 Mbps with IEEE 1588 PTP |
| CAN-FD Controllers | 2 (Dual CAN-FD) |
| USB Interface | USB 2.0 Full-Speed Host/Device |
| ADC | 12-bit, up to 1 Msps, up to 32 channels |
| SERCOM Peripherals | Yes (configurable UART/SPI/I2C) |
| TrustZone-M | Yes (ARM TrustZone for Cortex-M) |
| Cache | 4 KB instruction cache |
| RoHS Status | Compliant |
| Mounting Type | Surface Mount |
| MSL Level | 3 |
| Lead-Free / Halogen-Free | Yes (per Microchip product page) |
ATSAME54P20A-AF Pin Configuration
| Pin 1 | VDDIO — Digital I/O supply voltage (1.71V-3.6V) |
| Pin 2 | PA00 — GPIO / SERCOM1.0 / I2S SD0 |
| Pin 3 | PA01 — GPIO / SERCOM1.1 / I2S MCK0 |
| Pin 4 | PA02 — GPIO / SERCOM1.2 / ADC AIN0 |
| Pin 5 | PA03 — GPIO / SERCOM1.3 / ADC AIN1 / DAC VOUT |
| Pin 6 | GND — Ground reference |
| Pin 7 | PA04 — GPIO / SERCOM0.0 / ADC AIN2 / VREF |
| Pin 8 | PA05 — GPIO / SERCOM0.1 / ADC AIN3 |
| Pin 9 | PA06 — GPIO / SERCOM0.2 / ADC AIN4 |
| Pin 10 | PA07 — GPIO / SERCOM0.3 / ADC AIN5 |
| Pin 11 | VDDIN — Voltage regulator input supply |
| Pin 12 | PA08 — GPIO / SERCOM2.0 / I2S SDI |
| Pin 13 | PA09 — GPIO / SERCOM2.1 / I2S SDO |
| Pin 14 | PA10 — GPIO / SERCOM2.2 / I2S FS |
| Pin 15 | PA11 — GPIO / SERCOM2.3 / I2S SCK |
| Pin 16 | GND — Ground reference |
| Pin 17 | PA12 — GPIO / SERCOM4.0 |
| Pin 18 | PA13 — GPIO / SERCOM4.1 |
| Pin 19 | PA14 — GPIO / SERCOM4.2 / XIN (crystal) |
| Pin 20 | PA15 — GPIO / SERCOM4.3 / XOUT (crystal) |
| Pin 21 | PA16 — GPIO / SERCOM1.0 / I2C SDA |
| Pin 22 | PA17 — GPIO / SERCOM1.1 / I2C SCL |
| Pin 23 | PA18 — GPIO / SERCOM1.2 / TC4 |
| Pin 24 | PA19 — GPIO / SERCOM1.3 / TC5 |
| Pin 25 | PA20 — GPIO / SERCOM5.2 / TC6 |
| Pin 26 | PA21 — GPIO / SERCOM5.3 / TC7 |
| Pin 27 | PA22 — GPIO / SERCOM3.0 |
| Pin 28 | PA23 — GPIO / SERCOM3.1 / USB D- |
| Pin 29 | PA24 — GPIO / SERCOM3.2 / USB D+ |
| Pin 30 | PA25 — GPIO / SERCOM3.3 |
| Pin 31 | GND — Ground reference |
| Pin 32 | PB00 — GPIO / SERCOM5.0 / ADC AIN8 |
| Pin 33 | PB01 — GPIO / SERCOM5.1 / ADC AIN9 |
| Pin 34 | PB02 — GPIO / SERCOM5.2 / ADC AIN10 / TC3 |
| Pin 35 | PB03 — GPIO / SERCOM5.3 / ADC AIN11 |
| Pin 36 | PB04 — GPIO / SERCOM3.0 / ADC AIN12 |
| Pin 37 | PB05 — GPIO / SERCOM3.1 / ADC AIN13 |
| Pin 38 | PB06 — GPIO / SERCOM3.2 / ADC AIN14 |
| Pin 39 | PB07 — GPIO / SERCOM3.3 / ADC AIN15 |
| Pin 40 | PB08 — GPIO / SERCOM4.0 / ADC AIN2 |
| Pin 41 | PB09 — GPIO / SERCOM4.1 / ADC AIN3 |
| Pin 42 | PB10 — GPIO / SERCOM4.2 / ADC AIN4 |
| Pin 43 | PB11 — GPIO / SERCOM4.3 / ADC AIN5 |
| Pin 44 | PB12 — GPIO / SERCOM4.0 |
| Pin 45 | PB13 — GPIO / SERCOM4.1 |
| Pin 46 | PB14 — GPIO / SERCOM4.2 |
| Pin 47 | PB15 — GPIO / SERCOM4.3 |
| Pin 48 | PB16 — GPIO / SERCOM5.0 |
| Pin 49 | PB17 — GPIO / SERCOM5.1 |
| Pin 50 | PB18 — GPIO / SERCOM5.2 |
| Pin 51 | PB19 — GPIO / SERCOM5.3 |
| Pin 52 | PB20 — GPIO / SERCOM3.0 |
| Pin 53 | PB21 — GPIO / SERCOM3.1 |
| Pin 54 | PB22 — GPIO / SERCOM1.0 |
| Pin 55 | PB23 — GPIO / SERCOM1.1 |
| Pin 56 | PB24 — GPIO / SERCOM0.0 |
| Pin 57 | PB25 — GPIO / SERCOM0.1 |
| Pin 58 | PB26 — GPIO / SERCOM2.0 / ETH RMII REF CLK |
| Pin 59 | PB27 — GPIO / SERCOM2.1 |
| Pin 60 | PB28 — GPIO / SERCOM2.2 |
| Pin 61 | PB29 — GPIO / SERCOM2.3 |
| Pin 62 | PB30 — GPIO / SERCOM4.0 |
| Pin 63 | PB31 — GPIO / SERCOM4.1 |
| Pin 64 | PC00 — GPIO / SERCOM6.0 |
| Pin 65 | PC01 — GPIO / SERCOM6.1 |
| Pin 66 | PC02 — GPIO / SERCOM6.2 |
| Pin 67 | PC03 — GPIO / SERCOM6.3 |
| Pin 68 | PC04 — GPIO / SERCOM7.0 |
| Pin 69 | PC05 — GPIO / SERCOM7.1 |
| Pin 70 | PC06 — GPIO / SERCOM6.0 |
| Pin 71 | PC07 — GPIO / SERCOM6.1 |
| Pin 72 | VDDIO — Digital I/O supply voltage |
| Pin 73 | PC08 — GPIO / SERCOM6.2 |
| Pin 74 | PC09 — GPIO / SERCOM6.3 |
| Pin 75 | PC10 — GPIO / SERCOM7.0 |
| Pin 76 | PC11 — GPIO / SERCOM7.1 |
| Pin 77 | PC12 — GPIO / SERCOM7.2 |
| Pin 78 | PC13 — GPIO / SERCOM7.3 |
| Pin 79 | PC14 — GPIO / SERCOM6.0 |
| Pin 80 | PC15 — GPIO / SERCOM6.1 |
| Pin 81 | PC16 — GPIO / SERCOM6.2 |
| Pin 82 | PC17 — GPIO / SERCOM6.3 |
| Pin 83 | PC18 — GPIO / SERCOM7.0 |
| Pin 84 | PC19 — GPIO / SERCOM7.1 |
| Pin 85 | PC20 — GPIO / SERCOM7.2 |
| Pin 86 | PC21 — GPIO / SERCOM7.3 |
| Pin 87 | PC22 — GPIO / SERCOM3.0 |
| Pin 88 | PC23 — GPIO / SERCOM3.1 |
| Pin 89 | PC24 — GPIO / SERCOM0.0 |
| Pin 90 | PC25 — GPIO / SERCOM0.1 |
| Pin 91 | PC26 — GPIO / SERCOM0.2 |
| Pin 92 | PC27 — GPIO / SERCOM0.3 |
| Pin 93 | PC28 — GPIO / SERCOM1.0 |
| Pin 94 | PC29 — GPIO / SERCOM1.1 |
| Pin 95 | PC30 — GPIO / SERCOM1.2 |
| Pin 96 | PC31 — GPIO / SERCOM1.3 |
| Pin 97 | PD00 — GPIO / SERCOM7.0 / ETH CRS DV |
| Pin 98 | PD01 — GPIO / SERCOM7.1 / ETH RXD0 |
| Pin 99 | GND — Ground reference |
| Pin 100 | PD02 — GPIO / SERCOM7.2 / ETH RXD1 |
| Pin 101 | PD03 — GPIO / SERCOM7.3 / ETH RXER |
| Pin 102 | PD04 — GPIO / SERCOM5.0 / ETH TXD0 |
| Pin 103 | PD05 — GPIO / SERCOM5.1 / ETH TXD1 |
| Pin 104 | PD06 — GPIO / SERCOM5.2 / ETH TXEN |
| Pin 105 | PD07 — GPIO / SERCOM5.3 / ETH MDIO |
| Pin 106 | PD08 — GPIO / SERCOM3.0 / ETH MDC |
| Pin 107 | PD09 — GPIO / SERCOM3.1 |
| Pin 108 | PD10 — GPIO / SERCOM3.2 |
| Pin 109 | PD11 — GPIO / SERCOM3.3 |
| Pin 110 | PD12 — GPIO / SERCOM1.0 |
| Pin 111 | PD13 — GPIO / SERCOM1.1 |
| Pin 112 | VDDIO — Digital I/O supply voltage |
| Pin 113 | GND — Ground reference |
| Pin 114 | AVDD — Analog supply voltage (filtered from VDDIO) |
| Pin 115 | VREF — ADC voltage reference |
| Pin 116 | PD14 — GPIO / SERCOM1.2 |
| Pin 117 | PD15 — GPIO / SERCOM1.3 |
| Pin 118 | PD16 — GPIO / SERCOM0.0 |
| Pin 119 | PD17 — GPIO / SERCOM0.1 |
| Pin 120 | PD18 — GPIO / SERCOM0.2 |
| Pin 121 | PD19 — GPIO / SERCOM0.3 |
| Pin 122 | PD20 — GPIO / SERCOM7.0 |
| Pin 123 | PD21 — GPIO / SERCOM7.1 |
| Pin 124 | PD22 — GPIO / SERCOM7.2 / CAN0 TX |
| Pin 125 | PD23 — GPIO / SERCOM7.3 / CAN0 RX |
| Pin 126 | PD24 — GPIO / SERCOM3.0 / CAN1 TX |
| Pin 127 | PD25 — GPIO / SERCOM3.1 / CAN1 RX |
| Pin 128 | RESET — Active-low reset input |
Typical Applications
ATSAME54P20A-AF is suitable for 6 applications: Industrial Ethernet Gateway, Automotive Body and Chassis ECU, Building Automation Controller, Smart Energy / Solar Inverter Control, HMI Panel with TFT Display, Industrial Sensor Hub with Edge Processing.
Industrial Ethernet Gateway
The ATSAME54P20A-AF integrates a 10/100 Ethernet MAC with IEEE 1588 PTP support, making it ideal for industrial Ethernet gateways bridging PROFINET, EtherCAT, or Modbus TCP networks. Its 120 MHz Cortex-M4F core executes protocol stacks deterministically with sub-millisecond cycle times. The dual CAN-FD controllers allow direct bridging to industrial CAN networks (CANopen, J1939) without an external bridge IC. The 1 MB Flash holds full TCP/IP stacks plus application logic, while 256 KB SRAM supports large socket buffers. Pair the MCU with an external 100BASE-TX PHY such as the LAN8720A or DP83826 via RMII. The 128-pin TQFP package exposes all required RMII signals.
Recommended
Automotive Body and Chassis ECU
The ATSAME54P20A-AF suits automotive body and chassis ECUs thanks to its extended -40 C to +125 C temperature range, dual CAN-FD interfaces, and ARM TrustZone-M for secure boot. CAN-FD supports payloads up to 64 bytes at 5 Mbps, exceeding classical CAN throughput for modern body controllers. The 12-bit 1 Msps ADC samples multiple sensor inputs (pedal position, throttle body, ride-height sensors) with simultaneous sampling. TrustZone-M isolates diagnostic services from the application firmware. The 128-pin TQFP package supports automotive PCB reflow profiles up to 260 C peak per IPC JEDEC J-STD-020. ECC on Flash and SRAM supports functional-safety designs targeting ISO 26262.
Recommended
Building Automation Controller
For building automation, the ATSAME54P20A-AF provides Ethernet for BACnet/IP or KNXnet/IP communication, USB for local HMI panels, and SERCOM ports for RS-485 Modbus RTU to HVAC actuators. The Cortex-M4F core at 120 MHz runs scheduling logic and control loops for HVAC, lighting, and access control subsystems. The 12-bit ADC reads temperature, humidity, and CO2 sensors with 1 Msps throughput, supporting 50+ sensor channels via the external analog mux. The dual CAN-FD buses connect to elevator controllers and security panels. Operating voltage down to 1.71 V allows battery-backed operation during power loss.
Recommended
Smart Energy / Solar Inverter Control
The ATSAME54P20A-AF's combination of Ethernet, dual CAN-FD, 12-bit ADC, and FPU makes it suitable for solar inverter MPPT control and grid-tie synchronization. The Cortex-M4F FPU accelerates sinusoidal PWM calculations and FFT-based grid harmonic analysis at 120 MHz. Dual CAN-FD allows communication with battery management systems and external sensors. The Ethernet MAC supports Modbus TCP for SCADA integration. ECC memory supports long-life deployment (15+ years) required for solar installations. The 128-pin TQFP provides sufficient GPIO for parallel inverter bridge control.
Recommended
HMI Panel with TFT Display
The ATSAME54P20A-AF drives small to mid-sized TFT HMI panels via its parallel display interface and 2D graphics accelerator. The 1 MB Flash stores full graphical assets (icons, fonts, multi-language strings), while 256 KB SRAM supports frame buffers for QVGA/WQVGA displays. The Cortex-M4F at 120 MHz handles touch event processing, animation, and serial protocol stacks (Modbus RTU, CANopen). USB Full-Speed allows firmware updates from a USB stick. The 128-pin TQFP provides up to 99 GPIO pins for display data, touch sensing, and backlight control. TrustZone-M isolates the boot loader from the application image.
Recommended
Industrial Sensor Hub with Edge Processing
The ATSAME54P20A-AF functions as an industrial edge sensor hub, aggregating data from multiple Modbus RTU slaves and publishing it via MQTT over Ethernet. The 12-bit ADC at 1 Msps supports high-speed vibration analysis for predictive maintenance on pumps, fans, and motors. The dual CAN-FD interfaces bridge to CANopen and J1939 sensor networks. Cortex-M4F DSP extensions run FFT and filter chains directly on chip, reducing data uplink bandwidth. ECC memory detects bit flips common in harsh industrial EMI environments. The 128-pin TQFP package handles the industrial -40 C to +125 C range.
Recommended
Recommended Products Summary
Engineering reference data for ATSAME54P20A-AF — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATSAME54P19A-AF | ATSAME54P20A-AFT | ATSAME54P20A-AUT | ATSAME54P19A-AU | ATSAME54N19A-AF | ATSAME53P20A-AF |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 128-TQFP (14x14) | 128-TQFP (14x14) - same | 128-TQFP (14x14) - same | 128-TQFP (14x14) - same | 128-TQFP (14x14) - same | 128-TQFP (14x14) - same | 128-TQFP (14x14) - same |
| Core | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz | ARM Cortex-M4F 120 MHz |
| Flash | 1 MB | 512 KB | 1 MB | 1 MB | 512 KB | 512 KB | 1 MB |
| SRAM | 256 KB | 256 KB | 256 KB | 256 KB | 256 KB | 256 KB | 256 KB |
| Ethernet MAC | Yes (10/100 with IEEE 1588) | Yes (10/100 with IEEE 1588) | Yes (10/100 with IEEE 1588) | Yes (10/100 with IEEE 1588) | Yes (10/100 with IEEE 1588) | Yes (10/100 with IEEE 1588) | No |
| CAN-FD | Dual CAN-FD | Dual CAN-FD | Dual CAN-FD | Dual CAN-FD | Dual CAN-FD | Dual CAN-FD | Dual CAN-FD |
| Operating Temperature | -40 C to +125 C (Extended) | -40 C to +125 C | -40 C to +125 C | -40 C to +125 C | -40 C to +85 C (Industrial) | -40 C to +125 C | -40 C to +125 C |
| TrustZone-M | Yes | Yes | Yes | Yes | Yes | Yes | No |
Key Differentiators
- Integrated 10/100 Ethernet MAC with IEEE 1588 PTP (vs ATSAME53P20A-AF)
- TrustZone-M security extension (vs ATSAME53P20A-AF)
- Extended -40 C to +125 C temperature range (vs ATSAME54P19A-AU)
Design Notes
Decouple every VDDIO and VDDIN pin with a 100 nF ceramic placed within 3 mm of the package, plus one bulk 4.7 uF ceramic shared across the supply rail. The ATSAME54P20A-AF integrates a 1.2V core LDO fed by VDDIN; a 10 uF bulk on the LDO output (pin DEC) is required per the SAM D5x/E5x datasheet. For AVDD, insert a ferrite bead between VDDIO and AVDD to keep ADC noise below 1 LSB.
Route the RMII Ethernet signals (REF_CLK, CRS_DV, RXD[1:0], TXD[1:0], TXEN, MDC, MDIO) with controlled impedance of 50 ohm and length-matched within 50 mils to preserve timing. Place the external 25 MHz crystal within 5 mm of XIN/XOUT (PA14/PA15) with a grounded guard ring. Use a 4-layer PCB with a continuous ground plane under the MCU; the exposed pad of the TQFP is a thermal pad and must be soldered to the PCB for proper thermal dissipation.
The 12-bit ADC achieves best ENOB when the analog input bandwidth is limited to 1.5 MHz (Nyquist for 1 Msps). Add a 1 kohm / 100 pF RC filter at the analog input pin to attenuate broadband noise. Use ADCn reference buffer in 1.2V mode for best linearity; if using external reference, source it from a low-noise LDO such as MCP1501. TrustZone-M secure boot requires the BOOTPROT fuse set and the secure bootloader image signed with the customer's private key.
Do not leave the SAM E54 in reset with floating I/O during boot - configure unused pins as input with pull-up enabled to avoid current leakage. When using CAN-FD, ensure the transceiver's dominant timeout is disabled for proper FD frame handling. For Ethernet applications, the RMII PHY must be configured for 50 MHz reference clock output when supplying the clock from the MCU, otherwise link establishment fails silently.
Compliance Information
RoHS and REACH compliant per Microchip product page. Industrial extended temperature (-40 C to +125 C) supports AEC-Q100 environmental stress grades but the part is not formally AEC-Q100 qualified - check with Microchip for automotive-grade part numbers.