Table of contents CC2543-CC2544 DEVELOPMENT KIT USER’S GUIDE ................1 INTRODUCTION ............................. 3 ABOUT THIS MANUAL ......................... 3 ACRONYMS ............................. 4 DEVELOPMENT KIT CONTENTS ...................... 5 GETTING STARTED ..........................7 ........................7 ETTING UP THE HARDWARE PER T CC2543EM CC2544D .....
Appendix A gives a detailed description of how to set up the software development environment for the CC2543 and CC2544. The CC2543-CC2544DK Quick Start Guide [4] has a short tutorial on how to get started with the kit. The PC tools SmartRF Studio and SmartRF Flash Programmer have their own user manuals.
Kilo Byte (1024 byte) Liquid Crystal Display Light Emitting Diode LPRF Low Power RF Micro Controller Not connected Packet Error Rate Radio Frequency Receive System on Chip Texas Instruments Transmit UART Universal Asynchronous Receive Transmit Universal Serial Bus Mega Hertz 4/31...
CC2543 and CC2544 RF performance and offers a complete platform for development of advanced prototype RF systems. Evaluate the CC2543 and the CC2544 right out of the box. The kit can be used for range testing using the pre-programmed PER tester running on the two devices.
Page 6
swru318 SmartRF05EB The SmartRF05EB (evaluation board) is the main board in the kit with a wide range of user interfaces: 3x16 character serial LCD Full speed USB 2.0 interface UART LEDs Serial Flash Potentiometer Joystick Buttons The EB is the platform for the evaluation modules (EM) and can be connected to the PC via USB to control the EM.
CC2543 microcontroller. The EB also contains a separate USB controller, which is used as a bridge between the PC and the CC2543 and the CC2544 for programming the flash of these devices. It is also used for debugging the software running on the CC2543 and CC2544.
By using the PER test on the CC2543 and the CC2544, it is possible to perform practical range testing. Place the transmitter at a fixed location and place the receiver at a given distance from the transmitter.
CC2543EM mounted on the SmartRF05EB. To get a quick walkthrough on how to set up the PER test confer the “CC2543-CC2544DK Quick Start Guide” [4]. A printed copy of this is included in the kit. The source code for the PER test can be downloaded from the kit product page [5].
Page 10
swru318 result screen which contains the number of good packets received, number of packets with CRC error received and the number of lost packets. If the user pushes button1 (S1) a choice between restarting the same test again or to set up a new test is presented. 5.2.2.3 Flow Chart In Figure 2 - Simplified Flow Chart for the CC254x PER Test a simplified flow chart describing the...
CC2544Dongle to the SmartRF05EB. SmartRF Studio lets you explore the radio on the CC2543/44, as it gives you full overview and access to the radio registers. The tool has a control interface for running basic radio performance tests from the PC.
Page 12
Double click on the highlighted CC2543 or CC2544 device icon and a new window will appear. We will use the CC2543 in this guide. Figure 4 - CC2543 control panel in SmartRF Studio...
Figure 4 shows the main control panel for the CC2543. It lets you perform a number of operations: Run TX Test modes for testing of RF output power and spectrum; e.g. by connecting a spectrum analyser or a power meter to the CC2543EM SMA connector to perform RF measurements.
TX Parameter Testing Basics To investigate the TX performance of the CC2543 and the CC2544, you can either use a Spectrum Analyzer or an RF Power Meter. Use the “Continuous TX” test mode in SmartRF Studio to set up the device to transmit a signal at the desired frequency.
RX Parameter Testing Basics To investigate the RX performance of the CC2543 or CC2544, you can use a signal generator or “Packet TX” in SmartRF Studio (with another EB+EM) to generate the packets to receive. The receiver can be configured by using the “Packet RX” test feature in SmartRF Studio.
SMA connector for the antenna or any other RF instrument connection and general IO headers/connectors. The table below shows the pin-out from the CC2543 to the two connectors on the backside of the evaluation module.
swru318 CC2544 USB Dongle LED2 Button S2 Meandred Inverted F-antenna CC2544 Right IO test holes LED1 Button S1 Debug connector (underneath = bottom layer) Left IO test holes Figure 7 - CC2544 USB Dongle The CC2544 USB dongle that is included in the kit comes preprogrammed such that it can be used as a MASTER device in the PER test.
Page 18
swru318 Figure 8 - CC2544 USB Dongle connected to SmartRF05EB The debug connector on the CC2544 USB Dongle matches the debug connector on the SmartRF05EB (and the CC Debugger). Note that, by default, the CC2544 dongle is not powered through the debug connector, so an external power source must be used while programming. The easiest solution is to connect it to a USB port on the PC.
swru318 SmartRF05 Evaluation Board The SmartRF05 Evaluation Board is thoroughly described in the SmartRF05EB User’s Guide [8]. That document will describe the hardware features in detail and provide the schematics for the board. 19/31...
The drivers for the evaluation board are normally located in the directory C:\Program Files (x86)\Texas Instruments\SmartRF Tools\Drivers, where C:\Program Files (x86)\Texas Instruments\SmartRF Tools\ is the default root installation directory for SmartRF Studio. The path may be different if you have chosen a different installation directory for SmartRF Studio.
Page 21
swru318 If the above fails, select “Let me pick from a list of device drivers on my computer.” A new window will open, asking for a location of where drivers can be found. Locate the SmartRF05EB file and select that driver for installation. Finally, verify that the device is associated with the correct driver by opening the Device Manager on you PC.
Page 22
Can I use another compiler than IAR to develop software for CC2543/44? Yes, there are several tools available that can be used for CC2543 and CC2544. Any 8051 compiler (e.g. Keil, GCC, and SDCC) can, in theory, be used. Note that these tools may have limited debugging support for CC2543 and CC2544.
IAR Embedded Workbench for 8051. Version 8.10 (and newer) of the tool supports CC2543 and CC2544 out-of-the-box. In this example we will explain how to set up a project for the CC2543. The same procedure can be used for the CC2544 by simply replacing all references to “CC2543”...
swru318 A.2 Project Options Right click the project to set up the project options. A.3 Select Device In the dialog window that appears, the first thing that is required is to select the device for which the project is built. Click on the button next to the device field. 25/31...
Select the CC2543F32 file from the <ew8051_install_dir>\8051\devices\Texas Instruments folder. This .i51 device description file contains basic information about the chip. Back in the General Options view, you will see that CC2543 is now the selected device. “CPU core” should be set to Plain.
swru318 A.5 Configure the Linker Next, you will need to instruct the IDE what linker command file to use. The linker command file contains information the linker uses in order to place code and variables in ram and flash. Thus, the linker file must match the flash and ram size of device you are working with.
A.6 Configure the Debugger Finally, in the debugger section, chose “Texas Instruments” for the Driver. All the other project options can be left as is and you can close the Project Options dialog by clicking 28/31...
LED example. In the project, create a new file that you save as blinky.c. Type the following code: #include <ioCC2543.h> int main(void) int i; // Set P1.0 of CC2543 as output P1DIR |= 0x01; // Toggle P1.0 for(;;) P1_0 ^= 1;...
Next, download the application to the target by selecting “Project Debug” from the menu (or press Ctrl+D). The application will now be downloaded to the target and you can start stepping through the code from main. A.9 Done! Congratulations! You have just made your first CC2543 software project in IAR. 30/31...
Please refer to the following pages for the schematics for CC2543 Evaluation Module CC2544 USB Dongle SmartRF05 Evaluation Board The layout for the evaluation module and USB dongle can be found on the CC2543 [1] and CC2544 [2] product web pages respectively. 31/31...
Page 32
Any exceptions to this are strictly prohibited and unauthorized by Texas Instruments unless user has obtained appropriate experimental/development licenses from local regulatory authorities, which is responsibility of user including its acceptable authorization.
Page 33
FCC Interference Statement for Class B EVM devices This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
Page 34
Also, please do not transfer this product, unless you give the same notice above to the transferee. Please note that if you could not follow the instructions above, you will be subject to penalties of Radio Law of Japan. Texas Instruments Japan Limited (address) 24-1, Nishi-Shinjuku 6 chome, Shinjukku-ku, Tokyo, Japan http://www.tij.co.jp...
Page 36
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
Need help?
Do you have a question about the CC2543 and is the answer not in the manual?
Questions and answers