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
th
V2.6.1, Apr. 25
2015
XNUCLEO USER MANUAL
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
share awesome hardware
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
1

Advertisement

Table of Contents
loading

Summary of Contents for Waveshare XNUCLEO-F030R8

  • Page 1: Features

    share awesome hardware Xnucleo User Manual 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: Ordering Information

    ST-LINK Separated Integrated ST-LINK can be used anywhere else Comes with USB cable None ORDERING INFORMA TION Table 1: Xnucleo series product information Ordering Information Targeted MCU XNUCLEO-F030R8 STM32F030R8T6 XNUCLEO-F103RB STM32F103RBT6 XNUCLEO-F302R8 STM32F302R8T6 XNUCLEO-F401RE STM32F401RET6 XNUCLEO-F411RE STM32F411RET6 The meaning of XNUCLEO-FXXXRY codification is as follows: ...
  • Page 3: Table Of Contents

    share awesome hardware Xnucleo User Manual CONTENTS Features ..............................1 Advantages ..............................1 Ordering Information ..........................2 Quick Start ............................5 1.1. Development tool installation ..................5 1.1.1. CP2102 Virtual COM Port driver installation ............5 1.1.2. STM32 ST-LINK Utility installation ................5 1.1.3.
  • Page 4 share awesome hardware Xnucleo User Manual 2.4.2 JP6 OFF ........................10 USART communication ....................10 2.5.1 Connecting the targeted MCU to serial port............10 2.5.2 Communication between the targeted MCU and shield or extension board ..11 ADC or I2C communication ..................... 12 SPI connector ........................
  • Page 5: Quick Start

    share awesome hardware Xnucleo User Manual QUICK STA RT 1.1. DEVELOPMENT TOOL INSTALLATION 1.1.1. CP2102 VIRTUAL COM P ORT 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 6: Hardware Configurations

    share awesome hardware Xnucleo User Manual 1.2.1. HARDWARE CONFIGURATI ONS Jumper settings  Set JP3 to U5V;  Set JP2 to ON; Power supply and power selection  For using a USB power supply, connect the Xnucleo board to a PC with a USB cable through the onboard USB connector;...
  • Page 7: Hardware Configuration

    share awesome hardware Xnucleo User Manual HARDWARE CONFIGURATI ON POWER SUPPLY SETTING S The power supply of the STM32 Xnucleo board is provided either by the host PC through the USB cable, or by an external source:  VIN (7V~12V) or +3V3 power pins on CN6; ...
  • Page 8: Using Cn2, Vin Or E5V As External Power Supply

    share awesome hardware Xnucleo User Manual 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 USING CN2, VIN OR E5V AS EXTERNA L POWER SUPPLY CN2, VIN or E5V can be used as external power supply in case the current consumption of Xnucleo and its extension boards exceeds the allowed current on USB.
  • Page 9: External Power Supply Output

    share awesome hardware Xnucleo User Manual If this order is not respected, the board may be supplied by VBUS or 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.
  • Page 10: Serial Port Working Status Led Indicators

    share awesome hardware Xnucleo User Manual The PWR LED default color is red. It indicates the power supply status of the STM32 Xnucleo board. The red LED indicates that the MCU part is powered by +5V. 2.2.3 SERIAL PORT WORKING STA TUS L ED INDICATORS TX indicator is in green, and RX indicator in blue.
  • Page 11: Communication Between The Targeted Mcu And Shield Or Extension Board

     Connect the TX/PC10/PC6 of JP4 to RXD;  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.
  • Page 12: Adc Or I2C Communication

    share awesome hardware Xnucleo User Manual XNUCLEO USART1 USART6 None -F401RE (NC) Table 6: Connections of JP4 pins ARDUINO PORT MCU PIN CP2102 PIN MCU PIN RX/D0 RX/PA3 RX/PC11/PC7 TX/D1 TX/PA2 TX/PC10/PC6 Table 7: Connections of NUCLEO-F030R8 JP4 ARDUINO PORT MCU PIN CP2102 PIN MCU PIN...
  • Page 13: Usb Connector

    XNUCLEO devices, the pins PA5, PA6 and PA7 are connected to the pins D13, D12, and D11, respectively. 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. SOLDER BRIDGES...
  • Page 14 Xnucleo User Manual Figure 1: XNUCLEO-F030R8 Figure 2: XNUCLEO-F103RB Figure 3: XNUCLEO-F302RC V2.6.1, Apr. 25 2015...
  • Page 15 share awesome hardware Xnucleo User Manual Figure 4: XNUCLEO-F401RE Figure 5: XNUCLEO-F411RE V2.6.1, Apr. 25 2015...
  • Page 16: How To Use Mbed On Stm32 Xnucleo Platform

    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...
  • Page 17: How To Export The Keil Program From Mbed

    share awesome hardware Xnucleo User Manual Connect the USB TO UART interface on the board to your PC with a USB cable, and then connect ST-LINK/V2(mini) module to download the .bin file. Then, set the JP5 to U5V. For the JP4 setting, please refer to Section 2.5 USART communication. The serial port should be configured according to Table 11.
  • Page 18: Periphery Module Demo

    Keil-related technical documents. PERIPHERY MODULE DEM O Besides Nucleo Demos, the Demos for different periphery modules provided by Waveshare are supported by Xnucleo series as well. The corresponding devices to the periphery module Demos...
  • Page 19 share awesome hardware Xnucleo User Manual Temperature-Hum PB3/D3 PB3/D3 PB3/D3 PB3/D3 PB3/D3 idity Sensor PB4/D5 PB4/D5 PB4/D5 PB4/D5 PB4/D5 Rotation Sensor PB5/D4 PB5/D4 PB5/D4 PB5/D4 PB5/D4 PB10/D6 PB10/D6 PB10/D6 PB10/D6 PB10/D6 3.3V 3.3V 3.3V 3.3V 3.3V PC7/D9 PA1/A1 PA1/A1 PA1/A1 PA1/A1 PA9/D8 PA9/D8...
  • Page 20: Demo Explanations

    share awesome hardware Xnucleo User Manual PA7/D11 PA7/D11 PB15/D11 PA7/D11 PA7/D11 PA5/D13 PA5/D13 PB13/D13 PA5/D13 PA5/D13 0.96inch OLED PB8/A5 PB8/A5 PB8/A5 PB8/A5 PB8/A5 PB9/A4 PB9/A4 PB9/A4 PB9/A4 PB9/A4 PB0/A3 PB0/A3 PB0/A3 PB0/A3 PB0/A3 Notices:  The pins VCC and GND of the sensors listed above should be connected to the pins VCC and GND of IO Expansion Shied.
  • Page 21: The Meanings Of The Returned Data

    share awesome hardware Xnucleo User Manual 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 /*----------------------*/ 4.2.2 THE MEANINGS OF THE RETURNED DATA Table 13: The meanings of relative symbols...
  • Page 22 share awesome hardware Xnucleo User Manual Blue value Users can get the actual color on the basis of the RGB value. For more information, please refer to Color Sensor User Manual Real time clock The outputted time information from RTC. USER button Its usage is the same as the SW of the rotation encoder.

Table of Contents