background image

Z-Stack User's Guide - CC2430ZDK 

F8W-2005-0036 Version 1.4.3

 

Copyright 

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

6.2.  Initial Loading of 64-Bit IEEE Address 

Normally, Z-Stack loads the device’s 64-bit IEEE address from FLASH upon power-up or reset. 
When the address has been reset (0xFFFFFFFFFFFFFFFF) by erasing the FLASH, the program 
waits in a loop during startup, blinking LED1 (green). On SmartRF04EB boards, the LCD shows 
the 

 character in all display positions. This prompts the user to establish a “temporary” address 

by  pressing  SW5  (joystick  center).  On  SmartRF04EB  boards,  the  LCD  now  shows  the  64-bit 
address  that  was  created.  This  temporary  address  allows  Z-Stack  to  start  normally,  so  that  the 
developer can later use Z-Tool to restore the proper 64-bit extended address, located on a sticker 
on the bottom surface of the circuit board. 
 

6.3. Running the Sample Application 

Initially,  place  all  the  devices  on  the  same  table  or  work  area.  You  will  establish  the  network 
while the devices are all in view of each other. Later, you can experiment with various distances 
and different power-up sequences. 
 
After  each  of  the  CC2430EM  boards  has  been  programmed  with  the  “Demo”  configuration  of 
the Z-Stack SampleApp, one of the boards needs to be designated as a ZigBee Coordinator. This 
is  done  by  placing  a  jumper  across  pins 

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 execution of the programmed SampleApp by applying power to the device that is 
configured  as  the  ZigBee  Coodinator.  If  LED1  (green)  flashes,  see  Section  6.2  to  determine 
whether you need to create a temporary IEEE address for the board. The device now performs a 
scan of the programmed ZigBee channel (see Section 7), temporarily  flashing  LED1. Once the 
device successfully starts up a network, LED3 (yellow) will turn on and LED1 will stop flashing. 
 
Next,  power  up  a  ZigBee  Router  device  (no  jumper  on 

P10)

.  If  LED1  (green)  flashes,  see 

Section  6.2  to  determine  whether  you  need  to  create  a  temporary  IEEE  address  for  the  board. 
This  device  now  scans  the  programmed  ZigBee  channel  for  a  network,  temporarily  flashing 
LED1.  Once  it  joins  the  network  started  by  the  Coordinator,  LED3  (yellow)  will  be  turned  on 
and LED1 will stop flashing. If desired, turn on more Router devices and each of them will turn 
on their LED3 after joining the network. 
 
Once the network has been formed, the SampleApp will provide a very simple demonstration of 
ZigBee wireless communication. The sample application performs the following three functions: 

-

 

Periodic (about 5 seconds) broadcast of a message to all network devices 

-

 

When button SW1 is pressed, broadcast of a message to devices subscribed to Group 1 

-

 

When button SW2 is pressed, toggles a devices’ membership in Group 1 

 

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: