background image

Z-Stack User's Guide - CC2431ZDK 

F8W-2006-0025 Version 1.4.3

 

15 

Copyright 

 2006-2007 Texas Instruments, Inc.  All rights reserved

 

The SOC BB’s have a single button to press, labeled S1, in the lower left-hand corner of the 
board and a single red LED above it. The S1 button acts like the SW5 no the SmartRF04EB, and 
the single LED acts like the LED1. 
 

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  start-up,  blinking  LED1  (green).  This  prompts  the  user  to  establish  a 
“temporary” address by pressing SW5 (joystick center). 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.  Non-Volatile Memory 

Z-Stack  devices  can  be  built  to  save  certain  operating  state  variables  (PanID,  16-bit  network 
address, etc.) in non-volatile (NV) memory. These variables will then be used when the device is 
restarted (reset or power on), to resume operation at its previous state. This feature is enabled by  
including 

NV_RESTORE

 in the list of compile flags in the IAR project files. 

 
During  program  development  and  debugging,  it  is  often  convenient  to  disable  saving/restoring 
NV parameters – remove or disable the 

NV_RESTORE

 compile flag. To bypass this feature in a 

device  that  was  built  with 

NV_RESTORE

,  press  and  hold  the  SW5  (or  the  S1  button  on 

SOC_BB)  while  the  device  is  rebooting.  This  will  load  the  64-bit  IEEE  address  but  skip 
restoration of other NV parameters. 
 

6.4.  Running the Sample Applications 

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. 
 
To  begin  execution  of  the  programmed  sample  application,  remove  power  from  each 
programmed SmartRF04EB and SOC_BB board. 
 
Start with the Dongle on the SmartRF04EB – while pressing and holding SW5, turn on power. 
Then  turn  on  power  to  each  Reference  Node  while  pressing  and  holding  the  single  S1  button. 
Finally, turn on power to the Blind Node while pressing and holding the single S1 button. 
 
Once these devices have begun operation and joined the network, their Red LED will be turned 
on  solid.  Refer  to  the  Z-Location  PC  Application  guide  for  how  to  configure  and  control  the 
nodes under the location profile. 
 
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. 

Содержание CC2431ZDK

Страница 1: ...2006 2007 Texas Instruments Inc All rights reserved Z Stack User s Guide For CC2431ZDK ZigBee 2006 Release Version 1 4 3 Document Number F8W 2006 0025 Texas Instruments Inc San Diego California USA 6...

Страница 2: ...431ZDK F8W 2006 0025 Version 1 4 3 i Copyright 2006 2007 Texas Instruments Inc All rights reserved Revision Description Date 1 0 Initial release 12 13 2006 1 1 Changed IAR compiler version to 7 30B in...

Страница 3: ...3 4 1 INSTALL Z STACK PACKAGE 3 INSTALL IAR EW8051 PACKAGE 3 4 2 3 4 3 DEVICE IEEE ADDRESSES 3 5 CONFIGURING AND USING Z STACK 3 5 1 CONFIGURING Z STACK 3 5 2 LOGICAL DEVICE TYPES 4 5 3 SELECTING THE...

Страница 4: ...ion 1 4 3 iii Copyright 2006 2007 Texas Instruments Inc All rights reserved Table of Figures FIGURE 1 CHIPCON SMARTRF04EB WITH CC243XEM 1 FIGURE 2 CHIPCON SOC_BB BATTERY BOARD WITH CC243XEM 2 Table of...

Страница 5: ...t on top of Z Stack conforming to ZigBee Alliance standards www zigbee org 1 2 Scope The CC2430EM and the CC2431EM are interchangeable except that a device intended to run as a Blind Node must be fitt...

Страница 6: ...An RS232 cable may be connected between the serial port on the SmartRF04EB 9 pin connector and the host PC to enable communication with the Z Tool or Z Location PC application included with the Z Stac...

Страница 7: ...it is necessary to verify that installed project and library files are compatible with the newer development tools 4 3 Device IEEE Addresses Each CC243xEM board in the development kit has been pre pr...

Страница 8: ...of Z Location include Location Profile Dongle Location Profile Reference Node Location Profile Blind Node Multiple application profiles can be configured on a ZigBee device Profiles are configured to...

Страница 9: ...5 Copyright 2006 2007 Texas Instruments Inc All rights reserved Navigate to the SampleApp project directory and launch the IAR Embedded Workshop by double clicking on the SampleApp eww file Select th...

Страница 10: ...Instruments Inc All rights reserved Open LocationProfile h file by clicking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Location Dong...

Страница 11: ...ower by moving switch S3 toward the CC243xEM If Windows needs to install a driver browse to C Program Files IAR Systems Embedded Workbench 4 0 8051 drivers Chipcon to locate the necessary files Downlo...

Страница 12: ...S3 away from the CC2430EM Disconnect the board from the USB cable and set it aside 5 6 Building a Reference Node Router Device Make sure all tools have been installed Sections 4 1 4 2 Navigate to the...

Страница 13: ...Instruments Inc All rights reserved Open the LocationProfile h file by clicking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Reference...

Страница 14: ...a driver browse to C Program Files IAR Systems Embedded Workbench 4 0 8051 drivers Chipcon to locate the necessary files Download the application by pulling down the Project menu and clicking on Debu...

Страница 15: ...All rights reserved 5 7 Building a Blind Node Router Device Make sure all tools have been installed Sections 4 1 4 2 Navigate to the SampleApp project directory and launch the IAR Embedded Workshop by...

Страница 16: ...licking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Blind Node Build the application by pulling down the Project menu and clicking on...

Страница 17: ...essary files Download the application by pulling down the Project menu and clicking on Debug After downloading to the CC2430EB is complete exit the debugger by pulling down the Debug menu and clicking...

Страница 18: ...position activates the SW1 input Switch inputs SW2 SW4 result from pressing the joystick to the right down away from U400 and left positions respectively SW5 occurs when the joystick is pressed strai...

Страница 19: ...ment and debugging it is often convenient to disable saving restoring NV parameters remove or disable the NV_RESTORE compile flag To bypass this feature in a device that was built with NV_RESTORE pres...

Страница 20: ...00 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 DEFA...

Страница 21: ...AC source file distribution The value of this parameter minus 83 gives the maximum tolerated energy level in dBm To ensure that the coordinator will always find a suitable channel to start the network...

Отзывы: