Texas Instruments CC2430ZDK User Manual Download Page 13

Z-Stack User's Guide - CC2430ZDK 

F8W-2005-0036 Version 1.4.3

 

10 

Copyright 

 2005-2007 Texas Instruments, Inc.  All rights reserved. 

When each SampleApp device starts up, it is subscribed to Group 1 and will receive and process 
messages  sent  to  Group  1  from  any  other  device.  In  this  demonstration,  a  device  will  flash  its 
LED1 (green) when a Group 1 message is received. So, when the network is initially started up, 
pressing button SW1 on any device will broadcast a message, causing all of the other devices to 
flash their LED1. Pressing button SW2 on a device toggles that device’s membership in Group 1, 
allowing the user to enable/disable LED1 flashing on that device. 
 
The  discussion  above  assumes  each  device  has  been  programmed  and  disconnected  from  the 
development  PC.  When  necessary,  a  target  device  can  be  controlled  from  the  IAR  IDE, 
providing  for  standard  debugging  features  such  as  breakpoints,  single-stepping,  viewing  of 
memory and register contents, etc. 
 

7.   PanID and Channel Selection 

The ZigBee specification defines the use of a 14-bit Personal Area Network Identifier (PanID) to 
uniquely  identify  a  network.  Z-Stack  provides  the  user  with  two  methods  of  selecting  a  PanID 
when  starting  or  joining  a  network  by  setting  the  value  of 

ZDAPP_CONFIG_PAN_ID

.  Setting 

this parameter to 0xFFFF causes  a device to join the “best” network it can discover, any other 
value causes it to use the exact value specified. 
 
The  IEEE  802.15.4  specification  defines  16  channels  in  the  2.4  GHz  frequency  range.  These 
channels  are  assigned  numbers  11  through  26.  Z-Stack  initially  defaults  to  channel  11,  but  the 
user can select a different channel by changing 

DEFAULT_CHANLIST

. This parameter is a bit 

map  field,  with  each  bit  representing  a  single  channel.  As  shown  below,  the  initial  default 
channel 11 (0xB) is represented by 0x00000800 (11

th

 bit in the field, starting from bit 0). 

 
 

Channel Number 

Bit Map Field 

11 

0x00000800 

12 

0x00001000 

13 

0x00002000 

14 

0x00004000 

15 

0x00008000 

16 

0x00010000 

17 

0x00020000 

18 

0x00040000 

19 

0x00080000 

20 

0x00100000 

21 

0x00200000 

22 

0x00400000 

23 

0x00800000 

24 

0x01000000 

25 

0x02000000 

26 

0x04000000 

Table 1:  Default Channel Select Bit Map 

Summary of Contents for CC2430ZDK

Page 1: ...2005 2007 Texas Instruments Inc All rights reserved Z Stack User s Guide For CC2430ZDK ZigBee 2006 Release Version 1 4 3 Document Number F8W 2005 0036 Texas Instruments Inc San Diego California USA 61...

Page 2: ...logo on title page changed copyright on page footer 02 27 2006 1 2 Added Figure 3 showing SOC_BB Battery Board 06 25 2006 1 3 Changed sample applications to SampleSwitch and SampleLight 12 13 2006 1...

Page 3: ...FIGURING AND USING Z STACK 4 5 1 CONFIGURING Z STACK 4 5 2 LOGICAL DEVICE TYPES 4 5 3 BUILDING SAMPLEAPP DEVICES 4 5 4 BUILDING A SAMPLELIGHT COORDINATOR DEVICE 4 6 Z STACK DEMONSTRATION 7 6 1 SWITCHE...

Page 4: ...scription 2 1 Installation Package Contents The downloaded Z Stack installation package contains all of the documentation and software required to install configure and develop applications using Z St...

Page 5: ...n CC2430DB evaluation boards are also contained in CC2430ZDK and CC2431ZDK ZigBee development kits Figure 2 Chipcon CC2430DB Development Board Ten compact Chipcon SOC_BB evaluation boards each to be f...

Page 6: ...linking downloading and debugging for various 8051 based processors including the Chipcon CC243x family The following is required support for the Z Stack target development system IAR EW8051 http www...

Page 7: ...serve as the PAN Coordinator in that network ZigBee Router This device is configured to join an existing network associate to a Coordinator or Router and then allow other devices to associate to it I...

Page 8: ...W 2005 0036 Version 1 4 3 5 Copyright 2005 2007 Texas Instruments Inc All rights reserved Select the DemoEB project from the Workspace pull down menu Build the application by pulling down the Project...

Page 9: ...yright 2005 2007 Texas Instruments Inc All rights reserved Download the application by pulling down the Project menu and clicking on Debug After downloading to the CC2430EM is complete exit the debugg...

Page 10: ...n this and other Z Stack sample application documents references are made to switches and LEDs located on evaluation boards These devices are used to control certain Z Stack features and display statu...

Page 11: ...shown in the table below Figure 5 CC2430DB LEDs The SmartRF04EB has 4 colored LEDs designated 1 4 The CC2430EM module does not have connections to the red LED 2 or the blue LED 4 Therefore LEDs 1 and...

Page 12: ...P10 9 and P10 11 on the SmartRF04EB as shown in Figure 7 below Make sure that only one SmartRF04EB board has a jumper in this position Figure 7 SmartRF04EB Coordinator Jumper Initially begin executio...

Page 13: ...Selection The ZigBee specification defines the use of a 14 bit Personal Area Network Identifier PanID to uniquely identify a network Z Stack provides the user with two methods of selecting a PanID wh...

Page 14: ...r their projects This feature allows developers set up a personal channel and PanID to avoid conflict with others Multiple channels can be specified by including the appropriate bits in the DEFAULT_CH...

Page 15: ...uments Internal Documents 1 Serial Port Interface F8W Document F8W 2003 0001 2 OSAL API F8W Document F8W 2003 0002 3 Z Stack API F8W Document F8W 2006 0021 External Documents 4 Wireless Medium Access...

Reviews: