STM32 F4 Discovery
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF252419
Specifications
Chip | STM32F407VGT6 |
Package | LQFP100 |
RAM | 192 kBytes |
Flash | 1024 kBytes |
Speed | 168 Mhz |
USARTs | 6 |
SPIs | 3 |
I2Cs | 3 |
USB | Yes |
DACs | 2 |
SD Card | No |
Like this? Please tell your friends, blog, or support us by buying our boards!
Pinout
Hover the mouse over a pin function for more information. Clicking in a function will tell you how to use it in Espruino.
- Purple boxes show pins that are used for other functionality on the board. You should avoid using these unless you know that the marked device is not used.
- ! boxes contain extra information about the pin. Hover your mouse over them to see it.
- 3.3v boxes mark pins that are not 5v tolerant (they only take inputs from 0 - 3.3v, not 0 - 5v).
- GND is ground (0v).
- ADC is an Analog to Digital Converter (for reading analog voltages)
- DAC is a Digital to Analog Converter (for creating analog voltages). This is not available on all boards.
- PWM is for Pulse Width Modulation. This creates analog voltages from a digital output by sending a series of pulses.
- SPI is the 3 wire Serial Peripheral Interface.
- USART is a 2 wire peripheral for Serial Data.
- I2C is the 2 wire Inter-Integrated Circuit bus.
GND
VDD
GND
ADC
[C3] ADC123_IN13
MIC
[C3] MIC (clk)
SPI2 MOSI
[C3] SPI2_MOSI
C3
ADC
[A1] ADC123_IN1
PWM
[A1] TIM2_CH2 TIM5_CH2
UART4 RX
[A1] UART4_RX
A1
ADC
[A3] ADC123_IN3
PWM
[A3] TIM2_CH4 TIM5_CH4 TIM9_CH2
USART2 RX
[A3] USART2_RX
A3
ADC
[A5] ADC12_IN5
DAC
[A5] DAC2_OUT
MEMS
[A5] MEMS (sck)
SPI1 SCK
[A5] SPI1_SCK
3.3v
A5
ADC
[A7] ADC12_IN7
MEMS
[A7] MEMS (mosi)
PWM
[A7] TIM14_CH1 TIM1_CH1N TIM3_CH2 TIM8_CH1N
SPI1 MOSI
[A7] SPI1_MOSI
A7
ADC
[B1] ADC12_IN9
PWM
[B1] TIM1_CH3N TIM3_CH4 TIM8_CH3N
B1
GND
E7
E15
PWM
[B15] TIM12_CH2 TIM1_CH3N TIM8_CH3N
SPI2 MOSI
[B15] SPI2_MOSI
B15
D11
LED1
[D13] LED1
PWM
[D13] TIM4_CH2
D13
LED4
[D15] LED4
PWM
[D15] TIM4_CH4
D15
GND
GND
VDD
NRST
C0
ADC
[C0] ADC123_IN10
USB
[C0] USB (otg_pwr)
A0
ADC
[A0] ADC123_IN0
BTN1
[A0] BTN1
PWM
[A0] TIM5_CH1
UART4 TX
[A0] UART4_TX
A2
ADC
[A2] ADC123_IN2
PWM
[A2] TIM2_CH3 TIM5_CH3 TIM9_CH1
USART2 TX
[A2] USART2_TX
A4
3.3v
ADC
[A4] ADC12_IN4
DAC
[A4] DAC1_OUT
AUDIO
[A4] AUDIO (lrck)
USART2 CK
[A4] USART2_CK
A6
ADC
[A6] ADC12_IN6
MEMS
[A6] MEMS (miso)
PWM
[A6] TIM13_CH1 TIM3_CH1
SPI1 MISO
[A6] SPI1_MISO
B0
ADC
[B0] ADC12_IN8
PWM
[B0] TIM1_CH2N TIM3_CH3 TIM8_CH2N
B2
BOOT1
[B2] BOOT1
B14
PWM
[B14] TIM12_CH1 TIM1_CH2N TIM8_CH2N
SPI2 MISO
[B14] SPI2_MISO
D12
LED2
[D12] LED2
PWM
[D12] TIM4_CH1
D14
LED3
[D14] LED3
PWM
[D14] TIM4_CH3
NC
GND
GND
5V
3V3
OSC
[H0] OSC (1)
H0
E4
E2
MEMS
[E0] MEMS (int1)
E0
BOOT0
D3
D1
USB
[A10] USB (id)
PWM
[A10] TIM1_CH3
USART1 RX
[A10] USART1_RX
A10
GND
GND
5V
3V3
H1
OSC
[H1] OSC (2)
C13
E3
MEMS
[E3] MEMS (cs)
E1
MEMS
[E1] MEMS (int2)
B9
AUDIO
[B9] AUDIO (sda)
I2C1 SDA
[B9] I2C1_SDA
PWM
[B9] TIM11_CH1 TIM4_CH4
VDD
D4
AUDIO
[D4] AUDIO (nrst)
D0
A9
USB
[A9] USB (vbus)
PWM
[A9] TIM1_CH2
USART1 TX
[A9] USART1_TX
C7
AUDIO
[C7] AUDIO (mclk)
PWM
[C7] TIM3_CH2 TIM8_CH2
USART6 RX
[C7] USART6_RX
GND
Pins not on connectors
A11
USB
[A11] USB (dm)
PWM
[A11] TIM1_CH4
A12
USB
[A12] USB (dp)