The STM32 Nucleo-64 boards (NUCLEO-G070RB and NUCLEO-G071RB) provide an
affordable and flexible way for users to try out new concepts and build prototypes with the
STM32 microcontroller, which provide various combinations of performance, power
consumption and features.
Arduino™ Uno V3 connectivity and ST morpho headers provide easy means of expanding
the functionality of the Nucleo open development platform with a wide choice of specialized
shields.
The STM32 Nucleo-64 boards do not require any separate probe, as it integrates the
ST-LINK/V2-1 debugger/programmer. The STM32 Nucleo-64 boards come with the
comprehensive free STM32 software libraries and examples that are available with the
STM32Cube package.
The STM32 Nucleo board offers the following features:
•STM32 microcontroller in LQFP64 package
•1 user LED shared with Arduino™
•1 user and 1 reset push-buttons
•32.768 kHz LSE crystal oscillator
•Board expansion connectors:
–Arduino™ Uno V3
–ST morpho extension pin headers for full access to all STM32 I/Os
•Flexible power-supply options:
–ST-LINK USB VBUS or external sources (3.3 V, 5 V, 7 V to 12 V)
•On-board ST-LINK/V2-1 debugger and programmer with USB reenumeration
capability.
•Three different interfaces supported on USB:
–mass storage
–virtual COM port
–debug port
•Comprehensive free software libraries and examples available with the STM32Cube
MCU Package
•Support of a wide choice of Integrated Development Environments (IDEs) including
™
IAR
, Keil®, GCC-based IDEs
2 Product marking
Evaluation tools marked as ‘ES’ or ‘E’ are not yet qualified and therefore they are not ready
to be used as reference design or in production. Any consequences deriving from such
usage will not be at ST charge. In no event, ST will be liable for any customer usage of
these engineering sample tools as reference design or in production.
‘E’ or ‘ES’ marking examples of location:
•On the targeted STM32 that is soldered on the board (for illustration of STM32 marking,
refer to the section ‘Package characteristics’ of the STM32 datasheet at www.st.com).
•Next to the evaluation tool ordering part number, that is stuck or silk-screen printed on
the board.
This board features a specific STM32 device version which allows the operation of any
stack or library. This STM32 device shows a “U” marking option at the end of the standard
part number and is not available for sales.
6/44UM2324 Rev 2
Page 7
UM2324Ordering information
3 Ordering information
To order the STM32 Nucleo-64 board corresponding to the targeted STM32, refer to
Tabl e 1.
Order codeTarget STM32
NUCLEO-G070RBSTM32G070RBT6
NUCLEO-G071RBSTM32G071RBT6
The meaning of the NUCLEO-G071RB codification is explained in Tab l e 2.
NUCLEO-G071RBDescription
GXXXSTM32 Product lineSTM32G071
RSTM32 package pin count64 pins
BSTM32 Flash memory size 128 Kbytes
Table 1. Ordering information
Table 2. Codification explanation
Example:
NUCLEO-G071RB
This order code is mentioned on a sticker placed on top side of the board.
4 Conventions
Tabl e 3 provides the conventions used for the ON and OFF settings in the present
document.
ConventionDefinition
Jumper JPx ONJumper fitted
Jumper JPx OFFJumper not fitted
Solder bridge SBx ONSBx connections closed by solder or 0 ohm resistor
Solder bridge SBx OFFSBx connections left open
In this document the references for all information that is common to all sale types, are
‘STM32 Nucleo-64 board’ and ‘STM32 Nucleo-64 boards’.
Table 3. ON/OFF conventions
UM2324 Rev 27/44
43
Page 8
Quick startUM2324
5 Quick start
This section describes how to start a development quickly using the STM32 NUCLEOG070RB or NUCLEO-G071RB board.
Before installing and using the product, accept the Evaluation Product License Agreement
from the www.st.com/epla web page.
For more information on the STM32 Nucleo board and to access the demonstration
software, visit www.st.com/stm32nucleo website.
5.1 Getting started
The STM32 NUCLEO-G070RB or NUCLEO-G071RB board is a low-cost and easy-to-use
development kit to quickly evaluate and start a development with an STM32 microcontroller
in QFP64 package. To start using this board, follow the steps below:
1.Check the jumper position on the board, CN4 (STLK) on [1-2], [3-4], JP2 (PWR) on
[1-2], JP3 (IDD) on.
2. For a correct identification of all device interfaces from the host PC, install the Nucleo
USB driver available on the www.st.com/stm32nucleo web page, prior to connecting
the board.
3. To power the board, connect the STM32 NUCLEO-G070RB or NUCLEO-G071RB to a
PC with a USB cable 'type-A to micro-B' through the USB connector CN2. As a result
green LED LD3 (PWR) lights up, LD1 (COM) blinks.
4. Press user button B1 (blue).
5. Observe that the blinking frequency of the three green LED LD4 changes, by clicking
on the button B1.
6. The demonstration software and several software examples that allow the user to use
the Nucleo features are available at the www.st.com/stm32nucleo.
5.2 System requirements
•Windows® OS (7, 8 and 10), Linux® or macOS
•USB Type-A to Micro-B cable
5.3 Development toolchains
•Keil®: MDK-ARM
•IAR™: EWARM
•GCC-based IDEs
a. macOS® is a trademark of Apple Inc., registered in the U.S. and other countries.
b. On Windows only
8/44UM2324 Rev 2
(b)
(b)
®(a)
Page 9
UM2324Hardware layout and configuration
5(6(7
0LQL
86%
,2
,2,2
,2
67/,1.SDUW
(PEHGGHG
67/,1.9
670
0LFURFRQWUROOHU
%
86(5
%
5(6(7
/('
/'
0&8SDUW
6:'
67PRUSKRH[WHQVLRQKHDGHU
$UGXLQRFRQQHFWRU
$UGXLQRFRQQHFWRU
67PRUSKRH[WHQVLRQKHDGHU
069
6 Hardware layout and configuration
The STM32 NUCLEO-G070RB and NUCLEO-G071RB boards are designed around the
STM32 microcontrollers in a 64-pin LQFP package.
Figure 2 illustrates the connections between the STM32 and its peripherals (STLINK/V2-1,
pushbutton, LED, and morpho connectors).
Figure 3 and Figure 4 help the user to locate these features on the NUCLEO-G070RB or
NUCLEO-G071RB.
Figure 2. Hardware Block Diagram
UM2324 Rev 29/44
43
Page 10
Hardware layout and configurationUM2324
Figure 3. Top layout
Figure 4. Bottom layout
10/44UM2324 Rev 2
Page 11
UM2324Hardware layout and configuration
6.1 NUCLEO-G070RB or NUCLEO-G071RB board mechanical
drawing
Figure 5. NUCLEO-G070RB or NUCLEO-G071RB board mechanical drawing
The NUCLEO-G070RB or NUCLEO-G071RB board is divided into two parts: ST-Link part
and target MCU part. ST-Link part PCB is cuttable to reduce board size. In this case the rest
target MCU part is only powered by VIN, E5V & 3.3V on morpho connectors CN7 or VIN &
3.3V on Arduino connector CN6. And it is still possible to use ST-Link part to program the
main MCU using wires between CN7 and SWD signals available on morpho connectors.
UM2324 Rev 211/44
43
Page 12
Hardware layout and configurationUM2324
6.4 Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated on the NUCLEO.
Compared to ST-LINK/V2 the changes are listed below.
The new features supported on ST-LINK/V2-1:
•USB software re-enumeration
•Virtual COM port interface on USB
•Mass storage interface on USB
•Registers R/W interface on USB (Not available on NUCLEO)
•USB power management request for more than 100 mA power on USB
The features no more supported on ST-LINK/V2-1:
•SWIM interface
•Minimum application voltage supported by Nucleo limited to 3V
•Standalone version doesn't exist (only Nucleo and future discovery support V2-1)
For all general information concerning debugging and programming features common
between V2 and V2-1 please refer to ST-LINK/V2 User Manual UM1075.
The embedded ST-LINK/V2-1 is usable in two different ways according to the jumper states
(refer to
•Program/debug the STM32 on board,
•Program/debug an STM32 in an external application board using a cable connected to
Tabl e 5):
SWD connector.
Table 5. ST-LINK jumper configuration
CNDefinitionDefault positionComment
CN4T_SWCLK / T_SWDIOON [1-2] ON[3-4]
CN4T_SWCLK / T_SWDIOOFF [1-2] OFF[3-4]
ST-LINK/V2-1 functions enabled for onboard programming (default)
ST-LINK/V2-1 functions enabled from
external connector (SWD supported)
12/44UM2324 Rev 2
Page 13
UM2324Hardware layout and configuration
6.4.1 Drivers
Before connecting the STM32 NUCLEO-G070RB or NUCLEO-G071RB board to a
Windows
available at the www.st.com website.
In case the STM32 Nucleo-64-P board is connected to the PC before installing the driver,
the PC device manager may report some Nucleo interfaces as ‘Unknown’. To recover from
this situation, after installing the dedicated driver, the association of ‘Unknown’ USB devices
found on the STM32 Nucleo-64-P board to this dedicated driver, must be updated in the
device manager manually.
Note:It is recommended to proceed by using USB Composite Device, as shown in Figure 6.
®
PC (7, 8 and 10) through USB, install the driver for the ST-LINK/V2-1 that is
Figure 6. USB composite device
6.4.2 ST-LINK/V2-1 firmware upgrade
The ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrade through the
USB port. As the firmware may evolve during the lifetime of the ST-LINK/V2-1 product (for
example new functionalities, bug fixes, support for new microcontroller families), it is
recommended to keep the ST-LINK/V2-1 firmware up to date before starting to use an
STM32 NUCLEO-G070RB or NUCLEO-G071RB board. The latest version of this firmware
is available at the www.st.com website.
6.4.3 Using the ST-LINK/V2-1 to program/debug the STM32 on board
To program the STM32 on board, simply plug in the two jumpers on CN4, as shown in
Figure 7 in pink, but do not use the CN11 connector as that could disturb communication
with the STM32 Microcontroller of the NUCLEO.
UM2324 Rev 213/44
43
Page 14
Hardware layout and configurationUM2324
06Y9
&1
MXPSHUV21
&1
6:'FRQQHFWRU
Figure 7. NUCLEO-G070RB or NUCLEO-G071RB connections image
6.4.4 Using ST-LINK/V2-1 to program/debug an external STM32 application
It is very easy to use the ST-LINK/V2-1 to program the STM32 on an external application.
Simply remove the 2 jumpers from CN4 as shown in
to the CN11 debug connector according to Tab le 6.
Note:SB19 must be OFF if you use CN11 pin 5 in your external application.
PinCN11Designation
1 VDD_TARGET VDD from application
2 SWCLK SWD clock
3 GND Ground
4 SWDIO SWD data input/output
5 NRST RESET of target MCU
6 SWO Reserved
Table 6. Debug connector CN11 (SWD)
Figure 8, and connect your application
14/44UM2324 Rev 2
Page 15
UM2324Hardware layout and configuration
06Y9
&1
MXPSHUV2))
&1
6:'FRQQHFWRU
Figure 8. ST-Link connections image
6.5 Power supply and power selection
6.5.1 External power supply input
The STM32 NUCLEO-G070RB or NUCLEO-G071RB board is designed to be powered by
several DC power supply. It is possible to supply the STM32 NUCLEO-G070RB or
NUCLEO-G071RB board with any of the following sources:
•5V_USB_STLK from ST-LINK USB connector
•VIN (7 V - 12 V) from Arduino connector or ST morpho connector
•E5V from ST morpho connector
•5V_USB_CHG from ST-LINK USB
•3.3 V on Arduino connector or ST morpho connector
Note:If an external 5 V DC power source is used, the Nucleo board must be powered by a power
supply unit or by an auxiliary equipment complying with the standard EN-60950-1:
2006+A11/2009 and must be safety extra low voltage (SELV) with limited power capability.
The power supply capabilities are showed in Table 7.
UM2324 Rev 215/44
43
Page 16
Hardware layout and configurationUM2324
Input power
5V_USB_STLK CN2 PIN1
VIN
E5VCN7 pin 6
5V_USB_CHG CN2 pin 1
3V3
Connector
pins
CN6 pin 8
CN7 pin 24
CN6 pin 4
CN7 pin 16
JP3 pin 1
Table 7. Power supply capabilities
Volta ge
range
4.75 V to
5.25 V
7 V to 12 V800 mA
4.75 V to
5.25 V
4.75 V to
5.25 V
3 V to 3.6 V-
Max
current
500 mA
500 mA
500 mA
Max current depends on the USB
enumeration:
– 100 mA without enumeration
– 500 mA with enumeration OK
From 7 V to 12 V only and input current
capability is linked to input voltage:
– 800 mA input current when VIN=7 V
– 450 mA input current when
7 V<VIN<9 V
– 300 mA input current when
10 V>VIN>9 V
– less than 300 mA input current when
VIN>10 V
Max current depends on the USB wall
charger used to powered the Nucleo
board
Used when ST-LINK part of PCB not
used or remove SB1 and SB19
Limitation
5V_ST_LINK is a DC power with limitation from ST-LINK USB connector (USB type Micro-B
connector of ST-LINK/V2-1). In this case JP2 jumper must be on pins 1 and 2 to select
STLK power source on silkscreen of JP2. This is the default setting. If the USB enumeration
succeeds, the STLK power is enabled, by asserting the PWR_ENn signal (from
STM32F103CBT6). This pin is connected to a power switch STMPS2141STR, which
Powers the board. This power switch also features a current limitation to protect the PC in
case of a short-circuit on board (more than 750
mA).
The STM32 NUCLEO-G070RB or NUCLEO-G071RB board and its shield is powerable from
the ST-LINK USB connector CN2, but only ST-LINK circuit is powered before USB
enumeration, because the host PC only provides 100
mA to the board at that time. During
the USB enumeration, the STM32 NUCLEO-G070RB or NUCLEO-G071RB board requires
500
mA of current from the host PC. If the host is able to provide the required power, the
enumeration ends by a ‘SetConfiguration’ command and then, the power transistor
STMPS2141STR is switched ON, the green LED LD3 is turned ON, thus the STM32
NUCLEO-G070RB or NUCLEO-G071RB board and its shield request no more than 500
mA
current. If the host is not able to provide the required current, the enumeration fails.
Therefore the power switch STMPS2141STR stays OFF and the MCU part including the
extension board is not powered. As a consequence the green LED LD3 stays turned OFF. In
this case it is mandatory to use an external power supply.
16/44UM2324 Rev 2
Page 17
UM2324Hardware layout and configuration
06Y9
&1
86%B67/,1.
-3
3,121
USB power: STLK configuration: jumper JP2 [1-2] must be connected as showed in
Figure 9.
Figure 9. STLK power source
VIN is the 7 V to 12 V DC power from Arduino CN6 pin 8 named VIN on Arduino connector
silkscreen or from ST morpho connector CN7 pin 24. In this case JP2 jumper must be on
pins 3 and 4 to select VIN power source on silkscreen of JP2. In that case the DC power
comes from the power supply through the Arduino Uno V3 battery shield (compatible with
Adafruit PowerBoost 500 shield).
UM2324 Rev 217/44
43
Page 18
Hardware layout and configurationUM2324
06Y9
8
9,19
92879
-3
3,121
&13,1
&13,1
VIN configuration: jumper JP2 [3-4] must be connected as showed in Figure 10.
Figure 10. JP2 [3-4]: STLK power source
E5V is the DC power coming from external (5V DC power from ST morpho connector CN7
pin 6). In this case JP2 jumper must be on pins 5 and 6 to select E5V power source on
silkscreen of JP2.
18/44UM2324 Rev 2
Page 19
UM2324Hardware layout and configuration
06Y9
(9&13,1
-3
3,121
E5V configuration: Jumper JP2 [5-6] must be connected as showed in Figure 11.
Figure 11. JP2 [5-6]: STLK power source
5V_USB_CHARGER is the DC power charger connected to USB ST-LINK (CN2). To select
the CHG power source on silkscreen of JP2, the jumper of JP2 must be on pins 7 and 8. In
this case, if the STM32 NUCLEO-G070RB or NUCLEO-G071RB board is powered by an
external USB charger the debug is not available. If the PC is connected instead of the
charger, the limitation is no more effective, in this case the PC could be damaged.
UM2324 Rev 219/44
43
Page 20
Hardware layout and configurationUM2324
06Y9
&1
86%67/.
-3
3,121
CHG configuration: jumper JP2 [7-8] must be connected as showed in Figure 12.
Figure 12. JP2 [7-8]: CHG power source
6.5.2 External power supply output:
•5V: The 5V (CN6 pin 5 or CN7 pin 18) is usable as output power supply for an Arduino
shield or an extension board, when the NUCLEO-G070RB or NUCLEO-G071RB board
is powered by USB, VIN or E5V. In this case the maximum current allowed is showed in
Tabl e 7.
•3.3V: on CN6 pin 4 or CN7 pin 16 is usable as power supply output. The current is
limited by the maximum current capability of the regulator U6 (LDL112PV33R from
STMicroelectronics). In this condition the maximum consumption of the STM32
NUCLEO-G070RB or NUCLEO-G071RB board and the connected shield must be less
than 500
mA.
6.6 Programming/debugging when the power supply is not from
ST-LINK
VIN or E5V is usable as an external power supply in case the current consumption of the
STM32 NUCLEO-G070RB or NUCLEO-G071RB board and its extension boards exceed
the allowed current on the USB. In such condition it is still possible to use the USB for
communication, programming or debugging only. In this case it is mandatory to power the
board first using VIN or E5V then to connect the USB cable to the PC. Proceeding this way
20/44UM2324 Rev 2
Page 21
UM2324Hardware layout and configuration
the enumeration succeeds, thanks to the external power source. The following power
sequence procedure must be respected:
1.Connect jumper JP2 between pins 3 and 4 for VIN or pins 5 and 6 for E5V
2. Connect the external power source to VIN or E5V
3. Power ON the external power supply 7 V < VIN < 12 V to VIN, or 5 V for E5V
4. Check that the green LED LD3 is turned ON
5. Connect the PC to the USB connector CN2
If this sequence is not respected, the board may be powered by VBUS first from the STLINK, with the following risks:
•If more than 500 mA current is needed by the board, the PC may be damaged or the
current supplied may be limited by the PC. As a consequence the board is not powered
correctly.
•500 mA is requested at the enumeration (since SB15 must be OFF): this request is
rejectable and the enumeration does not succeed if the PC does not provide such
current, consequently the board is not power supplied (LED LD3 remains OFF).
6.7 OSC clock sources
Three clock sources are listed below:
•LSE which is the 32.768 kHz crystal for the STM32 embedded RTC
•MCO which is the 8 MHz clock from the ST-LINK MCU for the STM32 microcontroller
•HSE which is the 8 MHz oscillator for the STM32 microcontroller. This clock is not
implemented on the STM32 NUCLEO-G070RB or NUCLEO-G071RB board
6.7.1 LSE: OSC 32 kHz clock supply
There are three ways to configure the pins corresponding to the low-speed clock (LSE):
1.LSE on-board X2 crystal (Default configuration). Refer to crystal design guide for
STM8S, STM8A and STM32 microcontrollers Application note (AN2867) for crystal
design guide for STM32 microcontrollers. It is recommended to use NX3215SA
manufactured by NDK (32.768
2. Oscillator from external to PC14 input: from external oscillator through pin 25 of the
CN7 connector. The following configuration is needed:
–SB23 ON
–R31 and R32 removed
3. LSE not used: PC14 and PC15 are used as GPIOs instead as low-speed clock.The
following configuration is needed:
–SB23 and SB24 ON
–R31 and R32 removed
kHz, 6 pF, 20 ppm).
UM2324 Rev 221/44
43
Page 22
Hardware layout and configurationUM2324
6.7.2 HSE: OSC 8 MHz clock supply
There are four ways to configure the pins corresponding to the external high-speed clock
(HSE):
•HSE not used (default): PF0 and PF1 are used as GPIOs instead of as clock. The
configuration must be:
–SB25 and SB27 ON
–SB17 (MCO) OFF
–R33 and R34 OFF
•MCO from ST-LINK: MCO output of ST-LINK is used as input clock. This frequency
cannot be changed, it is fixed at 8
microcontroller. The configuration must be:
–SB17 ON
–SB25 and SB27 OFF
–R33 and R34 OFF
•HSE on-board oscillator from X3 crystal (not provided): for typical frequencies and its
capacitors and resistors, refer to the STM32 microcontroller datasheet and to the
Oscillator design guide for STM8S, STM8A and STM32 microcontrollers Application
note (AN2867) for the oscillator design guide. The X3 crystal has the following
characteristics: 8
EXS00A-CG04874 manufactured by NIHON DEMPA KOGYO CO., LTD. The
configuration must be:
–SB25 and SB27 OFF
–R33 and R34 soldered
–C24 and C25 soldered with 10 pF capacitors
–SB17 OFF
•Oscillator from external PF0: from an external oscillator through the pin 29 of the CN7
connector. The configuration must be:
–SB25 ON
–SB17 OFF
–R33 and R34 removed
MHz, 8 pF, 20 ppm. It is recommended to use NX3225GD-8.000M-
MHz and connected to the PF0-OSC_IN of STM32
6.8 Reset sources
The reset signal of the STM32 NUCLEO-G070RB or NUCLEO-G071RB board is active low
and the reset sources include:
•Reset button B2
•Embedded ST-LINK/V2-1
•Arduino Uno V3 connector from CN6 pin 3
•ST morpho connector CN7 pin 14
22/44UM2324 Rev 2
Page 23
UM2324Hardware layout and configuration
6.9 UART2 communication
The UART2 interface of the STM32 is connectible to:
•The ST-LINK/V2-1 MCU
•The ST morpho connector (CN10 pin 6 and pin 34)
Pin
name
PA2UART2 TXSB16 ON SB16 OFF
PA3UART2 RXSB18 ON SB18 OFF
Function
Table 8. UART2 pins
Virtual COM port (default
configuration)
ST morpho connection
6.10 LEDs
Four LEDs are available on the STM32 NUCLEO-G070RB or NUCLEO-G071RB board.
The four LEDs are located on the top side of the board.
1.LD1 COM: LD1 is a bi-color LED. LD1 default status is red. LD1 turns to green to
indicate that communication is in progress between the PC and the ST-LINK/V2-1 as
follow:
–Slow blinking red and off: at power-on before USB initialization
–Fast blinking red and off: after the first correct communication between the PC and
the STLINK/V2-1 (enumeration)
–Red LED on: when initialization between the PC and the ST-LINK/V2-1 is
successfully ended
–Green LED on: after successful STM32 communication initialization
–Blinking red and green: during communication with STM32
–Green on: communication well ended
–Orange on: communication ended with failure
2. LD2: 5V_USB_CHG: this red LED switch ON when overcurrent is detected on USB
VBUS. The LED gives the information that more than 500
In this case it is recommended to supply the board with E5V, VIN or in
USB_CHARGER mode.
3. LD3: 5V_PWR: this green LED is ON when the STM32 NUCLEO-G070RB or
NUCLEO-G071RB board is powered by a 5
V source.
4. LD4 USER: this green LED is a user LED connected to Arduino signal D13
corresponding to STM32 I/O PA5. To light the LED a high-logic state ‘1’ has to be
written in the corresponding GPIO. A transistor is used to drive the LED when the I/O
voltage is 1.8
V. LD4 consumption does not impact the VDD STM32 power
measurement, since LD4 is isolated from it.
mA is requested on VBUS.
UM2324 Rev 223/44
43
Page 24
Hardware layout and configurationUM2324
6.11 Push buttons
•B1 USER: User and Wake-Up button connected to the I/O PC13 (Pin 3) of the STM32
Microcontroller.
•B2 RESET: Pushbutton connected to NRST is used to RESET the STM32
Microcontroller.
The blue and black plastic hats placed on these pushbuttons are removable if necessary
when a shield or an application board is plugged on top of Nucleo. This avoids pressure on
the buttons and consequently a possible permanent Target MCU RESET.
6.12 IDD measurement
Jumper JP3, labeled IDD, allows the consumption of STM32 Microcontroller to be measured
by removing the jumper and connecting an ammeter.
•Jumper on: STM32 Microcontroller is powered (default).
•Jumper off: an ammeter must be connected to measure STM32 microcontroller
current. If there is no ammeter, STM32 microcontroller is not powered.
6.13 Jumper configuration
The default jumper positions are showed in Tabl e 4: Default jumper settings. Ta bl e 9
describes the other available jumper settings.
Jumper /
CN
CN4
JP4/JP5GNDONGND probe
JP2
JP1STLK Reset
JP3I
1. Default jumper state is shown in bold.
FunctionState
T_SWCLK
T_SWDIO
5 V Power
selection
measurement
DD
Table 9. Jumper configuration
(1)
ON [1-2] ON [3-4]
OFF [1-2] OFF [3-4]
ON [1-2]5 V from ST-LINK
ON [3-4]5 V from VIN 7 V to 12 V
ON [5-6]5 V from E5V
ON [7-8]5 V from USB_CHG
OFFNo 5 V power
ON [1-2]STLK Reset
OFFNo STLK Reset
ON [1-2]VDD = 3.3 V
OFF
ST-LINK/V2-1 enable for on-board
MCU debugger
ST-LINK/V2-1 functions enabled for
external CN2 connector
To connect external source (ULPBench
probe as an example)
Comment
24/44UM2324 Rev 2
Page 25
UM2324Hardware layout and configuration
6.14 Configuration of the solder bridges
Tabl e 10 shows the solder bridge configurations and settings.
DefinitionBridgeState
Table 10. Solder bridge configurations and settings
(1)
Comment
SWD interface
(default))
SWD interface
(reserved)
UART2 interface
(reserved)
UART2 interface
(reserved)
SB7/SB9
/SB11/SB13
SB6/SB8
/SB10/SB12
SB16/SB18ON
SB16/SB18OFFUART2 is used as GPIOs
Allowed current
through CN2
SB15
Setting
MCOSB17
3.3 V LDO
output
SB1
Power (reserved) SB29/SB30
ONReserved, do not modify.
OFFReserved, do not modify.
UART2 connect STLK and MCU on
board
ON
OFF
ON
Allowed current through CN2: 100 mA
max
Allowed current through CN2: 300 mA
max
MCO from STLK provide 8 MHz CLK to
MCU
OFFMCO from STLK floating
ONU6 LDO output provides 3.3 V
OFFU6 LDO output does not provide 3.3 V
ON
PD8 is used as VDD,PD9 is used as
GND
OFFPD8 and PD9 is used as GPIOs
VBATSB26
AVDDSB28
AGNDSB31
HSE CLK
selection
LSE CLK
selection
SB25/SB27
SB23/SB24
ADC/IICSB2/SB3/SB4/SB5
ONVDD provides power to VBAT
OFFVDD does not provide power to VBAT
ONVDD provides power to AVDD
OFFVDD does not provide power to AVDD
ONAGND connects to GND
OFFAGND does not connect to GND
ON(R33/R34 OFF)PF0/PF1 works as GPIOs
OFFPF0/PF1 works as HSE pins
ON(R31/R32 OFF)PC14/PC15 works as GPIOs
OFFPC14/PC15 works as LSE pins
SB3/SB4 ON,
SB2/SB5 OFF
SB3/SB4 OFF,
SB2/SB5 ON
CN8 PIN5/6 works as ADC
CN8 PIN5/6 works as IIC
UM2324 Rev 225/44
43
Page 26
Hardware layout and configurationUM2324
Table 10. Solder bridge configurations and settings (continued)
DefinitionBridgeState
(1)
Comment
User LEDSB22
AVDDSB21
1. Default jumper state is shown in bold.
ONPA5 controls LD4
OFFLD4 is isolated
ONAVDD connects to CN5 PIN8
OFFAVDD disconnects to CN5 PIN8
26/44UM2324 Rev 2
Page 27
UM2324Connectors
06Y9
7 Connectors
Seven connectors are implemented on the STM32 Nucleo-64-P board:
•CN2: ST-LINK USB connector
•CN5, CN6, CN8 and CN9: Arduino Uno V3 connectors
•CN7 and CN10: ST morpho connectors
7.1 USB Micro-B connector CN2
The USB connector CN2 is used to connect the embedded ST-LINK/V2-1 to the PC for
programming and debugging the STM32 NUCLEO-G070RB or NUCLEO-G071RB board
microcontroller.
Figure 13. USB micro-B connector CN2 (front view)
The related pinout for the USB ST-LINK connector is listed in Tab le 11.
Connector
CN2
Pin
number
1VBUS
2DM (D-)STLINK_USB_D_NPA11USB diff. pair M
3DP (D+)STLINK_USB_D_PPA12USB diff. pair P
4ID-- -
5GND-- GND
Table 11. USB micro-B pinout
Pin
name
UM2324 Rev 227/44
Signal name
5V_STLINK /
5V_USB_CHG
ST-LINK
MCU pin
-5 V power
Function
43
Page 28
ConnectorsUM2324
06Y9
&1
$UGXLQRB3:5
&1
$UGXLQRB$>@
&1
$UGXLQRB'>@
&1
$UGXLQRB'>@
7.2 Arduino Uno V3 connectors
The Arduino connectors CN5, CN6, CN8 and CN9 (see Figure 14) are female connectors
compatible with Arduino standard. Most shields designed for Arduino fit to the NUCLEOG070RB or NUCLEO-G071RB board.
The Arduino connectors on STM32 NUCLEO-G070RB or NUCLEO-G071RB board support
the Arduino Uno V3.
Figure 14. Arduino connectors
28/44UM2324 Rev 2
Page 29
UM2324Connectors
The related pinout for Arduino connector is showed in Figure 15 and Figure 16 and listed in
Tabl e 12.
Figure 15. NUCLEO-G070RB Arduino connector pinout
Figure 16. NUCLEO-G071RB Arduino connector pinout
Note:Note: Arduino Uno V3 D0 and D1 signals are connected by default on USART1 (MCU I/O
PC4 and PC5).
UM2324 Rev 229/44
43
Page 30
ConnectorsUM2324
Table 12. Arduino connector pinout
Connector
CN6
CN8
Pin
number
1NC--Reserved for test
2IOREF--I/O reference
3NRSTNRSTNRSTRESET
43V3--3.3 V input/output
55V--5 V output
6GND--GND
7GND--GND
8VIN--7 V to 12 V power input
1A0ADCPA0 ARD_A0_IN0
2A1ADCPA1 ARD_A1_IN1
3A2ADCPA4 ARD_A2_IN4
4A3ADCPB1 ARD_A3_IN9
5A4ADCPB9 or PB11 ARD_A4_IN15|| I2C_1_SCL
6A5ADCPB8 or PB12 ARD_A5_IN16|| I2C_1_SDA
10SCL/D15ARD_D15PB8I2C_1_SCL
9SDA/D14ARD_D14PB9I2C_1_SDA
8AVDDVREF+-VREF+
Pin
name
Signal nameSTM32 pinFunction
CN5
CN9
7GND--GND
6SCK/D13ARD_D13PA5SPI_1_SCK
5MISO/D12ARD_D12PA6SPI_1_MISO
4PWM/MOSI/D11ARD_D11PA7SPI_1_MOSI || TIM_14_CH1
3PWM/CS/D10ARD_D10PB0SPI_1_NSS || TIM_3_CH3
2PWM/D9ARD_D9PC7TIM_3_CH2
1D8ARD_D8PA9IO
8D7ARD_D7PA8IO
7PWM/D6ARD_D6PB14TIM_15_CH1
6PWM/D5ARD_D5PB4TIM_3_CH1
5D4ARD_D4PB5IO
4PWM/D3ARD_D3PB3TIM_1_CH2
3D2ARD_D2PA10IO
2TX/D1ARD_D1PC4UART_1_TX
1RX/D0ARD_D0PC5UART_1_RX
30/44UM2324 Rev 2
Page 31
UM2324Connectors
06Y9
&1
0RUSKRFRQQHFWRU
&1
0RUSKRFRQQHFWRU
7.3 ST morpho connectors CN7 and CN10
The ST morpho connectors CN7 and CN10 are male pin headers accessible on both sides
of the STM32 NUCLEO-G070RB or NUCLEO-G071RB board (see
and power pins, except VDD_CORE 1.2 V of the STM32, are available on the ST morpho
connectors. These connectors can also be probed by an oscilloscope, logical analyzer or
voltmeter.
Figure 17. ST morpho connectors
Figure 17). All signals
UM2324 Rev 231/44
43
Page 32
ConnectorsUM2324
The related pinout and the MCU assignment for the ST morpho connectors are listed in
Figure 18 and Figure 19.
Figure 18. NUCLEO-G070RB ST morpho connector pinout
Figure 19. NUCLEO-G071RB ST morpho connector pinout
Note:Arduino Uno V3 D0 and D1 signals are connected by default on USART1 (MCU I/O PA2
and PA3).
32/44UM2324 Rev 2
Page 33
UM2324NUCLEO-G070RB or NUCLEO-G071RB I/O assignment
Appendix A NUCLEO-G070RB or NUCLEO-G071RB I/O
assignment
Table 13. NUCLEO-G070RB or NUCLEO-G071RB I/O assignment
Pin NoPin nameSignal or labelMain feature / optional feature (SB)
1PC11PC11IO
2PC12PC12IO
3PC13PC13User Button/IO
4PC14 - OSC32_INPC14 - OSC32_INLSE CLK/IO
5PC15 - OSC32_OUTPC15 - OSC32_OUTLSE CLK/IO
6PF3 - VBATVBATPWR VBAT
7PF4 - VREF+AVDDPWR AVDD
8VDD_1VDDPWR VDD
9VSS_1GNDPWR GND
10PF0 - OSC_INPF0 - OSC_INHSE CLK/IO
11PF1 - OSC_OUTPF1 - OSC_OUTHSE CLK/IO
12PF2 - NRSTPF2 - NRSTRESET
13PC0PC0IO
14PC1PC1IO
15PC2PC2IO
16PC3PC3IO
17PA0PA0 ARD_A0_IN0
18PA1PA1 ARD_A1_IN1
19PA2UART2_TX STLK_RX
20PA3UART2_RX STLK_TX
21PA4PA4 ARD_A2_IN4
22PA5PA5 ARD_D13 || SPI_1_SCK
23PA6PA6 ARD_D12 || SPI_1_MISO
24PA7PA7 ARD_D11 || SPI_1_MOSI || TIM_14_CH1
25PC4PC4 ARD_D1 || UART_1_TX
26PC5PC5 ARD_D0 || UART_1_RX
27PB0PB0 ARD_D10 || SPI_1_NSS || TIM_3_CH3
28PB1PB1 ARD_A3_IN9
29PB2PB2IO
30PB10PB10IO
31PB11PB11 ARD_A4_IN15
UM2324 Rev 233/44
43
Page 34
NUCLEO-G070RB or NUCLEO-G071RB I/O assignmentUM2324
Table 13. NUCLEO-G070RB or NUCLEO-G071RB I/O assignment (continued)
Pin NoPin nameSignal or labelMain feature / optional feature (SB)
32PB12PB12 ARD_A5_IN16
33PB13PB13IO
34PB14PB14 ARD_D6 || TIM_15_CH1
35PB15PB15IO
36PA8PA8ARD_D7
37PA9PA9ARD_D8
38PC6PC6IO
39PC7PC7 ARD_D9 || TIM_3_CH2
40PD8PD8IO
41PD9PD9IO
42PA10PA10ARD_D2
43PA 11PA11 I O
44PA12PA12 IO
45PA13TMSSWDIO
46PA14 - BOOT0TCKSWCLK
47PA15PA15IO
48PC8PC8IO
49PC9PC9IO
50PD0PD0IO
51PD1PD1IO
52PD2PD2IO
53PD3PD3IO
54PD4PD4IO
55PD5PD5IO
56PD6PD6IO
57PB3PB3 ARD_D3 || TIM_1_CH2
58PB4PB4 ARD_D5 || TIM_3_CH1
59PB5PB5ARD_D4
60PB6PB6IO
61PB7PB7IO
62PB8PB8 ARD_D15 || I2C_1_SCL
63PB9PB9 ARD_D14 || I2C_1_SDA
64PC10PC10IO
34/44UM2324 Rev 2
Page 35
UM2324Electrical schematics
Appendix B Electrical schematics
This section provides the design schematics for the STM32 Nucleo-64 board features.
Jumpers ON --> NUCLEO Selected
Jumpers OFF --> ST-LINK Selected
Board Ident: PC13=0
SWD
SWCLK
SWDIO
SWD
RESERVED
DEFAULT
LED_STLK
TMS
TCK
TCK/SWCLK
TMS/SWDIO
MCO
MCO
AIN_1
NRST
T_NRST
TX
RX
STLK_RX
STLK_RX
STLK_TX
STLK_TX
SWO
T_SWO
3V3_STLK
3V3_STLK
3V3_STLK
3V3_STLK
3V3_STLK
3V3_STLK
3V3_STLK
PWR_EXT
3V3_STLK
3V3
3V3_STLK
Wired on Solder Side
E5V
5V
USB ST-LINK
3V3_STLK
STL_USB_D_N
STL_USB_D_P
transistor pins numbers follo w
SOT23 JEDEC standard,
i
Diff Pair 90ohm
i
Diff Pair 90ohm
USB_uB_105017-0001
VBUS
1
DM
2
DP
3
ID
4
GND
5
Shield
6
USB_Micro-B receptacle
Shield
7
Shield
8
Shield
9
EXP
10
EXP
11
CN2
BAT60JFILM
D1
BAT60JFILM
D3
BAT60JFILM
D5
USBLC6-2SC6
IO2
4
VBUS
5
IO16IO_1
1
GND
2
IO_2
3
U1
BSR14
3
1
2
T1
NX3225GD-8.00M
12
X1
HSMF-A201-A00J1
21
43
Red
Green
LD1
2K7
R7
4K7
R6
100K
R5
10K
R4
R3N/A
DNF
100nF
C1
100nF
C10
100nF
C15
100nF
C2
100nF
C27
100nF
C3
100nF
C12
100nF
C6
100K
R8
4K7
R21
4K7
R22
10K
R11
10K
R1
100R
R20
100R
R23
330R
R15
330R
R14
1K5
R10
36K
R12
1uF
C13
1uF
C7
10nF
C14
5V_USB_STLK
1uF
C8
RED
LD2
PWR_ENn
SB15
SB19
SB14
C11
N/A
DNF
100nF
C9
SB6
SB8
SB10
SB12
SB7
SB9
SB11
SB13
STM32F103CBT6
VBAT
1
PA7
17
PC13
2
PA12
33
PC14
3
PB0
18
PC15
4
JTMS/SWDIO
34
OSCIN
5
PB1
19
OSCOUT
6
VSS_2
35
NRST
7
PB2/BOOT1
20
VSSA
8
VDD_2
36
VDDA
9
PB10
21
PA0
10
JTCK/SW CLK
37
PA1
11
PB11
22
PA2
12
PA15/JTDI
38
PA3
13
VSS_1
23
PA4
14
PB3/JTDO
39
PA5
15
VDD_1
24
PA6
16
PB4/JN TRST
40
PB12
25
PB5
41
PB13
26
PB6
42
PB14
27
PB7
43
PB15
28
BOOT0
44
PA8
29
PB8
45
PA9
30
PB9
46
PA10
31
VSS_3
47
PA11
32
VDD_3
48
U2
STM_JTCK
USB_RENU Mn
USB_RENUMn
T_JTCK
T_JTMS
T_NRST
T_SWO
STL_USB_D_N
STL_USB_D_P
T_JTCK
T_JTMS
STM_JTMS
T_SWDIO_IN
LED_STLK
T_SWO
PWR_ENn
T_JTCK
T_JTDO
T_JTDI
T_NRST
T_JRST
STM_JTMS
STM_JTCK
123
4
CN4
R2N/A
DNF
22R
R9
22R
R16
22R
R17
22R
R19
10pF
C4
10pF
C5
100R
R13
47K
R24
1K
R18
PHFS25-11-06-G0B115-T-1
2
1
3
4
5
6
CN11
LDK120M33R
Vout
5
Vin
1
GND
2
EN
3
BYPASS
4
U3
HW6 HW7
HW8 HW9
BAT60JFILM
D4
VIN_5V
BAT60JFILM
D2
SB17
5V_USB_CHG
SB16
SB18
5V_USB_CHG
5V_USB_CHG
5V_USB_CHG
5V_USB_CHG
JP1
STMPS2141STR
GND
2
IN
5
EN
4
OUT
1
FAULT
3
U4
Shunt Fitted
JP4
Shunt Fitted
JP5
JP6
47K
R36
UM2324Electrical schematics
UM2324 Rev 241/44
Page 42
42/44UM2324 Rev 2
88
HW Mechanical parts
Title:
Size:
Reference:
Sheet: ofA4
Revision:
Project: NUCLEO-G071RB
MB1360
C-0 1
11-JUNE-18
G071RB
Date:
Variant:
HW Mechanical parts
MB1360B01 XXXX
BOARD REF
HW1
NUCLEO-G071RB
BOARD CPN
HW2MB1360B
PCB
HW4
Figure 26. HW Mechanical Parts
Electrical schematicsUM2324
Page 43
UM2324Revision history
8 Revision history
Table 14. Document revision history
DateRevisionChanges
24-Oct-20181Initial version
26-Oct-20182Added NUCLEO-G070RB board to document.
UM2324 Rev 243/44
43
Page 44
UM2324
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.