stm32 PDF
stm32 PDF
stm32 PDF
User manual
Discovery kit for STM32F401 line
Introduction
The STM32F401 Discovery kit (32F401CDISCOVERY) helps you to discover the entry level
of the STM32F4 series and to develop your applications. It is based on an
STM32F401VCT6 and includes an ST-LINK/V2 embedded debug tool interface, ST MEMS
Gyroscope, ST MEMS accelerometer + magnetometer, ST MEMS digital microphone, audio
DAC with integrated class D speaker driver, LEDs, pushbuttons and a USB OTG micro-AB
connector.
Contents
1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Development toolchain supporting the STM32F401 Discovery kit . . . . . . . 7
2.4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 STM32F401VCT6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2.1 Using ST-LINK/V2 to program/debug the STM32F401 on board . . . . . 16
4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 17
4.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.5 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.6 On board audio capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.7 USB OTG supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.8 E-compass MEMS (ST MEMS LSM303DLHC) . . . . . . . . . . . . . . . . . . . . 19
4.9 Gyroscope MEMS (ST MEMS L3GD20) . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.10 JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.11 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.11.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.11.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.12 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.13 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
List of tables
List of figures
1 Conventions
Table 1 provides the definition of some conventions used in the present document.
2 Quick start
3 Features
4 Hardware layout
The STM32F401 Discovery board has been designed around the STM32F401VCT6
microcontroller in a 100-pin LQFP package.
Figure 1 illustrates the connections between the STM32F401VCT6 and its peripherals (ST-
LINK/V2, pushbutton, LED, Audio DAC, USB, ST MEMS gyroscope, ST MEMS
accelerometer + magnetometer, ST MEMS microphone, and connectors).
Figure 2 and Figure 3 help you to locate these features on the STM32F401 Discovery
board.
Mini-USB
Embedded
ST-LINK/V2
SWD
STM32F401VCT6
I/O I/O
Header
Header
I/O RESET
LEDs B2
LD3...LD8 RESET
MP45DT02 B1
USER
CS43L22 L3GD20
MS31947V2
ST-LINK/V2
LD2 (red LED)
PWR
LD1 (red/green LED)
COM
CN2
SWD connector
CN3
ST-LINK/DISCOVERY selector
B2 reset button
MS32361V1
SB20 (BOOT1)
SB21 (B1-USER)
MS32362V1
STM32F401VCT6
LQFP100 14 x 14 mm
MS32365V1
NJTRST, JTDI,
JTCK/SWCLK JTAG & SW MPU
JTDO/SWD, JTDO ETM NVIC
TRACECLK
TRACED[3:0] D-BUS
ARM Cortex-M4
84 MHz I-BUS
ACCEL/
CACHE
Flash
S-BUS
up to
256 KB
SRAM 64 KB
DP
FIFO
PHY
DMA2 8 Streams AHB2 84 MHz
USB DM
FIFO
OTG FS ID, VBUS, SOF
8 Streams AHB1 84 MHz
DMA1 FIFO VDD Power managmt
Voltage VDD = 1.7 to 3.6 V
regulator (PDR OFF)
3.3 to 1.2 V
1.8 to 3.6 V
@VDDA @VDD VSS (PDR ON)
POR Supply VCAP
PA[15:0] RC HS reset
GPIO PORT A supervision
RC LS Int POR/PDR
PB[15:0] BOR VDDA, VSSA
GPIO PORT B
PLL1&2 NRST
PVD
PC[15:0] GPIO PORT C
@VDDA @VDD
PD[15:0] GPIO PORT D XTAL OSC OSC_IN
4- 16MHz OSC_OUT
PE[15:0] Reset &
GPIO PORT E WDG 32K
clock
MANAGT
control
PWR VBAT = 1.65 to 3.6 V
PH[1:0] GPIO PORT H interface
@VBAT
APB2CLK
AHB2PCLK
HCLK
APB1CLK
AHB1PCLK
OSC32_IN
XTAL 32 kHz OSC32_OUT
LS
RTC
AWU ALARM_OUT
Backup register
LS
STAMP1
CRC
TIM2 32b 4 channels, ETR as AF
smcard RX, TX as AF
16b USART2 irDA CTS, RTS as AF
2 channels as AF TIM9
MOSI/SD, MISO/SD_ext, SCK/CK
1 channel as AF TIM10 16b SP2/I2S2 NSS/WS, MCK as AF
WWDG
1 channel as AF SP3/I2S3 MOSI/SD, MISO/SD_ext, SCK/CK
TIM11 16b
NSS/WS, MCK as AF
APB2 84 MHz
smcard
RX, TX, CK as AF USART6
irDA
MHz
SPI1
APB2 60MHz
SCK, NSS as AF
APB1 42
MS31144V2
Hardware requirements:
- USB cable type A to mini-B
- Computer with Windows XP, Vista or 7
Development toolchains:
- Altium TASKING VX-Toolset
- Atollic TrueSTUDIO
- IAR EWARM
- Keil MDK-ARM
MS31115V1
Both CN3 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
ST-LINK/V2 functions enabled for application through external
Both CN3 jumpers OFF
CN2 connector (SWD supported)
4.4 LEDs
• LD1 COM:
LD1 default status is red. LD1 turns to green to indicate that communications are in
progress between the PC and the ST-LINK/V2.
• LD2 PWR:
The red LED indicates that the board is powered.
• User LD3:
The orange LED is a user LED connected to the I/O PD13 of the STM32F401VCT6.
• User LD4:
The green LED is a user LED connected to the I/O PD12 of the STM32F401VCT6.
• User LD5:
The red LED is a user LED connected to the I/O PD14 of the STM32F401VCT6.
• User LD6:
The blue LED is a user LED connected to the I/O PD15 of the STM32F401VCT6.
• USB LD7:
The green LED indicates when VBUS is present on CN5 and is connected to PA9 of
the STM32F401VCT6.
• USB LD8:
The red LED indicates an overcurrent from VBUS of CN5 and is connected to the I/O
PD5 of the STM32F401VCT6.
4.5 Pushbuttons
• B1 USER:
User and Wake-Up button connected to the I/O PA0 of the STM32F401VCT6.
• B2 RESET:
The pushbutton connected to NRST is used to RESET the STM32F401VCT6.
The STM32F401VCT6 MCU controls this motion sensor through the SPI interface.
Oscillator from external PC14 (from external oscillator trough the pin 9 of P2 connector)
The configuration needed is:
– SB17closed
– SB18 closed
– R21 and R22 removed
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
BOOT0 94 21
RESET
NRST
NRST 14 5 6
TIM2_CH1/TIM2_ETR,
USER
PA0- TIM5_CH1,
23 12
WKUP USART2_CTS,
ADC1_0, WKUP
TIM2_CH2, TIM5_CH2,
PA1 USART2_RTS, 24 11
ADC1_1
TIM2_CH3, TIM5_CH3,
PA2 TIM9_CH1, 25 14
USART2_TX, ADC1_2
TIM2_CH4, TIM5_CH4,
PA3 TIM9_CH2, 26 13
USART2_RX, ADC1_3
LRCK/AIN1x
SPI1_NSS,
PA4 SPI3_NSS/I2S3_WS, 29 16
USART2_CK, ADC1_4
SCL/SPC
TIM2_CH1/TIM2_ETR,
PA5 30 15
SPI1_SCK, ADC1_5
TIM1_BKIN,
SDO
PA6 TIM3_CH1, 31 18
SPI1_MISO, ADC1_6
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
SDA/SDI/SDO
TIM1_CH1N,
PA7 TIM3_CH2, 32 17
SPI1_MOSI, ADC1_7
MCO_1, TIM1_CH1,
I2C3_SCL,
PA8 67 43
USART1_CK,
USB_FS_SOF
TIM1_CH2,
GREEN
I2C3_SMBAL, VBUS
PA9 68 1 44
USART1_TX,
USB_FS_VBUS
TIM1_CH3,
PA10 USART1_RX, 69 4 41
ID
USB_FS_ID
TIM1_CH4,
USART1_CTS,
DM
PA11 70 2
USART6_TX,
USB_FS_DM
TIM1_ETR,
USART1_RTS,
DP
PA12 71 3
USART6_RX,
USB_FS_DP
SWCLK SWDIO
PA13 JTMS-SWDIO 72 4 42
JTCK-SWCLK,
PA14 76 2 39
I2S3ext_WS
JTDI,
TIM2_CH1/TIM2_ETR,
PA15 77 40
SPI1_NSS,
SPI3_NSS/I2S3_WS
TIM1_CH2N,
PB0 35 22
TIM3_CH3, ADC1_8
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
TIM1_CH3N,
PB1 36 21
TIM3_CH4, ADC1_9
PB2 37 24
JTDO-SWO,
TIM2_CH2, SPI1_SCK,
SWO
PB3 89 6 28
SPI3_SCK/I2S3_CK,
I2C2_SDA
JTRST, TIM3_CH1,
SPI1_MISO,
PB4 90 25
SPI3_MISO,
I2S3ext_SD, I2C3_SDA
TIM3_CH2,
I2C1_SMBAL,
PB5 91 26
SPI1_MOSI,
SPI3_MOSI/I2S3_SD
TIM4_CH1, I2C1_SCL,
SCL
SCL
PB6 USART1_TX, 92 23
USB_FS_INT
TIM4_CH2, I2C1_SDA,
PB7 93 24
USART1_RX
TIM4_CH3,
TIM10_CH1,
PB8 I2C1_SCL, 95 19
USB_FS_SCL,
SDIO_D4
TIM4_CH4,
TIM11_CH1,
I2C1_SDA,
SDA
SDA
PB9 96 20
SPI2_NSS/I2S2_WS,
USB_FS_SDA,
SDIO_D5
TIM2_CH3, I2C2_SCL,
CLK
PB10 47 34
SPI2_SCK/I2S2_CK
VDD
VCAP1 48 35
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
TIM1_BKIN,
I2C2_SMBAL,
PB12 51 36
SPI2_NSS/I2S2_WS,
I2S2ext_WS
TIM1_CH1N,
PB13 SPI2_SCK/I2S2_CK, 52 37
I2S2ext_CK
TIM1_CH2N,
PB14 SPI2_MISO, 53 38
I2S2ext_SD
RTC_50Hz,
TIM1_CH3N,
PB15 54 39
SPI2_MOSI/I2S2_SD,
I2S2ext_MISO
PowerOn
PC0 ADC1_10 15 8
PC1 ADC1_11 16 7
SPI2_MISO,
PC2 17 10
I2S2ext_SD, ADC1_12
PDM_OUT
AIN4x
SPI2_MOSI/I2S2_SD,
PC3 18 9
ADC1_13
PC4 ADC1_14 33 20
PC5 ADC1_15 34 19
TIM3_CH1, I2S2_MCK,
PC6 63 47
USART6_TX, SDIO_D6
MCLK
TIM3_CH2, I2S3_MCK,
PC7 64 48
USART6_RX, SDIO_D7
MCO_CPUCK,
PC8 TIM3_CH3, 65 45
USART6_CK, SDIO_D0
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
MCO_2, TIM3_CH4,
PC9 I2C3_SDA, I2S2_CKIN, 66 46
SDIO_D1
I2S3ext_CK,
SCLK
PC10 SPI3_SCK/I2S3_CK, 78 37
SDIO_D2
I2S3ext_SD,
PC11 79 38
SPI3_MISO, SDIO_D3
I2S3ext_MISO,
SDIN
PC12 SPI3_MOSI/I2S3_SD, 80 35
SDIO_CK
PC13 TAMP_1 7 OSC32_OUT OSC32_IN 12
PC14 OSC32_IN 8 9
PC15 OSC32_OUT 9 10
PD0 81 36
PD1 82 33
PD2 TIM3_ETR, SDIO_CMD 83 34
SPI2_SCK/I2S2_CK,
PD3 84 31
USART2_CTS
RESET
PD4 USART2_RTS 85 32
OverCurrent
RED
PD5 USART2_TX 86 29
SPI3_MOSI/I2S3_SD,
PD6 87 30
USART2_RX
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
PD7 USART2_CK 88 27
PD8 55 40
PD9 56 41
PD10 57 42
PD11 58 43
BLUE RED ORANGE GREEN
PD12 59 44
TIM4_CH1
PD13 TIM4_CH2 60 45
PD14 TIM4_CH3 61 46
PD15 TIM4_CH4 62 47
INT2 INT1
PE0 TIM4_ETR 97 17
PE1 98 18
DRDY
PE3 TRACED0 2 16
INT1
TRACED2, TIM9_CH1,
INT2
PE5 4 14
SPI4_MISO
TRACED3, TIM9_CH2,
PE6 5 11
SPI4_MOSI
PE7 TIM1_ETR 38 25
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
PE8 TIM1_CH1N 39 26
PE9 TIM1_CH1 40 27
PE10 TIM1_CH2N 41 28
PE11 TIM1_CH2, SPI4_NSS 42 29
TIM1_CH3N,
PE12 43 30
SPI4_SCK
PE13 TIM1_CH3, SPI4_MISO 44 31
PE14 TIM1_CH4, SPI4_MOSI 45 32
PE15 TIM1_BKIN 46 33
OSC_OUT OSC_IN
PH0 OSC_IN 12 7
PH1 OSC_OUT 13 8
GND GND GND GND VDD VDD 3 V 3 V 5 V 5 V
3 22
4
GND
GND
5 3 1 1
2 2
23
LSM303DLHC
Power supply
Pushbutton
MP45DT02
LQFP100
CS43L22
L3GD20
Free I/O
Main Alternate
SWD
OSC
USB
LED
CN5
CN2
P1
P2
function functions
GND GND
49 49
50 50
5 Mechanical drawing
ST_LINK_V2.SCHDOC
U_ST_LINK U_STM32Fx U_Audio
STM32Fx.SchDoc Audio.SchDoc
MCO PA0 PE0 PA4 PB10
MCO PA0 PE0 PA4 PB10
TM32F4_USART2_TX PA2 PA14 TCK/SWCLK PA1 PE1 PC12 PC3
PA2 PA14 PA1 PE1 PC12 PC3
TM32F4_USART2_RX PA3 PA13 TMS/SWDIO PA2 PE2 PC10 PC4
PA3 PA13 PA2 PE2 PC10 PC4
PA3 PE3 PD4
PA3 PE3 PD4
PA4 PE4 PC7 PB6
PA4 PE4 PC7 PB6
NRST T_NRST PA5 PE5 PB9
NRST PA5 PE5 PB9
PB3 T_SWO PA6 PE6
PB3 PA6 PE6
PA7 PE7
PA7 PE7
PA8 PE8 U_IO Peripherals
PA8 PE8
PA9 PE9 IO Peripherals.SchDoc
PA9 PE9
U_USB_OTG_FS PA10 PE10 PD12 PA0
PA10 PE10 PD12 PA0
USB_OTG_FS.SchDoc PA11 PE11 PD13 NRST
PA11 PE11 PD13 NRST
PA9 PD5 PA12 PE12 PD14
PA9 PD5 PA12 PE12 PD14
PA10 PC0 PA13 PE13 PD15 PE0
PA10 PC0 PA13 PE13 PD15 PE0
PA11 PA14 PE14 PE1
PA11 PA14 PE14 PE1
PA12 PA15 PE15 PB6 PE3
PA12 PA15 PE15 PB6 PE3
PB9 PA5
PB9 PA5
PB0 PD0 PE2 PA6
PB0 PD0 PE2 PA6
PB1 PD1 PE4 PA7
PB1 PD1 PE4 PA7
PB2 PD2 PE5
PB2 PD2 PE5
PB3 PD3
PB3 PD3
PB4 PD4
PB4 PD4
PB5 PD5
PB5 PD5
PB6 PD6
PB6 PD6
PB7 PD7
PB7 PD7
PB8 PD8 P2
Electrical schematics
PB8 PD8
PB9 PD9
PB9 PD9 1 2
P1 PB10 PD10 5V 5V
PB10 PD10 5V 3 4 5V
PD11 3V 3V
1 2 PD11 3V 5 6 3V
PB12 PD12 PH0 PH1
VDD 3 4 VDD PB12 PD12 7 8
NRST PB13 PD13 PC14 PC15
5 6 PB13 PD13 9 10
PC1 PC0 PB14 PD14 PE6 PC13
7 8 PB14 PD14 11 12
PC3 PC2 PB15 PD15 PE4 PE5
9 10 PB15 PD15 13 14
PA1 PA0 PE2 PE3
11 12 15 16
PA3 PA2 PC0 MCO PE0 PE1
DocID025174 Rev 1
13 14 PC0 MCO 17 18
PA5 PA4 PC1 PB8 PB9
15 16 PC1 19 20
PA7 PA6 PC2 PH0 BOOT0
17 18 PC2 PH0 21 22 VDD
PC5 PC4 PC3 PH1 PB6 PB7
19 20 PC3 PH1 23 24
PB1 PB0 PC4 PB4 PB5
21 22 PC4 25 26
PB2 BOOT1 / PB2 PC5 BOOT0 PD7 PB3
23 24 PC5 BOOT0 27 28
PE7 PE8 PC6 PD5 PD6
25 26 PC6 29 30
PE9 PE10 PC7 NRST PD3 PD4
27 28 PC7 NRST 31 32
PE11 PE12 PC8 PD1 PD2
29 30 PC8 33 34
PE13 PE14 PC9 PC12 PD0
31 32 PC9 35 36
PE15 PB10 PC10 PC10 PC11
33 34 PC10 37 38
NC PB12 PC11 PA14 PA15
35 36 PC11 39 40
PB13 PB14 PC12 PA10 PA13
37 38 PC12 41 42
PB15 PD8 PC13 PA8 PA9
39 40 PC13 43 44
PD9 PD10 PC14 PC8 PC9
41 42 PC14 45 46
Figure 10. STM32F401 Discovery board
STMicroelectronics
Title:
STM32F401C-DISCOVERY
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 1
31/39
Electrical schematics
37
32/39
TCK/SWCLK
PA14
Electrical schematics
TMS/SWDIO
PA13
T_NRST SWD
NRST
T_SWO SB13
R5 PB3
R12 10K SB15
100K
Board Ident: PC13=0 R14
R11 [NA] 10K D2
SWD R2 AIN_1
[NA]
SWIM_IN
SWIM
SWIM_IN
SWIM_RST
SWIM_RST_IN
STM_JTCK
BAT60JFILM
CN2
DEFAULT
RESERVED
3V
R10 T_JTCK
48
47
46
45
44
43
42
41
40
39
38
37
1 3V
U2 22 SB3 SB2
2
STM32F103C8T6 STM_JTCK SWCLK
3
PB9
PB8
PB7
PB6
PB5
4 SB5 SB4
C9 C6 R15 T_JTMS
VSS_3
5
VDD_3
BOOT0
22 SB7 SB6
6
PB3/JTDO
PA15/JTDI
20pF X1 20pF 1 36 R16 T_NRST STM_JTMS SWDIO
VBAT VDD_2 3V
PB4/JNTRST
3V 1 2 2 35 Header 6 22 SB9 SB8
JTCK/SWCLK
PC13 VSS_2
3 34 STM_JTMS R17 T_SWO
8MHz PC14 JTMS/SWDIO
4 33 USB_DP 22
PC15 PA12
R18 OSC_IN 5 32 USB_DM
OSCIN PA11
100K OSC_OUT 6 31 T_SWO
1
2
3
4
OSCOUT PA10
STM_RST 7 30 LED_STLINK RC Must be very close to STM32F103 pin 29
NRST PA9 R66
8 29 MCO
C11 VSSA PA8 MCO
9 28 100 CN3
3V
100nF VDDA PB15 C67
SB12 R20 4K7 AIN_1 10 27 T_JTMS
PA0 PB14 20pF
11 26 T_JTCK
PA1 PB13 R67
Jumpers ON --> DISCOVERY Selected
R19 4K7 12 25
PA2 PB12 100 Jumpers OFF --> ST-LINK Selected
T_SWDIO_IN Not Fitted
DocID025174 Rev 1
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1
STM32F4_USART2_RX
STLINK_TX
Wired on Solder Side
13
14
15
16
17
18
20
22
23
24
Idd LD1
PA3
SB11 Red
JP4 R4
TX JP1 3V VDD COM 2 1
3V JP2
RX 100
STLINK_RX
T_JTCK
T_JTDO
T_JTDI
T_NRST
T_JRST 19
SWIM_IN 21
SWIM
PA2 R13
SB10 JP3 R3
STM32F4_USART2_TX 1K LED_STLINK 3 4 R1
3V
100 0
Not Fitted _Green
LD2 LD_BICOLOR_CMS
LED, red
Figure 11. ST-LINK/V2 (SWD only)
Close to JP 3V
Not Fitted EXT_5V, Input or Output
PWR
C7 C8 C12 C10 D1
100nF 100nF 100nF 100nF 5V U1 D3
U5V 5V
1 Vin Vout 5
3V
BAT60JFILM
3 INH BAT60JFILM
C1 GND BYPASS C4
USB 5V U3 2V5 1uF 1uF
2
4
D+
4 R6 100K LD3985M25R
ID C16 C13 C15
5
GND 100nF 10nF 100nF
6
SHELL STMicroelectronics
USB-MINI-typeB
Title:
STM32F401C-DISCOVERY ST-LINK/V2 (SWD only)
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 2 of 6
UM1669
UM1669
U4A
PA0 23 97 PE0
PA0 PA0 PE0 PE0
PA1 24 98 PE1
PA1 PA1 PE1 PE1
PA2 25 1 PE2
PA2 PA2 PE2 PE2
PA3 26 2 PE3 BOOT1
PA3 PA3 PE3 PE3
PA4 29 3 PE4 VDD
PA4 PA4 PE4 PE4
PA5 30 4 PE5
PA5 PA5 PE5 PE5
PA6 31 5 PE6
PA6 PA6 PE6 PE6
PA7 32 38 PE7 R30
PA7 PA7 PE7 PE7
PA8 67 39 PE8 10K
PA8 PA8 PE8 PE8
PA9 68 40 PE9 PB2
PA9 PA9 PE9 PE9
PA10 69 41 PE10
PA10 PA10 PE10 PE10
PA11 70 42 PE11 R31
PA11 PA11 PE11 PE11
PA12 71 43 PE12 510
PA12 PA12 PE12 PE12
PA13 72 44 PE13
PA13 PA13 PE13 PE13
PA14 76 45 PE14
PA14 PA14 PE14 PE14
PA15 77 46 PE15
PA15 PA15 PE15 PE15
SB20
VDD PB0 35 81 PD0
PB0 PB0 PD0 PD0
PB1 36 82 PD1
PB1 PB1 PD1 PD1
PB2 37 83 PD2
PB2 PB2 PD2 PD2
R27 R32 PB3 89 84 PD3 Must be close to the Crystal
PB3 PB3 PD3 PD3
4.7K 4.7K PB4 90 85 PD4
PB4 PB4 PD4 PD4
PB5 91 86 PD5
PB5 PB5 PD5 PD5
PB6 PB6 92 87 PD6
PB6 PB6 PD6 PD6
PB9 PB7 93 88 PD7 MCO
PB7 PB7 PD7 PD7 MCO
PB8 95 55 PD8
PB8 PB8 PD8 PD8
PB9 96 56 PD9
PB9 PB9 PD9 PD9
PB10 47 57 PD10
PB10 PB10 PD10 PD10
58 PD11
PD11 PD11 PH0
PB12 51 59 PD12 SB14
PB12 PB12 PD12 PD12
PB13 52 60 PD13
PB13 PB13 PD13 PD13 PH1
PB14 53 61 PD14 SB16
PB14 PB14 PD14 PD14
PB15 54 62 PD15
PB15 PB15 PD15 PD15 R25 C19
DocID025174 Rev 1
PC0 15 99 20pF
2
PC12 80 C28
1
2
33/39
Electrical schematics
37
34/39
Electrical schematics
R59 R60
51 51
C60 C61
U8 22nF 22nF 2 CN4
Audio_SDA PB9 1 15
PB9 SDA HP/LINE_OUTA
Audio_SCL PB6 2 14
PB6 SCL HP/LINE_OUTB
3 31 3
A0 SPKR/HP R63 1
I2S3_MCK PC7 37 0 ST-225-02
PC7 MCLK
I2S3_SCK PC10 38 4
PC10 SCLK SPKR_OUTA+
I2S3_SD PC12 39 6
PC12 SDIN SPKR_OUTA-
I2S3_WS PA4 40 7
PA4 LRCK SPKR_OUTB+ C49 C50
Audio_RST PD4 32 9
PD4 RESET SPKR_OUTB- 100nF 100nF
8
R43 VP 3V
10 5
-VHPFILT VP
10K 11
FLYN
30 C47
C52 C56 AIN1B R45 R46
29 PA4 Audio_DAC_OUT
1uF 1uF AIN1A
12 26 100 [NA]
FLYP AIN2B 1uF R44
25
AIN2A
2V5 24 100K
AIN3B R50
13 23
+VHP AIN3A C58
16 22 C57 100K
C44 C45 C59 C64 VA AIN4B R51 10nF R52 R53
34 21 PC3 PDM_OUT
100nF 100nF 100nF 1uF VD AIN4A
100 1.2K 0
20 19 1uF
TSTO VQ R47
3V 36 28 PC4
DocID025174 Rev 1
TSTO AFILTB PC4
33 27 [NA]
VL AFILTA C63
35 18
C46 DGND FILT+ C51 1uF
41 17
100nF GND/Thermal Pad AGND C53 150pF
CS43L22 C62 150pF
Figure 13. Audio
3V C66 3V
C65
100nF
STMicroelectronics
Title:
STM32F401C-DISCOVERY Audio
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 4 of 6
UM1669
UM1669
3V
R65
620
3V
LD8
R49 LED, red
R41 U6 47K
10K 2 3 R48 PD5 OTG_FS_OverCurrent
GND FAULT PD5
5 1 0
R42 5V IN OUT
OTG_FS_PowerSwitchOn PC0 4 CN5
PC0 EN
0 1
C54 VBUS
STMPS2141STR 2
4.7uF DM
3
DP
4
ID
5
GND
6
USB_Micro-AB receptacle
Shield
VBUS_FS PA9 USB-MICRO-AB
PA9
DocID025174 Rev 1
OTG_FS_DM PA11 R56 22
PA11
OTG_FS_DP PA12 R58 22
PA12
OTG_FS_ID PA10 R57 0
PA10
3V
U9 R64
Figure 14. USB_OTG_FS
B3 A3 330
Vbus ID
C3 C1
D+out D+in
D3 D1
D-out D-in LD7
A2 B1
Dz Pd1 LED, green
B2 C2
Pup Pd2
D2 R54
3
GND 47K
EMIF02-USB03F2 1 T1
9013-SOT23
2
R55
[NA]
STMicroelectronics
Title:
STM32F401C-DISCOVERY USB_OTG_FS
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 5 of 6
35/39
Electrical schematics
37
36/39
Electrical schematics
VDD VDD
R37
R33
4
1
100
[NA]
C36 NRST
B1
NRST
4
1
SB1
[NA]
3
2
PA0 R34 C39
B2
PA0
SB21 330
100nF
SW-PUSH-CMS_BLUE
R35
3
2
220K
SW-PUSH-CMS_BLACK
3V
DocID025174 Rev 1
U5 C37
1 14 10uF
VDD_IO VDD
PB6 2 13 C41 220nF LD4
PB6 SCL SETC R38
PB9 3 12 U PD12
PB9 SDA SETP PD12
PE5 4 11 330
PE5 INT2 GND LED, green
PE4 5 10
Figure 15. Peripherals
7 Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE
IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH
PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR
ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED
FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN
WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE,
AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS.
PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE
CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.