SparkFun SAMD21 Mini Breakout Pinout

SparkFun SAMD21 Mini Breakout pinout for the compact expansion headers, serial buses and SAMD21 pin functions.

Main pinout

Pro Mini-sized SAMD21 Mini Breakout. The front photo shows JP1, JP2 and the I²C pair at JP4. The JP5 detail is rotated 90° clockwise relative to the board. The final detail shows SJ1 from the rear.

100%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.

38 visible
PinMCU pinTypesNotes
GPIOPWMD9 digital input/output, connected to PA07.
GPIOPWMD8 digital input/output, connected to PA06.
GPIOD7 digital input/output, connected to PA21.
GPIOPWMD6 digital input/output, connected to PA20.
GPIOPWMD5 digital input/output, connected to PA15.
GPIOPWMD4 digital input/output, connected to PA08.
GPIOPWMD3 digital input/output, connected to PA09.
GPIOD2 digital input/output, connected to PA14.
GNDCommon board ground.
ControlReset active at low level. Share the net with S1 and JP5.10.
GPIOUARTSerial1, reception for SERCOM0 PAD3.
GPIOUARTSerial1, transmission by SERCOM0 PAD2.
PowerPower input from 3.5 to 6.0 V before the regulator.
GNDCommon board ground.
AnalogExternal reference A for ADC or DAC.
PowerRegulated rail of 3.3 V, common to VCC and JP5.1.
AnalogExternal reference B of ADC.
AnalogAnalog input A2, connected to PB09.
AnalogAnalog input A1, connected to PB08.
Analog10 bit DAC output, VOUT.
GPIOSPIPWMSPI clock in Mini variant. It also controls the LED blue by Q1.
GPIOSPIPWMInput of SPI driver data into SERCOM1.
GPIOSPIPWMData output from the SPI driver in SERCOM1.
GPIOSPIPWMSelection of the SPI peripheral, defined as SS in the Mini variant.
NCThe nominal NC/TDI position has no PCB trace on this board.
NCThe nominal SWO/TDO position has no PCB trace on this board.
DebugDebug clock on PA30, pin 45.
DebugBidirectional debug data on PA31, pin 46.
ControlTarget reset, active at low level and shared with S1 and JP1.10.
NCKey position. The hole is present and has no electrical connection.
GNDSecond ground contact of the debugger.
GNDDebugger ground, attached to plane GND.
PowerTarget voltage reference, connected to VCC (3.3 V).
NCThe nominal GNDDTCT position has no PCB trace. Use JP5.3 and JP5.5 for ground.
I2CWire bus data, SERCOM3 PAD0.
I2CWire bus clock, SERCOM3 PAD1.
GNDExtrem of SJ1 connected to ground.
ControlExtrem of SJ1 connected to the cathode of D2, the LED red power supply.

Specifications

Microcontroller
ATSAMD21G18A, Cortex-M0+ 32 bits to 48 MHz, TQFP48
Memory
256 KB flash and 32 KB of SRAM
Power supply
USB or VIN from 3.5 to 6.0 V. VCC and I/O to 3.3 V.
Analogue conversion
ADC of 12 bits and DAC of 10 bits in A0
Connectors
JP1 and JP2 from 1×12 to 2.54 mm. JP4 from 1×2 to 2.54 mm. JP5 from 2×5 to 1.27 mm.
Regulator and clock
AP2112K-3.3, 600 mA nominal. Y1 32.768 kHz crystal for RTC.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
DEV-13664 v10Electrical schematicSparkFunJP1–JP5 nets, regulator, indicators and bridge SJ1.Datasheet
DEV-13664 v10Design EAGLESparkFunLocation, face, numbering and nets of each pad.Datasheet
DEV-13664Graphic PinoutSparkFunsilkscreen, buses and contact functions.Datasheet
ATSAMD21G18DatasheetAtmelEncapsulated with 48 pins, Table 6-1 and paragraph 6.2.Datasheet
SparkFun_SAMD_MiniOption ArduinoSparkFunAllocation of Serial1, Wire and SPI.Datasheet

Board notes

JP5 on the board
With the USB up and looking at the components, the row next to the RESET pushbutton is 1, 3, 5, 7 and 9 from left to right. The other one is 2, 4, 6, 8 and 10. The photographic detail turns both rows 90° clockwise.
SWD debugging
JP5.1 = VCC, 2 = SWDIO, 3 = GND, 4 = SWCLK, 5 = GND and 10 = /RST. Positions 6, 7, 8 and 9 lack net in PCB v10, including GNDDTCT (9).
Bridge SJ1
Closed factory bridge between the cathode of D2 and ground. When opening the LED feed is turned off.
Alternative functions
In advanced mode, Sx/y means SERCOMx PADy. TCx/y or TCCx/y means output WOy. These are chip multiplexer functions. Arduino API support depends on the variant and configuration.
USB and indicators
JP3 supplies power and native USB. D− connects to PA24 and D+ to PA25, with 500 mA fuse F1 on VBUS. S1 resets the microcontroller. The blue LED uses D13, the green TX LED uses PA27 and the yellow RX LED uses PB03.
Photograph
SparkFun Electronics, gallery DEV-13664. Front 13664-02 and back 13664-03. Cuts from the original photographs.