Uploaded by Ehsan Mohmmadi

um2435-bluetooth-low-energy-and-802154-nucleo-pack-based-on-stm32wb-series-microcontrollers-stmicroelectronics

advertisement
UM2435
User manual
Bluetooth® Low Energy and 802.15.4 Nucleo pack
based on STM32WB Series microcontrollers
Introduction
The Nucleo pack (P-NUCLEO-WB55) with a Nucleo-68 board and a USB dongle provides
an affordable and flexible way for users to try out new concepts and build prototypes using
STM32WB microcontrollers with a 2.4 GHz radio interface.
This circuit block provides various combinations of performance, power consumption and
features. A 2.4 GHz RF transceiver supporting Bluetooth® specification v5.0 and IEEE
802.15.4-2011 PHY and MAC is supported.
Arduino™ Uno V3 connectivity and ST morpho headers allow the user to easily expand the
functionality of the Nucleo open development platform with a wide choice of specialized
shields.
The boards are based on a multiprotocol wireless 32-bit microcontroller, based on an Arm®
Cortex®-M4 with FPU, featuring Bluetooth® Low Energy and 802.15.4 radio solution.
The STM32 Nucleo-68 board does not require any separate probe, as it integrates the
ST-LINK/V2-1 debugger/programmer. The board comes with the comprehensive free
STM32 software libraries and examples available with the STM32Cube package.
The USB dongle can be programmed through USB BootLoad or USB DFU. It is also
possible to debug/program it with an external STLink V2 (not delivered), using the SWD
interface.
April 2019
UM2435 Rev 2
1/48
www.st.com
1
Contents
UM2435
Contents
1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4
Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5
Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7
Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.1
Nucleo-68 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.2
USB dongle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.3
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.4
7.5
2/48
7.3.1
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.3.2
Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.3.3
Default boards configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.4.1
Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.4.2
ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Power supply and selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5.1
External power supply input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5.2
External power supply output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.5.3
Internal power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.6
Programing/debugging when the power supply
is not from USB ST-LINK (5V_ST_link) . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.7
OSC clock sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.7.1
LSE: OSC 32 kHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.7.2
OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.8
Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.9
Virtual COM port: LPUART/USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.10
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
UM2435 Rev 2
UM2435
8
Contents
7.11
Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.12
Current measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.13
Jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.1
USB ST-LINK micro-B connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2
Arduino™ Uno revision 3 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3
ST Morpho connectors CN7 and CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.4
Extension connectors CN1 and CN2 on USB dongle . . . . . . . . . . . . . . . 41
Appendix A Nucleo-68 and USB dongle MCU IO assignment . . . . . . . . . . . . . . 42
9
10
Federal Communications Commission (FCC) and
Industry Canada (IC) compliance statements . . . . . . . . . . . . . . . . . . . . 45
9.1
FCC compliance statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.2
IC compliance statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
UM2435 Rev 2
3/48
3
List of tables
UM2435
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
4/48
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Example of codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Jumper and SB ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Default jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Power sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
SB25 bypass USB PWR protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
LPUART1 and USART1 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Configuration of jumpers and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
USB STLINK micro-B pinout (connector CN15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Arduino™ connectors pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
IO assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
UM2435 Rev 2
UM2435
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Nucleo-68 and USB dongle boards (top view on the left, bottom view on the right). . . . . . . 7
Nucleo-68 hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Nucleo-68 board (top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Nucleo-68 board (bottom view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Nucleo-68 board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Nucleo-68 board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Nucleo-68 board schematics - RF part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Nucleo-68 board schematics - Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Nucleo-68 board schematics - Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Nucleo-68 board schematics - ST-Link/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
USB dongle hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
USB dongle board (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
USB dongle board (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
USB dongle mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
USB dongle schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ST-LINK debugger: JP1 configuration for on-board MCU . . . . . . . . . . . . . . . . . . . . . . . . . 26
JP1[7-8]: 5V_STL power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
JP1[3-4]: 5V_VIN power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
JP1[5-6]: 5V_USB_MCU power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
USB STLINK micro-B connector CN15 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Arduino™ connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Arduino™ connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
ST-Morpho connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Extension connectors pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
UM2435 Rev 2
5/48
5
Features
1
UM2435
Features
The Nucleo-68 pack uses STM32WB 32-bit microcontrollers, based on Arm®(a) Cortex®
processor(s).
Nucleo-68
•
STM32WB microcontroller in VFQFNP68 package
•
2.4 GHz RF transceiver supporting Bluetooth® specification v5.0 and
IEEE 802.15.4-2011 PHY and MAC
•
Dedicated Arm® 32-bit Cortex® M0+ CPU for real-time Radio layer
•
SMPS significantly reduces power consumption in Run mode
•
Three user LEDs shared with Arduino™
•
Four push-buttons
•
32.768 KHz LSE crystal oscillator
•
32 MHz crystal oscillator with integrated trimming capacitors
•
Board expansion connectors:
–
Arduino™ Uno V3
–
ST Morpho
•
Flexible board power supply: ST-LINK/V2-1 USB VBUS and external sources
•
On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability:
mass storage, virtual COM port and debug port
•
Comprehensive free software libraries and examples available with a variety of
examples, as part of the STM32Cube package
•
Comprehensive free software libraries and examples available with the STM32Cube
package
•
Support of a wide choice of integrated development environments (IDEs) including
IAR™, Keil®, GCC-based IDEs, Arm® Mbed™
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
6/48
UM2435 Rev 2
UM2435
Features
USB dongle
•
STM32WB microcontroller in UFQFPN48 package
•
2.4 GHz RF transceiver supporting Bluetooth® specification v5.0 and
IEEE 802.15.4-2011 PHY and MAC
•
Dedicated Arm® 32-bit Cortex® M0+ CPU for real-time Radio layer
•
SMPS significantly reduces power consumption in Run mode
•
32.768 KHz LSE crystal oscillator
•
32 MHz crystal oscillator with integrated trimming capacitors
•
Full Bluetooth® solution with integrated PCB antenna for fast connection
•
Switch for boot management
•
User push button
•
Three user LEDs
Figure 1. Nucleo-68 and USB dongle boards (top view on the left, bottom view on the right)
Note:
Pictures are not contractual.
UM2435 Rev 2
7/48
47
Product marking
2
UM2435
Product marking
Evaluation tools marked as “ES” or “E” are dedicated for evaluation purpose only, and not
qualified 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:
3
4
5
•
on the targeted MCU soldered on the board (for illustration of STM32WB marking, refer
to the section “Package characteristics” of the datasheet)
•
next to the evaluation tool ordering part number, stuck or silk-screen printed on the
board.
System requirements
•
Windows® OS (XP, 7, 8 or 10) or Linux 64-bit or Mac OS X
•
USB Type-A to Micro-B cable
Development toolchains
•
Arm® Keil®: MDK-Arm™(a)
•
IAR™: EWARM(a)
•
GCC-based IDEs including free SW4STM32 from AC6
•
Arm® mbed™ online
Demonstration software
The demonstration software is preloaded in the Flash memory of the STM32WB
microcontroller 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 the www.st.com/stm32nucleo webpage.
a. On Windows® only.
8/48
UM2435 Rev 2
UM2435
6
Ordering information
Ordering information
To order the Nucleo-68 board corresponding to the targeted STM32 MCU refer to Table 1.
Table 1. Ordering information
Order code
P-NUCLEO-WB55
Target MCU
STM32WB55RG (Nucleo-68)
STM32WB55CG (USB dongle)
The STM32WB55 codification is explained with an example in Table 2.
Table 2. Example of codification
STM32WB55RG
Description
STM32WB
32-bit microcontroller, based on Arm® Cortex® processor(s)
WB
Wireless Bluetooth® and 802.15.4
55
Die 5, 1 Mbyte of Flash memory, 256 Kbytes of SRAM, full set of features
R
Number of pins (R = 68)
G
Memory size (G = 1 Mbyte)
UM2435 Rev 2
9/48
47
Hardware layout and configuration
UM2435
7
Hardware layout and configuration
7.1
Nucleo-68 board
The Nucleo-68 board is designed around the STM32WB55RG microcontroller in a 68-pin
VFQFPN68 package.
The hardware block diagram (see Figure 2) illustrates the connection between the MCU and
peripherals (STLINK/V2-1, push buttons, LEDs, Arduino™ UNO V3 connectors and
ST-Morpho connectors).
Figure 3 and Figure 4 help the user to locate these features on the board.
Figure 2. Nucleo-68 hardware block diagram
86%
PLFUR%
FRQQHFWRU
(PEHGGHG
67/,1.9
6:'
3&%DQWHQQD
9&3
8$57
86%
PLFUR%
FRQQHFWRU
/(9(/
6+,)7(5
9
3:56(/
5)
6:'
9&3
8$57
*3,2
*3,2
*3,2
0253+2
*3,2V
$5'8,12
86%
$5'8,12
0253+2
670:%5*
*3,2V
069
26&B
26&B
0+]
FU\VWDO
6:
N+]
FU\VWDO
6:
*3,2V
/('
6:
/('
/('
6:
567
&5
EDWWHU\
VRFNHW
069
10/48
UM2435 Rev 2
UM2435
Hardware layout and configuration
Figure 3. Nucleo-68 board (top view)
UM2435 Rev 2
11/48
47
Hardware layout and configuration
UM2435
Figure 4. Nucleo-68 board (bottom view)
12/48
UM2435 Rev 2
UM2435
Hardware layout and configuration
Figure 5. Nucleo-68 board mechanical drawing
UM2435 Rev 2
13/48
47
Hardware layout and configuration
14/48
Figure 6. Nucleo-68 board schematics
U1E
A3
A2
D1
D0
D10A
D13
D12
D11
D6
D9
D3
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
15
16
17
18
19
20
21
22
23
24
51
52
53
54
56
57
USB_N
USB_P
SWD reserved
PA13
PA14
D5
PA15
SB22 Open
AT2
AT3
SB23
Open
PB2
PB3
PB4
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PB0
PB1
UM2435 Rev 2
R2
LED BLUE
LED1
PB5
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13-JTMS_SWDIO
PA14-JTCK_SWCLK
PA15-JTDI
38
39
27
63
64
65
66
67
6
7
28
29
46
47
48
49
SWO
D15
D14
D10B
PB0
PB1
PB2
PB3-JTDO
PB4-NJTRST
PB5
PB6
PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC10
PC11
PC12
PC13
PD0
PD1
PE4
A0
A1
A5
A4
9
10
11
12
25
26
50
D2
58
59
60
2
D8
D7
PC0
PC1
PC2
PC3
PC4
PC5
PC6
D4
PC10
PC11
PC12
PC13
61
62
PD0
PD1
40
PE4
STM32WBxx_QFN68
GND
680
LED GREEN
R3
LED2
GND
680
GND
LED3
PB1
SW1
User PB
User PB
SW3
GND
Not Fitted
C5
C3
LED RED
R7
User PB
X1
NX2016_32M
SB43
OSC_IN
OSC_OUT
SB47 Close
PC4
1K
BAT54KFILM
D1
SB44
Open
3
4
Open
SB46 Open
OSC_IN
OSC_OUT
NRST
PH3-BOOT0
NX2012_32K768
PC14-OSC32_IN
PC15-OSC32_OUT
STM32WBxx_QFN68
R8
NRST
AT0
AT1
8
R5
Not Fitted
5
R9
PD1
C6
10pF
GND
X2
C7
10pF
VDD_MCU
BOOT0
36
37
AT2
AT3
GND
1K
GND
100nF
U1C
35
34
Open
SB45
PC14
PC15
SB48 Open
PD0
Reset PB
GND
PC13
SW2
GND
SW4
GND
GND
680
GND
GND
Not Fitted
C4
R4
1
2
3
4
5
CN3
R6
10K
GND
HEADER_1X5
Production Test Pins
Reserved
PB0
GND
1K
UM2435
UM2435
Figure 7. Nucleo-68 board schematics - RF part
Meander Antenna
2.4GHz
(see AN3359 on www.st.com)
JP4
HEADER_1X2
2
Jumper 2.54mm
JP4(1-2)
1
VDD
JMP4
C33
GND
VDDRF
RF1
100pF
UM2435 Rev 2
32
31
GRM1555C1HR80BA01D
33
GND
C1
0.8pF
GND
VSSRF
STM32WBxx_QFN68
GND
Band Pass Filter
LFB182G45CGFD436
FLT1
LQG15HS2N7S02
L5 2.7nH
1
C2
0.3pF
GND
RF switch
Antenna Matching Network
C35
LQG15HS3N6S02
L3
3
10nF
2
U1A
GRM1555C1HR30WA01D
100nF
C34
GND
3.6nH
C36
Not Fitted
GND
50 Ohms Matching Network
(Compents values will be updated after evaluation)
ANT
C37
1.2pF
PCB Antenna
GND
GRM1555C1H1R2WA01D
Antenna Matching Network (for SMA Antenna)
Filter (for Eval/debug)
Patch trought (for Direct Connection)
C38
Not Fitted
0R
C39
Not Fitted
C40
Not Fitted
SMA
GND
GND
To connect 50ohms Antenna
or
To connect 50ohms Instrument
SH1
Shield 17.2x17.2x3
Socket for Metallic Shield
SC1
GND
SC2
GND
SC3
GND
SC4
GND
Title: STM32WB55RG RF part
Project: NUCLEO-WB55.Nucleo
Variant: [No Variations]
Revision: C -01-RC1
Size: A4
Date: 12-Jun-2017
Reference: MB1355
Sheet: 3 of 6
15/48
Hardware layout and configuration
GND
Default value PCB Antenna
(Cx populated and Cy not fitted)
J2
L4
Hardware layout and configuration
16/48
Figure 8. Nucleo-68 board schematics - Connectors
Morpho connectors
5V_INT
HEADER_2X19_M
1
PB11
3
PC5
5
VDD
7
BOOT0
9
11
13
PA13
15
PA14
17
19
GND
21
23
25
PC14
27
PC15
29
OSC_IN
31
OSC_OUT
33
VBAT
35
37
CN7
PA1
PB6
2
PB2
4
PE4
6
5V_EXT
8
GND
10
12
3V3
14
NRST
16
3V3
18
5V
20
GND
22
24
VIN
26
28
PC0
30
PC1
32
34
PA0
36
PC3
38
PC2
SB14
SB16
Open
R33
1K
PA7
Close
SB1
PA10
Open
SB3
PA4
PB10
PA9
PA10
PA2
Close
PC11
HEADER_2X19_M
PC4
PB8
PB9
AVDD
GND
PA5
PA6
Close
SB5
Open
SB6
Close
SB8
PC12
PC13
PA8
PA15
PC10
Close
SB11
PC6
PA3
Close
SB15
Open
SB18
UM2435 Rev 2
Shield
1
2
3
4
5
6
5
6
4
R1
100K
GNDGND
U6
USBLC6-2SC6
1 USB_N
3 USB_P
GND
1050170001
3V3
NRST
3V3
5V
GND
GND
VIN
USB_N
USB_P
2
MicroB
VBUS
DM
DP
ID
GND
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
Open
SB2
PB4
PB7
5V_USB_MCU
PB12
USB_P
Open
USB_N
SB4
Open
SB7
Close
SB9
Open
SB10
GND
PB0
PB1
GND
PD0
PD1
Close
SB12
Open
SB13
PB5
PB15
PA9
PB14
PB13
PB3
PB6
Arduino Shield Connectors
5V_USB_MCU
5V_USB_MCU
CN10
Close
SB17
STM32WB55 USB Connector
CN1
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
PC0
PC1
PA1
PA0
PC3
PC2
1
2
3
4
5
6
7
8
1
2
3
4
5
6
CN6
IOREF
NRST
3V3
5V
GND
GND
VIN
HEADER_1X8_F
CN8
A0
A1
A2
A3
A4
A5
HEADER_1X6
CN5
10
PB8
D15
9
PB9
D14
8
AVDD
AVDD
7
GND
GND
6
PA5
D13
5
PA6
D12
4
PA7
D11
3
D10
2
PA9
D9
1
D8
PC12
HEADER_1X10
CN9
8
D7
7
D6
6
D5
5
D4
4
D3
3
D2
2
D1
1
D0
HEADER_1X8_F
Close
SB41
PA4
PB10
SB42
Open
PC13
PA8
PA15
PC10
PA10
PC6
PA2
PA3
UM2435
UM2435
Figure 9. Nucleo-68 board schematics - Power management
C9
10uF/25V
Open when Board supplied by Li Battery
GND
GND
4.7uF/10V
5V_USB_STLINK
1
2
R12
1K GND
5
3
4
LED RED
IN
OUT
FAULT
EN
GND
+
VIN
EN
VOUT
GND
LED5
C15
1uF/X5R
C14
100nF
GND
1
GND
3V3
4
1
PG
SB26
Close
C13
GND
GND
GND
GND
2
Open
SB28
Open
GND
Open
SB29
Open
VDD
1
C20
Jumper 2.54mm
JP6(1-2)
VDD_MCU
2
U1B
44
43
L1
10uH
0805
GND
41
C29
4.7uF
GND
Open when SMPS=ON
Close when SMPS=OFF
(Warning:
FW configuration needed)
100nF C28
GND
VDDSMPS
VLXSMPS
SB33
Open
SB34
Close
100nF C31
GND
FCM1608KF-601T03
VDD_MCU
L2
Close
C32
SB35
100nF
SB49
AVDD
Open
GND
SB50
VDD
Close
SB51
VDD_MCU
Open
3V3
VFBSMPS
VDD_MCU
GND
SB31
Open
VBAT
42
VSSSMPS
STM32WBxx_QFN68
5V_USB_STLINK
U1D
68
45
30
1
55
14
13
Jumper 2.54mm
JP3(1-2)
3V3_STLINK
U5 LD3985M33R
VDD
VDD
1
3
GND
VDD
VIN
INH
C21
GND
C25
100nF
VBAT
GND
VOUT
BYPASS
C26
100nF
GND
5
C22
GND
C27
100nF
GND
GND
VDDUSB
VDDA
VREF+
STM32WBxx_QFN68
Ground for Probing
1
2
GND
CN11
1
2
CN12
GND
Title: Power Management
Project: NUCLEO-WB55.Nucleo
Variant: [No Variations]
Revision: C -01-RC1
Date: 12-Jun-2017
Size: A4
Reference: MB1355
Sheet: 5 of 6
GND
17/48
Hardware layout and configuration
C24
100nF
GND GND GND
Close when VBAT
connected to VDD_MCU
Close
SB32
VDD_MCU
JMP3
GND
JMP12
2
2
100nF 100nF 100nF 100nF
VDD
VBAT
HEADER_1X2
1uF/X5R
C19
VSS (ExPAD)
SMPS domain
C18
JP3
69
UM2435 Rev 2
VDD_MCU
SB30
3V3 LDO dedicated to ST_Link
MCU Supply domain
C17
1
SB27
Close when Board supplied by Li Battery
CR2032
GND
Jumper 2.54mm
JP2(1-2)
1
BT1
CR2032-BAT1
C23
4.7uF
JMP2
GND
SK_BT1
CR2032-SCK1B
JP6
VDD
2
JP2
HEADER_1X2
C16
100nF
1uF/X5R
Socket
CR2032
-
Jumper 2.54mm
JP1(7-8)
STMPS2141STR
PWR_ENn
2
R10
1K
JMP1
U4
TAB1
TAB_CR2032
GND
C12
100nF
GND
GND
LED4
Open
6
1
4
HEADER_1X2
Not Fitted
R11
10K
LD39050PU33R
U3
5V
HEADER_2X4
SB25
C11
CN4
2
4
6
8
1uF/X5R
GND
GND
5V_USB_MCU
JP1
7
1
3
5
7
3
C8
100nF/25V
5V_INT
LED RED
C10
Gnd
10uF/25V
SB24
Open
LD1117S50TR
2
Vout
Vin
2
U2
3
VIN
1
Supply Sources
Commun Supply Parts
5V_EXT
Arduino
Morpho
5V
Close
GND
GND
100K
3V3_STLINK
GND
UM2435 Rev 2
3V3_STLINK
X3
R24
100K
X3225-8MHz
STLK_RST
GND
C46
100nF
GND
3V3_STLINK
AIN_1
R26
T_VDD
1
2
3
4
5
6
7
8
9
10
11
12
VBAT
PC13
PC14
PC15
OSCIN
OSCOUT
NRST
VSSA
VDDA
PA0
PA1
PA2
4K7
R28
GND
4K7
STLK_TX
3V3_STLINK
C43
Close
SB39
STLK_RX
3V3_STLINK
Vcc
5
4
GND
U10
74LVC1G07
13
14
SB38
R32
100K
2
Close
CN14
2
TX
1
RX
USART2
of STM32F103
6
4
1
3
3V3_STLINK
GND
36
35
34 STLK_SWDIO
33
32
31 T_SWO
30 LED_STLK
29
28
27 T_SWDIO
26 T_SWCLK
25 T_SWDIO_IN
USBLC6-2SC6
GND
T_SWO
PWR_ENn
LED6
R25
Red
2
1
GND
100/2K7
R29
3V3_STLINK
R27
3
4
100/100
3V3_STLINK
_Green
HSMF-A201-A00J1/KAA-3528SURKCGKC
GND
R30 Not Fitted
3V3_STLINK
Open
GND
3V3_STLINK
C47
100nF
GND
C48
100nF
GND
C49
100nF
GND
C50
100nF
GND
3
GND
T_SWDIO
U9
U8
STM32F103CBT6
SB40
T_SWCLK
5V_USB_STLINK
GND
VDD_2
VSS_2
JTMS/SWDIO
PA12
PA11
PA10
PA9
PA8
PB15
PB14
PB13
PB12
GND
Q1
2N2222
R21
1K5
100
3V3_STLINK
C45
20pF
16
17
18
19
20
21
22
23
24
GND
C44
20pF
T_NRST
GND
Shield
1050170001
GNDGND
R20
36K
48
47
46
45
44
43
42
41
40
39
38
37
10K
Not Fitted
6
100
PWR_EXT
USB_RENUMn
R19
GND
R16
10K
R17
GND
10K
R22
JP5(3-4 to 15-16)
100nF
5V_USB_STLINK 3V3_STLINK
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4/JNTRST
PB3/JTDO
PA15/JTDI
JTCK/SWCLK
PB3
PA14
PA13
NRST
R18
GND
Jumper 2.54mm
Jumper 2.54mm
Jumper 2.54mm
Jumper 2.54mm
Jumper 2.54mm
Jumper 2.54mm
Jumper 2.54mm
3V3_STLINK
10
VBUS
DM
DP
ID
GND
GND
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1
15
13
11
9
7
5
3
1
GND
PB7
PB6
VDD
4K7
Open
T_SWCLK 15
16
14
12
10
8
6
4
2
GND
JMP5
JMP6
JMP7
JMP8
JMP9
JMP10
JMP11
R15
2K7
SB37
3V3_STLINK
Board Ident: PC13=0
JP5
R14
R31
5
BAT60JFILM
SB36
D2
CN15
1
2
3
4
5
2
STLK_TX
STLK_RX
T_SWO
T_SWCLK
T_SWDIO
5V_USB_STLINK
R23
20
18
17
16
15
14
13
12
HEADER_1X6
Not Fitted
CN13
GND
NRST
SWDIO
SWCLK
SWO
VREF
100K
B1
B2
B3
B4
B5
B6
B7
B8
STLK_RST
STLK_SWCLK
STLK_SWDIO
VCCB
2
A1
A2
A3
A4
A5
A6
A7
A8
GND
11
T_VDD
1
3
4
5
6
7
8
9
VCCA
TX_STlink (VCP)
RX_STlink (VCP)
SWO
SWCLK
SWDIO
NRST
OE
1
2
3
4
5
6
MicroB
10
GND
100nF
100nF
U7
TXS0108EPW
19
GND
SWD STM32F103
GND
USBSTLK_P
USBSTLK_N
3V3_STLINK C41
T_VDD
C42
Hardware layout and configuration
18/48
Figure 10. Nucleo-68 board schematics - ST-Link/V2-1
GND
Title: ST-Link/V2-1
Project: NUCLEO-WB55.Nucleo
Variant: [No Variations]
Revision: C -01-RC1
Size: A4
Date: 12-Jun-2017
Reference: MB1355
Sheet: 6 of 6
UM2435
UM2435
USB dongle
The USB dongle is designed around the STM32WB55CG microcontroller in a 48-pin
UFQFPN48 package.
The hardware block diagram in Figure 11 illustrates the connection between the MCU and
the peripherals (STLINK/V2-1, push buttons, LEDs, Arduino™ UNO V3 connector and
ST-Morpho connectors).
Figure 12 and Figure 13 help the user locate these features on the board.
Figure 11. USB dongle hardware block diagram
3&%DQWHQQD
5)
86%
7\SH$
FRQQHFWRU
*3,2
670:%&*
&1
86%
&1
7.2
Hardware layout and configuration
*3,2V
*3,2V
069
26&B
26&B
0+]
FU\VWDO
N+]
FU\VWDO
*3,2V
/('
/('
/('
6:
6:
069
UM2435 Rev 2
19/48
47
Hardware layout and configuration
UM2435
Figure 12. USB dongle board (top view)
Figure 13. USB dongle board (bottom view)
20/48
UM2435 Rev 2
UM2435
Hardware layout and configuration
Figure 14. USB dongle mechanical drawing
UM2435 Rev 2
21/48
47
UM2435
Figure 15. USB dongle schematics
3V3
SB5
Close
U1E
GND
USB_N
USB_P
PA13
PA14
SWDIO
SWCLK
GND
3V3
GND
PB6
PB7
PB8
PB9
C15
100nF
3V3
20
35
48
100nF
40
3V3
VIN
INH
VOUT
GND
C23
C24
1uF
100nF
GND
C21
100nF
BYPASS
GND
1
GND
GND
VBAT
VDDUSB
8
C27
100nF
1uF
GND
L3
FCM1608KF-601T03
GND
C26
3V3
C22
100nF
GND
U1D
VDD/VDDT
VDD
VDD
C20
5
C25
10nF
GND
3V3
SB4
Close
LD3985M33R
U3
1
3
30
STM32WBxx_QFN48
GND
GND
100nF
100nF
GND
5V_USB
PE4
C19
C16
VDDA/VREF+
VSS (ExPAD)
1
3
PB0
PB1
PB2
PB3
STM32WBxx_QFN48
49
6
4
28
29
19
43
44
45
46
47
5
6
4
USB_1
1
2
3
4
PB0
PB1
PB2
PB3-SWO
PB4
PB5
PB6
PB7
PB8
PB9
2
VBUS
DD+
GND
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13-SWDIO
PA14-SWCLK
PA15
2
5
5V_USB
U2
USBLC6-2SC6
5V_USB
CN3
9
10
11
12
13
14
15
16
17
18
36
37
38
39
41
42
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
GND
GND
GND
GND
NRST
NRST
SWDIO
PA13
PA14
SWCLK
SWO
PB3
3V3
SPI1_NSS
PB2
SPI1_SCK
PA5
SPI1_MISO
PA6
SPI1_MOSI
PA7
HEADER_1X10
Not Fitted
PB8
PB9
PA0
PA2
PA3
PB6
PA8
GND
PA1
GND
CN2
I2C1_SCL
I2C1_SDA
WKUP
LPUART1_TX
LPUART1_RX
GPIO
GPIO
GPIO
GND
ADC
HEADER_1X10
Not Fitted
100nF
C2
1
2
3
4
5
6
7
8
9
10
GND
23
VDDRF
100pF
Antenna Matching Network (connected to UFL)
C17
10pF
GND
STM32WBxx_QFN48
C18
10pF
GND
NF
PB0
PB1
C28
NF
SC4
GND
C29
NF
GND
Shield 17.2x17.2x3
GND
GND
3V3
100K
R2
4
10K
26
27
GND
3V3
1
2
3
4
AT0
AT1
AT2
AT3
CN4
BOOT0 = "1"
SB3
Open
BOOT0
R4
680
3V3
BOOT0 = "0"
(default position)
GND
D1
PB1
BOOT0
R1
7
R5
680
GND
PA10
U1B
D2
R6
680
LED RED
X2
AT0
AT1
GND
SW2
NX2012_32K768Hz
PC14-OSC32_IN
PC15-OSC32_OUT
GND
SC3
UFL
CN5
0R
L4
GND
D3
R3
1K
SW1
User PB
3V3
34
C9
4.7uF
33
10uH
GND
L2
Open
C10
SB1
GND
32
VLXSMPS
VFBSMPS
VSSSMPS
4.7uF
GND
GND
31
VDDSMPS
STM32WBxx_QFN48
Title: STM32WB55CG USB Dongle Schematic
Project: NUCLEO-WB55.USBDongle
Variant: [No Variations]
Reference: MB1293
Revision: C -01-RC1
Size: A4
Sheet: 2 of 2
Date: 26-Mar-2018
22/48
Hardware layout and configuration
PH3-BOOT0
SC2
100nF
GND
U1C
NRST
PCB Antenna
C7
1.2pF
BAT54KFILM
NRST
C12
OSC_IN
OSC_OUT
ANT
GND
GND
Murata GRM1555C1H1R2WA01D
SH1
NX2016_32MHz
2
3
GND
C8
GND
25
24
GND
Socket for Metallic Shield
D4
3.6nH
C6
NF
10nF
C3
NF
GND
Murata LQG15HS3N6S02
L1
C4
3
GND
STM32WBxx_QFN48
SC1
X1
1
C30
0.8pF
22
RF0
Dongle USB : Vout (3V3)
Module : Vin (1V8 to 3V6)
Debug : Vref for STLink
GND
L6 0R
21
RF1
Antenna Matching Network
(Compents values will be updated after evaluation)
Band Pass Filter
LFB182G45CGFD436
FLT1
50 Ohms Matching Network
(Compents values will be updated after evaluation)
U1A
2
1
2
3
4
5
6
7
8
9
10
PB0
UM2435 Rev 2
CN1
C1
2.4GHz Meander Antenna
(see AN3359 on www.st.com)
3V3
Open
LED GREEN
SB6
PA4
PB7
LED BLUE
PA9
SB2
MLL1200S_TE
Close
UM2435
Hardware layout and configuration
7.3
Getting started
7.3.1
Conventions
Table 3 provides the definition of some conventions used in this document.
Table 3. Jumper and SB ON/OFF conventions
Convention
7.3.2
Definition
Jumper JPx ON
Jumper fitted
Jumper JPx OFF
Jumper not fitted
Jumper JPx [1-2]
Jumper to be fitted between Pin 1 and Pin 2
Solder bridge SBx ON
SBx connections closed by a 0 Ω resistor
Solder bridge SBx OFF
SBx connections left open
Quick start
The pack board is a low-cost and easy-to-use development kit to quickly evaluate and start
a project based on an STM32WB microcontroller featuring a 2.4 GHz RF transceiver
supporting Bluetooth® specification v5.0 and IEEE 802.15.4-2011 PHY and MAC in a
VFQFPN68 or UFQFPN48 package.
1.
Before installing and using the product, accept the Evaluation Product License
Agreement from www.st.com/stm32nucleo.
2.
For correct identification of all device interfaces from the host PC, install the Nucleo
USB driver available on www.st.com/ stm32nucleo before connecting the board.
3.
Set correctly the jumper JP1 ([7-8] on USB STL).
4.
Plug the Nucleo USB ST-LINK connector (P2P server) and USB dongle (P2P client) to
power sources. On the P2P server, you will see a blinking LED for approximately
1 minute.
5.
Once the P2P client is powered, push the SW1 button to start scanning (it will
automatically connect to the P2P server).
6.
Once connected, the green LED blinks for each connection interval. The P2P client
searches for the P2P service, LEDs and buttons characteristics, and enables
notification.
7.
Pushing the SW1 button toggles the blue LED on the remote device.
8.
Pushing the SW2 button on the Nucleo Board changes the connection interval (50 ms,
1 s). The effect is visible directly on the green LED of the Nucleo board.
9.
The demonstration software and several software examples that make it possible to
use the STM32 Nucleo and USB dongle features are available at
www.st.com/ stm32nucleo.
10. Develop your own application using the available examples.
7.3.3
Default boards configuration
By default the board is set in SMPS mode. It is possible to set the board In LDO mode, see
Section 7.13: Jumper configuration.
UM2435 Rev 2
23/48
47
Hardware layout and configuration
UM2435
Moreover, the board embeds a level shifter, which allows the user to debug the firmware
even if the target (STM32WB55) is supplied by a low-level voltage (1.8 to 3.3 V). There is no
jumper on the USB dongle.
The default jumper configuration and the VDD = 1.8 V setting is done according to Table 3.
Table 4. Default jumper configuration
Jumper
24/48
Definition
Default position
Comment
JP1
Power selection
ON [7-8]
5 V from ST-LINK
JP2
IDD measurement
ON
VDD current measurement
JP3
IDD measurement
ON
MCU VDD current measurement
JP4
RF power
ON
Possibility of isolating RF power
JP5
Level shifter
All ON, except [1-2] that is OFF
Level shifter
JP6
VDD_IN_SMPS
ON
VDD SMPS
UM2435 Rev 2
UM2435
7.4
Hardware layout and configuration
Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated on the Nucleo board.
The new features supported on ST-LINK/V2-1 are:
•
USB software re-enumeration
•
Virtual Com port interface on USB
•
Mass storage interface on USB
•
USB power management request for more than 100 mA on USB
The following features are no longer supported on ST-LINK/V2-1:
•
SWIM interface
•
Application voltage lower than 3 V (a level shifter is needed to support it)
For all general information concerning debugging and programming features common
between V2 and V2-1 versions, refer to UM1075 “ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32”, available on www.st.com.
Nucleo-68 optional configuration for ST-LINK:
7.4.1
•
The Nucleo-68 board is divided in two parts: ST-Link part and target MCU part.
The PCB area dedicated to the first one can be cut to reduce board size. In this case
the second part can only be powered by VIN, E5V and 3.3V on ST Morpho connectors,
or VIN and 3.3V on Arduino™ connectors.
•
It is still possible to use the ST-Link part to program the main MCU using wires between
SWD connector and SWD signals available on ST Morpho connectors.
Drivers
Before connecting the Nucleo board to a Windows® PC (XP, 7, 8 or 10) via USB, a driver for
the ST-LINK/V2-1 (available on www.st.com) must be installed.
If the Nucleo board is connected to the PC before the driver is installed, some interfaces
may be declared as “unknown” in the PC device manager. In this case the user must install
the driver files, and update the driver of the connected device from the device manager.
Note:
Use preferably the “USB Composite Device” handle for a full recovery.
Figure 16. USB composite device
UM2435 Rev 2
25/48
47
Hardware layout and configuration
7.4.2
UM2435
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 life time of ST-LINK/V2-1 (for example
new functionality, bug fixes, support for new microcontroller families), it is recommended to
check for updates on www.st.com before starting to use the Nucleo-68 board.
Using the ST-LINK/V2-1 to program/debug and supply the on-board MCU
To program the on-board STM32WB55, plug in the jumper JP1[7-8] connector, as shown in
Figure 17.
Figure 17. ST-LINK debugger: JP1 configuration for on-board MCU
26/48
UM2435 Rev 2
UM2435
Hardware layout and configuration
7.5
Power supply and selection
7.5.1
External power supply input
The Nucleo-68 board is designed to be powered by several DC power supplies. It is
possible to configure it to use any of the following power supplies by setting Jumper JP1:
•
5V_ST_LINK from STLINK USB connector (this is the default configuration)
•
VIN (7 to 12 V) from Arduino™ connector or external connector CN4
•
5V_EXT from ST-Morpho connector
•
5V_USB from MCU USB (USB user)
•
CR032 battery
The power supply capabilities are summarized in Table 5.
Table 5. Power sources
Input name
Connector
5V_USB_STLINK
CN15
Voltage range
VIN
5V_EXT
CR032 battery
Limitations
Maximum current depends upon
the USB wall charger used to
power the Nucleo-68 board
4.75 to 5.25 V
5V_USB_USER
Maximum
current
500 mA
CN1
Maximum current depends upon
USB enumeration:
– 100 mA without enumeration
– 500 mA with enumeration
CN6 Pin 8
CN4 (SB24 on)
7 to 12 V
800 mA
From 7 to 12 V only
Input current capability linked to
input voltage:
– 800 mA when Vin = 7 V
– 450 mA when 7 V < Vin < 9 V
– 300 mA when 9 V < Vin < 10 V
– < 300 mA when Vin > 10 V
CN7 Pin 6
4.75 to 5.25 V
500 mA
-
SK_BT1
-
230 mAh
-
5V_USB_STLINK is a DC power with limitation from ST-LINK USB connector (USB type
microB connector of ST-LINK/V2-1).In the default setting JP1 needs to be on pin [7-8] to
select 5V_USB_STLINK power source on silkscreen of JP1. If the USB enumeration
succeeds, the 5V_ST_LINK 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 currents exceeding 750 mA.
The Nucleo board and the shield on it can be powered from ST-LINK USB connector CN15,
but only ST-LINK circuit has the power before USB enumeration, because the host PC only
provides 100 mA to the board at that time. During the USB enumeration, Nucleo board
needs 500 mA from the host PC. If the host is able to provide the required power, the
enumeration finishes by a “SetConfiguration” command and then, the power transistor
STMPS2141STR is switched ON, the red LED (LED5) is turned ON, and the Nucleo board
UM2435 Rev 2
27/48
47
Hardware layout and configuration
UM2435
and its shield can use up to 500 mA. If the host is unable to provide the requested current,
the enumeration fails. Therefore the power switch STMPS2141STR remains OFF and the
MCU is not powered. As a consequence LED5 remains turned OFF. In this case it is
mandatory to use an external power supply.
In this configuration JP1[7-8] must be connected as in Figure 18.
Figure 18. JP1[7-8]: 5V_STL power source
VIN is the 7 to 12 V DC power from ARDUINO™ CN8 pin 8 named VIN on Arduino™
connector silkscreen, or from Morpho connector CN7-24, or from external connector CN4.
In this case JP1 has to be on pin [3-4] to select VIN power source on silkscreen of JP1. The
DC power can come from the power supply through the Arduino™ UNO V3 battery shield
(compatible with Adafruit® PowerBoost 500 Shield).
28/48
UM2435 Rev 2
UM2435
Hardware layout and configuration
In this configuration JP1[3-4] must be connected as shown in Figure 19.
Figure 19. JP1[3-4]: 5V_VIN power source
•
The board can be also supplied by the USB User (5V_USB_MCU)
•
No debug is possible on this USB port
UM2435 Rev 2
29/48
47
Hardware layout and configuration
UM2435
In the 5V_USB_MCU configuration JP1 [5-6] must be connected as shown in Figure 20.
Figure 20. JP1[5-6]: 5V_USB_MCU power source
Caution:
30/48
A solder bridge (SB25) can be used (not an ST recommended setting) to bypass the USB
PWR protection STMPS2141STR. SB25 can be set only if the board is powered by USB PC
and maximum current consumption on 5V_STLINK doesn’t exceed 100 mA (including an
extension board or Arduino™ Shield). In such condition USB enumeration will always
succeed since no more than 100 mA is requested to the PC. Possible configurations of
SB25 are summarized in Table 6.
UM2435 Rev 2
UM2435
Hardware layout and configuration
Table 6. SB25 bypass USB PWR protection
Default position
OFF (not soldered)
ON (soldered)
OFF (not soldered)
ON (soldered)
Power sypply
USB PWR through CN15
VIN or E5V PWR
Allowed current
500 mA max (limited by STMPS2141STR)
500 mA max
No limitation
Forbidden configuration(1)
1. SB25 must be removed when the board is powered by 5V_EXT (CN7 pin 6) or by VIN (CN6 pin 8).
Caution:
If the maximum current consumption by the Nucleo and its extension boards exceeds
500 mA it is recommended to power the board using an external power supply connected to
E5V or VIN.
7.5.2
External power supply output
5V: when the Nucleo board is powered by USB, VIN or 5V_EXT, the 5V (CN6 pin 5 or CN7
pin 18) can be used as output power supply for an Arduino™ shield or an extension board.
In this case, the maximum current specified in Table 5 needs to be respected.
3V3 on CN6 pin 4 or CN7 pin 16 can be used as power supply output. The current is limited
by the maximum capability of the regulator U3 (LD39050PUR33 from STMicroelectronics),
that is 500 mA for the Nucleo board and its shield.
7.5.3
Internal power supply
The device allows the application to meet the tight peak current requirements imposed by
the use of standard coin cell batteries. When the high efficiency embedded SMPS
step-down converter is used, the RF front end consumption (Itmax) is reduced.
It is possible to be also in LDO mode by changing the firmware, SB31 needs to be closed.
7.6
Programing/debugging when the power supply
is not from USB ST-LINK (5V_ST_link)
VIN or 5V_EXT can be used as external power supply if the current consumption of Nucleo
and extensions boards exceeds the allowed current on USB. In this condition it is still
possible to use the USB for communication for programming or debugging only.
In this case it is mandatory to power the board first using VIN or 5V_EXT, then connecting
the USB cable to the PC. The enumeration succeeds thanks to the external power source.
The following power sequence procedure must be respected:
1.
Configure jumper JP1 to select between VIN or 5V_EXT, see Section 7.3.1
2.
Be sure that SB37 is removed
3.
Connect the external power source to VIN or E5V
4.
Power ON the external power supply 7 V < VIN < 12 V to VIN, or 5 V for 5V_EXT
5.
Check that the green LED is turned ON
6.
Connect the PC to USB connector CN15
UM2435 Rev 2
31/48
47
Hardware layout and configuration
UM2435
If this sequence is not respected, the board may be powered by VBUS first from STLINK,
with some risks:
•
If more than 500 mA are needed by the board, the PC may be damaged, or the current
can be limited by the PC: as a consequence the board will be not correctly powered.
•
500 mA is requested by enumeration (since SB37 must be OFF), this request can be
rejected and enumeration won’t succeed, consequently the board will be not powered
(LED5 remains OFF).
In some cases it can be interesting to use the 3V3 (CN6 pin 4 or CN7 pin 16) directly as
power input, for instance when the 3.3 V is provided by an extension board. When Nucleo is
powered by 3V3, the ST-LINK is not powered, thus programming and debug features are
unavailable.
7.7
7.7.1
OSC clock sources
•
LSE: 32.768 kHz external oscillator, for accurate RTC and calibration with other
embedded RC oscillators
•
HSE: high quality 32 MHz external oscillator with trimming, needed by the RF
subsystem
LSE: OSC 32 kHz clock supply
There are three ways to configure the pins corresponding to low-speed clock (LSE):
1.
LSE on-board oscillator X2 crystal (default configuration) 32.768 kHz, 7 pF, 20 ppm.
Refer to application note AN2867 “Oscillator design guide for STM8AF/AL/S and
STM32 microcontrollers”, available on www.st.com. It is recommended to use
NX2012SA manufactured by NDK.
2.
Oscillator from external to PC14 input: from external oscillator through pin 25 of CN7
connector. The following configuration is needed:
3.
7.7.2
–
SB45 and SB46 ON
–
X2, C6 and C7 removed
LSE not used: PC14 and PC15 are used as GPIOs instead of low speed clock. The
following configuration is needed:
–
SB45 and SB46 ON
–
X2, C6 and C7 removed
OSC clock supply
The HSE on board oscillator 32 MHz X1 crystal is provided for RF activities with tuning
capacitors. Refer to STM32 microcontroller datasheets, and to AN2867 for oscillator design.
It is recommended to use NX2016SA 32 MHz EXS00A-CS06654 manufactured by NDK.
SB44 and SB43 must be open.
32/48
UM2435 Rev 2
UM2435
7.8
Hardware layout and configuration
Reset sources
The reset signal of Nucleo board is active low and the reset sources include:
7.9
•
Reset button SW4
•
Embedded ST-LINK/V2-1
•
Arduino™ UNO V3 connector from CN6 pin 3
•
ST-Morpho connector CN7 pin 14
Virtual COM port: LPUART/USART
LPUART or USART interface of STM32 Microcontroller on the Nucleo-68 board can be
connected to STLINK/V2-1 MCU or on Shields on ST-Morpho connectors and Arduino™
UNO V3 connectors.
The LPUART/USART selection can be changed by setting related solder bridges.
Refer to Table 7 for the UART/LPUART connection to interfaces VCP or Arduino™ UART.
Table 7. LPUART1 and USART1 connections
SB
Features
SB15 ON
SB18 OFF
LPUART1 (PA2/PA3) connected to Arduino™ and Morpho connector
JP5[15-16] ON
JP5[13-14] ON
SB38 ON
SB39 ON
USART1 (PB6/PB7) connected to STLINK VCP
UM2435 Rev 2
33/48
47
Hardware layout and configuration
7.10
UM2435
LEDs
Three LEDs on the top side of the Nucleo board help the user during the application
development.
•
LED6 COM: LED6 is a bi-color LED, whose default status is Red, turns to Green to
indicate that communication is in progress between the PC and the ST-LINK/V2-1, as
follows:
–
Slow blinking red / OFF: at power-on, before USB initialization
–
Fast blinking red / OFF: after the first correct communication between PC and
ST-LINK/V2-1 (enumeration)
–
Red ON: when initialization between PC and ST-LINK/V2-1 is successfully
finished
–
Green ON: after successful target communication initialization
–
Blinking red / green: during communication with target
–
Green ON: communication finished and OK
–
Orange ON: communication failure
•
LED4: 5V_USB: this red LED switches ON when over-current is detected (more than
500 mA is requested) on USB VBUS. In this case it is recommended to supply the
board by E5V or VIN, or in USB_CHARGER mode.
•
LED5: 5V_PWR: this red LED indicates that MCU part is powered and 5 V power is
available.
Three user LEDs are also available, they are LED1, LED2 and LED3.
7.11
Push buttons
Four buttons are available on the Nucleo board.
7.12
•
SW1, SW2, SW3 USER: button for User and Wake-Up function is connected to the I/O
PC13 of the STM32 MCU. When the button is pressed the logic state is “1”, otherwise
the logic state is “0”. Wake-Up is available on SW1, SB48 must be ON and SB47 OFF.
•
SW4 RESET: button is connected to NRST, is used to RESET the STM32. When the
button is pressed the logic state is “0”, otherwise the logic state is “1”.
Current measurement
Jumper JP2 allows the user to measure the power consumption, by removing the jumper
and connecting an ammeter.
34/48
UM2435 Rev 2
UM2435
7.13
Hardware layout and configuration
Jumper configuration
Jumper default position are listed in Table 4. Table 8 summarizes the other settings and
configurations.
Table 8. Configuration of jumpers and solder bridges
JP1
(1-2)
JP1
(3-4)
JP1
(5-6)
STlink
(default)
Open
Open
Open Closed
STM32WB55
(user USB)
Open
Open
Supply source
USB connector
5V from Morpho shield (5V_EXT)
Closed Open
JP1
(7-8)
Closed Open
SB24
SB26
SB27
SB28
SB29
Open Closed Open
Open
Open
Open Closed Open
Open
Open
Open
Open
Open Closed Open
Open
Open
5V from Arduino™ shield (5V)
Open
Open
Open
Open
Open Closed Open
Open
Open
VIN from Arduino™ shield
Open
Closed
Open
Open
Open Closed Open
Open
Open
1.8 to 3.3 V
External power supply
5 to 7 V
on CN4
7 to 12 V
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open Closed Open
Open
Closed
Open
Open
Closed Closed Open
CR2032 battery
Open
Open
Open
Open
UM2435 Rev 2
Open
Open
Open
Closed
Open
Closed Open
Open
Open
Open Closed
35/48
47
Connectors
8
UM2435
Connectors
Eight connectors are implemented on the Nucleo board:
8.1
•
CN15: ST-LINK USB connector
•
CN5, CN6, CN8 and CN9 for Arduino™ Uno V3 connector
•
CN7 and CN10 for ST-Morpho connector
•
CN1: USB User connector.
USB ST-LINK micro-B connector CN15
The USB connector CN15 is used to connect the embedded ST-LINK/V2-1 to the PC for
programming and debugging the Nucleo microcontroller.
Figure 21. USB STLINK micro-B connector CN15 (front view)
The related pinout for USB STLINK connector is detailed in Table 9.
Table 9. USB STLINK micro-B pinout (connector CN15)
Pin number
36/48
Pin name
Signal
STM32 pin
-
Function
1
VBUS
5V_STLINK / 5V_USB_CHG
2
DM (D-)
STLINK_USB_D_N
PA11
USB differential pair M
3
DP (D+)
STLINK_USB_D_P
PA11
USB differential pair M
4
ID
-
-
-
5
GND
-
-
UM2435 Rev 2
5 V power
GND
UM2435
8.2
Connectors
Arduino™ Uno revision 3 connectors
The Arduino™ connectors CN5, CN6 CN8 and CN9 are female connectors compatible with
Arduino™ standard. Most shields designed for Arduino™ fit to the Nucleo board.
The Arduino™ connectors on the Nucleo board support the Arduino™ Uno revision 3.
Figure 22. Arduino™ connector
UM2435 Rev 2
37/48
47
Connectors
UM2435
The related pinout for Arduino™ connector is detailed in Figure 23 and Table 10.
Figure 23. Arduino™ connector pinout
Table 10. Arduino™ connectors pinout
Connector
CN6
38/48
Pin number
Pin name
Signal
STM32 pin
1
NC
-
-
Reserved for test
2
IOREF
-
-
IO reference
3
NRST
NRST
NRST
4
3V3
-
-
3V3 input/output
5
5V
-
-
5V output
6
GND
-
-
GND
7
GND
-
-
GND
8
VIN
-
-
7-12V power input
UM2435 Rev 2
Function
RESET
UM2435
Connectors
Table 10. Arduino™ connectors pinout (continued)
Connector
CN8
CN5
CN9
Pin number
Pin name
Signal
STM32 pin
1
A0
ADC
PC0
ADC1_IN1
2
A1
ADC
PC1
ADC1_IN2
3
A2
ADC
PA1
ADC1_IN5
4
A3
ADC
PA0
ADC1_IN6
5
A4
ADC
PC3
ADC1_IN4
6
A5
ADC
PC2
ADC1_IN3
10
SCL/D15
ARD_D15
PB8
I2C1_SCL
9
SDA/D14
ARD_D14
PB9
I2C1_SDA
8
AVDD
VREF+/VDDA
-
VREF+/VDDA
7
GND
-
-
GND
6
SCK/D13
ARD_D13
PA5
SPI1_SCK
5
MISO/D12
ARD_D12
PA6
SPI1_MISO
4
PWM/MOSI/D11
ARD_D11
PA7
TIM1_CH1N/SPI1_MOSI
3
PWM/CS/D10
ARD_D10
PA4/PB10
2
PWM/D9
ARD_D9
PA9
1
D8
ARD_D8
PC12
IO
8
D7
ARD_D7
PC13
IO
7
D6
ARD_D6
PA8
TIM1_CH1
6
D5
ARD_D5
PA15
TIM2_CH1
5
D4
ARD_D4
PC10
IO
4
D3
ARD_D3
PA10
TIM1_CH3
3
D2
ARD_D2
PC6
IO
2
D1
ARD_D1
PA2
LPUART1_TX
1
D0
ARD_D0
PA3
LPUART1_RX
UM2435 Rev 2
Function
TIM2_CH3 on PB10
/SPI_NSS on PA4
TIM17_CH1
39/48
47
Connectors
8.3
UM2435
ST Morpho connectors CN7 and CN10
The ST-Morpho connectors CN7 and CN10 are male pin headers accessible on both sides
of the board. All signals and power pins of the MCU are available on Morpho connectors.
These connectors can also be probed by an oscilloscope, logical analyzer or voltmeter.
Figure 24. ST-Morpho connector pinout
40/48
UM2435 Rev 2
UM2435
8.4
Connectors
Extension connectors CN1 and CN2 on USB dongle
The related pinout and the MCU assignment for the extension connectors are detailed in
Figure 25.
Figure 25. Extension connectors pinout
CN2
CN1
UM2435 Rev 2
41/48
47
Nucleo-68 and USB dongle MCU IO assignment
Appendix A
UM2435
Nucleo-68 and USB dongle MCU
IO assignment
Table 11. IO assignment
VQFPN68
UFQFPN48
Pin
number
Nucleo-68 QFN68
(MB1355C)
Pin name
(function
after reset)
Arduino™
Morpho
USB dongle QFN48
(MB1293C)
Debug
Other
functions
Extension
connectors
Debug
Other
functions
-
-
-
-
2
PC13
D7
CN10-23
-
Push
button 1
(SW1
alternate)
24
34
OSC_OUT
-
CN7-31
-
-
-
-
-
25
35
OSC_IN
-
CN7-29
-
-
-
-
-
2
3
PC14OSC32_IN
-
CN7-25
-
-
-
-
-
3
4
PC15OSC32_OUT
-
CN7-27
-
-
-
-
-
4
5 PH3-BOOT0
-
CN7-7
-
BOOT0
-
-
BOOT0
5
6
PB8
D15 (I2C1_SCL,
DGPIO)
CN10-3
-
-
CN2-1
(I2C1_SCL)
-
-
6
7
PB9
D14
(I2C1_SDA,
DGPIO)
CN10-5
-
-
CN2-2
(I2C1_SDA)
-
-
7
8
NRST
-
CN7-14
-
-
CN1-2
-
-
9
15
PA0
A3
CN7-34
-
-
CN2-3
(WKUP1)
-
-
10
16
PA1
A2
CN7-32A
-
-
CN2-10
(ADC)
-
-
11
17
PA2
D1
(LPUART1_TX,
DGPIO)
CN10-35A
-
-
CN2-4
(LPUART1_TX)
-
-
12
18
PA3
D0
(LPUART1_RX,
DGPIO)
CN10-37
-
-
CN2-5
(LPUART1_RX)
-
-
13
19
PA4
D10A
(SPI1_NSS)
CN10-17A
-
-
-
-
LED1
14
20
PA5
D13
(SPI1_SCK)
CN10-11
-
-
CN1-8
(SPI1_SCK)
-
-
42/48
UM2435 Rev 2
UM2435
Nucleo-68 and USB dongle MCU IO assignment
Table 11. IO assignment (continued)
Pin
number
Nucleo-68 QFN68
(MB1355C)
UFQFPN48
VQFPN68
Pin name
(function
after reset)
USB dongle QFN48
(MB1293C)
15
21
PA6
D12
(SPI1_MISO)
CN10-13
-
-
CN1-9
(SPI1_MISO)
-
-
16
22
PA7
D11
(SPI1_MOSI,
PWM)
CN10-15A
-
-
CN1-10
(SPI1_MOSI)
-
-
17
23
PA8
D6 (PWM)
CN10-25
-
-
CN2-8 (GPIO)
-
-
18
24
PA9
D9 (PWM)
CN10-19
CN10-26B
-
-
-
-
-
-
25
PC4
-
CN10-1
-
Push
button 1
(SW1)
-
-
-
-
26
PC5
-
CN7-3
-
-
-
-
-
19
27
PB2
-
CN7-2
-
-
CN1-7
(SPI1_NSS)
-
-
-
28
PB10
D10B (PWM)
CN10-17B
-
-
CN2-7
-
Push
botton 1
(SW1)
-
29
PB11
-
CN7-1
-
-
-
-
-
28
38
PB0
-
CN10-22
-
LED2
(GREEN)
-
-
LED2
29
39
PB1
-
CN10-24
-
LED3
(RED)
-
-
LED3
30
40
PE4
-
CN7-4
-
-
-
-
-
-
46
PB12
-
CN10-16
-
-
-
-
-
-
47
PB13
-
CN10-30A
-
-
-
-
-
-
48
PB14
-
CN10-28
-
-
-
-
-
-
49
PB15
-
CN10-26A
-
-
-
-
-
-
50
PC6
D2
CN10-33
-
-
-
-
-
-
51
PA10
D3 (PWM)
CN10-31
CN10-15B
-
-
-
-
-
37
52
PA11
-
CN10-14
-
USB_DM
USB_DM
-
-
38
53
PA12
-
CN10-12
-
USB_DP
USB_DP
-
-
39
54
PA13
-
CN7-13
SWDIO
-
CN1-3
SWDIO
-
Arduino™
Morpho
Debug
Other
functions
Extension
connectors
Debug
Other
functions
UM2435 Rev 2
43/48
47
Nucleo-68 and USB dongle MCU IO assignment
UM2435
Table 11. IO assignment (continued)
Pin
number
Nucleo-68 QFN68
(MB1355C)
UFQFPN48
VQFPN68
Pin name
(function
after reset)
USB dongle QFN48
(MB1293C)
41
56
PA14
-
CN7-15
SWCLK
-
CN1-4
SWCLK
-
42
57
PA15
D5 (PWM)
CN10-27
-
-
-
-
-
-
58
PC10
D4
CN10-29
-
-
-
-
-
-
59
PC11
-
CN10-35B
-
-
-
-
-
-
60
PC12
D8
CN10-21
-
-
-
-
-
-
61
PD0
-
CN10-36
-
Push
button 2
(SW2)
-
-
-
-
62
PD1
-
CN10-38
-
Push
button 3
(SW3)
-
-
-
43
63
PB3
-
CN10-30B
SWO
-
CN1-5
SWO
-
44
64
PB4
-
CN10-4
-
-
-
-
-
45
65
PB5
-
CN10-26C
-
LED1
(BLUE)
-
-
-
46
66
PB6
-
CN10-34
CN7-32B
STLK_RX
CN2-6 (GPIO)
-
-
47
67
PB7
-
CN10-6
STLK_TX
CN2-7 (GPIO)
-
-
44/48
Arduino™
Morpho
Debug
Other
functions
Extension
connectors
Debug
Other
functions
UM2435 Rev 2
UM2435Federal Communications Commission (FCC) and Industry Canada (IC) compliance state-
9
Federal Communications Commission (FCC) and
Industry Canada (IC) compliance statements
9.1
FCC compliance statement
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.
Please take attention that changes or modification not expressly approved by the party
responsible for compliance could void the user’s authority to operate the equipment.
Note:
This product has been tested and found to comply with the limits for a Class B digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable
protection against harmful interference in a residential installation. This product generates,
uses, and can radiate radio frequency energy and, if not installed and used in accordance
with the instructions, may cause harmful interference to radio communications. However,
there is no guarantee that interference will not occur in a particular installation. If this product
does cause harmful interference to radio or television reception, which can be determined
by turning the equipment off and on, the user is encouraged to try to correct the interference
by one or more of the following measures:
•
•
•
Reorient or relocate the receiving antenna.
•
Consult the dealer or an experienced radio/TV technician for help.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
This equipment complies with FCC/IC RSS-102 radiation exposure limits set forth for an
uncontrolled environment. This equipment should be installed and operated with minimum
distance 20 cm between the radiator and your body.
9.2
IC compliance statement
This device complies with Industry Canada licence-exempt RSS standard(s). Operation is
subject to the following two conditions:
1.
this device may not cause interference, and
2.
this device must accept any interference, including interference that may cause
undesired operation of the device.
Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils
radioexempts de licence. L'exploitation est autorisée aux deux conditions suivantes :
1.
l'appareil ne doit pas produire de brouillage, et
2.
l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le
brouillage est susceptible d'en compromettre le fonctionnement.
Under Industry Canada regulations, this radio transmitter may only operate using an
antenna of a type and maximum (or lesser) gain approved for the transmitter by Industry
Canada. To reduce potential radio interference to other users, the antenna type and its gain
UM2435 Rev 2
45/48
47
Federal Communications Commission (FCC) and Industry Canada (IC) compliance statements
should be so chosen that the equivalent isotropically radiated power (e.i.r.p.) is not more
than that necessary for successful communication.
Conformément à la réglementation d'Industrie Canada, le présent émetteur radio peut
fonctionner avec une antenne d'un type et d'un gain maximal (ou inférieur) approuvé pour
l'émetteur par Industrie Canada. Dans le but de réduire les risques de brouillage
radioélectrique à l'intention des autres utilisateurs, il faut choisir le type d'antenne et son
gain de sorte que la puissance isotrope rayonnée équivalente (p.i.r.e.) ne dépasse pas
l'intensité nécessaire à l'établissement d'une communication satisfaisante.
This equipment complies with FCC/IC RSS-102 radiation exposure limits set forth for an
uncontrolled environment. This equipment should be installed and operated with minimum
distance 20 cm between the radiator & your body.
Ce matériel est conforme aux limites de dose d'exposition aux rayonnements,
FCC / CNR-102 énoncée dans un autre environnement.cette equipment devrait être installé
et exploité avec distance minimale de 20 cm entre le radiateur et votre corps.
46/48
UM2435 Rev 2
UM2435
10
Revision history
Revision history
Table 12. Document revision history
Date
Revision
Changes
28-Sep-2018
1
Initial release.
01-Apr-2019
2
Added.Section 9: Federal Communications Commission (FCC) and
Industry Canada (IC) compliance statements and its subsections.
Minor text edits across the whole document.
UM2435 Rev 2
47/48
47
UM2435
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.
© 2019 STMicroelectronics – All rights reserved
48/48
UM2435 Rev 2
Download