Full-size SparkFun SAMD21 Dev Breakout with Arduino R3 footprint, USB OTG and a LiPo charger. USB is at the top in the main view. The details show the internal contacts, connectors and rear test points.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternate functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
75 visible
Pin
MCU pin
Types
Notes
NC
First hole of the power block, reserved for Arduino R3. Position without electrical connection.
Power
Level reference for shields. Regulated rail of 3.3 V, common to IOREF and to the power of connectors SPI and SWD.
Control
Restart active at low level. Share net with S1, JP6.10 and the two contacts RESET of JP7.
Power
Regulated 3.3 V rail shared by IOREF and the power connections on the SPI and SWD headers.
Power
VUSB rail after the 500 mA fuse F1. Its voltage depends on the USB power state and the OTG circuit.
GND
Common board ground.
GND
Common board ground.
Power
External power before the regulator. Schematic v10 specifies 4.5–5.5 V at VIN when using the charger.
Analog
10 bit DAC voltage output and 12 bit ADC input AIN0.
AnalogPWM
Analogue input in PB08.
AnalogPWM
Analogue input in PB09.
Analog
External analog reference B of the ADC and input AIN4.
Analog
Analogue input in PA05.
Analog
Analogue input in PB02.
UART
Reception of Serial1 by SERCOM0 PAD3.
UART
Transmission of Serial1 by SERCOM0 PAD2.
GPIO
Input/digital output in PA14.
GPIOPWM
Input/digital output in PA09.
GPIOPWM
Input/digital output in PA08.
GPIOPWM
Input/digital output in PA15.
GPIOPWM
Input/digital output in PA20.
GPIO
Input/digital output in PA21.
GPIOPWM
Input/digital output in PA06.
GPIOPWM
Input/digital output in PA07.
GPIOPWM
Peripheral selection in the SERCOM1 alternative SPI mapping. It is configured by firmware.
GPIOPWM
Data output of the alternative SPI, SERCOM1 PAD0. It is configured by firmware.
GPIOPWM
Data input of the alternative SPI, SERCOM1 PAD3. It is configured by firmware.
GPIOPWM
Alternative SPI clock, SERCOM1 PAD1. This contact also governs the LED blue D4.
GND
Common board ground.
Analog
External analogue reference A of ADC and DAC.
I2C
I²C data for SERCOM3 PAD0. Index 20 in Arduino.
I2C
I²C clock by SERCOM3 PAD1. Index 21 by Arduino.
Debug
bidirectional debug data. JP5.1 and JP6.2 are connected to PA31.
Debug
Debug clock. JP5.2 and JP6.4 are attached to PA30.
UART
Serial reception for SERCOM5 PAD3. Index 31 in Arduino.
UART
Serial transmission by SERCOM5 PAD2. Index 30 in Arduino.
GPIOPWM
GPIO 38 of Arduino, also defined as ATN in the variant.
GND
Common board ground.
Control
Detection USB OTG. Connects to the stage that governs Q1 and to PA28 by R2.
USB
Positive line of the USB native, connected to PA25.
USB
Negative line of the USB native, connected to PA24.
Power
Contact VBUS of Micro-USB, on the side of the fuse connector F1 of 500 mA.
Power
Regulated 3.3 V rail shared by IOREF and the power connections on the SPI and SWD headers.
Debug
bidirectional debug data. JP5.1 and JP6.2 are connected to PA31.
GND
Common board ground.
Debug
Debug clock. JP5.2 and JP6.4 are attached to PA30.
GND
Common board ground.
NC
Nominal position SWO/TDO. Position without electrical connection.
NC
Key position with hole in this PCB. Position without electrical connection.
NC
Nominal position NC/TDI. Position without electrical connection.
NC
Nominal position GND Detect. Position without electrical connection.
Control
Restart active at low level. Share net with S1, JP6.10 and the two contacts RESET of JP7.
SPI
Data entry of the default SPI at SERCOM4 PAD0. Index 22 at Arduino.
Power
Regulated 3.3 V rail shared by IOREF and the power connections on the SPI and SWD headers.
SPI
Default SPI clock at SERCOM4 PAD3. Index 24 at Arduino.
SPI
Data output of the default SPI at SERCOM4 PAD2. Index 23 at Arduino.
Control
Restart active at low level. Share net with S1, JP6.10 and the two contacts RESET of JP7.
GND
Common board ground.
GND
Two pin input ground. common board ground.
Power
Positive terminal of the two-pin input. External power before the regulator. Schematic v10 specifies 4.5–5.5 V at VIN when using the charger.
Power
Center-positive contact of the optional jack. External power before the regulator. Schematic v10 specifies 4.5–5.5 V at VIN when using the charger.
GND
Optional jack sleeve contact. common board ground.
GND
Optional jack switching contact. common board ground.
GND
Terminal of the JST mounted. Common board ground.
Power
Terminal of the fitted JST connector. Positive terminal of the single-cell LiPo battery. JP4, JP8, and JP9 are in parallel.
GND
Auxiliary battery 2.54 mm pitch. common board ground.
GND
Alternative footprint for the 2 mm pitch JST connector, visible from the rear. Common board ground.
Power
Auxiliary battery hole, 2.54 mm pitch. Positive terminal of the single-cell LiPo battery. JP4, JP8, and JP9 are in parallel.
Power
Alternative footprint for the 2 mm pitch JST connector, visible from the rear. Positive terminal of the single-cell LiPo battery. JP4, JP8 and JP9 are wired in parallel.
GND
Ground for optional programming resistance. common board ground.
Control
Signal-side terminal of the optional programming resistor. PROG input on the MCP73831. With SJ1 open, R3 accepts an external resistor to ground.
Control
Top R-Prog pad in the rotated detail. SJ1 extreme leading to R1, the current programming resistance of 3.9 kΩ.
Control
Lower R-Prog pad in the rotated detail view. PROG input on the MCP73831. With SJ1 open, R3 accepts an external resistor to ground.
GND
Common board ground.
Control
Cathode of D3, LED red feed. SJ2 closed factory binds it to ground.
Specifications
Microcontroller
ATSAMD21G18A, Arm Cortex-M0+ of 32 bits to 48 MHz. TQFP48.
Memory
256 KB flash and 32 KB of SRAM.
Analogue conversion
ADC of 12 bits and DAC of 10 bits in A0.
Power supply
Logic of 3.3 V. USB, input VIN or LiPo of a cell. Regulator U3 of 600 mA nominals.
Battery
LiPo battery rated at 3.7 V nominal and up to 4.2 V. The MCP73831 uses the 3.9 kΩ resistor R1 to set a nominal charge current of about 256 mA.
Arduino R3 · JP7
Power blocks (8), analog (6) and digital (10 + 8), at a 2.54 mm pitch. SPI independent from 2×3 to 2.54 mm.
Debugging · JP6
Cortex Debug 2×5 to 1.27 mm. SWDIO and SWCLK also come out for JP5.
References
Datasheets
Manufacturer references and technical documentation.
A left is powered and A0 to A5, and right SCL to D8 and D7 to D0. JP5 is lowered from 38 to SWDIO. JP6 turns 90° clockwise. Pad 1 is the square marked 3.3V. JP6.6, 7, 8 and 9 are not connected.
SPI
The 2×3 connector uses SERCOM4 and has 3.3 V. On the front, the inner row has RST, SCK and MISO from left to right. The outer row has GND, MOSI and 3V3. Its detail turns 90° clockwise. D10 to D13 offer another allocation by SERCOM1.
Power supply
Header JP1 and the JP3 jack footprint share VIN. When charging through VIN, use the 4.5–5.5 V range shown in the v10 schematic. VUSB is downstream of F1 and reaches VIN through the switching circuit. IOREF is tied to 3.3 V.
Battery and bridges
JP4 is the fitted JST connector. JP8 shares its footprint and is visible from the back. JP9 is the adjacent pair of holes. Closing SJ1 adds R1 to the charging circuit. Opening SJ1 allows a programming resistor to be fitted at R3. Opening SJ2 disconnects the power LED from ground.
USB and signalling
The Micro-USB AB uses PA24 and PA25 for data and exposes SerialUSB in Arduino. The mounting tabs of the connector are to ground. S1 restarts the board. D4 blue follows D13, D5 green indicates TX, D6 yellow indicates RX, D2 red indicates load and D3 red indicates power.
Alternative functions
Sx/y indicates SERCOMx PADy. TCx/y and TCCx/y indicates output WOy. Multiplexer functions can share pad and are chosen with firmware. Pins marked with ~ show PWM screened.
Pictures
SparkFun Electronics, gallery DEV-13672. Front 13672-04 and back 13672-03. Rotated extensions retain the proportions of the sockets.