数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3972 数据表(PDF) 9 Page - STMicroelectronics

部件名 AN3972
功能描述  This document describes how to use the STM3210C-EVAL
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3972 数据表(HTML) 9 Page - STMicroelectronics

Back Button AN3972 Datasheet HTML 5Page - STMicroelectronics AN3972 Datasheet HTML 6Page - STMicroelectronics AN3972 Datasheet HTML 7Page - STMicroelectronics AN3972 Datasheet HTML 8Page - STMicroelectronics AN3972 Datasheet HTML 9Page - STMicroelectronics AN3972 Datasheet HTML 10Page - STMicroelectronics AN3972 Datasheet HTML 11Page - STMicroelectronics AN3972 Datasheet HTML 12Page - STMicroelectronics AN3972 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 21 page
background image
AN3972
Application firmware description
Doc ID 022161 Rev 1
9/21
3
Application firmware description
The firmware has been developed over the FreeRTOS operating system in order to simplify
the integration of the different application parts. Figure 4 shows the firmware architecture.
Figure 4.
Firmware architecture
The firmware includes a common hardware dependent layer which mainly includes the
STM32 standard library; over this layer the libraries and the application tasks are grouped in
two sections: one for the ZigBee part and the other for the TCP/IP part. The FreeRTOS
allows the correct execution of these tasks and their interaction.
3.1
ZigBee section
3.1.1
ZigBee libraries
The ZigBee libraries, which are independent from the OS, are part of the firmware package
of the STEVAL-IHP001V3 board and are fully documented; please refer to www.st.com.
3.1.2
ZigBee application layer
The application is based on the same principle as the typical “sink - sensors” scenario
supporting a “many-to-one” protocol, where there are several sensors (which in this case
are the smartplugs) that periodically send data to a concentrator, which in this case is also
the network coordinator, and is implemented by the STM3210C-EVAL.
The application layer is implemented by the task prvApplicationTask which is implemented
inside the “main.c” file. It calls the function emberTick, which includes the functions for the
ZigBee stack finite state machine evolution, and the function applicationTick, which
implements the ZigBee section of the application layer.
The application maintains a list of the smartplugs joined to the HAN; a smartplug is removed
from this list when it isn't heard from for a specified time and it is added when the
concentrator receive a “select-sink” message from it; this message is managed in
handleSensorSelectSink called by the callback function ezspIncomingMessageHandler. At



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com