Sie sind auf Seite 1von 38

UM1669

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.

Figure 1. STM32F401 Discovery board

September 2013 DocID025174 Rev 1 1/39


www.st.com
Contents UM1669

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

2/39 DocID025174 Rev 1


UM1669 Contents

7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

DocID025174 Rev 1 3/39


3
List of tables UM1669

List of tables

Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6


Table 2. Features and benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 3. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4. Debug connector CN2 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 5. Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 6. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 7. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

4/39 DocID025174 Rev 1


UM1669 List of figures

List of figures

Figure 1. STM32F401 Discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


Figure 1. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 2. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 3. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 4. STM32F401VCT6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 5. STM32F401VCT6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 6. Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 7. STM32F401 Discovery board connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 8. ST-Link connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 9. STM32F401 Discovery board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 10. STM32F401 Discovery board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 11. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 12. STM32F401VCT6 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 13. Audio. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 14. USB_OTG_FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 15. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

DocID025174 Rev 1 5/39


5
Conventions UM1669

1 Conventions

Table 1 provides the definition of some conventions used in the present document.

Table 1. ON/OFF conventions


Convention Definition

Jumper JPx ON Jumper fitted


Jumper JPx OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by solder
Solder bridge SBx OFF SBx connections left open

6/39 DocID025174 Rev 1


UM1669 Quick start

2 Quick start

The STM32F401 Discovery is a low-cost and easy-to-use development kit to quickly


evaluate and start a development with an STM32F4 entry level microcontroller.
Before installing and using the product, please accept the Evaluation Product License
Agreement from www.st.com/stm32f4-discovery.
For more information on the STM32F401 Discovery board and for demonstration software,
visit www.st.com/stm32f4-discovery.

2.1 Getting started


Follow the sequence below to configure the STM32F401 Discovery board and launch the
DISCOVER application:
1. Ensure that the jumpers JP2 and CN3 are set to "on" (Discovery mode).
2. Connect the STM32F401 Discovery board to a PC using a USB cable type A/mini-B
through the USB ST-LINK connector CN1, to power the board. The LED LD2 (PWR)
will light up and the four LEDs between the buttons B1 and B2 start blinking.
3. Press the user button B1 to enable the MEMS sensor. The four LEDs will indicate the
board motion direction and speed. When connected to a PC with a second USB type
A/micro-B cable through CN5, the board will be recognized as a standard mouse.
4. The demo software, as well as other software examples that allow you to discover the
STM32 F4 series features, are available on www.st.com/stm32f4-discovery.
5. Develop your own applications starting from the examples.

2.2 System requirements


• Windows PC (XP, Vista, 7)
• USB type A to mini-B cable

2.3 Development toolchain supporting the STM32F401


Discovery kit
• Altium: TASKING™ VX-Toolset
• Atollic: TrueSTUDIO
• IAR: EWARM
• Keil™: MDK-ARM

2.4 Order code


To order the STM32F401 Discovery kit, use the STM32F401C-DISCO order code.

DocID025174 Rev 1 7/39


37
Features UM1669

3 Features

The STM32F401 Discovery board offers the following features:


• STM32F401VCT6 microcontroller featuring 256 KB of Flash memory, 64 KB of RAM in
an LQFP100 package
• On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-
LINK/V2 (with SWD connector for programming and debugging)
• Board power supply: through USB bus or from an external 5 V supply voltage
• External application power supply: 3 V and 5 V
• L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope.
• LSM303DLHC, ST MEMS system-in-package featuring a 3D digital linear acceleration
sensor and a 3D digital magnetic sensor.
• MP45DT02, ST MEMS audio sensor, omnidirectional digital microphone
• CS43L22, audio DAC with integrated class D speaker driver
• Eight LEDs:
– LD1 (red/green) for USB communication
– LD2 (red) for 3.3 V power on
– Four user LEDs:
LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue)
– Two USB OTG LEDs:
LD7 (green) VBus and LD8 (red) over-current
• Two pushbuttons (user and reset)
• USB OTG with micro-AB connector
• Extension header for LQFP100 I/Os for a quick connection to the prototyping board
and an easy probing

8/39 DocID025174 Rev 1


UM1669 Hardware layout

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.

Figure 1. Hardware block diagram

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

Mini-Jack Micro-USB LSM303DLHC

MS31947V2

DocID025174 Rev 1 9/39


37
Hardware layout UM1669

Figure 2. Top layout

ST-LINK/V2
LD2 (red LED)
PWR
LD1 (red/green LED)
COM

CN2
SWD connector
CN3
ST-LINK/DISCOVERY selector

5 V power supply input/output


3 V power supply output
JP2
IDD measurement

STM32F401VCT6 SB1 (B2-RESET)

LD3 (orange LED)

B2 reset button

B1 user button LD5 (red LED)

LD4 (green LED)

LD6 (blue LED)

LD7 (green LED) LD8 (red LED)

MS32361V1

10/39 DocID025174 Rev 1


UM1669 Hardware layout

Figure 3. Bottom layout

SB2, SB4, SB6, SB8


(RESERVED)

SB3, SB5, SB7, SB9


(DEFAULT) SB10, SB11 (RX, TX)
SB15 (SWO)
SB16 (X2 crystal)
SB17 (X3 crystal) SB12 (STM_RST)

SB18 (X3 crystal) SB13 (NRST)

SB14 (X2 crystal)


SB19 (BOOT0)

SB20 (BOOT1)

SB21 (B1-USER)

MS32362V1

DocID025174 Rev 1 11/39


37
Hardware layout UM1669

4.1 STM32F401VCT6 microcontroller


This ARM Cortex-M4 32-bit MCU with FPU has 105 DMIPS, up to 256 KB Flash/64 KB
RAM, USB OTG FS, 10 TIMs, 1 ADC, 11 comm. interfaces.

Figure 4. STM32F401VCT6 microcontroller

STM32F401VCT6

256 Kbytes of Flash memory


64 Kbytes of RAM

LQFP100 14 x 14 mm

MS32365V1

This device provides the following benefits (see Table 2).

Table 2. Features and benefits


Features Benefits

– Boosted execution of control algorithms


High performance – More features for your applications
– Up to 84 MHz/105 DMIPS Cortex-M4 with single cycle – Ease of use
DSP MAC and floating point unit – Better code efficiency
– CoreMark: 285 at 84 MHz – Faster time to market
– CoreMark/MHz:3.39 – Elimination of scaling and saturation
– Easier support for meta-language tools
Maximum integration
– Up to 256 kB of on-chip Flash, 64k B of SRAM, reset More features in space-constrained applications
circuit, internal RCs, PLLs, ultra-small packages
(WLCSP)
Designed for high performance and ultra-fast data
Performance equivalent to zero-wait execution from
transfers
Flash
– ART Accelerator™: memory accelerator
– 32-bit 7-layer bus matrix with 6 masters and 5 slaves
including 1 block of SRAM Concurrent execution and data transfer
– Multi DMA controllers: 2 general-purpose
Outstanding power efficiency
– Ultra-low dynamic power in Run mode: 140 µA/MHz at
84 MHz running CoreMark benchmark from Flash Extra flexibility to reduce power consumption for
memory (peripherals off) applications requiring both high-processing and low-
– RTC <1 µA typ in VBAT mode power performance when running at low voltage or on a
– Down to 11 µA typ in Stop mode rechargeable battery
– 3.6 V down to 1.7 V VDD
– 1.2 V voltage regulator with power scaling capability

12/39 DocID025174 Rev 1


UM1669 Hardware layout

Table 2. Features and benefits (continued)


Features Benefits

Superior and innovative peripherals and


connectivity
– 1x USB OTG
New possibilities to connect and communicate high-
– Up to 11 communication interfaces (including
speed data
3x USART, 4x SPI, 3x I2C with digital filter, 1 SDIO)
– USART at up to 10.5 Mbit/s
– SPI at up to 42 Mbit/s
Audio:
High-quality audio support
– dedicated audio PLL, 2x I2S
Analog:
– 1 x 12-bit ADC reaching 2.4 MSPS More precision thanks to high resolution
– Up to 10 timers: 16 and 32 bits running up to 84 MHz
High integration
– WLCSP49 3 x 3 mm (STM32F401, 256-Kbyte Flash/ Smaller board space allowing for smaller applications
64-Kbyte SRAM)
Extensive tools and software solutions
– Hardware sector protection with execute only access
– Software IP protection
– Various IDE, starter kits, libraries, RTOS and stacks,
– A wide choice within the STM32 ecosystem to develop
either open source or provided by ST or 3rd parties,
your applications
including the ARM CMSIS DSP library optimized for
Cortex-M4 instructions

DocID025174 Rev 1 13/39


37
Hardware layout UM1669

Figure 5. STM32F401VCT6 block diagram

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

AHB bus-matrix 7S4M


FPU

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

TIM3 16b 4 channels, ETR as AF


DMA2 DMA1
up to 81 AF EXT IT. WKUP TIM4 16b 4 channels, ETR as AF
FIFO

D[7:0] AHB/APB2 AHB/APB1 TIM5 32b 4 channels


CMD, CK as AF
SDIO / MMC

4 compl. channels TIM1_CH1[1:4]N,


4 channels TIM1_CH1[1:4]ETR, TIM1 / PWM 16b
BKIN 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

RX, TX, CK, smcard I2C1/SMBUS SCL, SDA, SMBA as AF


USART1
CTS, RTS as AF irDA
(max)

I2C2/SMBUS SCL, SDA, SMBA as AF


30MHz

smcard
RX, TX, CK as AF USART6
irDA
MHz

I2C3/SMBUS SCL, SDA, SMBA as AF


MOSI, MISO,
APB1

SPI1
APB2 60MHz

SCK, NSS as AF
APB1 42

MOSI, MISO, SPI4


SCK, NSS as AF

VDDREF_ADC USART 2MBps


Temperature sensor
16 analog inputs
ADC1 IF
@VDDA

MS31144V2

14/39 DocID025174 Rev 1


UM1669 Hardware layout

4.2 Embedded ST-LINK/V2


The ST-LINK/V2 programming and debugging tool is integrated on the STM32F401
Discovery board. The embedded ST-LINK/V2 can be used in 2 different ways according to
the jumper states (see Table 3):
• Program/debug the MCU on board,
• Program/debug an MCU in an external application board using a cable connected to
SWD connector CN2.
The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about
debugging and programming features, refer to user manual UM1075 (ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32) which describes in detail all the ST-LINK/V2
features.

Figure 6. Typical configuration

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

Table 3. Jumper states


Jumper state Description

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)

DocID025174 Rev 1 15/39


37
Hardware layout UM1669

4.2.1 Using ST-LINK/V2 to program/debug the STM32F401 on board


To program the STM32F401 on board, simply plug in the two jumpers on CN3, as shown in
Figure 7 in red, but do not use the CN2 connector as that could disturb communication with
the STM32F401VCT6 of the STM32F401 Discovery board.

Figure 7. STM32F401 Discovery board connections image

16/39 DocID025174 Rev 1


UM1669 Hardware layout

4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application


It is very easy to use the ST-LINK/V2 to program the STM32 on an external application.
Simply remove the 2 jumpers from CN3 as shown in Figure 8, and connect your application
to the CN2 debug connector according to Table 4.
Note: SB13 must be OFF if you use CN2 pin 5 in your external application.

Table 4. Debug connector CN2 (SWD)


Pin CN2 Designation

1 VDD_TARGET VDD from application


2 SWCLK SWD clock
3 GND Ground
4 SWDIO SWD data input/output
5 NRST RESET of target MCU
6 SWO Reserved

Figure 8. ST-Link connections image

DocID025174 Rev 1 17/39


37
Hardware layout UM1669

4.3 Power supply and power selection


The power supply is provided either by the host PC through the USB cable, or by an
external 5 V power supply.
The D1 and D2 diodes protect the 5 V and 3 V pins from external power supplies:
• 5 V and 3 V can be used as output power supplies when another application board is
connected to pins P1 and P2.
In this case, the 5 V and 3 V pins deliver a 5 V or 3 V power supply and the power
consumption must be lower than 100 mA.
• 5 V can also be used as input power supplies, e.g. when the USB connector is not
connected to the PC.
In this case, the STM32F401 Discovery board must be powered by a power supply unit
or by an auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009,
and must be Safety Extra Low Voltage (SELV) with limited power capability.

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.

18/39 DocID025174 Rev 1


UM1669 Hardware layout

4.6 On board audio capability


The STM32F401 uses an audio DAC (CS43L22) to output sounds through the audio mini
jack connector.
The STM32F401 controls the audio DAC through the I2C interface and processes digital
signals through an I2S connection or analog input signal.
• The sound can come independently from different inputs:
– ST MEMS microphone (MP45DT02): digital using PDM protocol or analog when
using the low pass filter.
– USB connector: from external mass storage such as a USB key, USB HDD, and
so on.
– Internal memory of the STM32F401.
• The sound can be output in different ways through audio DAC:
– Using the I2S protocol
– Using the microphone output directly via a low pass filter to analog input AIN4x of
the CS43L22

4.7 USB OTG supported


The STM32F401 is used to drive only USB OTG full speed on this board. The USB micro-
AB connector (CN5) allows the user to connect a host or device component, such as a USB
key, mouse, and so on.
Two LEDs are dedicated to this module:
• LD7 (green LED) indicates when VBUS is active
• LD8 (red LED) indicates an overcurrent from a connected device.

4.8 E-compass MEMS (ST MEMS LSM303DLHC)


The LSM303DLHC is an ultra-compact low-power system-in-package featuring a 3D digital
linear acceleration sensor and a 3D digital magnetic sensor. It includes a sensing element
and an IC interface able to provide the measured acceleration to the external world through
an I2C serial interface.
The LSM303DLHC has dynamically user-selectable full scales of ± 2g/± 8g and is capable
of measuring the acceleration, and a magnetic field full scale from ±1.3 g to 8.1 g with an
output data rate of 100 Hz or 400 Hz.
The STM32F401VCT6 MCU controls this motion sensor through the I2C interface.

4.9 Gyroscope MEMS (ST MEMS L3GD20)


The L3GD20 is an ultra-compact, low-power, three-axis angular rate sensor. It includes a
sensing element and an IC interface able to provide the measured angular rate to the
external world through the I2C/SPI serial interface.
The L3GD20 has dynamically user-selectable full scales of ± 250 dps/500 dps/±2000 dps
and is capable of measuring rates.

DocID025174 Rev 1 19/39


37
Hardware layout UM1669

The STM32F401VCT6 MCU controls this motion sensor through the SPI interface.

4.10 JP2 (Idd)


Jumper JP2, labeled Idd, allows the consumption of STM32F401VCT6 to be measured by
removing the jumper and connecting an ammeter.
• Jumper on: STM32F401VCT6 is powered (default).
• Jumper off: an ammeter must be connected to measure the STM32F401VCT6 current,
(if there is no ammeter, the STM32F401VCT6 is not powered).

4.11 OSC clock

4.11.1 OSC clock supply


If PH0 and PH1 are only used as GPIOs instead of as a clock, then SB14 and SB16 are
closed and R24, R25 and R66 are removed.
MCO from ST-LINK (from MCO of the STM32F103)
This frequency cannot be changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of
the STM32F401VCT6. The configuration needed is:
– SB14, SB16 OPEN
– R25 removed
– R66 soldered
Oscillator onboard (from X2 crystal)
For typical frequencies and its capacitors and resistors, please refer to the
STM32F401VCT6 Datasheet. The configuration needed is:
– SB14, SB16 OPEN
– R25 soldered
– R66 removed
Oscillator from external PH0 (from external oscillator through pin 7 of the P2 connector)
The configuration needed is:
– SB14 closed
– SB16 closed
– R25 and R66 removed

4.11.2 OSC 32 KHz clock supply


If PC14 and PC15 are only used as GPIOs instead of as a clock, then SB17 and SB18 are
closed, and R21 and R22 are removed.
Oscillator onboard (from X1 Crystal (not provided))
The configuration needed is:
– SB17, SB18 OPEN
– C20, C28, R21 and R22 soldered

20/39 DocID025174 Rev 1


UM1669 Hardware layout

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

4.12 Solder bridges


Table 5. Solder bridges
(1)
Bridge State Description

X2, C18, C19, R24 and R25 provide a clock.


OFF
PH0, PH1 are disconnected from P2
SB14,16 (X2 crystal)
PH0, PH1 are connected to P2
ON
R24, R25 and R66 must not be fitted).
SB3,5,7,9 (Default) ON Reserved, do not modify
SB2,4,6,8 (Reserved) OFF Reserved, do not modify
X3, C20, C28, R21 and R22 deliver a 32 KHz clock.
OFF
SB17,18 (X3 crystal) PC14, PC15 are not connected to P2.
ON PC14, PC15 are only connected to P2. Remove only R21, R22
ON B2 pushbutton is connected to the NRST pin of the STM32F401VCT6 MCU
SB1 (B2-RESET)
OFF B2 pushbutton is not connected to the NRST pin of the STM32F401VCT6 MCU
ON B1 pushbutton is connected to PA0
SB21 (B1-USER)
OFF B1 pushbutton is not connected to PA0
NRST signal of the CN2 connector is connected to the NRST pin of the
ON
STM32F401VCT6 MCU
SB13 (NRST)
NRST signal of the CN2 connector is not connected to the NRST pin of the
OFF
STM32F401VCT6 MCU
ON SWO signal of the CN2 connector is connected to PB3
SB15 (SWO)
OFF SWO signal is not connected
OFF Reserved, do not modify
SB10,11 (RX,TX)
ON Reserved, do not modify
OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal
SB12 (STM_RST)
ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND
BOOT0 signal of the STM32F401VCT6 MCU is held low through a 510 Ω pull-
ON
down resistor
SB19 (BOOT0)
BOOT0 signal of the STM32F401VCT6 MCU is held high through a 10 KΩ pull-
OFF
up resistor
The BOOT1 signal of the STM32F401VCT6 MCU is held high through a 10 KΩ
OFF
pull-up resistor
SB20 (BOOT1)
The BOOT1 signal of the STM32F401VCT6 MCU is held low through a 510 Ω
ON
pull-down resistor

DocID025174 Rev 1 21/39


37
Hardware layout UM1669

1. Default SBx state is shown in bold.

4.13 Extension connectors


The male headers P1 and P2 can connect the STM32F401 Discovery board to a standard
prototyping/wrapping board. STM32F401VCT6 GPI/Os are available on these connectors.
P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.

Table 6. MCU pin description versus board function (page 1 of 8)


MCU pin Board function

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

22/39 DocID025174 Rev 1


UM1669 Hardware layout

Table 6. MCU pin description versus board function (page 2 of 8)


MCU pin Board function

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

DocID025174 Rev 1 23/39


37
Hardware layout UM1669

Table 6. MCU pin description versus board function (page 3 of 8)


MCU pin Board function

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

24/39 DocID025174 Rev 1


UM1669 Hardware layout

Table 6. MCU pin description versus board function (page 4 of 8)


MCU pin Board function

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

DocID025174 Rev 1 25/39


37
Hardware layout UM1669

Table 6. MCU pin description versus board function (page 5 of 8)


MCU pin Board function

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

26/39 DocID025174 Rev 1


UM1669 Hardware layout

Table 6. MCU pin description versus board function (page 6 of 8)


MCU pin Board function

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

PE2 TRACECLK, SPI4_SCK 1 15


CS_I2C/SPI

PE3 TRACED0 2 16
INT1

PE4 TRACED1, SPI4_NSS 3 13

TRACED2, TIM9_CH1,
INT2

PE5 4 14
SPI4_MISO
TRACED3, TIM9_CH2,
PE6 5 11
SPI4_MOSI
PE7 TIM1_ETR 38 25

DocID025174 Rev 1 27/39


37
Hardware layout UM1669

Table 6. MCU pin description versus board function (page 7 of 8)


MCU pin Board function

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

28/39 DocID025174 Rev 1


UM1669 Hardware layout

Table 6. MCU pin description versus board function (page 8 of 8)


MCU pin Board function

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

DocID025174 Rev 1 29/39


37
Mechanical drawing UM1669

5 Mechanical drawing

Figure 9. STM32F401 Discovery board mechanical drawing

30/39 DocID025174 Rev 1


6
UM1669

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

PD11 PD12 PC15 PC6 PC7


43 44 PC15 47 48
PD13 PD14
45 46 49 50
PD15 NC
47 48
Header 25X2
49 50
Header 25X2

Rev A.0 --> PCB label MB1115 A-00


