background image

Z-Stack User's Guide - CC2431ZDK 

F8W-2006-0025 Version 1.4.3

 

14 

Copyright 

 2006-2007 Texas Instruments, Inc.  All rights reserved

 

6.   Z-Location Demonstration 

6.1.  Switches and LEDs 

In  this,  and  other  Z-Stack  documents,  references  are  made  to  switches  and  LEDs  located  on 
evaluation boards. These devices are used to control certain Z-Stack features and display status. 

 

Certain procedures require user input via switches, commonly referred to as SW1 through SW5. 
The  SmartRF04EB  boards  have  a  5-position  joystick,  designated  U400,  which  provides  these 
switch  inputs  as  shown  in  the  table  below.  Pressing  the  joystick  toward  the  U400  label  (up 
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 straight down when in the center position. 
 

                         

    

                                Figure 3:  SmartRF04EB Joystick 

 
Z-Stack  sample  applications  display  various  operational  status  LEDs,  commonly  referred  to  as 
LED1 through LED4. 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 3  are used to provide all  LED indications  from Z-Stack  applications as shown in the table 
below. 

 

                       

 

                                  Figure 4:  SmartRF04EB LEDs 

SWITCH 

JOYSTICK 

SW1 

  U400

 position 

SW2 

  right position 

SW3 

  

down position 

SW4 

  left position 

SW5 

  press down 

LED 

LABEL 

COLOR 

LED1 

D1 

 Green 

LED2 

D2 

 Red 

LED3 

D2 

 Red 

LED4 

D1 

 Green 

Summary of Contents for CC2431ZDK

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: