ST STM32W-EXT Скачать руководство пользователя страница 1

May 2012

Doc ID 16999 Rev 5

1/37

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 HAL 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, software and documentation trees

How to run the preprogrammed demonstration applications.

Note:

1

The term “application board” refers to the MB851 and MB954 platforms.

2

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 microcontrollers and evaluation tools concerned by this user manual.

         

Table 1.

Applicable products and tools

Type

Applicable products

Microcontrollers

STM32W High-performance, IEEE 802.15.4 wireless systems-on-chip with 
embedded Flash memory

Evaluation tools

STM32W-SK and STM32W-EXT starter and extension kits

www.st.com

www.BDTIC.com/ST

Содержание STM32W-EXT

Страница 1: ...he 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 HAL APIs which allow you to use the kit platform capabilities such as LEDs and serial communication ...

Страница 2: ...ors 9 1 3 3 MB851 connectors P1 pins 10 1 3 4 MB851 connectors P4 pins 11 1 3 5 MB851 jumper configuration 11 1 3 6 MB851 PC interface chip 12 1 3 7 MB851 battery holder 12 1 4 MB954 hardware description 12 1 4 1 MB954 resources 12 1 4 2 MB954 connectors 13 1 4 3 MB954 connectors P1 pins 13 1 4 4 MB954 connectors P4 pins 14 1 4 5 MB954 jumper configuration 14 1 4 6 MB954 PC interface chip 15 1 4 7...

Страница 3: ...emote control RC and virtual TV applications 20 2 3 Basic star network based on Simple MAC library 20 2 3 1 Run preloaded sample appl on STM32 Primer2 MB850 platforms 20 2 3 2 Run the prebuilt sample planet application on the application board 21 2 3 3 Set up a star network 21 3 STM32W108xx kits utilities and software tools 23 3 1 stm32w_flasher utility 23 3 2 Network analyzer 23 3 2 1 Perytons 23...

Страница 4: ... Table 9 MB851 jumper configuration 11 Table 10 MB851 PC Interface chip 12 Table 11 MB851 battery holder 12 Table 12 MB954 resources 12 Table 13 MB954 connectors 13 Table 14 MB954 connectors P1 pins 13 Table 15 MB954 connectors P4 pins 14 Table 16 MB954 jumper configuration 14 Table 17 MB954 PC interface chip 15 Table 18 MB954 battery holder 15 Table 19 Definition of LCD screen symbols Simple MAC ...

Страница 5: ...l TV PC applet 20 Figure 6 STM32 Primer2 sun node 20 Figure 7 Planet device joined to the network 21 Figure 8 Planet sends data to the sun 21 Figure 9 Sun node with 5 planets 22 Figure 10 Network down 22 Figure 11 MB850 Rev A 26 Figure 12 MB851 module 27 Figure 13 MB851 Rev A 28 Figure 14 MB851 Rev B 29 Figure 15 MB851 Rev C 30 Figure 16 MB851 Rev D 31 Figure 17 MB954 module 32 Figure 18 MB954 Rev...

Страница 6: ...lete and replaced by STM32W108C KEXT 1 1 Kit description 1 1 1 Hardware STM32W SK The STM32W108xx starter kit package contains the following hardware components Two STM32W108 application boards MB851 One STM32W108 extension board MB850 One Raisonance STM32 Primer2 tool STM3210E PRIMER One J Link Lite JTAG Flash programmer and debugger One mini USB cable Four AAA batteries Figure 1 STM32W SK starte...

Страница 7: ...08xx application boards refer to the documentation with each available software and documentation tree installer file see Section 1 7 Software libraries and demonstration applications 1 2 MB850 hardware description 1 2 1 MB850 resources None 1 2 2 MB850 connectors The following table lists the connectors available in the MB850 board and their functions Figure 2 MB851 application board Figure 3 MB9...

Страница 8: ...figuration None Table 3 MB850 connectors JP1 pins Pin number GPIO Function 1 2V8 2 GND 3 PC0 JRST 4 SWCLK JTCK 5 PC4 SWDIO JTMS 6 nRST Table 4 MB850 connectors JP2 pins Pin number GPIO Function 1 2V8 2 GND 3 NC 4 NC 5 PA0 6 PA1 7 PA2 8 PA3 9 NC 10 NC 11 nRST 12 PA5 13 NC 14 PB4 15 PB3 16 PB2 17 NC 18 PB1 19 NC 20 GND www BDTIC com ST ...

Страница 9: ...ts the connectors available in the MB851 board and their functions Table 5 MB851 resources Type Label Part Rev A Rev B Rev C D STM32W108 pin Button RST1 Button S1 PA7 PA7 PB3 I C EEPROM U4 M24C64MW1 128 KBytes NA NA PA1 PA2 LED D1 PB6 PB6 PA5 LED D3 PB5 PB5 PA0 LED D5 Infrared LED PB4 PB4 PB4 Mems U2 LIS302 PA1 PA2 PA1 PA2 PA1 PA2 Temperature sensor U3 STLM20 PB7 PB7 PA4 Table 6 MB851 connectors T...

Страница 10: ...P1 pins Table 7 MB851 connectors P1 pins Pin number GPIO function 1 VBRD 2 PC5 3 nRST 4 PA7 5 PB3 6 PB4 7 PA0 8 PA1 9 PA2 10 PA4 11 PA3 12 PA6 13 PA5 14 GND 15 PB1 16 PB2 17 JTCK 18 PC2 19 PC3 20 PC4 21 GND 22 GND 23 PB0 24 PC1 25 PC0 26 PB7 27 PB6 28 PB5 www BDTIC com ST ...

Страница 11: ...ard Table 8 MB851 connectors P4 pins Pin number GPIO function 1 VBRD 2 VBRD 3 PC0 4 GND 5 PC3 6 GND 7 PC4 8 GND 9 JTCK 10 GND 11 GND 12 GND 13 PC2 14 GND 15 nRST 16 GND 17 GND 18 GND 19 VJTAG 20 GND Table 9 MB851 jumper configuration Label Configuration JP1 Power Mems temperature sensor and infrared LED P2 1 2 battery powered 2 3 reserved 3 4 USB or JTAG powered www BDTIC com ST ...

Страница 12: ...o develop applications and their connection with STM32W108 pins Table 10 MB851 PC Interface chip Revision Type Part Rev A PC I O FTDI FT232R Rev B PC I O FTDI FT232R Rev C D PC I O STM32F103TBU6 Table 11 MB851 battery holder Type Label 2x AAA battery holder BT1 Table 12 MB954 resources Type Label Part Rev A Rev B C GPIO GPIO Button RST1 Button S1 PB3 PB3 I C EEPROM U4 M24C64MW1 128 KBytes Not fitt...

Страница 13: ...13 MB954 connectors Type Label Function Mini USB J2 PC I O Header 14 pin dual row male P1 GPIO access Debug connector P4 Standard JTAG debug Table 14 MB954 connectors P1 pins Name GPIO function 1 VBRD 2 PC5 3 nRST 4 PA7 5 PB3 6 PB4 7 PA0 8 PA1 9 PA2 10 PA4 11 PA3 12 PA6 13 PA5 14 GND 15 PB1 16 PB2 17 JTCK 18 PC2 19 PC3 20 PC4 21 GND 22 GND 23 PB0 24 PC1 25 PC0 26 PB7 27 PB6 28 PB5 www BDTIC com ST...

Страница 14: ...board Table 15 MB954 connectors P4 pins Name GPIO function 1 VBRD 2 VBRD 3 PC0 4 GND 5 PC3 6 GND 7 PC4 8 GND 9 JTCK 10 GND 11 GND 12 GND 13 PC2 14 GND 15 nRST 16 GND 17 GND 18 GND 19 VJTAG 20 GND Table 16 MB954 jumper configuration Label Configuration JP1 Power Mems temperature sensor and infrared LED P2 1 2 battery powered 2 3 reserved 3 4 USB or JTAG powered www BDTIC com ST ...

Страница 15: ...e RaisonanceTM Development Suite for the STM32 Primer2 STM32W EXT No CDs are delivered with the extension kit package 1 6 Documentation The starter kit package STM32W SK contains the following documentation components STM32W108 starter kit welcome letter which briefly describes the kits targets and components Raisonance STM32 Primer2 welcome letter The extension kit package STM32W EXT contains an ...

Страница 16: ... on the boards Each application board can be powered as follows Via batteries fit 1 2 on the P2 jumper Via USB or JTAG fit 5 6 on the P2 jumper Note 1 The jumper position 3 4 is reserved for internal usage 2 To enable the application board temperature MEMS and infrared sensors fit jumper JP1 The MB850 extension board is designed as an IEEE 802 15 4 application specific daughterboard It must be con...

Страница 17: ...pplication board jumper P2 on position 5 6 power via USB 2 Connect a mini USB cable to the application board mini USB connector and to a PC USB port 3 Right click on My Computer select Manage Device Manager and open Ports COM LPT to display the related USB COMx port 4 Open a hyper terminal on the corresponding USB virtual COMx port with the following configuration Bit rate 115200 Data bits 8 Parit...

Страница 18: ...ree download the related installer file from the STM32W 32 bit RF MCUs Internet web pages Then start the installation process on your destination folder 2 2 Remote control and virtual TV based on RF4CE library This section shows how to control a ZigBee RF4CE compliant TV target using an RF4CE compliant remote control The demonstration application is run using the STM32 Primer2 and MB850 as a remot...

Страница 19: ...ws Device Manager 5 From Windows launch the RF4CETV exe PC applet A PC applet GUI appears 6 Select the serial port matching the port assigned by the Windows Device Manager If the firmware on the application board is not present the application uploads the firmware through the serial port Wait until LED D1 is on 7 Push the button to start pairing with the RF4CE remote control LED D1 starts blinking...

Страница 20: ...ctively sun and planet 2 3 1 Run preloaded sample appl on STM32 Primer2 MB850 platforms The STM32 Primer2 tool provided with the STM32W SK starter kit is delivered with a sample application sun image This application automatically configures the connected MB850 extension board with the related sample application To run the sample application on the STM32 Primer2 MB850 platforms follow these steps ...

Страница 21: ...w_flasher utility with the prebuilt sample_planet s37 binary file Refer to Section 3 1 stm32w_flasher utility for more details 2 3 3 Set up a star network On the planet node press button S1 to join the network formed by the STM32 Primer2 sun node Once joined the planet LED D3 turns on and the planet node is displayed on the STM32 Primer2 s LCD as a green box with the related 2 byte short address u...

Страница 22: ...ociated events Note For further information about the Simple MAC sample application refer to the installer file documentation in particular STM32W108xx Simple MAC user manual UM0893 Table 19 Definition of LCD screen symbols Simple MAC sample application Symbol Associated event Blue line connecting planet to sun Planet sends data to the sun see Figure 8 D Network down see Figure 10 www BDTIC com ST...

Страница 23: ...wnloaded Note You can also use the stm32w_flasher utility through the JTAG programmer 1 Fit the application board jumper P2 on position 5 6 power via JTAG 2 Plug the JTAG programmer to a PC USB port and to the board JTAG connector P4 3 Open a DOS Window on your PC 4 Go to the folder where the stm32w_flasher is located tool or utility folder 5 Type the following command stm32w_flasher f file_name b...

Страница 24: ...ct menu select Rebuild All A binary file is built under the project folder specified in Project Options General Options Category Output menu Executables libraries item To download the built binary image on the application board follow these steps 1 Connect the JTAG Flash programmer to the application board P4 connector and to a PC USB port through a USB cable 2 Power the application board through ...

