STMicroelectronics 32F0308DISCOVERY User guide

UM1658
User manual
Discovery kit for STM32F030 Value Line microcontrollers
Introduction
The STM32F030 Value Line Discovery kit (32F0308DISCOVERY) helps you to discover the device features and to develop your applications easily. It is based on STM32F030R8T6, an STM32 F0 series 32-bit ARM embedded debug tool, LEDs, push buttons and a prototyping board.
Cortex™-M0 microcontroller, and includes an ST-LINK/V2

Figure 1. 32F0308DISCOVERY

September 2013 DocID025097 Rev 1 1/39
www.st.com
Contents UM1658
Contents
1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Development toolchains supporting the 32F0308DISCOVERY . . . . . . . . . 6
2.4 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.1 STM32F030R8T6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
4.2 Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.1 Using ST-LINK/V2 to program/debug the STM32 F0 on board . . . . . . . 14
4.2.2 Using ST-LINK/V2 to program/debug an external STM32 application . . 15
4.3 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5 Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6 JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.7 OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7.1 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7.2 OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.8 Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.9 Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5 Connecting modules on the prototyping board . . . . . . . . . . . . . . . . . . 25
5.1 Mikroelektronica accessory boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.2 ST MEMS “adapter boards”, standard DIL24 socket . . . . . . . . . . . . . . . . 28
5.3 Arduino shield boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2/39 DocID025097 Rev 1
UM1658 List of tables
List of tables
Table 1. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 2. Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 3. Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4. Solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 5. MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 6. Connecting using mikroBUS™ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 7. Connecting using IDC10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 8. Connecting with a DIL24 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 9. Supported MEMS adapter boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 10. Connecting with Arduino shields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 11. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DocID025097 Rev 1 3/39
3
List of figures UM1658
List of figures
Figure 1. 32F0308DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 3. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 4. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. STM32F030R8T6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. STM32F030R8T6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. 32F0308DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. ST-LINK connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 10. Using IDC10 and mikroBUS™ connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 11. DIL24 socket connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 12. Arduino shield board connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 13. 32F0308DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 14. 32F0308DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 15. ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 16. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4/39 DocID025097 Rev 1
UM1658 Conventions

1 Conventions

Tabl e 1 provides the definition of some conventions used in the present document.
Convention Definition
Jumper JP1 ON Jumper fitted
Jumper JP1 OFF Jumper not fitted
Solder bridge SBx ON SBx connections closed by solder
Solder bridge SBx OFF SBx connections left open

Table 1. ON/OFF conventions

DocID025097 Rev 1 5/39
38
Quick start UM1658

2 Quick start

The STM32F030 Value Line Discovery kit is a low-cost and easy-to-use development kit to quickly evaluate and start development with an STM32 F0 series microcontroller.
Before installing and using the product, please accept the Evaluation Product License Agreement from www.st.com/stm32f0-discovery.
For more information on the STM32F030 Value Line Discovery kit and for demonstration software, visit www.st.com/stm32f0-discovery.

2.1 Getting started

Follow the sequence below to configure the STM32F030 Value Line Discovery kit and launch the DISCOVER application:
1. Check jumper position on the board, JP2 on, CN2 on (Discovery selected).
2. Connect the 32F0308DISCOVERY board to a PC with a USB cable ‘type A to mini-B’ through USB connector CN1 to power the board. Red LED LD1 (PWR) and LD2 (COM) light up and green LED LD3 blinks.
3. Press user button B1 (bottom left corner of the board).
4. Observe how the green LED LD3 blinking changes according to USER button B1 clicks.
5. Each click on USER button B1 is confirmed by the blue LED LD4.
6. To study or modify the DISCOVER project related to this demo, visit
www.st.com/stm32f0-discovery and follow the tutorial.
7. Discover the STM32F0 features, download and execute programs proposed in the list of projects.
8. Develop your own application using available examples.

2.2 System requirements

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

2.3 Development toolchains supporting the 32F0308DISCOVERY

Altium®, TASKING™ VX-toolset
ARM®, Atollic TrueSTUDIO®
IAR™, EWARM (IAR Embedded Workbench®)
Keil™, MDK-ARM™

2.4 Order code

To order the STM32F030 Value Line Discovery kit, use the order code STM32F0308-DISCO.
6/39 DocID025097 Rev 1
UM1658 Features

3 Features

The STM32F030 Value Line Discovery kit offers the following features:
STM32F030R8T6 microcontroller featuring 64 KB Flash, 8 KB RAM in an LQFP64 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
Four LEDs:
LD1 (red) for 3.3 V power on
LD2 (red/green) for USB communication
LD3 (green) for PC9 output
LD4 (blue) for PC8 output
Two push buttons (user and reset)
Extension header for LQFP64 I/Os for quick connection to prototyping board and easy
probing.
An additional board is provided with the kit which can be connected to the extension connector for even easier prototyping and probing.
A large number of free ready-to-run application firmware examples are available on
www.st.com/stm32f0-discovery to support quick evaluation and development.
DocID025097 Rev 1 7/39
38
Hardware and layout UM1658
MSv31935V1
I/O
Mini
USB
LD3, PC9
B2
RST
RESET
I/OI/O
Header
SWD
Embedded
ST-LINK/V2
STM32F030R8T6
LED
Header
B1
USER
LD4, PC8
LED

4 Hardware and layout

The STM32F030 Value Line Discovery board is designed around the STM32F030R8T6 microcontroller in a 64-pin LQFP package.
Figure 2 illustrates the connections between the STM32F030R8T6 and its peripherals
(ST-LINK/V2, push button, LEDs and connectors).
Figure 3 and Figure 4 help you to locate these features on the STM32F030 Value Line
Discovery board.

Figure 2. Hardware block diagram

8/39 DocID025097 Rev 1
UM1658 Hardware and layout
(red/green LED) LD2
COM
CN3
SWD connector
IDD measurement
ST-LINK/V2
B1 user button
B2 reset button
LD1 (red LED) PWR
CN2 ST-LINK/DISCOVERY
selector
(green LED) LD3
LD4 (blue LED)
STM32F030R8T6
JP2
5V power supply input output
3V power supply
input output
SB1 (VDD)
SB3 (B1-USER)
SB4 (B2-RESET)
MS31936V1
MB1134 revA STM32F0308-DISCO

Figure 3. Top layout

Note: Pin 1 of CN2, CN3, P1 and P2 connectors are identified by a square.
DocID025097 Rev 1 9/39
38
Hardware and layout UM1658
SB6, SB8, SB10, SB12
MS30025V1
SB5, SB7, SB9, SB11
(RESERVED)
(DEFAULT)
SB20, SB21 (X3 crystal)
SB14, SB15 (RX, TX)
SB19 (NRST)
SB16, SB17 (X2 crystal)
SB13 (STM_RST)
SB22 (T_SWO)
SB18 (MCO)

Figure 4. Bottom layout

10/39 DocID025097 Rev 1
UM1658 Hardware and layout
MS31938V1
STM32F030R8T6
64 Kbyte of Flash memory 8 Kbytes of SRAM
LQFP64 10 x 10 mm

4.1 STM32F030R8T6 microcontroller

The STM32F030R8T6 microcontroller incorporates the high-performance ARM Cortex™-M0 32-bit RISC core operating at a 48 MHz frequency, high-speed embedded memories (up to 64 Kbytes of Flash memory and up to 8 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (up to two I 12-bit ADC, up to 6 general-purpose 16-bit timers and an advanced-control PWM timer.

Figure 5. STM32F030R8T6 package

The STM32F030R8T6 microcontroller operates in the -40 to +85 °C temperature range, from a 2.4 V to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
2
Cs, up to two SPIs, and up to two USARTs), one
These features make the STM32F030R8T6 microcontroller suitable for a wide range of applications such as application control and user interfaces, handheld equipment, A/V receivers and digital TV, PC peripherals, gaming platforms, e-bikes, consumer appliances, printers, scanners, alarm systems, video intercoms, and HVACs.
DocID025097 Rev 1 11/39
38
MSv32137V1
4 channels 3 compl. channels BRK, ETR input as AF
4 ch., ETR as AF
1 channel as AF
2 channels 1 compl, BRK as AF
1 channel 1 compl, BRK as AF
1 channel 1 compl, BRK as AF
IR_OUT as AF
RX, TX,CTS, RTS, CK as AF RX, TX,CTS, RTS, CK as AF
SCL, SDA, SMBA (20 mA for FM+) as AF
SCL, SDA as AF
@ V
DD
@ V
DDA
AHBPCLK APBPCLK ADCCLK USARTCLK HCLK FCLK
PA[15:0]
PB[15:0]
PC[15:0]
PD2
PF[1:0] PF[7:4]
@ V
DDA
55 AF
MOSI, MISO,
SCK,
NSS as AF
V
DDA
V
SSA
GP DMA
5 channels
CORTEX-M0 CPU f
HCLK
= 48 MHz
Serial
Wire
Debug
NVIC
GPIO port A
GPIO port B
GPIO port C
GPIO port D
GPIO port F
EXT. IT
WKUP
SPI1
SPI2
SYSCFG IF
TIMER 6
DBGMCU
WWDG
APB
AHB
CRC
RESET &
CLOCK
CONTROL
TIMER 1
TIMER 3
TIMER 14
TIMER 15
TIMER 16
TIMER 17
USART1
USART2
I2C 1
I2C2
Power
Controller
XTAL OSC
4-32 MHz
IWDG
SUPPLY
SUPERVISION
POR/PDR
POWER
VOLT.REG
3.3 V TO 1.8 V
RC HS 14 MHz
RC HS 8 MHz
RC LS
PLL
Flash
interface
Flash
up to 64 KB, 32 bits
Obl
SRAM
4 / 8 KB
Temp. sensor
IF
12-bit ADC1
SWCLK
SWDIO
as AF
MOSI/MISO,
SCK/NSS,
as AF
16
AD inputs
Bus matrix
@ V
DDA
@ V
DD
V
DD18
POR
Reset
Int
V
DD
= 2.4 to 3.6 V
V
SS
NRST V
DDA
V
DD
OSC_IN (PF0) OSC_OUT (PF1)
OSC32_IN (PC14) OSC32_OUT (PC15)
TAMPER-RTC (ALARM OUT)
RTC
RTC interface
XTAL32 kHz
@ VDD
SRAM
controller
AHB decoder
Hardware and layout UM1658

Figure 6. STM32F030R8T6 block diagram

12/39 DocID025097 Rev 1
UM1658 Hardware and layout
MS19052V2
Hardware requirements:
- USB cable type A to mini-B
- computer with Windows XP, Vista or 7
Development toolchain: Altium, TASKING VX-Toolset, Atollic, TrueSTUDIO IAR, EWARM Keil, MDK-ARM

4.2 Embedded ST-LINK/V2

The ST-LINK/V2 programming and debugging tool is integrated on the 32F0308DISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways according to the jumper states (see Tab le 2 ):
Program/debug the MCU on board,
Program/debug an MCU in an external application board using a cable connected to
SWD connector CN3.
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 7. Typical configuration

Table 2. Jumper states

Jumper state Description
Both CN2 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN2 jumpers OFF
ST-LINK/V2 functions enabled for application through external CN3 connector (SWD supported)
DocID025097 Rev 1 13/39
38
Hardware and layout UM1658
CN2 jumpers on
CN3 SWD connector

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

To program the STM32 F0 on board, simply plug in the two jumpers on CN2, as shown in
Figure 8 in red, but do not use the CN3 connector as that could disturb communication with
the STM32F030R8T6 of the 32F0308DISCOVERY.
Figure 8. 32F0308DISCOVERY connections image
14/39 DocID025097 Rev 1
UM1658 Hardware and layout
CN2 jumpers off
CN3 SWD connector
C
ju

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 CN2 as shown in Figure 9, and connect your application to the CN3 debug connector according to Tab le 3.
Note: SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application.
Pin CN3 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
Table 3. Debug connector CN3 (SWD)
Figure 9. ST-LINK connections image
mpers off
N2
DocID025097 Rev 1 15/39
38
Hardware and layout UM1658

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 power consumption must be lower than 100 mA.
5 V can also be used as input power supplies; for example, when the USB connector is not connected to the PC. In this case, the 32F0308DISCOVERY board must be powered by a power supply unit or by 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 PWR: Red LED indicates that the board is powered.
LD2 COM: Tricolor LED (COM) advises on the communication status as follows:
Slow blinking Red LED/Off: At power on before USB initialization
Fast blinking Red LED/Off: After the first correct communication between PC and
STLINK/V2 (enumeration)
Red LED On: When initialization between PC and ST-LINK/V2 is successfully
finished
Green LED On: After successful target communication initialization
Blinking Red/Green LED: During communication with target
Red LED On: Communication finished and OK
Orange LED On: Communication failure
User LD3: Green user LED connected to the I/O PC9 of the STM32F030R8T6.
User LD4: Blue user LED connected to the I/O PC8 of the STM32F030R8T6.

4.5 Push buttons

B1 USER: User push button connected to the I/O PA0 of the STM32F030R8T6.
B2 RESET: Push button used to RESET the STM32F030R8T6.

4.6 JP2 (Idd)

Jumper JP2, labeled Idd, allows the consumption of STM32F030R8T6 to be measured by removing the jumper and connecting an ammeter.
Jumper on: STM32F030R8T6 is powered (default).
Jumper off: an ammeter must be connected to measure the STM32F030R8T6 current,
(if there is no ammeter, the STM32F030R8T6 is not powered).
16/39 DocID025097 Rev 1
UM1658 Hardware and layout

4.7 OSC clock

4.7.1 OSC clock supply

PF0 and PF1 can be used as GPIO or as HSE oscillator. By default these I/Os are configured as GPIO, so SB16 and SB17 are closed, SB18 is open and R22, R23, C13 and C14 are not populated.
An external HSE clock can be provided to the MCU in three ways:
MCO from ST-LINK. From MCO of the STM32F103. This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of the STM32F030R8T6. Configuration needed:
SB16, SB18 CLOSED
R22, R23 removed
SB17 OPEN
Oscillator onboard. From X2 crystal (not provided). For typical frequencies and its capacitors and resistors, please refer to the STM32F030R8T6 datasheet. Configuration needed:
SB16, SB17, SB18 OPEN
R22, R23, C13, C14 soldered
Oscillator from external PF0. From external oscillator through pin 7 of the P1 connector. Configuration needed:
SB16, SB17 CLOSED
SB18 OPEN
R22 and R23 removed

4.7.2 OSC 32 KHz clock supply

PC14 and PC15 can be used as GPIO or as LSE oscillator. By default these I/Os are configured as GPIO, so SB20 & SB21 are closed and X3, R24, R25 are not populated.
An external LSE clock can be provided to the MCU in two ways:
Oscillator onboard. From X3 crystal (not provided). Configuration needed:
SB20, SB21 OPEN
C15, C16, R24 and R25 soldered.
Oscillator from external PC14. From external oscillator trough the pin 5 of P1 connector. Configuration needed:
SB20, SB21 CLOSED
R24 and R25 removed
DocID025097 Rev 1 17/39
38
Hardware and layout UM1658

4.8 Solder bridges

SB16,17 (X2 crystal)
Bridge State
OFF
(2)
ON PF0, PF1 are connected to P1 (R22, R23 and SB18 must not be fitted).

Table 4. Solder bridge settings

(1)
Description
X2, C13, C14, R22 and R23 provide a clock. PF0, PF1 are disconnected from P1.
SB6,8,10,12 (Default) ON Reserved, do not modify.
SB5,7,9,11 (Reserved) OFF Reserved, do not modify.
SB20,21 (X3 crystal)
SB4 (B2-RESET)
SB3 (B1-USER)
SB1 (VDD_3)
OFF
ON PC14, PC15 are only connected to P1 (R24, R25 must not be fitted).
ON
OFF
ON B1 push button is connected to PA0.
OFF B1 push button is not connected to PA0.
ON VDD_3 must be permanently connected to VDD for normal use.
OFF Reserved, do not modify.
X3, C15, C16, R24 and R25 deliver a 32 KHz clock. PC14, PC15 are not connected to P1.
B2 push button is connected to the NRST pin of the STM32F030R8T6 MCU.
B2 push button is not connected the NRST pin of the STM32F030R8T6 MCU.
SB14,15 (RX,TX)
SB19 (NRST)
SB22 (T_SWO)
SB13 (STM_RST)
SB2 (BOOT0)
SB18
(2)
(MCO)
1. Default SBx state is shown in bold.
2. OSC_IN clock comes from MCO if SB18 is ON and SB16,17 are OFF and comes from X2 if SB18 is OFF and SB16,17 are ON.
OFF Reserved, do not modify.
ON Reserved, do not modify.
ON
OFF
NRST signal of the CN3 connector is connected to the NRST pin of the STM32F030R8T6 MCU.
NRST signal of the CN3 connector is not connected to the NRST pin of the STM32F030R8T6 MCU.
ON SWO signal of the CN3 connector is connected to PB3.
OFF SWO signal is not connected.
OFF No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal.
ON STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND.
ON
OFF
BOOT0 signal of the STM32F030R8T6 MCU is held low through a 510 Ohm pull-down resistor.
BOOT0 signal of the STM32F030R8T6 MCU can be set high through a 10 KOhm pull-up resistor R27 to solder.
ON Provides the 8 MHz for OSC_IN from MCO of STM32F030R8T6.
OFF See SB16, SB17 description.
18/39 DocID025097 Rev 1
UM1658 Hardware and layout

4.9 Extension connectors

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

Table 5. MCU pin description versus board function

MCU pin Board function
Push button
LQFP64
Main
function
BOOT0 BOOT0 60 6
NRST NRST 7
USART1_CTS, USART2_CTS,
PA0
PA1
PA2
PA3
ADC_IN0, RTC_TAMP2, WKUP1
USART1_RTS, USART2_RTS, EVENTOUT, ADC_IN1
USART1_TX, USART2_TX, TIM15_CH1, ADC_IN2
USART1_RX, USART2_RX, TIM15_CH2, ADC_IN3
Alternate
functions
RESET
USER
14
15
16
17
LED
SWD
NRST
OSC
Power supply
Free I/O
CN3
P1
510
15
16
17
18
P2
PA4
PA5
SPI1_NSS, USART1_CK USART2_CK, TIM14_CH1, ADC_IN4
SPI1_SCK, ADC_IN5
20
21
DocID025097 Rev 1 19/39
21
22
38
Hardware and layout UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
PA6
PA7
PA8
PA9
PA1 0
Alternate
functions
SPI1_MISO, TIM3_CH1, TIM1_BKIN, TIM16_CH1, EVENTOUT, ADC_IN6
SPI1_MOSI, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, EVENTOUT, ADC_IN7
USART1_CK, TIM1_CH1, EVENTOUT, MCO
USART1_TX, TIM1_CH2, TIM15_BKIN, I2C1_SCL
USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA
LQFP64
22
23
41
42
43
Push button
LED
SWD
OSC
Power supply
Free I/O
CN3
P1
23
24
P2
25
24
23
USART1_CTS,
PA11
PA1 2
PA1 3
PA1 4
20/39 DocID025097 Rev 1
TIM1_CH4, EVENTOUT
USART1_RTS, TIM1_ETR, EVENTOUT
IR_OUT, SWDIO
USART1_TX, USART2_TX, SWCLK
44
45
46
49
22
21
SWDIO
420
SWCLK
217
UM1658 Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
Alternate
functions
SPI1_NSS,
PA1 5
USART1_RX, USART2_RX,
50
EVENTOUT
TIM3_CH3,
PB0
TIM1_CH2N,
26
EVENTOUT
TIM3_CH4,
PB1
TIM14_CH1,
27
TIM1_CH3N
PB2 - 28
PB3
SPI1_SCK, EVENTOUT
55
SPI1_MISO,
PB4
TIM3_CH1,
56 10
EVENTOUT
LQFP64
Push button
LED
SWD
SWO
OSC
Power supply
Free I/O
CN3
P1
P2
16
27
28
29
611
PB5
PB6
PB7
PB8
PB9
PB10
SPI1_MOSI, I2C1_SMBA, TIM16_BKIN, TIM3_CH2
I2C1_SCL, USART1_TX, TIM16_CH1N
I2C1_SDA, USART1_RX, TIM17_CH1N
I2C1_SCL, TIM16_CH1
I2C1_SDA, IR_OUT, TIM17_CH1, EVENTOUT
I2C1_SCL, I2C2_SCL
57
58
59
61
62
29
9
8
7
4
3
30
DocID025097 Rev 1 21/39
38
Hardware and layout UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
PB11
PB12
PB13
PB14
PB15
Alternate
functions
I2C1_SDA, I2C2_SDA, EVENTOUT
SPI1_NSS, SPI2_NSS, TIM1_BKIN, EVENTOUT
SPI1_SCK, SPI2_SCK, TIM1_CH1N
SPI1_MISO, SPI2_MISO, TIM1_CH2N, TIM15_CH1
SPI1_MOSI, SPI2_MOSI, TIM1_CH3N, TIM15_CH1N, TIM15_CH2
Push button
LQFP64
30 31
33
34
35
36
LED
SWD
OSC
Power supply
Free I/O
CN3
32
P1
P2
32
31
30
PC0 EVENTOUT ADC_IN10 8
PC1 EVENTOUT ADC_IN11 9
PC2 EVENTOUT ADC_IN12 10
PC3 EVENTOUT ADC_IN13 11
PC4 EVENTOUT ADC_IN14 24
PC5 ADC_IN15 25
PC6 TIM3_CH1 37
PC7 TIM3_CH2 38
PC8 TIM3_CH3 39
PC9 TIM3_CH4 40
PC10 - 51
22/39 DocID025097 Rev 1
11
12
13
14
25
26
29
28
BLUE
27
GREEN
26
15
UM1658 Hardware and layout
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Power supply
Free I/O
CN3
P1
Main
function
Alternate
functions
LQFP64
Push button
LED
SWD
OSC
PC11 - 52 14
PC12 - 53
13
RTC_TAMP1,
PC13
RTC_TS, RTC_OUT,
2
4
WKUP2
OSC32_IN
PC14­OSC32_INOSC32_IN 3
5
OSC32_OUT
PC15­OSC32_
OSC32_OUT 4
6
OUT
P2
PD2 TIM3_ETR 54 12
OSC_IN
PF0­OSC_IN
OSC_IN 5
7
OSC_OUT
PF1­OSC_
OSC_OUT 6
8
OUT
PF4 EVENTOUT 18
PF5 EVENTOUT 19
PF6
PF7
I2C1_SCL, I2C2_SCL
I2C1_SDA, I2C2_SDA
47
48
19
20
19
18
VDD_3 VDD 1 3
VDD_1 64
VDD_2 32
VDDA 13
DocID025097 Rev 1 23/39
38
Hardware and layout UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin Board function
Main
function
VSS_1 63
VSS_2 31
VSSA 12
Alternate
functions
LQFP64
Push button
LED
SWD
GND
OSC
Power supply
Free I/O
CN3
5V 1
3V 1
VDD
GND
GND
3
GND
GND
P1
P2
5
22
9
33 33
24/39 DocID025097 Rev 1
UM1658 Connecting modules on the prototyping board

5 Connecting modules on the prototyping board

This section gives some examples of how to connect ready-to-use modules available from different manufacturers to the STM32F030 Value Line Discovery kit via the prototyping board included in the kit.
Software examples, based on the connections described below, are available at
www.st.com/stm32f0-discovery.

5.1 Mikroelektronica accessory boards

Mikroelektronika, http://www.mikroe.com, has specified two standard connectors for their accessory boards, named mikroBUS™ (http://www.mikroe.com/mikrobus_specs.pdf) and IDC10.
MikroBUS™ is a 16-pin connector to connect accessory boards very quickly and easily to a microcontroller board through SPI, USART or I
2
C communications, along with additional
pins such as Analog Input, PWM and Interrupt.
The set of mikroElektronika boards compatible with mikroBUS™ is called “Click boards”.
IDC10 is a 10-pin connector to connect the general purpose I/O of an MCU to other accessory boards.
The tables below are one solution for connecting mikroBUS™ and IDC boards to the 32F0308DISCOVERY; this solution used in the different examples is available at
www.st.com/stm32f0-discovery.
Mikroelektronica mikroBUS™ 32F0308DISCOVERY
Pin Description Pin Description
AN Analog pin PA4 DAC1_OUT
RST Reset pin PB13 GPIO OUTPUT (5V tolerant)
CS SPI Chip Select line PA11 GPIO OUTPUT (5V tolerant)
SCK SPI Clock line PB3 SPI1_SCK
MISO SPI Slave Output line PB4 SPI1_MISO
MOSI SPI Slave Input line PB5 SPI1_MOSI
PWM PWM output line PA8 TIM1_CH1
INT Hardware Interrupt line PB12 GPIO INPUT EXTI (5V tolerant)

Table 6. Connecting using mikroBUS™

RX UART Receive line PA3 USART2_RX
TX UART Transmit line PA2 USART2_TX
SCL I2C Clock line PF6 I2C2_SCL
SDA I2C Data line PF7 I2C2_SDA
5V VCC 5V power line 5V Power line
DocID025097 Rev 1 25/39
38
Connecting modules on the prototyping board UM1658

Table 7. Connecting using IDC10

Mikroelektronica IDC10 connector 32F0308DISCOVERY
P0 GPIO PC0 GPIO OUTPUT (3.3V tolerant)
P1 GPIO PC1 GPIO OUTPUT (3.3V tolerant)
P2 GPIO PC2 GPIO OUTPUT (3.3V tolerant)
P3 GPIO PC3 GPIO OUTPUT (3.3V tolerant)
P4 GPIO PC4 GPIO OUTPUT (3.3V tolerant)
P5 GPIO PC5 GPIO OUTPUT (3.3V tolerant)
P6 GPIO PC6 GPIO OUTPUT (5V tolerant)
P7 GPIO PC7 GPIO OUTPUT (5V tolerant)
VCC VCC 5V power line 3V VDD
GND Reference Ground GND VSS
P0 GPIO PC0 GPIO OUTPUT (3.3V tolerant)
P1 GPIO PC1 GPIO OUTPUT (3.3V tolerant)
P2 GPIO PC2 GPIO OUTPUT (3.3V tolerant)
P3 GPIO PC3 GPIO OUTPUT (3.3V tolerant)
26/39 DocID025097 Rev 1
UM1658 Connecting modules on the prototyping board
The Figure 10 illustrates the connections between the 32F0308DISCOVERY and the 2 connectors, IDC10 and mikroBUS™.

Figure 10. Using IDC10 and mikroBUS™ connectors

DocID025097 Rev 1 27/39
38
Connecting modules on the prototyping board UM1658

5.2 ST MEMS “adapter boards”, standard DIL24 socket

STMicroelectronics has defined a standard DIL24 connector to easily evaluate its MEMS sensors connected to a microcontroller through SPI or I2C communications.
Tabl e 8 is one solution for connecting the DIL24 boards to the 32F0308DISCOVERY, this
solution is used in different examples and available at www.st.com/stm32f0-discovery.
ST MEMS DIL24 Eval board 32F0308DISCOVERY
P01 VDD Power supply 3V VDD
P02 Vdd_IO Power supply for I/O pins 3V VDD
P03 NC
P04 NC
P05 NC
P06 NC
P07 NC
P08 NC

Table 8. Connecting with a DIL24 board

P09 NC
P10 NC
P11 NC
P12 NC
P13 GND 0V supply GND GND
P14 INT1 Inertial interrupt 1 PB12 GPIO INPUT EXTI (5V tolerant)
P15 INT2 inertial interrupt 2 PB11 GPIO INPUT EXTI (5V tolerant)
P16 NC
P17 NC
P18 NC
P19 CS - 0:SPI enabled 1:I2C mode PA11 GPIO OUTPUT (5V tolerant)
SCL (I2C serial clock)
P20
SPC (SPI serial clock)
SDA I2C Serial Data
P21
SDI SPI Serial Data Input
SDO SPI Serial Data Output
P22
I2C less significant bit of the device address
P23 NC
P24 NC
PB6 PB3
PB7 PB5
PB4 SPI1_MISO
I2C1_SCL SPI1_SCK
I2C1_SDA SPI1_MOSI
28/39 DocID025097 Rev 1
UM1658 Connecting modules on the prototyping board
Figure 11 illustrates the connections between the 32F0308DISCOVERY and the DIL24
socket.

Figure 11. DIL24 socket connections

DocID025097 Rev 1 29/39
38
Connecting modules on the prototyping board UM1658
Supported MEMS adapter boards
Tabl e 9 is a list of supported MEMS adapter boards as of April, 2012.
ST MEMS DIL24 Eval Board Core product
STEVAL-MKI009V1 LIS3LV02DL
STEVAL-MKI013V1 LIS302DL
STEVAL-MKI015V1 LIS344ALH
STEVAL-MKI082V1 LPY4150AL
STEVAL-MKI083V1 LPY450AL
STEVAL-MKI084V1 LPY430AL
STEVAL-MKI085V1 LPY410AL
STEVAL-MKI086V1 LPY403AL
STEVAL-MKI087V1 LIS331DL
STEVAL-MKI088V1 LIS33DE
STEVAL-MKI089V1 LIS331DLH

Table 9. Supported MEMS adapter boards

STEVAL-MKI090V1 LIS331DLF
STEVAL-MKI091V1 LIS331DLM
STEVAL-MKI092V1 LIS331HH
STEVAL-MKI095V1 LPR4150AL
STEVAL-MKI096V1 LPR450AL
STEVAL-MKI097V1 LPR430AL
STEVAL-MKI098V1 LPR410AL
STEVAL-MKI099V1 LPR403AL
STEVAL-MKI105V1 LIS3DH
STEVAL-MKI106V1 LSM303DLHC
STEVAL-MKI107V1 L3G4200D
STEVAL-MKI107V2 L3GD20
STEVAL-MKI108V1 9AXISMODULE v1 [LSM303DLHC + L3G4200D]
STEVAL-MKI108V2 9AXISMODULE v2 [LSM303DLHC + L3GD20]
STEVAL-MKI110V1 AIS328DQ
STEVAL-MKI113V1 LSM303DLM
STEVAL-MKI114V1 MAG PROBE (based on LSM303DLHC)
STEVAL-MKI120V1 LPS331AP
STEVAL-MKI122V1 LSM330DLC
STEVAL-MKI123V1 LSM330D
30/39 DocID025097 Rev 1
UM1658 Connecting modules on the prototyping board
Table 9. Supported MEMS adapter boards (continued)
ST MEMS DIL24 Eval Board Core product
STEVAL-MKI124V1
STEVAL-MKI125V1 A3G4250D
10AXISMODULE [LSM303DLHC + L3GD20+ LPS331AP]
Note: For an up-to-date list, visit http://www.st.com/internet/evalboard/subclass/1116.jsp. The
DIL24 boards are described as “adapter boards” in the field “General Description”.

5.3 Arduino shield boards

Arduino™ is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. See http://www.arduino.cc for more information.
Arduino accessory boards are called “Shields” and can be easily connected to the 32F0308DISCOVERY according to the following table.
Arduino power connector 32F0308DISCOVERY
Reset Reset from Shield board NRST Reset discovery
3V3 VCC 3.3V power line 3V VDD
5V VCC 5V power line 5V VDD
GND Reference Ground GND Reference Ground
GND Reference Ground GND Reference Ground
Vin External alimentation 3 V

Table 10. Connecting with Arduino shields

Jumper fitted to power board by External 3 V power supply.
Arduino analog in connector 32F0308DISCOVERY
A0 Analog input or Digital pin 14 PC0 ADC_IN10
A1 Analog input or Digital pin 15 PC1 ADC_IN11
A2 Analog input or Digital pin 16 PC2 ADC_IN12
A3 Analog input or Digital pin 17 PC3 ADC_IN13
A4
A5
Analog input or SDA or Digital pin 18
Analog input or SCL or Digital pin 19
DocID025097 Rev 1 31/39
PC4 or PF7 ADC_IN14 or I2C2_SDA
PC5 or PF6 ADC_IN15 or I2C2_SCL
38
Connecting modules on the prototyping board UM1658
Table 10. Connecting with Arduino shields (continued)
Arduino digital connector 32F0308DISCOVERY
D0 Digital pin 0 or RX PA3 USART2_RX
D1 Digital pin 1 or TX PA2 USART2_TX
D2 Digital pin 2 / External interrupt PB12 EXTI (5V tolerant)
D3 Digital pin 3 / Ext int or PWM PB11 EXTI (5V tolerant) or TIM2_CH4
D4 Digital pin 4 PA7 GPIO (3V tolerant)
D5 Digital pin 5 or PWM PB9 TIM17_CH1
D6 Digital pin 6 or PWM PB8 TIM16_CH1
D7 Digital pin 7 PA6 GPIO (3V tolerant)
D8 Digital pin 8 PA5 GPIO (3V tolerant)
D9 Digital pin 9 or PWM PA4 TIM14_CH1
D10 Digital pin 10 or CS or PWM PA11 TIM1_CH4
D11 Digital pin 11 or MOSI or PWM PB5 SPI1_MOSI or TIM3_CH2
D12 Digital pin 12 or MISO PB4 SPI1_MISO
D13 Digital pin 13 or SCK PB3 SPI1_SCK
GND Reference Ground GND Reference Ground
AREF ADC voltage reference NC Not connected
Arduino ICSP connector 32F0308DISCOVERY
1 MISO PB4 SPI1_MISO
2 VCC 3.3V 3V VDD
3 SCK PB3 SPI1_SCK
4 MOSI PB5 SPI1_MOSI
5 RST NRST Reset discovery
6 GND GND Reference Ground
32/39 DocID025097 Rev 1
UM1658 Connecting modules on the prototyping board
Figure 12 illustrates the connections between the 32F0308DISCOVERY and the Arduino
shield boards.

Figure 12. Arduino shield board connections

DocID025097 Rev 1 33/39
38
Mechanical drawing UM1658
MB1134 revA STM32F0308-DISCO

6 Mechanical drawing

Figure 13. 32F0308DISCOVERY mechanical drawing

34/39 DocID025097 Rev 1
UM1658 Electrical schematics
STMicroelectronics
Title:
Number: Rev: Sheet of
A.1(PCB.SCH)
Date:
7/4/2013
MB1134 1
STM32F030 DISCOVERY
PA13
PA14
NRST
PB3
MCO
PA10
PA9
U_ST_LINK
ST_LINK_V2.SCHDOC
PA13
PA14 TCK/SWCLK
TMS/SWDIO
MCO
NRST
PB3 T_SWO
T_NRST
PA13
PA14
PA15
PA12
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PB12
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB13
PB14
PB15
PC3
PC15
PC14
PC13
PC12
PC11
PC10
PC9
PC8
PC7
PC6
PC5
PC4
PC2
PC1
PC0 PD2
BOOT0
NRST
MCO
VDD_3
PF7
PF6
PF5
PF4
PF1
PF0
U_STM32Fx
STM32Fx.SchDoc
MCO
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PF0
BOOT0
NRST
PD2
PA4
PA5
PA0
PA3
PA2
PA1
PB14
PB15
PB2
PB12
PB13
PC0
PC1
PC2
PC3
NRST
PF1
PF0
PC15
PC14
PC13
PB10
PB11
PC7
PC8
PC9
PA8
PA9
PA10
PA11
PA12
PA14
BOOT0
PB8
PB9
PA13
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
PC6
PF4
PF5
PF6
PF7
VDD
3V
5V
VDD_3
PF1
PF4
PF5
PF6
PF7
PA10
PA9
123456789
1011121314151617181920212223242526272829303132
33
P1
Header 33
123456789101112131415161718192021222324252627282930313233
P2
Header 33
PA6
PA7
PC4
PC5
PB0
PB1
VDD_3

7 Electrical schematics

Figure 14. 32F0308DISCOVERY

DocID025097 Rev 1 35/39
38
STMicroelectronics
Title:
Number: Rev: Sheet of
A.1(PCB.SCH)
Date:
7/1/2013
C10
20pF
C11
20pF
1 2
X1
8MHz
3V
USB_DM
USB_DP
STM_RST
T_JTCK
T_JTCK
T_JTDO
T_JTDI
T_JTMS
STM_JTMS
STM_JTCK
OSC_IN
OSC_OUT
T_NRST
R20 4K7
R21 4K7
AIN_1
C8
100nF
R16
100K
R13
100K
3V
3V
3V
SWIM_IN
SWIM_IN
SWIM_IN
SWIM
SWIM
SWIM_RST_IN SWIM_RST
MB1134 2 3
STM32F030 DISCOVERY ST-LINK/V2 (SWD only)
USB_DM
USB_DP
3V
R6 1K5
R7 0
USB
R5 100K
VCC
1
D-
2
D+
3
ID
4
GND
5
SHELL
0
CN1
5075BMR-05-SM
U5V
COM
5V
3V
R2
1K
PWR
LD1
RED
5V
C7
100nF
C12
100nF
C9
100nF
C6
100nF
3V
VBAT
1
PA7
17
PC13
2
PA12
33
PC14
3
PB0
18
PC15
4
JTMS/SWDIO
34
OSCIN
5
PB1
19
OSCOUT
6
VSS_2
35
NRST
7
PB2/BOOT1
20
VSSA
8
VDD_2
36
VDDA
9
PB10
21
PA0
10
JTCK/SWCLK
37
PA1
11
PB11
22
PA2
12
PA15/JTDI
38
PA3
13
VSS_1
23
PA4
14
PB3/JTDO
39
PA5
15
VDD_1
24
PA6
16
PB4/JNTRST
40
PB12
25
PB5
41
PB13
26
PB6
42
PB14
27
PB7
43
PB15
28
BOOT0
44
PA8
29
PB8
45
PA9
30
PB9
46
PA10
31
VSS_3
47
PA11
32
VDD_3
48
U2
STM32F103C8T6
Board Ident: PC13=0
T_JTCK
T_JTMS
SWD
3V
1
2
3
4
CN2
SB6 SB5
SB8 SB7
SB10 SB9
SB12 SB11
STM_JTMS
STM_JTCK
SWCLK
SWDIO
SWD
RESERVED
DEFAULT
3V
T_SWDIO_IN
T_SWO
LED_STLINK
LED_STLINK
3V
R4
100R3100
R1
0
Red
_Green
2 1
3 4
LD2
LD_BICOLOR_CMS
R1222R14
22
R19 10K
R18 10K
PA13
PA14
TCK/SWCLK
TMS/SWDIO
VDD3V
R9
10K
R8 0
Not Fitted
MCO
C1
1 _X5R_0603
C3
10nF_X7R_0603
C4
1 _X5R_0603
C2
100nF
C5
100nF
MCO
Not Fitted
T_JRST
R11
100
12345
6
CN3
Header 6
R10
100
AIN_1
T_NRST
T_SWO
NRST
PB3
R1522R17
22
SB19
SB22
T_NRST
T_SWO
Not Fitted
SB13
RC Must be very close to STM32F103 pin 29
JP2
51
2
GND
3
4
BYPASS
INH
Vin Vout
U1
LD3985 M33R
D1
BAT60JFILM
D2
BAT60JFILM
D3
BAT60JFILM
R34
100
C24
20pF
EXT_5V
OUT_3V
JP1
TX
RX
STLINK_RX
Not Fitted
SB14
SB15
STLINK_TX
PA10
PA9
STM32F0_USART1_TX
STM32F0_USART1_RX
Close to JP
Not Fitted
Idd
Electrical schematics UM1658

Figure 15. ST-LINK/V2 (SWD only)

Jumpers ON --> DISCOVERY Selected
Jumpers OFF --> ST-LINK Selected
36/39 DocID025097 Rev 1
UM1658 Electrical schematics
STMicroelectronics
Title:
Number: Rev: Sheet of
A.1(PCB.SCH)
Date:
7/4/2013
MB1134 3 3
STM32F030 DISCOVERY MCU
C21
100nF
C19
100nF
VDD
C20
100nF
VDD
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8 PA9 PA10 PA11 PA12 PA13
PA14
PA15
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12 PB13 PB14 PB15
PC0
PC1
PC2
PC3
PC4
PC5
PC6 PC7 PC8 PC9
PC10
PC11
PC12
PC13
PC14
PC15
PF0
PF1
PF4
PF5
PF6 PF7
PD2
C15
6.8pF
C16
6.8pF
R24
0
R25
0
C13
20pF
C14
20pF
R22
390
VDD
R27
10K
VDD
NRST
BOOT0
1 2
X2
8MHz
41
32
X3
MC306-G-06Q-32.768 (JFVNY)
R26
510
SB2
BOOT0
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB12 PB13 PB14 PB15 PC6 PC7 PC8 PC9 PA8 PA9 PA10 PA11 PA12 PA13 PF6 PF7
PA3
PA4
PA5
PA6
PA7
PC4
PC5
PF4
PF5
PB0
PB1
PB2
PB10
PB11
LD3
green
PC9
R30
330
LD4
blue
PC8
R31
660
C22
100nF
R29
220K
VDD
SB3
R28
330
R32
100
USER & WAKE-UP Button
PA0
Not Fitted
NRST
NRST
RESET Button
C23
100nF
R33
100K
VDD
SB4
Not Fitted
14
3 2
B2
SW-PUSH-CMS
14
3 2
B1
SW-PUSH-CMS
MCO
MCO
SB18
PC14
PC15
PF0
PF1
PC13
SB20
PA0
PA1
PA2
PC0
PC1
PC2
SB17
SB21
VDD
R23
0
SB16
C18
1uF
PC3
VDD
VDD_3
C17
1uF
SB1
Close to XTAL & MCU
Close to STM32
Not Fitted
Not Fitted
Not Fitted
Not Fitted
Closed by default
VDD_3
1
PC13 - TAMPER1 - WKUP2
2
PC14 - OSC32_IN
3
PC15 - OSC32_OUT
4
PF0 - OSC_IN
5
PF1 - OSC_OUT
6
NRST
7
PC0
8
PC1
9
PC2
10
PC3
11
VSSA / VREF-
12
VDDA / VREF+
13
PA0 - TAM PER2 - WKUP1
14
PA1
15
PA2
16
PA3
17
PF418PF5
19
PA420PA521PA622PA7
23
PC424PC525PB026PB1
27
PB2 or NPOR (1.8V mode)
28
PB1029PB11
30
VSS_2
31
VDD_2
32
PB12
33
PB13
34
PB14
35
PB15
36
PC6
37
PC7
38
PC8
39
PC9
40
PA8
41
PA9
42
PA10
43
PA11
44
PA12
45
PA13
46
PF6
47
PF7
48
PA1449PA1550PC1051PC1152PC1253PD254PB355PB456PB557PB658PB759BOOT060PB861PB962VSS_163VDD_1
64
U3
STM32F030R8T6

Figure 16. MCU

DocID025097 Rev 1 37/39
38
Revision history UM1658

8 Revision history

Date Revision Changes
03-Sep-2013 1 Initial release.

Table 11. Document revision history

38/39 DocID025097 Rev 1
UM1658
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
DocID025097 Rev 1 39/39
39
Loading...