aboutsummaryrefslogtreecommitdiffstats
path: root/sw/pio.txt
blob: e8c85e8e018845f50f1db8b0abbce3a60bbf728c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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