Advertisement

Quick Links

CC2543/44/45 Development
Kits User's Guide
swru318

Advertisement

Table of Contents
loading

Summary of Contents for Texas Instruments CC2545

  • Page 1: Cc2543/44/45 Development Kits User's Guide

    CC2543/44/45 Development Kits User’s Guide swru318...
  • Page 2: Table Of Contents

    swru318 Table of contents CC2543/44/45 DEVELOPMENT KITS USER’S GUIDE ................. 1 ACRONYMS ............................. 3 INTRODUCTION ............................. 4 ABOUT THIS MANUAL ......................... 4 DEVELOPMENT KIT CONTENTS ...................... 6 CC2543-CC2544DK ........................... 6 CC2545EMK .............................. 8 GETTING STARTED ..........................9 ........................9 ETTING UP THE HARDWARE ..............
  • Page 3: Acronyms

    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 3/37...
  • Page 4: Introduction

    The CC2544 has full speed USB support with 6 endpoints, separate 1kB FIFO memory, internal pull- up and 5V to 3.3V regulator. The CC2543 [1], CC2544 [2] and CC2545 [3] product folders on the web have more information, with datasheets, user guides and application notes.
  • Page 5 The PC tools SmartRF Studio and SmartRF Flash Programmer have their own user manuals. Please visit the CC2543-CC2544DK web page [4], CC2545EMK web page [5] and CC2543 [1], CC2544 [2] and CC2545 [3] product pages for additional information. Further information can be found on the TI LPRF Online Community [10].
  • Page 6: Development Kit Contents

    swru318 Development Kit contents CC2543-CC2544DK The CC2543-CC2544 Development Kit (CC2543-CC2544DK) includes hardware and software that allows quick testing of the 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 test application running on the two devices.
  • Page 7 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 ...
  • Page 8: Cc2545Emk

    CC2545EMK The CC2545 Evaluation Module Kit (CC2545EMK) is an add-on module to the CC2543-CC2544DK and the latter must be acquired to be able to use the CC2545EM in the same manner as the CC2543EM. The CC2545EMK contains the following components ...
  • Page 9: Getting Started

    swru318 Getting started Setting up the hardware After opening the kit, make sure you have all components. Please contact your TI Sales Representative or TI Support [9] if anything is missing. Start by connecting the antennas to the SMA connector on the RF evaluation boards. Tighten the antenna’s screw firmly on to the SMA connector.
  • Page 10: Running The Preprogrammed Packet Error Rate Test

    swru318 Running the Preprogrammed Packet Error Rate Test 5.2.1 Introduction The CC2543EM, CC2545EM and CC2544Dongle come pre-programmed with a Packet Error Rate (PER) test application. The PER number is the ratio between number of packets being lost and the total number of packets being sent. The PER relates to the more traditional Bit Error Rate (BER) through the formula ...
  • Page 11: Program Flow

    swru318 5.2.2 Program Flow The PER test has two modes of operation, MASTER mode and REMOTE mode. The CC2543/45 can run both modes while the CC2544 can only run the MASTER mode. This is because the CC2544 is mounted on the CC2544 USB Dongle board which has no graphical user interfaces (required for configuration of REMOTE mode operation).
  • Page 12 swru318 If a beacon packet was received and an acknowledgement was sent the program enters the state called “remoteRxMode”. In this state the REMOTE device go in to a Rx mode and continuously updates the LCD on the SmartRF05EB with the packet error rate, the Received Signal Strength Indication value (RSSI) and number of good packets received.
  • Page 13 swru318 Figure 4 - Simplified Flow Chart for Master Mode. 13/37...
  • Page 14 swru318 Figure 5 - Simplified Flow Chart for Remote Mode. 14/37...
  • Page 15: Set Up The Cc254X Proprietary Mode Packet Error Rate Test

    swru318 5.2.3 Set Up the CC254x Proprietary Mode Packet Error Rate Test The PER test can be set up between any combination of CC2543EM and CC2545EM. The CC2544Dongle has no graphical user interface so it is limited to MASTER mode operation. It is set to the MASTER mode by default when powered.
  • Page 16: Evaluate The Cc2543/44/45 Radio Using Smartrf Studio

    SmartRF Studio is a PC application developed for configuration and evaluation of many of the RF-IC products from Texas Instruments, including the CC2543 and CC2544. The application communicates with the CC2543/44/45 via the USB controller (the CC2511) on the SmartRF05EB board. The USB controller uses the debug interface of the CC2543/44/45 to execute commands and to read and write registers.
  • Page 17 swru318 Figure 7 - CC2543 control panel in SmartRF Studio Figure 7 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.
  • Page 18: Setting Up The Software Development Environment

    swru318 Setting up the Software Development Environment To develop software and debug an application on the CC2543/44/45, it is recommended to use IAR Embedded Workbench. It supports debugging of CC2543/44/45 through the SmartRF05EB, so no additional hardware is required. IAR EW8051 is bundled with all the required files for CC2543/44/45 to start development: ...
  • Page 19: Rf Testing

    swru318 RF Testing NB! When running RF performance tests, it is recommended to disable all other peripherals on the SmartRF05EB in order to avoid unwanted noise on the on-board voltage. In particular, make sure the RS232 level converter/line driver is disabled. RF testing can be performed by using SmartRF Studio together with the Development Kit.
  • Page 20: Rx Parameter Testing Basics

    swru318 RX Parameter Testing Basics To investigate the RX performance of the CC2543/44/45, 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. By adding a jammer (a third node that generates either noise on the same channel or a strong signal on an adjacent channel) it is also possible to measure co-channel rejection and selectivity/blocking performance.
  • Page 21: Cc2543Em

    swru318 CC2543EM SMA antenna connector 32 MHz Crystal CC2543 Figure 9 - CC2543 Evaluation Module The CC2543EM is a complete RF module based on one of the recommended reference designs for the CC2543 radio. The module is equipped with a 32 MHz crystal, external passive components for the balun and antenna match filter, a SMA connector for the antenna or any other RF instrument connection and general IO headers/connectors.
  • Page 22: Cc2545Em

    Integrated inverted F PCB antenna and a 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 CC2545 to the two connectors on the backside of the evaluation module.
  • Page 23: Cc2544 Usb Dongle

    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 11 - 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 24 swru318 Figure 12 - 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.
  • Page 25: Smartrf05 Evaluation Board

    swru318 10 SmartRF05 Evaluation Board The SmartRF05 Evaluation Board is thoroughly described in the SmartRF05EB User’s Guide [11]. That document will describe the hardware features in detail and provide the schematics for the board. 25/37...
  • Page 26: Frequently Asked Questions

    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 27 swru318 Figure 14 - Browse for Driver Software 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.
  • Page 28 swru318 If the board is listed as an unknown device or associated with another driver, right click the device in the Device Manager and select Uninstall. After uninstalling, unplug the board from the PC and plug it in again. The “Found New Hardware Wizard” should re-appear. Follow the steps as outlined in the beginning of this section.
  • Page 29: References

    [15] AN103 -- Basic RF Testing of CCxxxx Devices http://www.ti.com/lit/swra370 [16] IAR Embedded Workbench for 8051 http://www.iar.com 13 Document history Revision Date Description/Changes 2012-04-20 First revision. 2013-04-26 Added Description for the CC2545 and small updates to content. 2013-05-07 Corrected content. 29/37...
  • Page 30: Appendix Asetting Up The Software Environment

    CC2543/44/45 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/45 by simply replacing all references to “CC2543” with “CC2544” or “CC2545”. A.1 Create the project After installing IAR EW8051, start the application.
  • Page 31: Project Options

    swru318 Select Empty project and click OK as illustrated in Figure 17 - Create New Project Dialog Box. You will now be asked to save the project. Select an appropriate name for the project and save it. The dialog window will close and the project will be listed in the “workspace” panel at the left side of the IDE. A.2 Project Options Right click the project to set up the project options like shown in Figure 18 - "blinky"...
  • Page 32: Select Code And Data Model

    A new window will appear (seen in Figure 20 - Select Device Configuration File) that allows you to browse through the device configuration files to choose an appropriate device. 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.
  • Page 33: Configure The Linker

    swru318 For this example, we use Near code model and large data model. The stack can be placed in XDATA. After setting up the above option, you should have the settings seen in Figure 21 - General Device Target Options. Figure 21 - General Device Target Options A.5 Configure the Linker Next, you will need to instruct the IDE what linker command file to use.
  • Page 34: Configure The Debugger

    A.6 Configure the Debugger Finally, in the debugger section, chose “Texas Instruments” for the Driver (see Figure 23 - Debugger Options for Project). Figure 23 - Debugger Options for Project All the other project options can be left as is and you can close the Project Options dialog by clicking...
  • Page 35: Write Software

    swru318 A.7 Write Software At this point, the project is configured and you can write your first lines of code. We will show a small blinking LED example. In the project, create a new file that you save as blinky.c. Type the following code: #include <ioCC2543.h>...
  • Page 36: Compile And Debug

    swru318 A.8 Compile and Debug Select “Project  Make” from the menu (or press F7) to build the project. The IDE will now compile, assemble and link the files in the project to generate an executable that can be downloaded to the target.
  • Page 37: Appendix Bschematics And Layout

    Appendix B Schematics and Layout Please refer to the following pages for the schematics and/or layout for:  CC2543 Evaluation Module http://www.ti.com/product/cc2544  CC2544 USB Dongle http://www.ti.com/tool/cc2544em-rd  CC2545 Evaluation Module http://www.ti.com/tool/cc2545em-rd  SmartRF05 Evaluation Board http://www.ti.com/lit/swru210 37/37...
  • Page 38 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 39 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 40 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, Shinjuku-ku, Tokyo, Japan http://www.tij.co.jp...
  • Page 41 FDA Class III or similar classification, then you must specifically notify TI of such intent and enter into a separate Assurance and Indemnity Agreement. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2013, Texas Instruments Incorporated...
  • Page 42 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue.

This manual is also suitable for:

Cc2544Cc2543

Table of Contents