Rev B.1 --> PCB label MB1115 B-01 LD3GD20 U7 was routed wrong.

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

1 Vin Vout 5 LD3985M33R OUT_3V, Only Output


U5V C2 C5 C3
CN1
1 R7 1K5 3 100nF 10nF 100nF
VCC 3V INH
2 R9 0 USB_DM C17 GND BYPASS C14
D- 1uF 1uF
3 R8 0 USB_DP
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

PC0 PC0 VSS 0


PC1 16
PC1 PC1 X2
PC2 17
PC2 PC2 8MHz
PC3 18 12 PH0-OSC_IN
1

PC3 PC3 PH0


PC4 33 13 PH1-OSC_OUT R24 220 C18
PC4 PC4 PH1
PC5 34 20pF
PC5 PC5
PC6 63 C20
PC6 PC6 R22
PC7 64 8 PC14-OSC32_IN
PC7 PC7 PC14
PC8 65 9 PC15-OSC32_OUT
4
3

PC8 PC8 PC15 0


PC9 66 6.8pF
PC9 PC9 X3
PC10 78
PC10 PC10 PC14 XTAL_32K_20PPM
PC11 79 14 NRST SB18
PC11 PC11 NRST NRST
Figure 12. STM32F401VCT6 MCU

PC12 80 C28
1
2

PC12 PC12 R21


PC13 7 94 BOOT0 R28 510
PC13 PC13 BOOT0
0
STM32F401VCT6U 6.8pF
VDD U4B R29 SB19
BOOT0 [NA] PC15
11 10 SB17 Not Fitted
VDD5 VSS5
19 27
VDD12 VSS4
28 74
L1 R23 VDD4 VSS2
50 VDD
VDD1
Ferrite 47 75
C22 C21 VDD2
100
1uF 100nF VDD3
49
C24 C23 VSS
21 20
1uF 100nF VREF+ VSSA
22 48
VDDA VCAP1
6 73
VBAT VCAP2
R26 0
C30 C26 C31 C35 STM32F401VCT6U C38 C33
100nF 100nF 100nF 100nF 2.2uF 2.2uF STMicroelectronics
C25 C32 C34 C29 C27
100nF 100nF 100nF 100nF 1uF Title:
STM32F401C-DISCOVERY MCU
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 3 of 6

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

I2C address 0x94 1uF

3V C66 3V

C65
100nF

R62 U10 10uF


[NA] 1 6
GND VDD
2 5 PC3 PDM_OUT
LR DOUT PC3
3 4 PB10 CLK_IN
R61 GND CLK PB10
0 MP45DT02

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

USER & WAKE-UP Button RESET Button

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

PE4 INT1 GND C40


6 9 PE2 LD3
C1 DRDY PE2 100nF R36
7 8 PD13
GND NC PD13
L R 1K
C42 LSM303DLHC LED, orange
4.7uF LD5
PD14 R39
PD14
1K
LED, red
3V D LD6
PD15 R40
PD15
510
U7 LED, blue
1 16
VDD_IO VDD C55
SPI1_SCK PA5 2 15
PA5 SCL/SPC VDD 100nF
SPI1_MOSI PA7 3 14
PA7 SDA/SDI/SDO C1
SPI1_MISO PA6 4 13 LEDs
PA6 SA0/SDO GND C48 C43
CS_I2C/SPI PE3 5 12
PE3 CS_I2C/SPI GND 10nF 10uF
MEMS_INT2 PE1 6 11
PE1 DRDY/INT2 GND
MEMS_INT1 PE0 7 10
PE0 INT1 GND
8 9
GND GND
L3GD20
STMicroelectronics
MEMS Title:
STM32F401C-DISCOVERY Peripherals
Number:MB1115 Rev: B.1(PCB.SCH) Date: 8/12/2013 Sheet 6 of 6
UM1669
UM1669 Revision history

7 Revision history

Table 7. Document revision history


Date Revision Changes

10-Sep-2013 1 Initial release.

DocID025174 Rev 1 37/39


37
UM1669

Please Read Carefully:

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.

© 2013 STMicroelectronics - All rights reserved

STMicroelectronics group of companies


Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com

38/39 DocID025174 Rev 1

Das könnte Ihnen auch gefallen