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
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 15/39
38
Quick startUM1658
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/39DocID025097 Rev 1
UM1658Features
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 17/39
38
Hardware and layoutUM1658
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/39DocID025097 Rev 1
UM1658Hardware 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 19/39
38
Hardware and layoutUM1658
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/39DocID025097 Rev 1
UM1658Hardware 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 111/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 layoutUM1658
Figure 6. STM32F030R8T6 block diagram
12/39DocID025097 Rev 1
Loading...
+ 27 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.