Hide thumbs Also See for XNUCLEO-F030R8:

Advertisement

Quick Links

Xnucleo User Manual

Features

Compatible with NUCLEO serials.
Arduino connectivity support, easy to connect with various Arduino shields
and access the massive Arduino resources
ST Morpho headers provide full access to all STM32 I/Os, easy for peripheral
expansion
Supports mbed, build prototype quickly by mbed SDK and online tools
Comprehensive free software HAL library including a variety of software
examples
Comes with a separated ST-LINK/V2 module

Advantages

Compare
Arduino compatibility
Arduino ICSP interface
USB connectivity
USB connector
Morpho headers mark
Common interfaces are
connected via
UART debugging
8MHz crystal
32.768KHz crystal
USB fuse
th
V2.5.3, Apr. 13
2015
XNUCLEO
NUCLEO
UNO,
UNO
Leonardo
Yes
None
Yes
None
Micro USB
Mini USB
Most
None
Jumpers
0Ω resistors
Available
Not available
while
while in-circuit
in-circuit
debugging
debugging
Yes
None
Yes
None
Yes (500mA)
None
Xnucleo
User Manual
Remarks
XNUCLEO can be configured by jumper to
compatible with UNO (default) or Leonardo
ICSP is required by certain kinds of shields
The USB connector of NUCLEO is for debugging
ONLY, not available for USB connection
Micro USB is the advanced USB standard
Now you can check the PCB mark instead of
datasheet
Jumpers are much easier to use, need no soldering
The NUCLEO integrated ST-LINK/V2 functional chip
can be simulated as serial port, however, it's not
available while in-circuit debugging, whereas
XNUCLEO features a stand-alone USB TO UART
chip.
Timer is more accurate when using external 8MHz
crystal
Required for RTC
The computer USB interface might be harmed
without fuse
Waveshare
1

Advertisement

Table of Contents
loading

