UM0894
User manual
STM32W-SK and STM32W-EXT starter and extension kits
for STM32W108xx microcontrollers
Introduction
The STM32W-SK and STM32W-EXT starter and extension kits are easy to use tools for the
STM32W108xx microcontrollers. This family of microcontrollers integrates a 32-bit ARM®
Cortex™-M3 microprocessor and a 2.4 GHz, IEEE 802.15.4-compliant transceiver. The kits
demonstrate how effectively the STM32W108xx can be used in real IEEE 802.15.4
applications. They are suitable for different types of wireless network scenarios such as:
●
●
Remote control and target networks (based on the ZigBee RF4CE protocol stack) used
for driving consumer devices such as TVs, set-top boxes, etc.
Point to point networks (based on a Simplified MAC library) used to address a basic
IEEE 802.15.4 communication. This configuration enables customers to develop any
protocol stack of their choice.
The STM32W108xx kits provide demonstration applications and documentation which serve
as a reference for creating your own applications and re-programming the STM32W108xx
microcontroller. You can run the STM32W108xx kits in several ways (remote control/target
and point-to-point applications), using the dedicated software libraries (ZigBee RF4CE, and
Simplified MAC), as well as a third-party IDE and C compiler (IAR).
Moreover, the STM32W108xx kits provide a set of APIs which allow you to use the kit
platform capabilities such as LEDs and serial communication channels (virtual COM
through USB).
In this manual, you can find information about:
●
●
The STM32W108xx kits components
How to install the related hardware and software trees
Note:
1
2
The term “application board” refers to the MB851 and MB954 platforms.
For more information, visit the STM32W 32-bit RF microcontroller webpages at
www.st.com/stm32w.
This web page provides full access to all the STM32W108xx resources (kits, software
packages and documents).
Table 1
lists the evaluation tools concerned by this user manual.
Table 1.
Applicable tools
Type
Evaluation tools
Applicable tools
STM32W-SK and STM32W-EXT starter and extension kits
August 2012
Doc ID 16999 Rev 6
1/45
www.st.com
Contents
UM0894
Contents
1
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1
1.2
1.3
Kit description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1.1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Revision numbers of STM32W108xx starter and extension kit boards . . . 8
MB850 hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
MB850 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
MB850 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB850 connectors: JP1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB850 connectors: JP2 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB850 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MB850 PC interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MB850 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.4
MB951 hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
MB951 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MB951 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
MB951 jumpers configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MB951 PC Interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MB951 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.5
MB851 hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
MB851 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MB851 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
MB851 connectors: P1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
MB851 connectors: P4 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
MB851 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB851 PC interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB851 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.6
MB954 hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
MB954 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB954 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MB954 connectors: P1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MB954 connectors: P4 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
MB954 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MB954 PC interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MB954 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Doc ID 16999 Rev 6
2/45
UM0894
Contents
1.7
1.8
1.9
1.10
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Software libraries and demonstration applications . . . . . . . . . . . . . . . . . . 18
Kit set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.10.1
1.10.2
1.10.3
Powering on the boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installing drivers for USB virtual COM . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Setting up the application serial communication channel . . . . . . . . . . . 19
2
Running the STM32W108xx kits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.1
2.2
Installing the STM32W108xx kit software tree . . . . . . . . . . . . . . . . . . . . . 20
Remote control and virtual TV (based on RF4CE library) . . . . . . . . . . . . 20
2.2.1
2.2.2
2.2.3
Run the remote control (RC) and virtual TV applications . . . . . . . . . . . 21
Use the remote control (RC) and virtual TV applications . . . . . . . . . . . . 22
Use the virtual remote control (RC) and virtual TV applications . . . . . . 22
2.3
Basic star network (based on SimpleMAC library) . . . . . . . . . . . . . . . . . . 23
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
Run preloaded sample appl. on STM32-Primer2, MB850 platforms
(only for STM32W108B-SK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Run the sample planet application on the application board . . . . . . . . . 24
Set up a star network using STM32-Primer2, MB850 platforms . . . . . . 24
SimpleMAC Sun PC applet (based on SimpleMAC library) . . . . . . . . . . 25
Run the SimpleMAC Sun PC applet . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Build, download and run the sample planet application on
the application board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Set up a star network using SimpleMAC Sun PC applet . . . . . . . . . . . . 28
3
STM32W108xx kits utilities and software tools . . . . . . . . . . . . . . . . . . 30
3.1
3.2
3.3
stm32w_flasher utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Network analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.2.1
Perytons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
IAR Embedded Workbench® for ARM . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4
5
6
List of acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Available board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Doc ID 16999 Rev 6
3/45
List of tables
UM0894
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.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Applicable products and tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Boards revision numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
MB850 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB850 connectors: JP1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB850 connectors: JP2 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MB951 board resources to develop applications and connection . . . . . . . . . . . . . . . . . . . 10
MB951 board connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
PC interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MB851 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MB851 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
MB851 connectors: P1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
MB851 connectors: P4 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
MB851 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB851 PC Interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB851 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB954 resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MB954 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MB954 connectors: P1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MB954 connectors: P4 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
MB954 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MB954 PC interface chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MB954 battery holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Definition of LCD screen symbols (SimpleMAC sample application) . . . . . . . . . . . . . . . . . 25
SimpleMAC Sun PC applet command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
List of acronyms used in the document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4/45
Doc ID 16999 Rev 6
UM0894
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.
Figure 26.
Figure 27.
Figure 28.
STM32W108B-SK starter kit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
STM32W108C-SK starter kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
MB851 application board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
MB954 application board with a power amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
RF4CETV PC applet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
RF4CE RC application driving the ST Virtual TV PC applet . . . . . . . . . . . . . . . . . . . . . . . . 22
RF4CERC PC applet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
STM32-Primer2 sun node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Planet device joined to the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Planet sends data to the sun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Sun node with 5 planets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Network down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SimpleMAC Sun PC applet flash image check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SimpleMAC Sun node forming an IEEE 802.15.4 network. . . . . . . . . . . . . . . . . . . . . . . . . 27
Planet device joined to the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Planet sends data to the sun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Sun node with 5 planets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
MB850 rev. A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
MB851 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
MB851 rev. A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
MB851 rev. B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
MB851 rev. C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
MB851 rev. D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
MB954 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
MB954 rev. A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
MB954 rev. B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
MB954 rev. C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
MB951 rev. B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Doc ID 16999 Rev 6
5/45