ST morpho headers provide an easy means of expanding the functionality of the Nucleo open development platform with a wide choice of specialized shields. The STM32G4 Nucleo-64 boards do not require any separate probe as they integrate the STLINK-V3E debugger/programmer. The STM32G4 Nucleo-64 boards come with the comprehensive free software libraries and examples available with the STM32CubeG4 MCU Package.
™ – Arduino Uno V3 expansion connector – ST morpho extension pin headers for full access to all STM32G4 I/Os • Flexible power-supply options: ST-LINK USB V or external sources • On-board STLINK-V3E debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port •...
Evaluation tools marked as “ES” or “E” are not yet qualified and therefore 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.
STM32 Flash memory for easy demonstration of the device peripherals in standalone mode. The latest versions of the demonstration source code and associated documentation can be downloaded from www.st.com. UM2505 - Rev 2 page 4/43...
UM2505 Conventions Conventions Table 3 provides the conventions used for the ON and OFF settings in the present document. Table 3. ON/OFF convention Convention Definition Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not fitted Jumper JPx [1-2] Jumper should be fitted between Pin 1 and Pin 2 Solder bridge SBx ON SBx connections closed by 0 Ω...
To power the board, connect the STM32G4 Nucleo-64 board to a PC with a USB cable (Type-A to Micro-B) through the USB connector CN1 of the board Then, green LED LD3 (5V_PWR) and red LED LD1 (COM) light up, green LED LD2 (USER) blinks...
UM2505 Hardware layout and configuration Hardware layout and configuration The STM32G4 Nucleo-64 board is designed around the STM32 microcontrollers in a 64-pin LQFP package. Figure 3 shows the connections between the STM32 and its peripherals (STLINK-V3E, push-buttons, LEDs, USB, ™...
There are two different ways to program and debug the onboard STM32 MCU: • Using the embedded STLINK-V3E • Using an external debug tool connected to the CN4 MIPI10 connector. The STLINK-V3E programming and debugging tool is integrated in the STM32G4 Nucleo-64 board. UM2505 - Rev 2 page 10/43...
In case the STM32G4 Nucleo-64 board is connected to the PC before the driver is installed, some STM32G4 Nucleo-64 interfaces may be declared as “Unknown” in the PC device manager. In this case, the user must install the dedicated driver files, and update the driver of the connected device from the device manager a shown in...
UM2505 Embedded STLINK-V3E 6.3.3 Using an external debug tool to program and debug the on-board STM32 There are two basic ways to support an external debug tool: Keep the embedded STLINK-V3E running. Power on the STLINK-V3E at first until the COM LED turns red. Then connect the external debug tool through the CN4 STDC14/MIPI-10 debug connector Set the embedded STLINK-V3E in hig-impedance state: when jumper JP1 (STLK_RST) is ON, the embedded STLINK-V3E is in RESET state and all GPIOs are in high-impedance;...
UM2505 Power supply MIPI10 pin STDC14 pin Function Not used by SWD protocol, Target JTDI (T_JTDI) using JTAG protocol, T_JTDI only for external tools GNDDetect GND detect for plug indicator, used on SWD and JTAG neither Target NRST using SWD protocol or Target JTMS (T_JTMS) using T_NRST JTAG protocol T_VCP_RX...
If the power supply is 3V3, the ST-LINK is not powered and cannot be used. Power supply input from STLINK-V3E USB connector (default setting) The STM32G4 Nucleo-64 board and shield can be powered from STLINK-V3E connector CN1 (5 V) by placing a jumper between pins 1-2 of JP5, “5V_SEL”, as illustrated in Figure 10.
If an overcurrent (more than 500 mA) happens on board, the red LED LD4 is lit. The Nucleo board and its shield can be powered from ST-LINK USB connector CN1, but only ST-LINK circuit gets power before USB enumeration, because the host PC only provides 100 mA to the board at that time.
Caution: If the maximum current consumption of the STM32G4 Nucleo-64 board and its shield boards exceeds 300 mA, it is mandatory to power the STM32G4 Nucleo-64 board with an external power supply connected to E5V, VIN or 3.3 V.
Refer to Section 6.4.1 for debugging when using an external power supply. External power supply input from E5V (5 V, 500 mA max) When the STM32G4 Nucleo-64 board is power-supplied by E5V (refer to Table 7 Figure 12), the jumper configuration must be the following: jumper JP5 on pins 5-6 “E5V”.
Section 6.4.1 for debugging when using an external power supply. External power supply input from USB charger (5 V) When the STM32G4 Nucleo-64 board is power-supplied by a USB charger on CN1 (refer to Table 8 Figure 13), the jumper configuration must be the following: jumper JP2 on pins 7-8 “5V_CHGR”.
External power sources: 5V_CHGR (5 V) Input power name Connector pins Voltage range Maximum current 5V_CHGR Figure 13. Power supply input from ST-LINK USB connector with USB charger (5 V) USB charger STLINK-V3E No debug 3.3 V Legend: UM2505 - Rev 2...
When the 3.3 V is provided by a shield board, it is interesting to use the 3.3 V (CN6 pin 4 or CN7 pin 16) directly as power input (refer to Table 9 Figure 14). In this case, the programming and debugging features are not available, since the ST-LINK is not powered. Table 9. External power sources: 3V3 Input power name Connector pins...
Debugging while using VIN or EXT as an external power supply When powered by VIN or E5V, it is still possible to use the ST-LINK for programming or debugging only, but it is mandatory to power the board first using VIN or EXT, then to connect the USB cable to the PC. In this way the enumeration succeeds, thanks to the external power source.
There are four ways to configure the pins corresponding to the high-speed external clock (HSE): • MCO from ST-LINK: MCO output of ST-LINK is used as input clock. This frequency cannot be changed, it is fixed at 8 MHz and connected to the PF0-OSC_IN of the STM32 microcontroller. The configuration must be: –...
VREF+ is targeted to offer high-end analog device, especially for precise analog applications (ADC converters usage) with the STM32G4 microcontroller. In the STM32G4 Nucleo-64 board, the VREF+ can be supplied with a very stable output voltage provided by the TL1431CL5T. The TL1431CL5T is an adjustable shunt voltage reference with guaranteed temperature stability over the entire operating temperature range.
(through jumper JP6). 6.6.5 Virtual COM port (VCP): LPUART and USART The STM32G4 Nucleo-64 board offers the possibility to connect an LPUART or a USART interface to the ™ STLINK-V3E, Arduino Uno V3 connector (CN9 pins 2 and 1), or ST morpho connector (CN10 pins 35 and 37).
PB8 not connected to Arduino PC5 connected to ST morpho CN10 pin 6 PC5 on ST morpho PC5 not connected to ST morpho CN10 pin 6 PB8 connected to ST morpho CN7 pin 7 PB8 on Morpho PB8 not connected to ST morpho CN7 pin 7 U12 LDO output provides 3.3 V...
Page 26
HSE provided by external HSE 24 MHz CLK X3. & HSE not provided by external HSE 24 MHz CLK X3. SB26 PF1-OSC_IN connected to ST morpho connector I/O usage (CN7 pin 31). SB24 HSE CLK PF1-OSC_IN not connected to ST morpho connector.
Page 27
T_SWCLK not connected to PA14. 1. The default SB state is in bold. All the other solder bridges present on the STM32G4 Nucleo-64 board are used to configure several I/Os and power-supply pins for compatibility of features and pinout with the target STM32G4 supported.
UM2505 Board connectors Board connectors Several connectors are implemented on the STM32G4 Nucleo-64 board. STLINK-V3E USB Micro-B connector CN1 The USB connector CN1 is used to connect the embedded STLINK-V3E to the PC for the programming and debugging purposes. Figure 15.
CN5, CN6, CN8 and CN9 are female connectors compatible with the Arduino ™ standard. Most shields designed for Arduino can fit with the STM32G4 Nucleo-64 board. ™ ™ The Arduino connectors on the STM32G4 Nucleo-64 board support the Arduino Uno V3. ™ Figure 17. Arduino connectors Arduino_PWR...
Arduino™ Uno V3 connectors CN5, CN6, CN8 and CN9 ™ Figure 18. Arduino and ST morpho connectors pinout Note: ™ Arduino Uno V3 D0 and D1 signals are connected by default on USART1 (MCU I/O PC4 and PC5). For details about how to modify the UART interface, refer to Section 6.6.5 Virtual COM port (VCP): LPUART and...
ST morpho connectors CN7 and CN10 ST morpho connectors CN7 and CN10 are male pin headers accessible on both sides of the board. All signals and power pins of the STM32G4 MCU are available on the morpho connectors. These connectors can also be probed by an oscilloscope, logical analyzer, or voltmeter.
UART interface, refer to Section 6.6.5 Virtual COM port (VCP): LPUART and USART. Table 16 shows the pin assignment of each STM32G4 I/O on the ST morpho connector. Table 16. Pin assignment of the ST morpho connectors CN7 odd pins...
Page 33
UM2505 ST morpho connectors CN7 and CN10 CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin nbr Pin name Pin nbr Pin nbr Pin nbr Pin name Pin name Pin name PC13 PC14 PB10 PB15 PC15...
UM2505 Limitation Limitation Issue observed The OPAMP offset value is minimized using a trimming circuitry. At startup, the trimming values are initialized with the preset factory trimming values. The trimming values of OPAMP1, OPAMP2 and OPAMP4 are not programmed correctly, resulting in a large offset compared to the one specified. Proposed workaround The offset values of OPAMP1, OPAMP2 and OPAMP4 must be calibrated by software, applying the calibration ®...
UM2505 Federal Communications Commission (FCC) and Industry Canada (IC) Compliance Statements Federal Communications Commission (FCC) and Industry Canada (IC) Compliance Statements 10.1 FCC Compliance Statement Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
UM2505 Revision history Table 18. Document revision history Date Version Changes 28-Mar-2019 Initial release. 17-Apr-2019 Added the Limitation section. UM2505 - Rev 2 page 38/43...
Figure 13. Power supply input from ST-LINK USB connector with USB charger (5 V) ......19 Figure 14.
Page 43
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’...
Need help?
Do you have a question about the STM32G4 Nucleo-64 and is the answer not in the manual?
Questions and answers