Texas Instruments CC2530ZDK-ZLL Benutzerhandbuch

Seite von 44
swru209b
11/28
5.5
Developing your own software with the CC2530
To develop software and debug an application on the CC2530, it is recommended to use IAR
Embedded Workbench. It supports debugging of CC2530 through the SmartRF05EB, so no additional
hardware is required.
IAR EW8051 is bundled with all the required files for CC2530 to start development:
Register definition header file
Linker command file
Driver and device description file needed for debugging and programming
Note that other compilers and linkers can be used, but these tools may have limited debugging
capabilities.
An evaluation version of IAR Embedded Workbench is included in the ZigBee Development Kit. To
install the software, insert the CD and follow the instructions. You will be asked to register on IAR’s
web site to get a license key for the product. As the owner of a CC2530 Development Kit, you are
entitled to a 60 day evaluation period. The evaluation version in the kit automatically gives you 30
days. Please contact your local IAR sales representative for the additional 30-days evaluation period.
For a list of sales offices and distributors in your country, please see this site:
http://www.iar.com/contact.
Refer also to the CC2530DK User’s Guide [13] which will guide you through the steps of setting up
your own IAR project from scratch.
The CC2530DK User’s Guide [13] also gives a brief overview of complete software solutions for
CC2530 from Texas Instruments.
TI’s ZigBee compliant protocol stack Z-Stack™ can be downloaded from the product folder [7]. This
software is needed in order to develop ZigBee application for the CC2530. The product folder include
downloads of Z-Stack™ for the various TI platforms. Make sure the version for CC2530 is selected.
After installation refer to the Z-stack User’s Guide document found in the installation folders of Z-
Stack™. The default root installation path for Z-Stack is C:\Texas Instruments\.
A software package with the source code for the Sensor Demo, and Intel HEX files ready to be
programmed on the devices, is available on the CC2530ZDK web site [11]. This package also
includes the CC2530ZDK Sensor Demo User’s Guide giving information about how to set up the
software example in the IAR development environment.
5.6
Developing your own hardware with the CC2530
It is recommended to use the CC2530EM as a reference design when designing new hardware using
the CC2530. The CC2530EM reference design files can be downloaded from the CC2530 product
folder on the web [1].