Files
-
BatteryBoard / _autosave-PrechargeCircuit_NEW.kicad_sch
-
BatteryBoard / BatteryBoard.kicad_pcb
-
BatteryBoard / BatteryBoard.kicad_sch
-
BatteryBoard / BatteryBoard.sch
-
BatteryBoard / CANCommunication.kicad_sch
-
BatteryBoard / CANCommunication.sch
-
BatteryBoard / Connectors.kicad_sch
-
BatteryBoard / Connectors.sch
-
BatteryBoard / CurrentSensing.kicad_sch
-
BatteryBoard / CurrentSensing.sch
-
BatteryBoard / ExternalClocks.kicad_sch
-
BatteryBoard / ExternalClocks.sch
-
BatteryBoard / Extra_IO.kicad_sch
-
BatteryBoard / ExtraAnalogIn.kicad_sch
-
BatteryBoard / ExtraDigitalOut.kicad_sch
-
BatteryBoard / Fan.kicad_sch
-
BatteryBoard / Fan.sch
-
BatteryBoard / InputProtection.kicad_sch
-
BatteryBoard / InputProtection.sch
-
BatteryBoard / InputProtectionFanTach.kicad_sch
-
BatteryBoard / InputProtectionFanTach.sch
-
BatteryBoard / LightsTeam.kicad_sch
-
BatteryBoard / LightsTeam.sch
-
BatteryBoard / MCU.kicad_sch
-
BatteryBoard / MCU.sch
-
BatteryBoard / PowerPathing.kicad_sch
-
BatteryBoard / PowerPathing.sch
-
BatteryBoard / PowerTeam.kicad_sch
-
BatteryBoard / PowerTeam.sch
-
BatteryBoard / PrechargeCircuit.kicad_sch
-
BatteryBoard / PrechargeCircuit_NEW.kicad_sch
-
BatteryBoard / Reset.kicad_sch
-
BatteryBoard / Reset.sch
-
BatteryBoard / STLink.kicad_sch
-
BatteryBoard / STLink.sch
-
BatteryBoard / SwitchingLogic.kicad_sch
-
DriverBoard / CANCommunication.kicad_sch
-
DriverBoard / Connectors.kicad_sch
-
DriverBoard / CurrentSensing.kicad_sch
-
DriverBoard / CurrentSensing.sch
-
DriverBoard / DriverBoard.kicad_pcb
-
DriverBoard / DriverBoard.kicad_sch
-
DriverBoard / ECU_inputs.kicad_sch
-
DriverBoard / EXAMPLE.kicad_sch
-
DriverBoard / ExternalClocks.kicad_sch
-
DriverBoard / InputProtection.kicad_sch
-
DriverBoard / inputs.kicad_sch
-
DriverBoard / IO.kicad_sch
-
DriverBoard / LightsTeam.kicad_sch
-
DriverBoard / MCU.kicad_sch
-
DriverBoard / outputs.kicad_sch
-
DriverBoard / PowerPathing.kicad_sch
-
DriverBoard / Reset.kicad_sch
-
DriverBoard / STLink.kicad_sch
-
DriverBoard / Simulation / PCB_Protection / LongWireSwitching.sch
-
DriverBoard / Simulation / PCB_Protection / MicroController.sch
-
DriverBoard / Simulation / PCB_Protection / PCB_Protection.kicad_pcb
-
DriverBoard / Simulation / PCB_Protection / PCB_Protection.sch
-
FuseBoard / FuseBoard.kicad_pcb
-
FuseBoard / FuseBoard.kicad_sch
-
MotorBoard / accelControl.kicad_sch
-
MotorBoard / CANCommunication.kicad_sch
-
MotorBoard / Connectors.kicad_sch
-
MotorBoard / digitalPot.kicad_sch
-
MotorBoard / EXAMPLE.kicad_sch
-
MotorBoard / ExternalClocks.kicad_sch
-
MotorBoard / InputProtection.kicad_sch
-
MotorBoard / IO.kicad_sch
-
MotorBoard / IsoCANCommunication.kicad_sch
-
MotorBoard / MCU.kicad_sch
-
MotorBoard / MotorBoard.kicad_pcb
-
MotorBoard / MotorBoard.kicad_sch
-
MotorBoard / PowerPathing.kicad_sch
-
MotorBoard / regenControl.kicad_sch
-
MotorBoard / Reset.kicad_sch
-
MotorBoard / STLink.kicad_sch
-
MotorBoard / switchingLogic.kicad_sch
-
MotorBoard / Simulation / PCB_Protection / LongWireSwitching.sch
-
MotorBoard / Simulation / PCB_Protection / MicroController.sch
-
MotorBoard / Simulation / PCB_Protection / PCB_Protection.kicad_pcb
-
MotorBoard / Simulation / PCB_Protection / PCB_Protection.sch
-
PrechargeBreakout / PrechargeBreakout / ChResistors.kicad_sch
-
PrechargeBreakout / PrechargeBreakout / DisResistors.kicad_sch
-
PrechargeBreakout / PrechargeBreakout / Precharge_Switch_Logic_CH.kicad_sch
-
PrechargeBreakout / PrechargeBreakout / Precharge_Switch_Logic_DIS.kicad_sch
-
PrechargeBreakout / PrechargeBreakout / PrechargeBreakout.kicad_pcb
-
PrechargeBreakout / PrechargeBreakout / PrechargeBreakout.kicad_sch
-
PrechargeBreakout / PrechargeBreakout / PrechargeSwitchLogic.kicad_sch
-
Template / CANCommunication.kicad_sch
-
Template / Connectors.kicad_sch
-
Template / EXAMPLE.kicad_sch
-
Template / ExternalClocks.kicad_sch
-
Template / InputProtection.kicad_sch
-
Template / MCU.kicad_sch
-
Template / PowerPathing.kicad_sch
-
Template / Reset.kicad_sch
-
Template / STLink.kicad_sch
-
Template / Template.kicad_pcb
-
Template / Template.kicad_sch
-
Template / Simulation / PCB_Protection / LongWireSwitching.sch
-
Template / Simulation / PCB_Protection / MicroController.sch
-
Template / Simulation / PCB_Protection / PCB_Protection.kicad_pcb
-
Template / Simulation / PCB_Protection / PCB_Protection.sch
Last update 2 years 7 months
by Kevin Dang
| FilesDriverBoardDocumentation | |
|---|---|
| .. | |
| Importing.md | |
| Layout.md | |
| Libraries.md | |
| Pins.md | |
| TemplateDocumentation.md |
Pins.mdPins
This document describes the different functions of each pin on the STM32 MCU. The highlighted functions are the recommended function to use for the pin, though not all of the recommendations must be followed. Some recommendations, however (such as those required for SWD programming/debugging) must be followed. See the datasheet for more details.
The MbedOS pin names are defined in the github repo.
Sorted by Pin Name
| STM Pin Name | MbedOS Pin Name(s) | Function(s) | Usage |
|---|---|---|---|
| PA0 | PA_0/A0 |
USART2_CTS, ADC12_IN1 | _ |
| PA1 | PA_1/A1 |
USART2_RTS_DE, ADC12_IN2 | _ |
| PA2 | PA_2 |
USART2_TX, ADC1_IN3 | _ |
| PA3 | PA_3 |
USART2_RX, SPI1_CLK, ADC1_IN4 | _ |
| PA4 | PA_4/A2 |
SPI1_NSS, SPI3_NSS, USART2_CK, ADC2_IN17, DAC1_OUT1 | _ |
| PA5 | PA_5/D13 |
SPI1_SCK, ADC2_IN13, DAC1_OUT2 | _ |
| PA6 | PA_6/D12 |
SPI1_MISO, ADC2_IN3, DAC2_OUT1 | _ |
| PA7 | PA_7/D11 |
SPI1_MOSI, ADC2_IN4 | _ |
| PA8 | PA_8/D7 |
I2C3_SCL, I2C2_SDA, USART1_CK, FDCAN3_RX, ADC5_IN1 | _ |
| PA9 | PA_9/D8 |
I2C3_SMBA, I2C2_SCL, USART1_TX, ADC5_IN2 | _ |
| PA10 | PA_10/D2 |
I2C2_SMBA, SPI2_MISO, USART1_RX | _ |
| PA11 | PA_11 |
SPI2_MOSI, USART1_CTS, FDCAN1_RX | MAIN_CAN_RX |
| PA12 | PA_12 |
USART1_RTS_DE, FDCAN1_TX | MAIN_CAN_TX |
| PA13 | PA_13 |
SWDIO | SWDIO |
| PA14 | PA_14 |
SWCLK | SWCLK |
| PA15 | PA_15 |
JTDI, I2C1_SCL, SPI1_NSS, SPI3_NSS, USART2_RX, UART4_RTS_DE, FDCAN3_TX | JTDI (not used) |
| PB0 | PB_0/A3 |
ADC3_IN12,ADC1_IN15 | _ |
| PB1 | PB_1 |
ADC3_IN1, ADC1_IN12 | _ |
| PB2 | PB_2 |
I2C3_SMBA, ADC2_IN12 | _ |
| PB3 | PB_3/D3 |
SWO, SPI1_SCK, SPI3_SCK, USART2_TX, FDCAN3_RX | SWO |
| PB4 | PB_4/D5 |
SPI1_MISO, SPI3_MISO, USART2_RX, UART5_RTS_DE, FDCAN3_TX | _ |
| PB5 | PB_5/D4 |
I2C1_SMBA, SPI1_MOSI, SPI3_MOSI, USART2_CK, I2C3_SDA, FDCAN2_RX, UART5_CTS | _ |
| PB6 | PB_6/D10 |
USART1_TX, FDCAN2_TX | USB_TX |
| PB7 | PB_7 |
I2C4_SDA, I2C1_SDA, USART1_RX, USART4_CTS | USB_RX |
| PB8 | PB_8/D15 |
I2C1_SCL, USART3_TX, FDCAN1_RX, BOOT0 | BOOT0 |
| PB9 | PB_9/D14 |
I2C1_SDA, USART3_TX, FDCAN1_TX, I2C2_SDA, UART5_TX | _ |
| PB10 | PB_10/D6 |
USART3_TX, SPI1_SCK | MAIN_CAN_STBY (can be on any pin) |
| PB11 | PB_11 |
USART3_RX, ADC12_IN14 | _ |
| PB12 | PB_12 |
I2C2_SMBA, SPI2_NSS, USART3_CK, FDCAN2_RX, ADC4_IN3, ADC1_IN11 | _ |
| PB13 | PB_13 |
SPI2_SCK, USART3_CTS, FDCAN2_TX, ADC3_IN5 | _ |
| PB14 | PB_14 |
SPI2_MISO, USART3_RTS_DE, ADC4_IN4, ADC1_IN5 | _ |
| PB15 | PB_15 |
SPI2_MOSI, ADC4_IN5, ADC2_IN15 | _ |
| PC13 | PC_13 |
_ | |
| PC14 | PC_14 |
OSC32_IN | OSC32_IN |
| PC15 | PC_15 |
OSC32_OUT | OSC32_OUT (not used) |
| PF0 | PF_0 |
OSC_IN | OSC_IN |
| PF1 | PF_1 |
OSC_OUT | OSC_OUT (not used) |
| PG10 | PG_10 |
NRST | NRST |