AN2773 Freescale Semiconductor / Motorola, AN2773 Datasheet - Page 7

no-image

AN2773

Manufacturer Part Number
AN2773
Description
Switch Demonstration For the 802.15.4 and Zigbee MAC Layer
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
4.2
The following features are included with the Switch Demonstration application.
4.2.1
The primary function of the Switch Demonstration application is to show how to use the MAC layer
primitives. Users are provided the MAC layer (and below) as libraries which are easily linked together
with the application.
The Switch Demonstration application shows how to use the most frequently used MAC primitives
through the provided Service Access Points (SAP) and how to get messages back from the MAC layer
through the provided message queues (see TestParserNwkMac.c file for details).
The MAC features are as follows:
Refer to the 802.15.4 MAC/PHY Software Reference Manual, 802154MPSRM/D for more details.
4.2.2
This feature enables usage of the existing NVM block specified by Freescale. For example, the
configuration parameters for the system clock generation and the UART baud rate initialization. (See the
TestUart.c file for details).
The application section of the NVM block is used in the Switch Demonstration to store the parameters
from the Coordinator each time a scan is executed. If a unit previously has been associated with a
Coordinator, the unit reads these parameters from the NVM block at power up. In this case, users are not
required to do anything. This is considered a Quick Start. This makes it possible to completely turn off the
Device to ensure minimal power consumption.
In the app_target.h file, the “#define USE_NVM_QUICK_START” includes this feature. Notice that the
NVM is only accessible if the Flash Library or the Embedded Bootloader is included in the project.
Refer to the 802.15.4 MAC/PHY Software Reference Manual, 802154MPSRM/D for more details.
Freescale Semiconductor
Set PIB — Used by the Device and Coordinator to set various variables in the PIB.
Mac Start — Starts the Coordinator (PanID, channel).
Scan — Normally used by the Device to collect information on Coordinators in the area. This
information can then be used in the Association procedure (channel, short address).
Association — The Device requests a short address from the Coordinator.
Data Transfer (direct and indirect) — The Device can send direct data to the Coordinator. The
Coordinator can only send indirect data to the Device. The Coordinator therefore needs to be polled
by the Device to get the data sent. According to this scheme the Device can be an extreme low
powered unit, because it only requires having the received open in a short period after each poll.
Poll — Used by Device to get data from Coordinator.
Features
MAC Access
Non-volatile Memory (NVM) Access
Switch Demonstration, Rev. 1.1
Using the Switch Demonstration
7

Related parts for AN2773