UM1658 User Manual: Discovery Kit For STM32F030 Value Line Microcontrollers
UM1658 User Manual: Discovery Kit For STM32F030 Value Line Microcontrollers
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 Cortex-M0 microcontroller, and includes an ST-LINK/V2
embedded debug tool, LEDs, push buttons and a prototyping board.
Figure 1. 32F0308DISCOVERY
September 2013
DocID025097 Rev 1
1/39
www.st.com
Contents
UM1658
Contents
1
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2
System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3
2.4
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1
4.2
Embedded ST-LINK/V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.1
4.2.2
4.3
4.4
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5
Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6
JP2 (Idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.7
OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7.1
4.7.2
4.8
Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.9
Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.2
5.3
Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2/39
DocID025097 Rev 1
UM1658
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
MCU pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Connecting using mikroBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Connecting using IDC10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Connecting with a DIL24 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Supported MEMS adapter boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Connecting with Arduino shields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
DocID025097 Rev 1
3/39
3
List of figures
UM1658
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
4/39
32F0308DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
STM32F030R8T6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
STM32F030R8T6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
32F0308DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
ST-LINK connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using IDC10 and mikroBUS connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
DIL24 socket connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Arduino shield board connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
32F0308DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
32F0308DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
ST-LINK/V2 (SWD only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
DocID025097 Rev 1
UM1658
Conventions
Conventions
Table 1 provides the definition of some conventions used in the present document.
Table 1. ON/OFF conventions
Convention
Definition
Jumper JP1 ON
Jumper fitted
DocID025097 Rev 1
5/39
38
Quick start
UM1658
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:
2.2
2.3
2.4
1.
Check jumper position on the board, JP2 on, CN2 on (Discovery selected).
2.
3.
4.
Observe how the green LED LD3 blinking changes according to USER button B1
clicks.
5.
6.
7.
Discover the STM32F0 features, download and execute programs proposed in the list
of projects.
8.
System requirements
Keil, MDK-ARM
Order code
To order the STM32F030 Value Line Discovery kit, use the order code
STM32F0308-DISCO.
6/39
DocID025097 Rev 1
UM1658
Features
Features
The STM32F030 Value Line Discovery kit offers the following features:
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
Four LEDs:
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.
DocID025097 Rev 1
7/39
38
UM1658
SWD
Embedded
ST-LINK/V2
STM32F030R8T6
I/O
I/O
RESET
LED
LD3, PC9
B2
RST
LED
LD4, PC8
B1
USER
Header
Header
I/O
MSv31935V1
8/39
DocID025097 Rev 1
UM1658
ST-LINK/V2
5V power supply
input output
3V power supply
input output
CN3
SWD connector
CN2
ST-LINK/DISCOVERY
selector
JP2
IDD measurement
SB1 (VDD)
SB3 (B1-USER)
B2 reset button
STM32F030R8T6
SB4 (B2-RESET)
B1 user button
Note:
DocID025097 Rev 1
9/39
38
UM1658
Figure 4. Bottom layout
SB22 (T_SWO)
MS30025V1
10/39
DocID025097 Rev 1
UM1658
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 I2Cs, up to two SPIs, and up to two USARTs), one
12-bit ADC, up to 6 general-purpose 16-bit timers and an advanced-control PWM timer.
Figure 5. STM32F030R8T6 package
STM32F030R8T6
64 Kbyte of Flash memory
8 Kbytes of SRAM
LQFP64 10 x 10 mm
MS31938V1
DocID025097 Rev 1
11/39
38
UM1658
Figure 6. STM32F030R8T6 block diagram
Serial
Wire
Debug
VDD18
Obl
Flash
interface
SWCLK
SWDIO
as AF
SRAM
controller
NVIC
Bus matrix
CORTEX-M0 CPU
fHCLK = 48 MHz
Flash
up to
64 KB,
32 bits
SRAM
4 / 8 KB
POWER
VOLT.REG
3.3 V TO 1.8 V
@ VDD
POR
Reset
Int
SUPPLY
SUPERVISION
POR/PDR
@ VDDA
NRST
VDDA
VDD
RC HS 14 MHz
RC HS 8 MHz
@ VDDA
GP DMA
5 channels
RC LS
PLL
GPIO port A
PB[15:0]
GPIO port B
PC[15:0]
GPIO port C
PD2
GPIO port D
PF[1:0]
PF[7:4]
GPIO port F
AHB decoder
PA[15:0]
RESET &
CLOCK
CONTROL
AHBPCLK
APBPCLK
ADCCLK
USARTCLK
HCLK
FCLK
CRC
AHB
@ VDD
XTAL OSC
4-32 MHz
IWDG
Power
Controller
@ VDD
XTAL32 kHz
OSC32_IN (PC14)
OSC32_OUT (PC15)
RTC
TAMPER-RTC
(ALARM OUT)
RTC interface
TIMER 1
4 channels
3 compl. channels
BRK, ETR input as AF
TIMER 3
4 ch., ETR as AF
TIMER 14
1 channel as AF
TIMER 15
2 channels
1 compl, BRK as AF
TIMER 16
1 channel
1 compl, BRK as AF
TIMER 17
1 channel
1 compl, BRK as AF
APB
55 AF
EXT. IT
WKUP
WWDG
MOSI,
MISO,
SCK,
NSS as AF
MOSI/MISO,
SCK/NSS,
as AF
SPI1
OSC_IN (PF0)
OSC_OUT (PF1)
IR_OUT as AF
DBGMCU
USART1
SPI2
USART2
SYSCFG IF
@ VDDA
Temp.
sensor
16
AD inputs
12-bit
ADC1
I2C 1
I2C2
SCL, SDA
as AF
IF
TIMER 6
VDDA
VSSA
MSv32137V1
12/39
DocID025097 Rev 1
UM1658
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 Table 2):
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
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
MS19052V2
Description
DocID025097 Rev 1
13/39
38
4.2.1
UM1658
CN3
SWD connector
CN2 jumpers on
14/39
DocID025097 Rev 1
UM1658
4.2.2
Note:
SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application.
Table 3. Debug connector CN3 (SWD)
Pin
CN3
Designation
VDD_TARGET
SWCLK
SWD clock
GND
Ground
SWDIO
NRST
SWO
Reserved
CN3
SWD connector
CN2 ju
jumpers
umpers off
DocID025097 Rev 1
15/39
38
4.3
UM1658
4.4
4.5
4.6
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.
LEDs
LD2 COM: Tricolor LED (COM) advises on the communication status as follows:
Fast blinking Red LED/Off: After the first correct communication between PC and
STLINK/V2 (enumeration)
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.
Push buttons
B1 USER: User push button connected to the I/O PA0 of the STM32F030R8T6.
JP2 (Idd)
Jumper JP2, labeled Idd, allows the consumption of STM32F030R8T6 to be measured by
removing the jumper and connecting an ammeter.
16/39
DocID025097 Rev 1
UM1658
4.7
OSC clock
4.7.1
4.7.2
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:
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:
Oscillator from external PF0. From external oscillator through pin 7 of the P1
connector. Configuration needed:
SB18 OPEN
Oscillator from external PC14. From external oscillator trough the pin 5 of P1
connector. Configuration needed:
DocID025097 Rev 1
17/39
38
4.8
UM1658
Solder bridges
Table 4. Solder bridge settings
Bridge
State(1)
Description
OFF
X2, C13, C14, R22 and R23 provide a clock. PF0, PF1 are disconnected
from P1.
ON
PF0, PF1 are connected to P1 (R22, R23 and SB18 must not be fitted).
SB6,8,10,12 (Default)
ON
SB5,7,9,11 (Reserved)
OFF
SB20,21
(X3 crystal)
OFF
X3, C15, C16, R24 and R25 deliver a 32 KHz clock. PC14, PC15 are not
connected to P1.
ON
PC14, PC15 are only connected to P1 (R24, R25 must not be fitted).
ON
OFF
SB3
(B1-USER)
ON
OFF
SB1
(VDD_3)
ON
OFF
SB14,15
(RX,TX)
OFF
ON
ON
NRST signal of the CN3 connector is connected to the NRST pin of the
STM32F030R8T6 MCU.
OFF
NRST signal of the CN3 connector is not connected to the NRST pin of the
STM32F030R8T6 MCU.
SB22
(T_SWO)
ON
OFF
SB13
(STM_RST)
OFF
ON
ON
OFF
ON
OFF
SB16,17
(X2 crystal)(2)
SB4
(B2-RESET)
SB19
(NRST)
SB2
(BOOT0)
SB18
(MCO)(2)
18/39
DocID025097 Rev 1
UM1658
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
BOOT0
60
NRST
NRST
RESET
PA0
USART1_CTS,
USART2_CTS,
ADC_IN0,
RTC_TAMP2,
WKUP1
14
USER
PA1
USART1_RTS,
USART2_RTS,
EVENTOUT,
ADC_IN1
15
16
PA2
USART1_TX,
USART2_TX,
TIM15_CH1,
ADC_IN2
16
17
PA3
USART1_RX,
USART2_RX,
TIM15_CH2,
ADC_IN3
17
18
PA4
SPI1_NSS,
USART1_CK
USART2_CK,
TIM14_CH1,
ADC_IN4
20
21
PA5
SPI1_SCK,
ADC_IN5
21
22
DocID025097 Rev 1
NRST
BOOT0
P2
P1
CN3
Power supply
Free I/O
OSC
SWD
LED
Push button
Alternate
functions
LQFP64
Main
function
Board function
10
15
19/39
38
UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin
P2
P1
CN3
Power supply
Free I/O
OSC
SWD
LED
Push button
PA6
SPI1_MISO,
TIM3_CH1,
TIM1_BKIN,
TIM16_CH1,
EVENTOUT,
ADC_IN6
22
23
PA7
SPI1_MOSI,
TIM3_CH2,
TIM14_CH1,
TIM1_CH1N,
TIM17_CH1,
EVENTOUT,
ADC_IN7
23
24
PA8
USART1_CK,
TIM1_CH1,
EVENTOUT,
MCO
41
25
PA9
USART1_TX,
TIM1_CH2,
TIM15_BKIN,
I2C1_SCL
42
24
PA10
USART1_RX,
TIM1_CH3,
TIM17_BKIN,
I2C1_SDA
43
23
PA11
USART1_CTS,
TIM1_CH4,
EVENTOUT
44
22
PA12
USART1_RTS,
TIM1_ETR,
EVENTOUT
45
21
PA13
IR_OUT,
SWDIO
46
PA14
USART1_TX,
USART2_TX,
SWCLK
49
DocID025097 Rev 1
SWDIO SWCLK
20/39
Alternate
functions
LQFP64
Main
function
Board function
20
17
UM1658
P2
P1
CN3
Power supply
Free I/O
OSC
SWD
LED
Push button
Alternate
functions
LQFP64
Main
function
Board function
PA15
SPI1_NSS,
USART1_RX,
USART2_RX,
EVENTOUT
50
PB0
TIM3_CH3,
TIM1_CH2N,
EVENTOUT
26
27
PB1
TIM3_CH4,
TIM14_CH1,
TIM1_CH3N
27
28
PB2
28
29
PB3
SPI1_SCK,
EVENTOUT
55
PB4
SPI1_MISO,
TIM3_CH1,
EVENTOUT
56
10
PB5
SPI1_MOSI,
I2C1_SMBA,
TIM16_BKIN,
TIM3_CH2
57
PB6
I2C1_SCL,
USART1_TX,
TIM16_CH1N
58
PB7
I2C1_SDA,
USART1_RX,
TIM17_CH1N
59
PB8
I2C1_SCL,
TIM16_CH1
61
PB9
I2C1_SDA,
IR_OUT,
TIM17_CH1,
EVENTOUT
62
PB10
I2C1_SCL,
I2C2_SCL
29
SWO
DocID025097 Rev 1
16
11
30
21/39
38
UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin
P2
P1
CN3
Power supply
Free I/O
OSC
SWD
LED
Alternate
functions
Push button
PB11
I2C1_SDA,
I2C2_SDA,
EVENTOUT
30
31
PB12
SPI1_NSS,
SPI2_NSS,
TIM1_BKIN,
EVENTOUT
33
32
PB13
SPI1_SCK,
SPI2_SCK,
TIM1_CH1N
34
32
PB14
SPI1_MISO,
SPI2_MISO,
TIM1_CH2N,
TIM15_CH1
35
31
PB15
SPI1_MOSI,
SPI2_MOSI,
TIM1_CH3N,
TIM15_CH1N,
TIM15_CH2
36
30
PC0
EVENTOUT ADC_IN10
11
PC1
EVENTOUT ADC_IN11
12
PC2
EVENTOUT ADC_IN12
10
13
PC3
EVENTOUT ADC_IN13
11
14
PC4
EVENTOUT ADC_IN14
24
25
PC5
ADC_IN15
25
26
PC6
TIM3_CH1
37
29
PC7
TIM3_CH2
38
28
PC8
TIM3_CH3
39
PC9
TIM3_CH4
40
PC10
51
DocID025097 Rev 1
BLUE GREEN
22/39
LQFP64
Main
function
Board function
27
26
15
UM1658
P2
P1
CN3
Power supply
Free I/O
OSC
SWD
LED
Push button
Alternate
functions
LQFP64
Main
function
Board function
PC11
52
14
PC12
53
13
PC13
RTC_TAMP1,
RTC_TS,
RTC_OUT,
WKUP2
OSC32_IN OSC32_OUT
PC14OSC32_ OSC32_IN
IN
PC15OSC32_ OSC32_OUT
OUT
PD2
TIM3_ETR
54
PF0OSC_IN
OSC_IN
PF1OSC_
OUT
OSC_OUT
PF4
EVENTOUT
18
19
PF5
EVENTOUT
19
20
PF6
I2C1_SCL,
I2C2_SCL
47
19
PF7
I2C1_SDA,
I2C2_SDA
48
18
VDD_3
VDD
1
64
VDD_2
32
VDDA
13
DocID025097 Rev 1
12
OSC_IN OSC_OUT
VDD_1
23/39
38
UM1658
Table 5. MCU pin description versus board function (continued)
MCU pin
5V
3V
DocID025097 Rev 1
GND
24/39
P2
P1
CN3
12
Power supply
VSSA
Free I/O
31
OSC
VSS_2
SWD
63
LED
VSS_1
Push button
Alternate
functions
LQFP64
Main
function
Board function
1
5
2
3
9
33
33
UM1658
5.1
32F0308DISCOVERY
Pin
Description
Pin
Description
AN
Analog pin
PA4
DAC1_OUT
RST
Reset pin
PB13
PA11
SCK
PB3
SPI1_SCK
MISO
PB4
SPI1_MISO
MOSI
PB5
SPI1_MOSI
PWM
PA8
TIM1_CH1
CS
INT
RX
PA3
USART2_RX
TX
PA2
USART2_TX
SCL
PF6
I2C2_SCL
SDA
PF7
I2C2_SDA
5V
Power line
5V
DocID025097 Rev 1
PB12
25/39
38
UM1658
26/39
32F0308DISCOVERY
P0
GPIO
PC0
P1
GPIO
PC1
P2
GPIO
PC2
P3
GPIO
PC3
P4
GPIO
PC4
P5
GPIO
PC5
P6
GPIO
PC6
P7
GPIO
PC7
VCC
3V
VDD
GND
Reference Ground
GND
VSS
P0
GPIO
PC0
P1
GPIO
PC1
P2
GPIO
PC2
P3
GPIO
PC3
DocID025097 Rev 1
UM1658
DocID025097 Rev 1
27/39
38
5.2
UM1658
32F0308DISCOVERY
3V
VDD
3V
VDD
GND
GND
PB12
PB11
PA11
P03 NC
P04 NC
P05 NC
P06 NC
P07 NC
P08 NC
P09 NC
P10 NC
P11
NC
P12 NC
P16 NC
P17 NC
P18 NC
P19 CS - 0:SPI enabled 1:I2C mode
P20
PB6
PB3
I2C1_SCL
SPI1_SCK
P21
PB7
PB5
I2C1_SDA
SPI1_MOSI
P22
PB4
SPI1_MISO
P23 NC
P24 NC
28/39
DocID025097 Rev 1
UM1658
DocID025097 Rev 1
29/39
38
UM1658
30/39
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
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
STEVAL-MKI108V2
STEVAL-MKI110V1
AIS328DQ
STEVAL-MKI113V1
LSM303DLM
STEVAL-MKI114V1
STEVAL-MKI120V1
LPS331AP
STEVAL-MKI122V1
LSM330DLC
STEVAL-MKI123V1
LSM330D
DocID025097 Rev 1
UM1658
Core product
STEVAL-MKI124V1
STEVAL-MKI125V1
A3G4250D
Note:
5.3
32F0308DISCOVERY
NRST
Reset discovery
3V3
3V
VDD
5V
5V
VDD
GND
Reference Ground
GND
Reference Ground
GND
Reference Ground
GND
Reference Ground
Vin
External alimentation
3V
32F0308DISCOVERY
A0
PC0
ADC_IN10
A1
PC1
ADC_IN11
A2
PC2
ADC_IN12
A3
PC3
ADC_IN13
A4
PC4 or PF7
ADC_IN14 or I2C2_SDA
A5
PC5 or PF6
ADC_IN15 or I2C2_SCL
DocID025097 Rev 1
31/39
38
UM1658
32F0308DISCOVERY
D0
Digital pin 0 or RX
PA3
USART2_RX
D1
Digital pin 1 or TX
PA2
USART2_TX
D2
PB12
D3
PB11
D4
Digital pin 4
PA7
D5
PB9
TIM17_CH1
D6
PB8
TIM16_CH1
D7
Digital pin 7
PA6
D8
Digital pin 8
PA5
D9
PA4
TIM14_CH1
D10
PA11
TIM1_CH4
D11
PB5
SPI1_MOSI or TIM3_CH2
D12
PB4
SPI1_MISO
D13
PB3
SPI1_SCK
GND
Reference Ground
GND
Reference Ground
AREF
NC
32/39
Not connected
32F0308DISCOVERY
MISO
PB4
VCC 3.3V
SCK
PB3
SPI1_SCK
MOSI
PB5
SPI1_MOSI
RST
NRST
Reset discovery
GND
GND
Reference Ground
3V
DocID025097 Rev 1
SPI1_MISO
VDD
UM1658
DocID025097 Rev 1
33/39
38
Mechanical drawing
UM1658
Mechanical drawing
Figure 13. 32F0308DISCOVERY mechanical drawing
MB1134 revA
STM32F0308-DISCO
34/39
DocID025097 Rev 1
DocID025097 Rev 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Header 33
P1
NRST
PC0
PC1
PC2
PC3
PA0
PA1
PA2
PA3
PF4
PF5
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PB10
PB11
PB12
VDD_3
PC13
PC14
PC15
PF0
PF1
3V
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PA10
PA9
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
U_STM32Fx
STM32Fx.SchDoc
PA10
PA9
NRST
BOOT0
VDD_3
MCO
PF0
PF1
PF4
PF5
PF6
PF7
PD2
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
NRST
PB3
MCO
PA14
PA13
T_NRST
T_SWO
NRST
PB3
NRST
BOOT0
VDD_3
MCO
PF0
PF1
PF4
PF5
PF6
PF7
PD2
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
TCK/SWCLK
TMS/SWDIO
MCO
PA14
PA13
BOOT0
PB7
PB6
PB5
PB4
PB3
PD2
PC12
PC11
PC10
PA15
PA14
PF7
PF6
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
PB9
PB8
Date: 7/4/2013
STM32F030 DISCOVERY
Number:MB1134 Rev: A.1(PCB.SCH)
Title:
STMicroelectronics
VDD
5V
Sheet 1
Header 33
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
P2
of
ST_LINK_V2.SCHDOC
U_ST_LINK
UM1658
Electrical schematics
Electrical schematics
Figure 14. 32F0308DISCOVERY
35/39
38
100nF
3V
R21
R20
8MHz
X1
1
2
3
4
5
0
5075BMR-05-SM
VCC
DD+
ID
GND
SHELL
CN1
U5V
USB
5V
3V
VBAT
PC13
PC14
PC15
OSCIN
OSCOUT
NRST
VSSA
VDDA
PA0
PA1
PA2
Not Fitted
STLINK_RX
1
2
3
4
5
6
7
8
9
10
11
12
EXT_5V
TX
RX
BAT60JFILM
R6
1K5
3V
R8
0
USB_DM
R7
0
USB_DP
R5
100K
D1
SB15
JP1
SB14
4K7
AIN_1
OSC_IN
OSC_OUT
STM_RST
4K7
C10
20pF
10K
Close to JP
Not Fitted
STM32F0_USART1_TX
PA9
PA10
STM32F0_USART1_RX
SB13
C8
R16
100K
C11
20pF
3V
Not Fitted
R19
100K
SWIM_IN
SWIM
3V
T_JTCK
T_JTDO
T_JTDI
T_NRST
R13
SWIM_IN
SWIM_RST
SWIM_RST_IN
T_JRST
10K
STLINK_TX
STM_JTCK
48
47
46
45
44
43
42
41
40
39
38
37
C6
100nF
C7
100nF
3V
36
35
34
33
32
31
30
29
28
27
26
25
C12
100nF
VDD_2
VSS_2
JTMS/SWDIO
PA12
PA11
PA10
PA9
PA8
PB15
PB14
PB13
PB12
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4/JNTRST
PB3/JTDO
PA15/JTDI
JTCK/SWCLK
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1
13
14
15
16
17
18
19
20
21
22
23
24
SWIM_IN
SWIM
R18
C9
100nF
T_SWDIO_IN
T_JTMS
T_JTCK
STM_JTMS
USB_DP
USB_DM
T_SWO
LED_STLINK
3V
100
R34
R11
100
LD1
RED
R2
1K
3V
U2
STM32F103C8T6
1
2
3
4
5
6
R9
10K
R10
R17
R15
R14
R12
22
22
22
22
BAT60JFILM
D3
AIN_1
T_SWO
T_NRST
T_JTMS
T_JTCK
100
JP2
Idd
C24
20pF
VDD
MCO
Not Fitted
MCO
5V
COM
PWR
Vout
LED_STLINK
INH
GND
Vin
U1
T_SWO
SB22
T_NRST
CN2
SB11
SB9
SB7
SB5
STM_JTMS
STM_JTCK
SB19
100
R3
100
R4
R1
0
BAT60JFILM
D2
3V
Date: 7/1/2013
Sheet 2
of
SWD
3V
OUT_3V
LD_BICOLOR_CMS
_Green
Red
LD2
STMicroelectronics
Title:
SWDIO
SWCLK
3V
PA14
PA13
NRST
PB3
SB12
SB10
SB8
SB6
DEFAULT
C1
C4
BYPASS
1 _X5R_0603
1 _X5R_0603
LD3985M33R
C3
C5
C2
10nF_X7R_0603
100nF
100nF
Header 6
CN3
SWD
Not Fitted
DocID025097 Rev 1
1
2
3
4
36/39
RESERVED
TCK/SWCLK
TMS/SWDIO
Electrical schematics
UM1658
DocID025097 Rev 1
PC13
PC14
PC15
SB21
PF0
MCO
PF0
MCO
Not Fitted
R25
0
Not Fitted
SB17
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
BOOT0
PB8
PB9
VSS_1
VDD_1
X3
SB20
4
C15
6.8pF
R24
0
8MHz
C14
20pF
R23
0 X2
1
2
MC306-G-06Q-32.768 (JFVNY)
6.8pF
C16
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
SB1
Closed by default
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
BOOT0
PB8
PB9
VDD
SB18
C17
1uF
PB8
PB9
VDD_3
PC13
PC14
PC15
510
10K
Close to STM32
SB2
R26
R27
Not Fitted
VDD
BOOT0
Not Fitted
PA14
PA15
PC10
PC11
PC12
PD2
PB3
PB4
PB5
PB6
PB7
PF7
PF6
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
PB12
PF7
PF6
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
PB12
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
VDD_2
VSS_2
PB11
PB10
PB2 or NPOR (1.8V mode)
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
PF5
PF4
PA3
PF7
PF6
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
PB12
C13
20pF
R22
390
SB16
PF1
PF1
PC3
PC3
PC2
PC2
PC1
PC1
PC0
PC0
NRST
NRST
PA2
PA1
PA0
VDD_3
PC13 - TAMPER1 - WKUP2
PC14 - OSC32_IN
PC15 - OSC32_OUT
PF0 - OSC_IN
PF1 - OSC_OUT
NRST
PC0
PC1
PC2
PC3
VSSA / VREFVDDA / VREF+
PA0 - TAMPER2 - WKUP1
PA1
PA2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
VDD
PB11
PB10
PB2
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
PF5
PF4
PA3
C18
1uF
VDD
PB11
PB10
PB2
PB1
PB0
PC5
PC4
PA7
PA6
PA5
PA4
PF5
PF4
PA3
PA2
PA1
PA0
VDD
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
U3
STM32F030R8T6
C20
100nF
C21
C19
100nF 100nF
VDD
PA0
blue
LD4
NRST
330
R33
100K
VDD
100
R32
VDD
RESET Button
SB3
R28
100nF
C22
100nF
C23
SB4
Not Fitted
Not Fitted
660
R31
green
LD3
R29
220K
Date: 7/4/2013
B1
B2
SW-PUSH-CMS
Title:
STMicroelectronics
PC8
330
2
1
3
4
2
1
R30
SW-PUSH-CMS
3
4
PC9
Sheet 3
of
UM1658
Electrical schematics
37/39
38
Revision history
UM1658
Revision history
Table 11. Document revision history
38/39
Date
Revision
03-Sep-2013
Changes
Initial release.
DocID025097 Rev 1
UM1658
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 STs 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 STS 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 PURCHASERS 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.
DocID025097 Rev 1
39/39
39