<<

Hello, and welcome to the presentation of this STM32 Nucleo-64 board NUCLEO-G071RB . It covers the main features of the Nucleo board dedicated to the STM32G0 series. The demonstration software included with this Nucleo board will allow you to become more familiar with this new low-consumption .

1 The STM32G0 Nucleo board offers everything required for users to get started quickly and develop applications easily. This board enables a wide diversity of applications taking benefit from security and connectivity features. The STM32G0 Nucleo board comes with the STM32 comprehensive software HAL together with various packaged software examples. It also embeds a debugger that helps you develop your own applications from the existing examples.

2 NUCLEO-G071RB board is divided into two parts: The ST-Link part and the target MCU part. The ST-Link part is separable from the MCU part to reduce the board size. In this configuration, the MCU part is only powered by the VIN entry available on morpho or connectors. And it is still possible to use the ST-Link part to program the main MCU using wires available on the ST morpho connectors. The Arduino connectivity support provides unlimited expansion capabilities with a large choice of specialized add-on boards. This board will help us to demonstrate STM32G0 functionality and versatility thanks to its large peripheral set.

3 The STM32 Nucleo board offers the following features: • STM32G0 in LQFP package • 32.768 KHz crystal • Board expansion connectors enabling the user to access all STM32 I/Os • Flexible power-supply options: ST-Link Vbus or external sources • On-board ST-Link V2.1 debugger and .

USB link to host computer can be used for 3 purposes: • Accessing mass storage information present in non- volatile memory • Transporting serial data to/from STM32G0 LPUART over USB, using Virtual COM class • Transporting debug commands and responses to a host debugger. The board comes with comprehensive free software

4 libraries and examples available with the STM32 Cube MCU package. The following IDEs are supported: IAR, Keil, GCC-based and ARM .

4 The STM32G071RBT6 microcontroller features an ARM® Cortex®-M0+ core running at up to 64 MHz, 128 kilobytes of and 36 kilobytes of RAM. It also features the following peripherals: - 1 user LED shared with Arduino - 1 user and 1 reset push-buttons - An embedded ST-LINK/V2-1 debugger/programmer to connect your favorite development tools. Note that many expansion boards compatible with Arduino specification can be plugged onto the STM32G0 Nucleo board.

5 The Discovery kit has 5 possible power supply sources. • 5 Volt can be provided by the host computer connected through the USB cable plugged on the ST-Link connector. Jumper JP2 [1-2] must be present. • 7 to 12 Volt power supply can be connected to CN8 pin 8 and CN8 pin 24. Jumper JP2 [3-4] must be present. • External 5 Volt power supply can be connected to CN9 pin 6. Jumper JP2[5-6] must be present. • 5 Volt can be provided by a USB charger. Jumper JP2[7-8] must be present. • 3.3 Volt power supply can be used provided that the ST-Link part is not powered or the Solder Bridges SB1 and SB19 are removed. The figure highlights the first possibility: powering the MCU board from the host computer connected to ST- Link and shows the location of Jumper 2 pin 1 and 2. This is the default setting.

6 There are three ways to configure the pins corresponding to the low-speed clock (LSE): • The on-board oscillator, which is the default configuration • Using an external oscillator via the PC14 pin • LSE not used.

There are four ways to configure the pins corresponding to the external high-speed clock (HSE): • The MCO output from the ST-LINK part, which is the default configuration • Using the HSE oscillator on-board from X3 crystal. Note that this crystal is not provided. • With an oscillator from external PF0/PD0/PH0 • HSE not used.

7 This slide describes the sequence enabling the user to take control of the STM32 MCU from a host debugger. • First, install the IDE (IAR, Keil or Eclipse) • Second, the ST-Link driver will be installed automatically. It can also be installed separately. • Third, download the STM32 Nucleo firmware • Fourth, connect the STM32 Nucleo board to the host PC by using a USB cable plugged into the CN1 connector. As a result, the green LED (LD3) lights up and the red LED (LD1) blinks. • Fifth, Press the user button B1. • Sixth, observe that the blinking frequency of the green LED (LD4) changes, by clicking on the button B1.

8 This slide describes the default settings of the STM32G0 Nucleo board. The Serial Wire Debug interface is by default active to enable debug from a host computer. 5 Volt is the default power supply, provided by the host computer through the USB cable. The reset input of the ST-Link is by default disconnected. Note that the ST-Link implements an autonomous power- up reset circuitry. The JP3 Jumper, labeled IDD, allows the consumption of the STM32 Microcontroller to be measured by removing the jumper and connecting an ampere-meter. By default, the jumper is present and therefore the STM32 MCU is powered.

9 Once unzipped, the file containing the Nucleo project examples has a directory named NUCLEO-G071RB. This directory contains the projects that can be run on the NUCLEO-G071RB board. These projects are ready to be run. The template project subfolder contains pre-configured projects with empty main function. The example project subfolder includes toolchain projects for each peripheral. The applications subfolder includes a set of applications. The demonstration subfolder includes the demonstration firmware.

10 STM32 Nucleo boards can easily be extended with a large number of specialized application hardware add-ons thanks to Rev3 and ST morpho connectors. For example, USB Type-™ and Power Delivery, motor control, LORA and power consumption measurement boards are available.

11 For more information on the STM32G0 Nucleo board, go to www.st.com/stm32nucleo.

12