aboutsummaryrefslogtreecommitdiffstats
path: root/sw/pio.txt
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-17 15:39:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-17 15:39:45 +0200
commit9be7009e6eed7e4d0c54c07a919b46642f4b3a6f (patch)
tree84f2f6744062ed99d3392016dfad80c3fb2af376 /sw/pio.txt
parentcd3d884aabc50fa577d0914bbd2cc8299dd7ae11 (diff)
downloadpicardy-9be7009e6eed7e4d0c54c07a919b46642f4b3a6f.tar.gz
picardy-9be7009e6eed7e4d0c54c07a919b46642f4b3a6f.tar.bz2
picardy-9be7009e6eed7e4d0c54c07a919b46642f4b3a6f.zip
SW: handle buttons
Diffstat (limited to 'sw/pio.txt')
-rw-r--r--sw/pio.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/sw/pio.txt b/sw/pio.txt
new file mode 100644
index 0000000..e8c85e8
--- /dev/null
+++ b/sw/pio.txt
@@ -0,0 +1,36 @@
+STM32F103C8Tx medium-density LQFP48
+
+Pin mapping: see datasheet Table 5
+
+## GPIO inputs
+
+Analog multi-level button inputs
+ * BTN0 PB1
+ * BTN1 PB0
+
+Digital buttons
+ * BTN2 PB12
+ * BTN3 PB13
+
+Digital rotary encoder
+ * ENC_A PA6 (TIM3 CH1)
+ * ENC_B PA7 (TIM3 CH2)
+ * ENC_BTN PC15 (limited current)
+
+CW paddle
+ * CW_TIP PB8
+ * CW_RING PB9
+
+Microphone switches
+ * SW1 PA3
+ * SW2 PA4
+
+## I2C1 for Si5351A-B-GT
+
+ * SCL PB6 default alternate function
+ * SDA PB7 default alternate function
+
+## I2C2 for Display, on address 0100<A2><A1><A0> depending on the solder bridges.
+
+ * SCL PB10 default alternate function
+ * SDA PB11 default alternate function