The SparkFun Pro Micro header pins are numbered D1, D0, GND, ... from top left whereas the SparkFun Pro Micro RP2040 and the Adafruit KB2040 boards are using gpio 0, 1, GND, ... , so the pro_micro: connector gpio-map of these boards should reflect that. Graphical Datasheet for SparkFun Pro Micro RP2040: https://cdn.sparkfun.com/assets/e/2/7/6/b/ProMicroRP2040_Graphical_Datasheet.pdf Graphical Datasheet for SparkFun Pro Micro: https://cdn.sparkfun.com/assets/f/d/8/0/d/ProMicro16MHzv2.pdf Pinout of the Adafruit KB2040: https://learn.adafruit.com/assets/106984 Please note that the KB2040 uses CircuitPython pin labels D0, D1 which does not seemt correspond to the Arduino labels D0 and D1 used by the Pro Micro. Signed-off-by: Daniel Irekvist <ulmanyar@gmail.com>
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
# Copyright (C) 2021 Peter Johanson
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
GPIO pins exposed on Sparkfun Pro Micro (and compatible devices) headers.
|
|
|
|
The Sparkfun Pro Micro layout provides two headers, along opposite
|
|
edges of the board.
|
|
|
|
Proceeding counter-clockwise:
|
|
* A 12-pin Power and Digital Input header. This has input signals
|
|
labeled from 0 at the top through 9 at the bottom.
|
|
* An 12-pin Power and Digital/Analog Input header. This
|
|
has four power pins, followed by eight inputs, with a
|
|
non-monotonically decreasing numbering.
|
|
|
|
This binding provides a nexus mapping for 18 pins, as depicted below:
|
|
|
|
1 D1/TXO RAW -
|
|
0 D0/RXI GND -
|
|
- GND RST -
|
|
- GND VCC -
|
|
2 D2 D21/A3 21
|
|
3 D3 D20/A2 20
|
|
4 D4/A6 D19/A1 19
|
|
5 D5 D18/A0 18
|
|
6 D6/A7 D15 15
|
|
7 D7 D14 14
|
|
8 D8/A8 D16 16
|
|
9 D9/A9 D10/A10 10
|
|
|
|
A graphical datasheet of the headers can be seen here:
|
|
https://cdn.sparkfun.com/assets/f/d/8/0/d/ProMicro16MHzv2.pdf
|
|
|
|
compatible: "sparkfun,pro-micro-gpio"
|
|
|
|
include: [gpio-nexus.yaml, base.yaml]
|