Page 1
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...
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 Jumper JP1 OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open DocID025097 Rev 1 5/39...
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.
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 •...
Hardware and layout UM1658 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).
UM1658 Hardware and layout 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.
Hardware and layout UM1658 Figure 6. STM32F030R8T6 block diagram Serial POWER DD18 SWCLK Wire VOLT.REG = 2.4 to 3.6 V SWDIO Debug 3.3 V TO 1.8 V as AF Flash up to 64 KB, CORTEX-M0 CPU SUPPLY 32 bits = 48 MHz HCLK Reset SUPERVISION...
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.
Hardware and layout UM1658 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.
Hardware and 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 CN2 as shown in Figure 9, and connect your application...
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 –...
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.
SWO signal is not connected. No incidence on STM32F103C8T6 (ST-LINK/V2) NRST signal. SB13 (STM_RST) STM32F103C8T6 (ST-LINK/V2) NRST signal is connected to GND. BOOT0 signal of the STM32F030R8T6 MCU is held low through a 510 Ohm pull-down resistor. (BOOT0) BOOT0 signal of the STM32F030R8T6 MCU can be set high through a 10 KOhm pull-up resistor R27 to solder.
UM1658 Hardware and layout 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.
Page 20
Hardware and layout UM1658 Table 5. MCU pin description versus board function (continued) MCU pin Board function Main Alternate function 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, USART1_TX, TIM1_CH2, TIM15_BKIN, I2C1_SCL USART1_RX, TIM1_CH3,...
Page 21
UM1658 Hardware and layout Table 5. MCU pin description versus board function (continued) MCU pin Board function Main Alternate function functions SPI1_NSS, USART1_RX, PA15 USART2_RX, EVENTOUT TIM3_CH3, TIM1_CH2N, EVENTOUT TIM3_CH4, TIM14_CH1, TIM1_CH3N SPI1_SCK, EVENTOUT SPI1_MISO, TIM3_CH1, EVENTOUT SPI1_MOSI, I2C1_SMBA, TIM16_BKIN, TIM3_CH2 I2C1_SCL, USART1_TX,...
Page 22
Hardware and layout UM1658 Table 5. MCU pin description versus board function (continued) MCU pin Board function Main Alternate function functions I2C1_SDA, PB11 I2C2_SDA, EVENTOUT SPI1_NSS, SPI2_NSS, PB12 TIM1_BKIN, EVENTOUT SPI1_SCK, PB13 SPI2_SCK, TIM1_CH1N SPI1_MISO, SPI2_MISO, PB14 TIM1_CH2N, TIM15_CH1 SPI1_MOSI, SPI2_MOSI, PB15 TIM1_CH3N,...
Page 23
UM1658 Hardware and layout Table 5. MCU pin description versus board function (continued) MCU pin Board function Main Alternate function functions PC11 PC12 RTC_TAMP1, RTC_TS, PC13 RTC_OUT, WKUP2 PC14- OSC32_ OSC32_IN PC15- OSC32_ OSC32_OUT TIM3_ETR PF0- OSC_IN OSC_IN PF1- OSC_ OSC_OUT EVENTOUT EVENTOUT...
Page 24
Hardware and layout UM1658 Table 5. MCU pin description versus board function (continued) MCU pin Board function Main Alternate function functions VSS_1 VSS_2 VSSA 24/39 DocID025097 Rev 1...
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.
UM1658 Connecting modules on the prototyping board 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...
SPI or I2C communications. Table 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. Table 8. Connecting with a DIL24 board ST MEMS DIL24 Eval board...
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...
Connecting modules on the prototyping board UM1658 Supported MEMS adapter boards Table 9 is a list of supported MEMS adapter boards as of April, 2012. Table 9. Supported MEMS adapter boards ST MEMS DIL24 Eval Board Core product STEVAL-MKI009V1 LIS3LV02DL STEVAL-MKI013V1 LIS302DL...
LPS331AP] STEVAL-MKI125V1 A3G4250D 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”. 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.
Connecting modules on the prototyping board UM1658 Table 10. Connecting with Arduino shields (continued) Arduino digital connector 32F0308DISCOVERY Digital pin 0 or RX USART2_RX Digital pin 1 or TX USART2_TX Digital pin 2 / External interrupt PB12 EXTI (5V tolerant) Digital pin 3 / Ext int or PWM PB11 EXTI (5V tolerant) or TIM2_CH4...
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...
Revision history UM1658 Revision history Table 11. Document revision history Date Revision Changes 03-Sep-2013 Initial release. 38/39 DocID025097 Rev 1...
Page 39
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.
Need help?
Do you have a question about the STM32F030 and is the answer not in the manual?
Questions and answers