Страница 25: ...in the document Term Meaning API Application programming interfaces CERC Consumer electronic remote control GA General availability HAL Hardware abstraction layer MAC Medium access control PA Power amplifier RC Remote control RF Radio frequency communication USB Universal serial bus www BDTIC com ST ...

Страница 26: ...D C2 10uF GPIO01 2V8 GPIO10 GPIO09 GPIO16 SWDIO nRST GPIO11 GPIO12 GPIO00 1 2 3 4 5 6 JP1 Header 6H nRST GPIO05 GND GND PA0 12 PB1 20 PB2 21 SWCLK 22 PC2 23 PC3 24 GND 25 GND 28 PC1 29 PC0 30 PB7 31 PB6 32 PB5 33 GND 34 PC4 26 PB0 27 GND 1 GND 2 VCC 3 VCC 4 nRST 5 PC5 6 PC6 7 PC7 8 PA7 9 PB3 10 PB4 11 PA1 13 GND 14 PA2 15 PA3 16 PA4 17 PA5 18 PA6 19 GND 35 ANT 36 GND 37 ZG1 ZIG MOD V1 2V8 nRST www...

Страница 27: ...V2 1V2 C4 G ND C2 G ND C1 G ND R6 10 K R1 10 R C22 G ND C16 10nF G ND R5 1R C19 2 2uF G ND 1V8 GPIO14 GPIO15 GPIO12 GPIO17 GPIO13 GPIO16 G PIO 10 GPIO11 GPIO07 G PIO 08 GPIO00 G PIO 04 GPIO01 G PIO 05 GPIO02 G PIO 03 G PIO 06 G PIO 09 G PIO 20 G PIO 18 nR ST JTCK G PIO 19 VBRD G PIO 21 GPIO22 C18 G ND C17 100nF G ND C11 G ND C7 G ND 1 PA6 1 PB2 1 PC2 1 PC4 1 PA4 1 PB0 1 PC3 1 SW CLK 1 PB1 1 PA5 1 ...

Страница 28: ...GND GPIO10 GPIO09 GPIO21 C34 100nF GND R15 1k R16 1k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P1 Hea der 14 X2 GPIO05 D5 R9 10R GPIO12 R10 1k GND R11 10k VJTAG Byp 3 Vout 4 Vin 5 Shdn 1 GND 2 U3 D6 DIODE D7 R3 10 K R17 10K JTCK nRST GPIO18 GPIO19 GPIO16 GPIO20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P4 4 20 16 15 NC 8 RESE T 19 NC 24 27 AGND 25 GND 18 G...

Страница 29: ... nRST nRST GPIO18 GPIO19 GPIO16 GPIO20 VBATAAA 1 2 AAA BT1 AAA SCK1 VBRD Vbus 1 D 2 D 3 ID 4 GND 5 6 J2 USB_MINIB GND C36 100nF GND 1 2 3 4 5 6 P2 Header 3X2 VISA VISA VBRD VBRD VBRD C33 4 7uF C32 100nF C31 100nF GND GND GND GND VUSB VUSB GND GPIO10 GPIO09 GPIO21 C34 100nF GND R15 1k R16 1k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P1 Header 14X2 GPIO05 D5 TSHF5210...

Страница 30: ... 26 27 28 P1 Header 14X2 GPIO05 D5 TSHF5210 R9 10R GPIO12 Q1 BC846W R10 1k GND R11 10k VJTAG Byp 3 Vout 4 Vin 5 Shdn 1 GND 2 U3 LK112M33TR VBRD GPIO22 GPIO23 D6 DIODE D7 DIODE R3 10K R17 10K JTCK nRST GPIO18 GPIO19 GPIO16 GPIO20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P4 Header 10X2 VBRD R14 10k Q2 BC846W Q3 BC846W R13 0R R18 NC GND GND GND GND PA2 UART2TX 9 Vss1 18 PA8 20 PA9 UART1TX 2...