Summary of Contents for Waveshare XNUCLEO-F030R8

  • Page 1: Xnucleo User Manual

    Xnucleo User Manual Waveshare Xnucleo User Manual Features  Compatible with NUCLEO serials.  Arduino connectivity support, easy to connect with various Arduino shields and access the massive Arduino resources  ST Morpho headers provide full access to all STM32 I/Os, easy for peripheral expansion ...
  • Page 2 Xnucleo User Manual Waveshare LEDs The more LEDs, the easier to monitor program running status UART indicator None Data communication is visible now DC input None A convenience Button position Close to PCB Close to The button won't be untouchable when...
  • Page 3: Table Of Contents

    How to export the Keil program from mbed ..........14 Periphery module Demo ..................15 Connection between the Xnucleo board and Peripherals ......15 Demo explanations ................... 16 Ordering Information Table 1: Xnucleo series product information Ordering Information Targeted MCU XNUCLEO-F030R8 STM32F030R8T6 XNUCLEO-F103RB STM32F103RBT6 XNUCLEO-F302R8 STM32F302R8T6 XNUCLEO-F401RE STM32F401RET6 The meaning of XNUCLEO-FXXXRY codification is as follows: ...
  • Page 4: Quick Start

    Xnucleo User Manual Waveshare 1. Quick Start 1.1 Development tool installation 1.1.1 CP2102 Virtual COM Port driver installation STM32 Xnucleo includes an onboard USB TO UART interface based on CP2102 (“serial port” hereafter) for code debugging. Before using this interface, you should install a CP2102 driver firstly.
  • Page 5: Hardware Configuration

    Xnucleo User Manual Waveshare  For using an external power supply, connect the power supply socket CN2 on the Xnucleo board to a 6~12V power adapter. Connect the ST-LINK/V2 (mini) debugger/programmer to the SWD connector Notices: It is recommended to plug in the USB power supply or the external power supply before connecting the ST-LINK/V2(mini) module to the SWD interface.
  • Page 6 Xnucleo User Manual Waveshare Table 2: Power-related jumper Jumper Description U5V (ST-LINK VBUS) is used as power source when JP5 is set as shown below (Default setting) CN2, VIN or E5V is used as power source when JP5 is set as shown below 2.1.2...
  • Page 7: Led Indicators

    Xnucleo User Manual Waveshare ST-LINK/V2(mini) firstly, and the following risks may be encountered: If more than 300 mA current is needed by the board, the PC may be damaged or the current supply can be limited by the PC. As a consequence the board cannot work correctly.
  • Page 8: Push Button

    Xnucleo User Manual Waveshare 2.3 Push button 2.3.1 USER button The USER button is connected to the I/O PC13(pin 2) of the targeted MCU by setting JP6 to ON; 2.3.2 RESET button This RESET button is connected to NRST, and is used to reset the targeted MCU.
  • Page 9 Xnucleo User Manual Waveshare  Connect the RX/PC11/PC of JP4 to TXD. Here is the jumper setting for connecting to XNUCLEO-F030R8:  Connect the TX/PA9 of JP4 to RXD;  Connect the RX/PA10 of JP4 to TXD. Notices: You should select a proper USART by referring to Table 5 and make corresponding hardware configurations, according to your actual demand.
  • Page 10: Adc Or I2C Communication

    PA6 and PA7 are connected to the pins D13, D12, and D11, respectively. 2.8 USB connector Except the XNUCLEO-F030R8, all the other XNUCLEO devices have reserved a USB connector which can be enabled by setting JP1 to ON. V2.5.3, Apr. 13...
  • Page 11: Solder Bridges

    STM32 MCU supported. 2.10 Extension connector The following figures show the signals connected by default to Arduino connectors (CN5, CN6, CN8, CN9) and to ST Morpho connector (CN7 and CN10), for each STM32 Xnucleo board. Figure 1: XNUCLEO-F030R8 V2.5.3, Apr. 13 2015...
  • Page 12 Xnucleo User Manual Waveshare Figure 2: XNUCLEO-F103RB Figure 3: XNUCLEO-F302RC Figure 4: XNUCLEO-F401RE V2.5.3, Apr. 13 2015...
  • Page 13: How To Use Mbed On Stm32 Xnucleo Platform

    Demos directly. Therefore, you can develop your STM32 Xnucleo applications based on the applications of STM32 Nucleo. Table 10 gives the relationship between Xnucleo series and Nucleo series. Table 10: Relationships between Xnucleo series and Nucleo series Xnucleo Nucleo XNUCLEO-F030R8 NUCLEO-F030R8 XNUCLEO-F103RB NUCLEO-F103RB XNUCLEO-F302R8 NUCLEO-F302R8...
  • Page 14: How To Export The Keil Program From Mbed

    Xnucleo User Manual Waveshare Table 11: Serial port configuration Baud rate 115200 Data bit Stop bit Parity None When the program downloading finished, COM port will receive the following information: Hello World! This program runs since 1 second. This program runs since 2 seconds.
  • Page 15: Periphery Module Demo

    Keil debugging. For more detailed information, please refer to the Keil-related technical documents. 4. Periphery module Demo Besides Nucleo Demos, the Demos for different periphery modules provided by Waveshare are supported by Xnucleo series as well. The corresponding devices periphery module Demos...
  • Page 16: Demo Explanations

    Xnucleo User Manual Waveshare PB10/D6 PB10/D6 PB10/D6 PB10/D6 3.3V 3.3V 3.3V 3.3V PC7/D9 PA1/A1 PA1/A1 PA1/A1 PA9/D8 PA9/D8 PA9/D8 PA9/D8 Color Sensor PA8/D7 PA8/D7 PA8/D7 PA8/D7 UV Sensor Water Sensor Moisture Sensor AOUT PA4/A2 PA4/A2 PA4/A2 PA4/A2 Tilt Sensor Laser Sensor...
  • Page 17 Xnucleo User Manual Waveshare At the same time, relative data will be outputted: /*----------------------*/ T: 23 C H: 34 D: 3868 A: 3.116 S: OFF Rot: 227 SW: 52 R: 20 G: 6 B: 105 RTC: 12:1:4 KEY: 10 /*----------------------*/ V2.5.3, Apr.
  • Page 18 Xnucleo User Manual Waveshare 4.2.2 The meanings of the returned data Table 13: The meanings of relative symbols Symbol Meanings Remarks Temperature Unit: Degrees Celsius Humility Air humility percentage (%) AD value Voltage value in the format of 12 BIT. It can be converted to actual value by linear transformation.

This manual is also suitable for:

Xnucleo-f103rbXnucleo-f302r8Xnucleo-f401re

Table of Contents