ATSAMD21J17A-AF - 48MHz Cortex-M0+ MCU, 128KB Flash, USB | Microchip
MPN: ATSAMD21J17A-AF ✓ Hoạt độngATSAMD21J17A-AF Tóm tắt
An MCU (microcontroller) is a single-chip computer integrating a CPU core, program and data memory, and configurable peripherals on one silicon die. The ARM Cortex-M0+ is the most energy-efficient ARM processor core for embedded applications, and Microchip's SAM D21 family extends the Cortex-M0+ with a dedicated event system, SERCOM peripherals, and a SleepWalking power-management architecture. The 'J' suffix denotes the high-pin-count 64-pin variant, providing maximum GPIO and peripheral accessibility versus the 'G' (48-pin) and 'E' (32-pin) siblings.
Key differentiating specifications include 128 KB of Flash with 4 KB of read-while-write (RWW) EEPROM emulation, six SERCOM channels each independently configurable as I2C, SPI, or USART, an integrated USB 2.0 Full-Speed device with on-chip transceiver, and an operating voltage range of 1.62 V to 3.63 V. The 12-bit ADC offers up to 20 analog input channels with hardware oversampling, and the device achieves 2.46 CoreMark/MHz, delivering ~118 CoreMark at maximum clock. Industrial temperature range is -40C to +125C.
Architecturally, the SAM D21 family uses a single AHB/APB bus matrix with a separate bridge for the SERCOM modules, enabling deterministic DMA-driven I/O. The SleepWalking event system allows peripherals to wake the core only on relevant events, dramatically reducing active-mode current in battery-powered applications where quiescent draw dominates. The integrated USB PHY eliminates external transceiver circuitry, saving BOM cost and PCB area in HID, CDC, and composite-USB designs.
Typical applications include USB Human Interface Devices, home automation gateways, low-power wireless sensor nodes, smart metering, industrial control panels, and consumer wearables. The integrated USB device controller and rich SERCOM set simplify designs requiring multiple serial protocols without external glue logic, and the 4 KB RWW EEPROM area is well-suited to data logging applications requiring non-volatile parameter storage without an external EEPROM chip.
When designing with this device, allocate the 128 KB Flash carefully: approximately 8 KB is consumed by the SAM D21 bootloader, leaving ~120 KB for application code. Use Atmel Studio 7, MPLAB X IDE, or MPLAB Harmony 3 with the START code-configurator for peripheral initialization, and budget quiescent current carefully: full Sleep mode draws under 10 uA, but active peripherals can dominate consumption.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Bộ thay thế dễ dàng lắp đặt cho ATSAMD21J17A-AF — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với ATSAMD21J17A-AF (cùng hình factor và footprint) — khác nhau ở ADC, Operating Temperature, Package, Flash Memory, DAC.
ATSAMD21J17B-AF
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
ATSAMD21J18A-AF
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATSAMD21J16B-AF
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →ATSAMC21J17A-AF
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
ATSAMD21G18A-MU
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →ATSAMD21J17A-AF Tỷ lệ tối đa & tính chất điện
| Core Architecture | ARM Cortex-M0+ (32-bit) |
| Tần số xung maksimum | 48 MHz |
| CoreMark Score | 2.46 CoreMark/MHz (~118 CoreMark) |
| Flash Memory | 128 KB (with 4 KB RWW) |
| SRAM | 16 KB |
| Operating Voltage Range | 1.62 V to 3.63 V |
| Khoảng nhiệt độ hoạt động | -40C to +125C (industrial) |
| Hộp | 64-pin TQFP (10x10 mm), 0.5 mm pitch |
| Kiểu lắp đặt | Surface Mount (Gull-wing) |
| USB Interface | USB 2.0 Full-Speed Device with on-chip transceiver |
| SERCOM Modules | 6 (each configurable as I2C/SPI/UART/USART) |
| ADC | 12-bit, up to 20 channels, 350 ksps |
| DAC | 10-bit, 350 ksps |
| DMA Channels | 12 |
| Timers/Counters | 8 (TC) plus RTC |
| Cấp MSL | 3 (168 hours) |
| Trạng thái RoHS | Compliant (Pb-free, GREEN per supplier) |
Cấu hình chân ATSAMD21J17A-AF
| Chân 1 | PA00 — GPIO / TCC2 WO[0] / SERCOM1 PAD[0] |
| Chân 2 | PA01 — GPIO / TCC2 WO[1] / SERCOM1 PAD[1] |
| Chân 3 | PA02 — GPIO / ADC AIN[0] / DAC VOUT |
| Chân 4 | PA03 — GPIO / ADC AIN[1] / VREFA |
| Chân 5 | GND — Ground |
| Chân 6 | VDDIN — Voltage regulator input supply |
| Chân 7 | VDDIO — I/O supply voltage |
| Chân 8 | PA04 — GPIO / VREFB / ADC AIN[4] |
| Chân 9 | PA05 — GPIO / ADC AIN[5] |
| Chân 10 | PA06 — GPIO / ADC AIN[6] |
| Chân 11 | PA07 — GPIO / ADC AIN[7] |
| Chân 12 | VDDANA — Analog supply voltage |
| Chân 13 | GND — Ground |
| Chân 14 | PA08 — GPIO / NMI / SERCOM0 PAD[0] |
| Chân 15 | PA09 — GPIO / SERCOM0 PAD[1] |
| Chân 16 | PA10 — GPIO / SERCOM0 PAD[2] |
| Chân 17 | PA11 — GPIO / SERCOM0 PAD[3] |
| Chân 18 | PA12 — GPIO / SERCOM2 PAD[0] |
| Chân 19 | PA13 — GPIO / SERCOM2 PAD[1] |
| Chân 20 | PA14 — GPIO / SERCOM2 PAD[2] |
| Chân 21 | PA15 — GPIO / SERCOM2 PAD[3] |
| Chân 22 | PA16 — GPIO / SERCOM1 PAD[0] / I2S SCK |
| Chân 23 | PA17 — GPIO / SERCOM1 PAD[1] / I2S FS |
| Chân 24 | PA18 — GPIO / SERCOM1 PAD[2] / I2S MCK |
| Chân 25 | PA19 — GPIO / SERCOM1 PAD[3] / I2S SDO |
| Chân 26 | PA20 — GPIO / SERCOM3 PAD[0] |
| Chân 27 | PA21 — GPIO / SERCOM3 PAD[1] |
| Chân 28 | PA22 — GPIO / SERCOM3 PAD[2] |
| Chân 29 | PA23 — GPIO / SERCOM3 PAD[3] / USB SOF 1kHz |
| Chân 30 | PA24 — GPIO / USB_DM |
| Chân 31 | PA25 — GPIO / USB_DP |
| Chân 32 | GND — Ground |
| Chân 33 | VDDIO — I/O supply voltage |
| Chân 34 | PA26 — GPIO / TCC1 WO[0] |
| Chân 35 | PA27 — GPIO / TCC1 WO[1] |
| Chân 36 | PA28 — GPIO / TCC1 WO[2] |
| Chân 37 | PA29 — GPIO / TCC1 WO[3] |
| Chân 38 | PA30 — GPIO / TCC2 WO[0] / SWDIO |
| Chân 39 | PA31 — GPIO / TCC2 WO[1] / SWCLK |
| Chân 40 | RESETn — Reset input, active low |
| Chân 41 | PB00 — GPIO / SERCOM5 PAD[2] |
| Chân 42 | PB01 — GPIO / SERCOM5 PAD[3] |
| Chân 43 | PB02 — GPIO / SERCOM5 PAD[0] |
| Chân 44 | PB03 — GPIO / SERCOM5 PAD[1] |
| Chân 45 | PB04 — GPIO / SERCOM4 PAD[0] |
| Chân 46 | PB05 — GPIO / SERCOM4 PAD[1] |
| Chân 47 | PB06 — GPIO / SERCOM4 PAD[2] |
| Chân 48 | PB07 — GPIO / SERCOM4 PAD[3] |
| Chân 49 | PB08 — GPIO / SERCOM4 PAD[0] alt |
| Chân 50 | PB09 — GPIO / SERCOM4 PAD[1] alt |
| Chân 51 | PB10 — GPIO / SERCOM4 PAD[2] alt |
| Chân 52 | PB11 — GPIO / SERCOM4 PAD[3] alt |
| Chân 53 | PB12 — GPIO / SERCOM4 PAD[0] |
| Chân 54 | PB13 — GPIO / SERCOM4 PAD[1] |
| Chân 55 | PB14 — GPIO / SERCOM4 PAD[2] |
| Chân 56 | PB15 — GPIO / SERCOM4 PAD[3] |
| Chân 57 | PB16 — GPIO / SERCOM5 PAD[0] |
| Chân 58 | PB17 — GPIO / SERCOM5 PAD[1] |
| Chân 59 | PB18 — GPIO / SERCOM5 PAD[2] |
| Chân 60 | PB19 — GPIO / SERCOM5 PAD[3] |
| Chân 61 | PB20 — GPIO / SERCOM3 PAD[0] alt |
| Chân 62 | PB21 — GPIO / SERCOM3 PAD[1] alt |
| Chân 63 | GND — Ground |
| Chân 64 | VDDIO — I/O supply voltage |
Ứng dụng tiêu biểu
ATSAMD21J17A-AF phù hợp cho 7 Áp dụngs: USB Human Interface Device (HID), Home Automation Gateway, Smart Metering and Data Logging, Industrial Control Panel HMI, Low-Power Wireless Sensor Node, Consumer Wearable Device, USB Composite Device (CDC + HID + MSC).
USB Human Interface Device (HID)
The ATSAMD21J17A-AF's integrated USB 2.0 Full-Speed device controller with on-chip transceiver makes it ideal for USB HID peripherals such as keyboards, mice, touch panels, and custom input devices. The 48 MHz Cortex-M0+ core easily handles 1 kHz HID polling with headroom for debounce, matrix scanning, and capacitive sensing processing. The on-chip PHY eliminates external USB components, reducing BOM cost and PCB area. Microchip's ASF USB stack provides ready-made HID class drivers, shortening time-to-market.
Được đề xuất
Home Automation Gateway
The ATSAMD21J17A-AF suits home automation gateways requiring USB host/device connectivity, multiple wireless protocol co-processors, and a wide operating voltage range. The six SERCOM modules can simultaneously interface an SPI LoRa or Sub-GHz radio, an I2C sensor hub, a UART GPS module, and a USART debug port. SleepWalking event-driven wakeup reduces standby current below 10 uA, allowing battery + mains hybrid designs. The 4 KB read-while-write EEPROM area stores persistent configuration across power cycles.
Được đề xuất
Smart Metering and Data Logging
The 4 KB read-while-write EEPROM area in the ATSAMD21J17A-AF is purpose-built for smart metering applications requiring non-volatile storage of consumption logs, calibration coefficients, and tamper events without external EEPROM. The 12-bit ADC with up to 20 channels handles direct interface to current shunts and voltage dividers, while the on-chip temperature sensor supports metering temperature compensation. Industrial -40C to +125C operation supports outdoor utility installations.
Được đề xuất
Industrial Control Panel HMI
The 52 GPIO pins exposed by the ATSAMD21J17A-AF in the 64-pin TQFP package support direct drive of 7-segment displays, status LEDs, key matrices, and rotary encoders typical in industrial control panels. The 12-bit ADC reads potentiometers and analog sensors, while the PWM timers drive indicator LED brightness or buzzer tones. Industrial temperature range -40C to +125C supports factory-floor deployment, and the integrated USB device interface simplifies firmware updates via service port.
Được đề xuất
Low-Power Wireless Sensor Node
Battery-powered wireless sensor nodes benefit from the ATSAMD21J17A-AF's SleepWalking architecture, which keeps the core asleep while peripherals monitor inputs and wake the CPU only on relevant events. Standby current under 10 uA enables multi-year coin-cell operation when paired with a Sub-GHz or BLE co-processor over SPI. The integrated 12-bit ADC and 10-bit DAC handle direct sensor interface without external signal conditioning. Wide 1.62-3.63 V supply tolerates battery voltage droop.
Được đề xuất
Consumer Wearable Device
The ATSAMD21J17A-AF suits compact consumer wearables such as fitness bands, smartwatches (as peripheral co-processor), and health monitors. Its low active current at 48 MHz, multiple SERCOM channels for BLE/SPO2/touch controllers, and integrated USB for charging and firmware updates make it a strong fit. The industrial temperature range supports wearable thermal variability, and the 10-bit DAC drives haptic feedback waveforms directly without external circuitry.
Được đề xuất
USB Composite Device (CDC + HID + MSC)
The ATSAMD21J17A-AF can enumerate as a composite USB device with multiple interfaces (for example CDC virtual COM port for debugging, HID for control, and MSC for bulk file transfer) using Microchip's composite device stack. The 128 KB Flash accommodates the larger USB stack plus application code, and 16 KB SRAM buffers bulk transfers efficiently. Industrial temperature operation suits outdoor or automotive service tools that rely on USB connectivity.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho ATSAMD21J17A-AF — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | ATSAMD21J17B-AF | ATSAMD21J18A-AF | ATSAMD21J16B-AF | ATSAMC21J17A-AF | ATSAMD21G18A-MU |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin TQFP (10x10 mm) | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 48-pin QFN (7x7 mm) |
| Core Architecture | ARM Cortex-M0+ @ 48 MHz | ARM Cortex-M0+ @ 48 MHz | ARM Cortex-M0+ @ 48 MHz | ARM Cortex-M0+ @ 48 MHz | ARM Cortex-M0+ @ 48 MHz | ARM Cortex-M0+ @ 48 MHz |
| Flash Memory | 128 KB | 128 KB | 256 KB | 64 KB | 128 KB | 256 KB |
| SRAM | 16 KB | 16 KB | 32 KB | 8 KB | 16 KB | 32 KB |
| Operating Voltage | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 2.7 V to 5.5 V | 1.62 V to 3.63 V |
| USB Interface | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device |
| CAN-FD Peripheral | No | No | No | No | Yes (CAN-FD) | No |
| Operating Temperature | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +125C |
| GPIO Pins | 52 | 52 | 52 | 52 | 52 | 38 |
Bảo phân biệt quan trọng
- Integrated USB 2.0 Full-Speed device with on-chip PHY (vsATSAMC21J17A-AF)
- Six SERCOM modules independently configurable as I2C/SPI/UART (vsATSAMD21G18A-MU)
- 4 KB read-while-write EEPROM emulation in Flash (vsATSAMD21J16B-AF)
Ghi chú thiết kế
Power-rail decoupling is critical for stable USB operation. Place a 1 uF X7R ceramic on each VDDIN pin, a 100 nF X7R on each VDDIO pin, and a 4.7 uF bulk capacitor on VDDANA. The integrated 1.2 V core LDO requires its own 1 uF capacitor on the VDDOUT pin. For USB Full-Speed, VDDIO must be at least 3.0 V to meet USB signal swing requirements. Place the bulk capacitor within 5 mm of the MCU to suppress inrush during USB enumeration.
Use a continuous ground plane under the TQFP package and stitch vias around the perimeter to reduce EMI and provide a low-impedance return path for high-speed signals. Keep USB D+ and D- traces as short as possible (under 25 mm), matched within 2 mm, and routed over a continuous ground plane. Avoid routing other signals under the MCU or across the USB differential pair. The 0.5 mm pitch TQFP pads can be hand-soldered with care but production designs should use a reflow profile per J-STD-020 with peak temperature of 245C to 250C for Pb-free assembly.
Two common pitfalls with the ATSAMD21J17A-AF: (1) Forgetting that the bootloader consumes ~8 KB of Flash - target applications requiring >120 KB code must use the J18 variant instead. (2) Mistakenly routing PA24/PA25 (USB D-/D+) as regular GPIO without disabling the USB controller - the on-chip pull-up on D+ can cause enumeration failures. Always explicitly configure USB or GPIO mode via the PORT group and check the bootloader fuses before locking the device with NVMCTRL.SECDB bit.
At maximum 48 MHz clock with all peripherals active and 3.63 V supply, the SAM D21 draws approximately 8 mA active current (~29 mW). The 64-pin TQFP package has theta_JA of approximately 39 C/W on a 4-layer JEDEC test board, so junction temperature rise is roughly 1.1 C above ambient - thermal management is rarely a concern for this MCU. However, in closed enclosures with no airflow, verify by measuring VDDANA during operation; values above 3.6 V at high ambient indicate the regulator is approaching dropout.
Thông tin tuân thủ
RoHS compliant and Pb-free GREEN per supplier listings (DigiKey/Mouser). Industrial temperature range -40C to +125C. Not AEC-Q100 qualified - see ATSAMx21x E variants for automotive-grade equivalents.