aboutsummaryrefslogtreecommitdiffstats
path: root/sw/dart-70/pio.txt
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-25 11:17:03 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-25 11:17:03 +0100
commit2240e0b6683bcb69b1f477f4449de9cc17314ccd (patch)
treeab38c9e75a649faaa466578f0f6fc0b511e3607d /sw/dart-70/pio.txt
parent719fcaf1e0b69eefde2c7c9a572d4c807f8bc7ca (diff)
downloadpicardy-2240e0b6683bcb69b1f477f4449de9cc17314ccd.tar.gz
picardy-2240e0b6683bcb69b1f477f4449de9cc17314ccd.tar.bz2
picardy-2240e0b6683bcb69b1f477f4449de9cc17314ccd.zip
Create dart-70 firmware
Diffstat (limited to 'sw/dart-70/pio.txt')
-rw-r--r--sw/dart-70/pio.txt66
1 files changed, 66 insertions, 0 deletions
diff --git a/sw/dart-70/pio.txt b/sw/dart-70/pio.txt
new file mode 100644
index 0000000..bd8b6a6
--- /dev/null
+++ b/sw/dart-70/pio.txt
@@ -0,0 +1,66 @@
+STM32F103C8Tx medium-density LQFP48
+
+Pin mapping: see datasheet Table 5
+
+## GPIO inputs
+
+Analog RX AGC measurement
+ * S-Meter PA5
+
+Digital buttons, all with external pullup
+ * BTN A PB1
+ * BTN B PB0
+ * BTN C PB12
+ * BTN D PB13
+
+Digital rotary encoder
+ * ENC_A PA6 (TIM3 CH1)
+ * ENC_B PA7 (TIM3 CH2)
+ * ENC_BTN PC15 (external pullup, limited current)
+
+CW paddle
+ * CW_TIP PB8
+ * CW_RING PB9
+
+CW output
+ * Sidetone PA8 (TIM1 CH1)
+
+Microphone switches
+ * MIC_PTT PA3 ADC12_IN3 (floating)
+ * VOX_PTTn PA0 ADC12_IN0 (needs internal pullup)
+
+## GPIO outputs
+
+ * EN_RX PB3
+ * EN_TX PB5
+ * CW_KEYn PA15
+ * MUTE_SPKR PA2
+ * MUTE_MICn PA1
+ * STATUSn PB14
+
+## Reserved for future use
+To XTAL filter board
+ * GPIO_XTAL PA4 ADC12_IN4
+
+J33 Header
+* PB4, PB15
+* PA9 USART1_TX
+* PA10 USART1_RX
+
+## 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
+
+## Timers
+TIM1 is an advanced control timer, TIM2,3,4 are general purpose
+
+ * TIM1 CW Sidetone PWM output
+ * TIM2 Clock timer
+ * TIM3 QEI decoder
+ * TIM4