ST STEVAL-IFS013V2 Скачать руководство пользователя страница 11

UM0602

Software equipment of the evaluation kit

Doc ID 15114 Rev 2

11/18

4.3.4 

Notes and limitations

This application defaults to using a fixed set of network parameters, with a default 
channel setting of 26. 
(Remove the #define USE_HARDCODED_NETWORK_SETTINGS line in the 
common.h header file to allow the application to dynamically select its network 
parameters.)

Although the example portrays a single sink node that acts as a ZigBee coordinator, the 
application could be easily adapted to allow a variant of the sink node that joins the 
network as an ordinary ZigBee router so that multiple sinks can be supported.

This application uses a “push” style of communication, where the sensor sends reports 
to the sink without needing to be asked for this data. This is more efficient than a “pull” 
model, where a device only transmits data when asked to do so by another device, 
because it cuts the amount of traffic in half, thereby reducing the number of collisions 
and routing burden in the network.

The data reports used in this example are fixed size packets (of a size defined by 
SEND_DATA_SIZE). The data contents are simply a 16-bit actual temperature value, 
measured at the sensor side.

The application uses a constant called MISS_PACKET_TOLERANCE as a threshold 
for fault tolerance. On the sensor, this controls how many message timeouts can be 
permitted between the sensor and sink before the sensor decides to attach itself to 
a different sink. For a sink, this controls how many data reports can be missed from 
a sensor before the sink “forgets” about the sensor (stops maintaining a record of its 
attachment). Although bindings are kept on the sink node to track the attached sensors, 
these could easily be made temporary (used only for the SINK_READY message) to 
allow the sink application to support more nodes without enlarging the binding table, 
assuming that the sink application does not care which sensors and how many sensors 
are attached to it.

The sensor advertisement is a broadcast. The behavior of such a broadcast in the 
network depends on the network topology and density. ZigBee limits the number of 
broadcasts that can be active in a network to 10 to minimize the network disruption and 
loss of bandwidth. As this network increases in size or density, the rate of the sensor 
advertisement should be reduced in frequency.

Содержание STEVAL-IFS013V2

Страница 1: ...s of remote monitoring and control and sensory network applications Enables broad based deployment of wireless mesh networks with low cost low power solutions Provides the ability to run for years on...

Страница 2: ...r supply 8 3 4 2 STM32 JTAG interface 8 3 4 3 SPZB260 PRO debug and programming interface SIF 8 4 Software equipment of the evaluation kit 9 4 1 Design firmware update 9 4 2 Virtual COM port 9 4 3 Sen...

Страница 3: ...0602 List of tables Doc ID 15114 Rev 2 3 18 List of tables Table 1 Serial commands supported on sensor and sink 10 Table 2 Serial commands supported on sink only 10 Table 3 Document revision history 1...

Страница 4: ...ngle based on STM32 and SPZB260 PRO 7 Figure 3 Control of sensor sink demonstration application through Windows HyperTerminal 12 Figure 4 Windows HyperTerminal serial port settings 13 Figure 5 Evaluat...

Страница 5: ...ontrolled by means of a standard serial interface SPI allowing the connections to a variety of host microcontrollers The medium density devices STM32F103xx performance line family incorporates the hig...

Страница 6: ...usands reprogramming cycles The STM32F103CBT6 is delivered already programmed with the evaluation firmware 3 2 2 Software content STM32 design firmware update DFU firmware STM32 DFU application for Zi...

Страница 7: ...igure 1 Device manager window 3 4 Hardware installation Figure 2 shows the location of the main components of the evaluation board The schematic drawing is given in Figure 5 and Figure 6 Figure 2 USB...

Страница 8: ...MCUs and the Programming manual PM0042 STM32F10xxx Flash programming available online from www st com mcu Note The USB cable must be plugged in to supply the board with voltage 3 4 3 SPZB260 PRO debug...

Страница 9: ...gBee dongle evaluation kit is DFU used to program the internal Flash memory Refer to the UM0412 DfuSe USB device firmware upgrade STMicroelectronics extension for more details on the driver installati...

Страница 10: ...up to be the ZigBee coordinator device and it forms the network automatically on first startup and retains these settings across reboots Once the sink application starts running led LD2 on your evalua...

Страница 11: ...defined by SEND_DATA_SIZE The data contents are simply a 16 bit actual temperature value measured at the sensor side The application uses a constant called MISS_PACKET_TOLERANCE as a threshold for fau...

Страница 12: ...ready to use To access the ZigBee serial control interface of pre flashed sink application demonstration you need to start Windows HyperTerminal Figure 3 and setup port settings according to the scre...

Страница 13: ...UM0602 Running the USB to ZigBee dongle evaluation kit Doc ID 15114 Rev 2 13 18 Figure 4 Windows HyperTerminal serial port settings...

Страница 14: ...sts if there is a correct top of stack address in the first address in the applicative area of the internal Flash memory for the STM32F103xx the first applicative address is 0x0800 3000 This is done b...

Страница 15: ...PB1 19 PB2 20 PB10 21 PB11 22 PA7 17 VSS_1 23 VDD_1 24 STM32 U3 STM32F103CBT6 USBDP USBDN USBDN USBDP JTMS JTCK JTDI JTDO JTRST NRST C11 100 nF 2 1 B1 DFU ZB C7 100 nF USB5V R7 1 M C6 4 7 nF C9 100 nF...

Страница 16: ...LK 9 SIF_MISO 10 SIF_MOSI 11 SIF_LOADB 12 PTI_EN 13 PTI_DATA 14 WAKE 15 ACTIVITY 16 SDBG 17 U1 SPZB260 PRO R1 10 K C5 220 nF 3 3 V 3 3 V 3 3 V 3 3 V JTRST JTDI JTMS JTCK JTDO NRST 1 2 3 4 5 6 7 8 9 10...

Страница 17: ...nitial release 26 Aug 2009 2 Document reformatted replaced devices STEVAL IFS013V1 by STEVAL IFS013V2 STM32F103C6T6 by STM32F103CBT6 and SPZB260 by SPZB260 PRO SN260 debug interface by SPZB260 PRO deb...

Страница 18: ...ARRANTIES 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 UNLE...

Страница 19: ...RCB256RFR2 XPRO ATREB233 XPRO ATZB A 233 XPRO ATZB X 233 USB ATZB X 233 XPRO XB24 DKS XB24 DKS INT XB24 DKSJ XBP09 DMDK XBP24 DKS XKA2C Z7T W XKB2 A2T WWC XKB2 AT WWC XKB2 Z7T WTZM XKB2 Z7T WZM XKP9 D...

Отзывы: