aboutsummaryrefslogtreecommitdiffstats
path: root/sw/dart-70/pio.txt
blob: bd8b6a611100bdea9bccbd873efda143bb5d924c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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