ABCDEFGHIJKLMNOPQRSTUVWXY
1
Peripheral / PinPortSTM32F407 pinDev board header pinNotesMODEROTYPEROSPEEDRPUPDRI/O ConfigurationAlternate Function MappingConnected To
2
PWM Generation
3
TIM1_CH1PE960PE-125.0V Tolerant1000001AF PPAF1[IN 9] HS (PWM 0-100)Rear Wheel Command (Copley 5.0V pull-ups enabled, high is 0% duty cycle)
4
TIM1_CH2PE1164PE-145.0V Tolerant1000001AF PPAF1Programmable Input [IN7] PWMSteer Command (Copley 5.0V pull-ups enabled, high is 0% duty cycle)
5
6
Rear Wheel Position Encoder Timer
7
TIM8_CH1PC696UEXT-35.0V Tolerant0000000Input FloatingAF31YRear Wheel Encoder A
8
TIM8_CH2PC797UEXT-45.0V Tolerant0000000Input FloatingAF32YRear Wheel Encoder B
9
10
Steer Position Encoder Timer
11
TIM3_CH1PA642CON4-D125.0V Tolerant0000000Input FloatingAF21YSteer Encoder A
12
TIM3_CH2PA743CON4-D115.0V Tolerant0000000Input FloatingAF22YSteer Encoder B
13
14
Front Wheel Position Encoder Timer
15
TIM4_CH1PD1260PD-155.0V Tolerant0000000Input FloatingAF24YFront Wheel Encoder A
16
TIM4_CH2PD1364PD-165.0V Tolerant0000000Input FloatingAF23YFront Wheel Encoder B
17
18
I2C2 -- to MPU-6050
19
I2C2_SDAPF010PF-35.0V Tolerant1010001AF OD + PUAF4SDAMPU-6050 SDA
20
I2C2_SCLPF111PF-45.0V Tolerant1010001AF OD + PUAF4SCLMPU-6050 SCL
21
22
USART2
23
USART2_TXPD5119PD-85.0V Tolerant1000100AF PPAF7DIN / RXXBee Receive
24
USART2_RXPD6122PD-95.0V Tolerant000xx00Input FloatingAF7DOUT / TXXBee Transmit
25
26
JTAG
27
JTMSPA13105JTAG-75.0V TolerantInput floatingAF0External 10k pull-up to 3.3V
28
JTCKPA14109JTAG-95.0V TolerantInput floatingAF0External 10k pull-down to Ground
29
JTDIPA15110JTAG-55.0V TolerantInput floatingAF0External 10k pull-up to 3.3V
30
JTDOPB3133JTAG-135.0V TolerantGP output PPAF0External 10k pull-up to 3.3V
31
NJTRSTPB4134JTAG-35.0V TolerantInput floatingAF0External 10k pull-up to 3.3V
32
33
SDIO
34
SDIO_D0PC8985.0V TolerantAF12DAT0
35
SDIO_D1PC9995.0V TolerantAF12DAT1
36
SDIO_D2PC101115.0V TolerantAF12DAT2
37
SDIO_D3PC111125.0V TolerantAF12DAT3
38
SDIO_CKPC121135.0V TolerantAF12CLK
39
SDIO_CMDPD121165.0V TolerantAF12CMD
40
41
GPIOF
42
PF2PF212PF-55.0V TolerantGP output PPAF0RESET_BARpull low for 200ns to reset XBee
43
PF3PF313PF-65.0V Tolerant000001Input pull-upAF0Momentary switch to groundWhen switch is open, pin state should be high, when switch is closed, pin state is low.
44
PF4PF414PF-75.0V TolerantGP output PPAF0[IN1] EnableRear wheel enable, low enables drive (5.0V pull-ups enabled on Copley side)
45
PF5PF515PF-85.0V TolerantGP output PPAF0Enable Input [IN1]Steer motor enable, low enables drive (5.0V pull-ups enabled on Copley side)
46
PF6PF618PF-95.0V TolerantGP output PPAF0[IN 10] HS (PWM Dir)Rear wheel direction
47
PF7PF719PF-105.0V TolerantGP output PPAF0Programmable Input [IN8] DIRSteer direction
48
PF8PF820PF-115.0V TolerantInput floatingAF0[OUT 1] Fault OutRear wheel fault, active low
49
PF9PF921PF-125.0V TolerantInput floatingAF0Programmable Output [Out1] FaultSteer fault, active low
50
PF10PF1022PF-135.0V TolerantInput floatingAF0V_bat_monADC3_IN8, for monitoring battery. R1 = 6.8k, R2=12k, low threshold = 3053 when 12-bit A/D is done
51
PF11PF1149PF-145.0V TolerantInput floatingAF0Steer Index
52
PF12PF1250PF-155.0V TolerantGP output PPAF0Lean LEDturns on when abs(lean) < 1.0 deg
53
PF13PF1353PF-165.0V TolerantGP output PPAF0Steer LEDturns on when abs(steer) < 1.0 deg
54
PF14PF1454PF-175.0V Tolerant
55
PF15PF1555PF-185.0V Tolerant
56
57
BUTTON WAKEUP
58
PA0PA0345.0V Tolerant0xx0Input floatingAF0Wakeup led
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84