The Flymaple is our Quadcopter controller, based on Maple Project. It uses an STM32F103RET6 (ARM Cortex-M3) as the main MCU.
NOTE: On most ARM chips (including the STM32F103), all pins can be treated as General Input/Output (GPIO), and all pins can have another re-defined function.
The following table shows their main functions in the Flymaple, and other functions defined by STM32F103 in the remarks column. Original STM32F103 pin numbers are provided for further testing.
Pin# | Function | Remark | STM32F103 Pin# |
---|---|---|---|
0 | Serial2 RX | For TOPLEVEL Conversition | 17/PA3 |
1 | Serial2 TX | For TOPLEVEL Conversition | 16/PA2 |
2 | ADC_IN0/TIM2_CH1* | USART2 RTS | 14/PA0 |
3 | ADC_IN1/TIM2_CH2 | USART2 CTS | 15/PA1 |
4 | I2C1_SMBAl | 57/PB5 | |
5 | i2C1_SCL/TIM4_CH1 | 58/PB6 | |
6 | TIM1_CH1/MCO | USART1_CK | 41/PA8 |
7 | Serial1 TX | GPS or other Serial Devices | 42/PA9 |
8 | Serial1 RX | GPS or other Serial Devices | 43/PA10 |
9 | I2C1_SDA/TIM4_CH2 | 59/PB7 | |
10 | SPI1_NSS/ADC_IN4 | USART2_CK | 20/PA4 |
11 | PWM3 | SPI1_MOSI/ADC_IN7/TIM3_CH2 | 23/PA7 |
12 | PWM4 | SPI1_MISO/ADC_IN6/TIM3_CH1 | 22/PA6 |
13 | GND | SPI1_SCK/ADC_IN5 | 21/PA5 |
14 | PWM6 | TIM4_CH3 | 61/PB8 |
15 | ADC_IN10 | 8/PC0 | |
16 | ADC_IN11 | 9/PC1 | |
17 | ADC_IN12 | 10/PC2 | |
18 | ADC_IN13 | 11/PC3 | |
19 | ADC_IN14 | 24/PC4 | |
20 | ADC_IN15 | 25/PC5 | |
21 | Pressure sensor RESET Pin | ANTI_TAMP | 2/PC13 |
22 | Not pin out | OSC_IN | 3/PC14 |
23 | Not pin out | OSC_OUT | 4/PC15 |
24 | PWM5 | TIM4_CH4 | 62/PB9 |
25 | Not pin out | TIM3_ETR | 54/PD2 |
26 | GPIO | 51/PC10 | |
27 | PWM2 | ADC_IN8/TIM3_CH3 | 26/PB0 |
28 | PWM1 | ADC_IN9/TIM3_CH4 | 27PB1 |
29 | Serial3 TX | Any Serial Devices | 30/PB10 |
30 | Serial3 RX | Any Serial Devices | 30/PB11 |
31 | PPM CH1 | SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN | 33/PB12 |
32 | PPM CH2 | SPI2_SCK/USART3_CTS/TIM1_CH1N | 34/PB13 |
33 | PPM CH3 | SPI2_MISO /USART3_RTS/TIM1_CH2N | 35/PB13 |
34 | PPM CH4 | SPI2_MOSI/TIM1_CH3N | 36/PB15 |
35 | GPIO | 37/PC6 | |
36 | GPIO | 38/PC7 | |
37 | GPIO | 39/PC8 |
We developed Flymaple using KiCAD.
Download our PCB from: https://github.com/opendrone/flymaple-pcb/downloads