Adafruit QT Py SAMD21 Pinout

Adafruit QT Py SAMD21 pinout for the castellated edge pins, USB-C contacts and rear solder pads.

Jump to pin index ↓

Main pinout

With USB-C at the top, the two rows follow the labels printed on the board. The four lower lines point to the STEMMA QT solder terminals. SDA and SCL share the signals on the left side.

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.

18 visible
PinMCU pinTypesNotes
GPIOAnalogDACTouchA0 corresponds to D0 (PA02). Real analog output of 10 bits.
PowerLine of 5 V after diode D1. Share net with pad + on the rear.
GPIOAnalogTouchA1 corresponds to D1 (PA03). External analogue reference A.
GNDCommon ground of USB, regulator, GPIO and STEMMA QT.
GPIOAnalogPWMTouchA2 corresponds to D2 (PA04). External analogue reference B of the microcontroller.
Power3.3 V regulated output shared with 2 pin of STEMMA QT.
GPIOAnalogPWMTouchA3 corresponds to D3 (PA05). Digital input and output with ADC.
GPIOAnalogSPIPWMMO corresponds to D10 (PA10). Data output from the SPI controller.
GPIOI2CPWMSDA corresponds to D4 (PA16). Data I²C of the Wire bus, shared with CONN1.3.
GPIOAnalogSPIPWMMI corresponds to D9 (PA09). Data entry of the SPI controller.
GPIOI2CPWMSCL corresponds to D5 (PA17). Wire bus I²C clock, shared with CONN1.4.
GPIOAnalogSPIPWMSCK corresponds to D8 (PA11). External bus clock SPI.
GPIOAnalogUARTPWMTouchTX corresponds to D6 (PA06). Transmitter output UART Serial1.
GPIOAnalogUARTPWMTouchRX corresponds to D7 (PA07). Receiver input UART Serial1.
GNDCommon ground of connector.
PowerRegulated 3.3 V supply.
I2CData I²C, same net as SDA/D4.
I2CI²C clock, same net as SCL/D5.

Specifications

Microcontroller
ATSAMD21E18A-U · Arm Cortex-M0+ to 48 MHz
Memory
256 KB internal flash and 32 KB of SRAM
Header I/O
11 GPIO of 3.3 V · 9 12 bit ADC inputs · DAC of 10 bits in A0 · 9 PWM outputs
Buses Arduino
Serial1 = SERCOM0 · Wire = SERCOM1 · SPI = SERCOM2 · SPI1 = SERCOM3
Power supply
USB-C of 5 V · regulator AP2112K-3.3 · logic and power STEMMA QT of 3.3 V
Identification
C within a circle between the 5V and GND pads on the back. The EAGLE design states REV=C. The shop photo shows the variant with an updated touch button.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATSAMD21E18ADatasheetMicrochipEncapsulated, levels, memory and peripherals.Datasheet
QT Py SAMD21Pin GuideAdafruitRow names, feedings and board functions.Datasheet
QT Py SAMD21Official PinoutAdafruitCorrespondence between GPIO, ADC, tactile lines and multiplexers.Datasheet
QT Py SAMD21SchematicAdafruitUSB-C, STEMMA QT, optional U2 flash and back pads.Datasheet
QT Py SAMD21Design of PCBAdafruitLocation, numbering and face of each footprint in the C revision.Datasheet
SAMD21E18AAllocation of pinsMicrochip / AtmelSelection C and D of SERCOM, ADC, I²S, timers and interrupts.Datasheet
ArduinoCore-samdqtpy_m0 variantAdafruitWire, SPI and SPI1 and pads used in Arduino.Datasheet
ArduinoCore-samdTable of pinsAdafruitPorts, UART, optional flash timers and pins.Datasheet
CircuitPythonBoard moduleAdafruitAka I/O, buses and NeoPixel.Datasheet

Board notes

STEMMA QT · CONN1
With USB-C at the top, the solder terminals from left to right are 1 GND, 2 3.3 V, 3 SDA and 4 SCL. The mounting tabs connect to GND. SDA and SCL need external pull-up resistors, usually provided by the connected module.
Multiplexores SERCOM
Sx.y means SERCOM x, pad y. Each pin tab indicates the mux C or D that enables that path. Signals that share a pad or block are selected by firmware. The I²C bus of the connector and the header bus are one.
Digital Audio I²S
RX/A7 leads SD0, MO/A10 leads SCK0 and SCK/A8 leads FS0. MI/A9 supports optional output MCK0.
NeoPixel and RESET
The SK6805 uses D11/PA18 for data and D12/PA15 for switching power. The pushbutton next to the STEMMA QT and the R pad on the rear share the active RESET input at low level.
Footprint SPI Flash · U2
The rear accepts a 2 MB GD25Q16 in an SOIC-8 package. The photographed board has an unpopulated footprint. The internal SPI1 bus uses SERCOM3 and CS on D17/PA08. Pin 1 is at the lower right next to the 1 on the silkscreen.
Power and USB-C
Diode D1 conducts from VBUS to +5V. The 5V pin and the rear + pad are downstream of the diode. D− and D+ are PA24 and PA25, respectively. CC1 and CC2 each have a 5.1 kΩ resistor to ground.
Photographs and design
Product photographs 4600 and hardware from Adafruit Industries. Design by Limor Fried/Ladyada. CAD is distributed under CC BY-SA 3.0.