Страница 31: ...28 P1 Header 14X2 GPIO05 D5 TS HF5210 R9 10R GPIO12 Q1 BC846W R10 1k GND R11 10k VJTAG Byp 3 Vout 4 Vin 5 S hdn 1 GND 2 U3 LK112M33TR VBRD GPIO22 GPIO23 D6 DIODE D7 DIODE R3 10K R17 10K JTCK nRST GPIO18 GPIO19 GPIO16 GPIO20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P4 Header 10X2 VBRD R14 10k Q2 BC846W Q3 BC846W R13 0R R18 NC GND GND GND GND PA2 UART2TX 9 Vss1 18 PA8 20 PA9 UART1TX 21 PA1...

Страница 32: ...17 GPIO13 GPIO16 GPIO10 GPIO11 GPIO07 GPIO08 GPIO00 GPIO04 GPIO01 GPIO05 GPIO02 GPIO03 GPIO06 GPIO09 GPIO20 GPIO18 nRST JTCK GPIO19 VBRD VBRD GPIO21 GPIO22 C18 100nF GND C17 100nF GND C11 100nF GND C7 100nF GND 1 PA6 1 PB2 1 PC2 1 PC4 1 PA4 1 PB0 1 PC3 1 SWCLK 1 PB1 1 PA5 1 PA3 1 PB6 1 PC0 1 PC1 1 PB7 1 PA7 1 PB4 1 PA1 1 PA2 1 PB3 1 PA0 1 GND 1 GND 1 GND 1 GND 1 VCC GND VBRD 1 nRST E1 AN0835 L1 7n...

Страница 33: ... D 2 D 3 ID 4 GND 5 6 J2 USB_MINIB GND C36 100nF GND 1 2 3 4 5 6 P2 Header 3X2 VISA VBRD VBRD VBRD C33 4 7uF C32 100nF C31 100nF GND GND GND GND VUSB VUSB GND GPIO10 GPIO09 GPIO21 C34 100nF GND R15 1k R16 1k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P1 Header 14X2 GPIO05 D5 TSHF5210 R9 10R GPIO12 Q1 BC846W R10 1k GND R11 10k VJTAG VBRD GPIO22 GPIO23 D6 DIODE D7 DIO...

Страница 34: ... 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P1 Header 14X2 D5 TSHF5210 R9 10R GPIO12 Q1 BC846W R10 1k GND R11 10k VJTAG VBRD GPIO22 GPIO23 D6 DIODE D7 DIODE R18 10K R17 10K JTCK nRST GPIO18 GPIO19 GPIO16 GPIO20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P4 Header 10X2 VBRD R13 0R R19 NC GND R20 4k7 R21 4k7 E0 1 E1 2 E2 3 GND 4 SDA 5 SCL 6 WC 7 VCC 8 U4 M24C64MW1 1 0 O I P G 2 0 O I...

Страница 35: ...4 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P1 Header 14X2 D5 TS HF5210 R9 10R GPIO12 Q1 BC846W R10 1k GND R11 10k VJTAG VBRD GPIO22 GPIO23 D6 DIODE D7 DIODE R18 10K R17 10K JTCK nRST GPIO18 GPIO19 GPIO16 GPIO20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P4 Header 10X2 VBRD R13 0R R19 NC GND R20 4k7 R21 4k7 E0 1 E1 2 E2 3 GND 4 S DA 5 S CL 6 WC 7 VCC 8 U4 M24C64MW1 GPIO02 GPIO01 GND GND Vi...

Страница 36: ...4 08 Feb 2011 3 Added reference to MB954 application board with power amplifier PA delivered with latest generation of the STM32W108xx extension kit 21 Jun 2011 4 Added Section 5 Available board schematics Changed Figure 2 MB851 application board and Figure 3 MB954 application board with a power amplifier Added Section 1 2 MB850 hardware description Added Section 1 3 MB851 hardware description Add...

Страница 37: ... OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR...

Отзывы: