Résumé du contenu de la page N° 1 
                    
                        CC2511 Dongle
   
 
 
 
 
 
 
 
 
 
CC2511 Dongle 
 
User Manual 
Rev. 1.0 
                                        SWRU082                                      Page 1 of 24                                                                                                                                                                                                                                                                                                                                       
                    
                    Résumé du contenu de la page N° 2 
                    
                        CC2511 Dongle     Table of contents    1 INTRODUCTION ......................................................................................................................3  2 ABOUT THIS MANUAL ..........................................................................................................3  3 DEFINITIONS............................................................................................................................3  4 CONNECTING CC2511 DONGLE TO SMARTRF04EB. .............
                    
                    Résumé du contenu de la page N° 3 
                    
                        CC2511 Dongle     1 Introduction  ® Thank you for purchasing a SmartRF 04DK Development Kit.    ® Please note that Chipcon uses the term SmartRF 04DK as a collective term for all  ® development kits on the SmartRF 04 platform. This development platform supports  ® evaluation, development and prototyping using the SmartRF 04 products from Chipcon.    Make sure to subscribe to Chipcon’s Developer’s Newsletter to receive information about  updates to documentation, new product releases and more. Si
                    
                    Résumé du contenu de la page N° 4 
                    
                        CC2511 Dongle     4 Connecting CC2511 Dongle to SmartRF04EB.  Please see the “CC2430DK_CC2510_CC1110_User_Manual” for more information on the  SmartRF04EB and how to use the CC2510EM.  ® Make sure to install SmartRF Studio before connecting the SmartRF04EB to a PC.  ® SmartRF Studio can be downloaded from the www.chipcon.com or www.ti.com/lpw   The CC2511 have a 2 wire debug interface that is used for chip programming and debugging.  When connecting this interface to the SmartRF04EB USB MCU, the
                    
                    Résumé du contenu de la page N° 5 
                    
                        CC2511 Dongle       Figure 1 CC2511 Dongle powered from USB cable        Figure 2 CC2511 Dongle powered from SmartRF04EB    6. Turn on the power on the SmartRF04EB. See Figure 3.    Figure 3: SmartRF04EB Power switch, power on.    The CC2511 can now be programmed with the Chipcon Flash Programmer software. The  firmware on the CC2511 can also be debugged using the IAR embedded workbench  debugger.  Please see the IAR user manual and the Chipcon Flash Programmer user manual for more  details.    
                    
                    Résumé du contenu de la page N° 6 
                    
                        CC2511 Dongle     5 Using SmartRF04EB as an In-Circuit Emulator (ICE)  The SmartRF04EB can be used as ICE for the CC2511    To use the SmartRF04EB as ICE, the IAR Embedded Workbench software must be installed.  The Embedded Workbench is a C-Compiler, Simulator, and ICE debugger. See the IAR  Embedded Workbench documentation supplied with the kit for instructions how to set up the  ICE debugger for use as an ICE.    When the SmartRF04EB is connected to a PC with the USB port, the debugger will co
                    
                    Résumé du contenu de la page N° 7 
                    
                        CC2511 Dongle     1 2  1. GND 2. VDD  3. DC 4. DD  7. Reset_N    Figure 4: Recommended debug connector layout (Top view)    Figure 4 shows the required signal for a minimum connector layout.        Figure 5:  SmartRF04EB debug connector for debugging   CC2511 Dongle / other external target systems    5.1 Debugging USB firmware  When writing and debugging USB firmware one should remember that when Windows (or  another OS) detects a USB device it will assume that it works in accordance with the US
                    
                    Résumé du contenu de la page N° 8 
                    
                        CC2511 Dongle     5.2 Known problems  When using the debug interface through the level-converter on the SmartRf04EB. (Shown in  Figure 1 and Figure 2) it might become unstable. This problem is more likely to occur a low  voltages or with crosstalk in the cable at high interface speed.    First make sure that the 10 pin flat cable used to connect the CC2511 USB Dongle to the  SmartRF04EB is as short as possible.  Next it might be necessary to reduce the debug interface speed in order to achieve s
                    
                    Résumé du contenu de la page N° 9 
                    
                        CC2511 Dongle     6 CC2511 application examples   This section describes the application examples available for the CC2511. These application  examples focus on how to use the USB on the CC2511. The examples is available both as  source code and ready-to-upload .hex files from the Chipcon website.    There are three CC2511 application examples.  • Wireless mouse / practical joke.   (HID , Human Interface Devices)  • Wireless USB to Serial port converter.   (CDC, Communication Devices)  • Wireles
                    
                    Résumé du contenu de la page N° 10 
                    
                        CC2511 Dongle     6.1 Wireless mouse / practical joke  This application demonstrates the use of the CC2511Dongle as a USB composite HID  (Human Interface Device), with both keyboard and mouse.  The application will work on most operating systems.     This application example uses the USB framework found in the CC2511 firmware library to  setup the USB on the CC2511 Dongle and to handle all USB standard requests. In addition  the Class requests required by the HID device class are implemented in 
                    
                    Résumé du contenu de la page N° 11 
                    
                        CC2511 Dongle     6.2 Wireless USB to Serial port converter  This application example is a wireless USB to serial port (RS232) converter.   It creates a virtual serial port in Windows. Data sent to this virtual serial port will be sent to the  CC2511 Dongle over USB, then to CC2510 EM over radio and finally out on the serial port on  the CC2510 EM / SmartRF04EB.   Data sent to the serial port on the SmartRF04EB will be transferred to the virtual serial port in  Windows.  Full duplex and flow con
                    
                    Résumé du contenu de la page N° 12 
                    
                        CC2511 Dongle         When Windows have finished installing the device, a new serial port will appear in the device  manager in Windows. See Figure 9.      Figure 9: Virtual serial port in Windows Device manager    The Windows driver will only work if the “Ti Wireless USB to Serial” is assigned to COM1 to  COM9. (In Figure 9 it is assigned to COM6)   If there are many COM ports installed on the PC, Windows may chose to assign it to a  number higher than 9. If that happens it must be changed. Rig
                    
                    Résumé du contenu de la page N° 13 
                    
                        CC2511 Dongle     6.3 Wireless WinAmp remote control  This application example is a wireless remote control for WinAmp media player. It is a two- way remote, which display the song information of the song played on the LCD screen on the  SmartRF04EB.   The communication between the CC2511 Dongle and WinAmp is handled by a custom  WinAmp plug-in. Hence this remote control will work with WinAmp only.     This application example uses the USB framework found in the CC2511 firmware library to  setup
                    
                    Résumé du contenu de la page N° 14 
                    
                        CC2511 Dongle     8. If windows ask for the file “cudal.sys” or “cudal98.sys”, point to “cudal.sys” or  “cudal98.sys”.    9. Turn on the CC2510EM / SmartRF04EB.    10. The USB dongle may have to be removed and reinserted once to the PC for the  application to work.    6.3.3 Running the application    1. Start WinAmp, the gen_chipcon_remote plug-in will automatically be loaded.    2. Make sure the CC2510 USB Dongle is plugged into a USB port on the PC.    3. Turn on the SmartRF04EB development ca
                    
                    Résumé du contenu de la page N° 15 
                    
                        CC2511 Dongle     7 USB development framework  A versatile, efficient and easy to use USB development framework is available for the  CC2511. The intension with this framework is to make USB development as quick and easy  as possible. The framework includes a firmware framework for the embedded software on the  CC2511, and a Windows USB driver framework.   In addition there is general example code and libraries available showing how to use the  CC2510 and CC2511 MCU, radio and other peripherals.
                    
                    Résumé du contenu de la page N° 16 
                    
                        CC2511 Dongle     As shown in Figure 10 the USB library is divided into five modules:       The USB Framework (usbfw) contains all USB status information and functions for  initialization, device reset handling, and transfers on endpoint 0. It also contains basic macros  and functions for endpoint control and FIFO access. Vendor and class requests are passed  up to the application, and standard requests further down for internal processing.    The USB Standard Requests (usbsr) module contains au
                    
                    Résumé du contenu de la page N° 17 
                    
                        CC2511 Dongle     The complete documentation of the CUDAL framework is available in a compressed HTML  file, “cudal.chm”, found in “CC2511DK\pc_sw\CUDAL\doc”    7.2.1 Windows USB driver license  The Windows USB driver framework CUDAL is based on the USBIO driver from Thesycon.  This driver is not free and requires a licence.     Texas Instruments have a license that allows its customers to do the following:  • Use the application examples included in the kit.  • Develop own applications using CU
                    
                    Résumé du contenu de la page N° 18 
                    
                        CC2511 Dongle     8 CC2511 Dongle hardware description        CC2511    LED  PCB  antenna  Button  Line marking  cutaway section USB  of the dongle connector  Debug  GPIO  connector  testpins   Figure 11: CC2511 Dongle top view      Alternative  debug  connector   Figure 12: CC2511 Dongle back view    8.1 User Interface  The CC2511 Dongle has one button and one LED that can be used to interact with the user.  The LED is connected to pin P1_1. Setting P1_1 high (to logic 1) will turn the led on. 
                    
                    Résumé du contenu de la page N° 19 
                    
                        CC2511 Dongle     8.3 Debug connector  The CC2511 Dongle has debug connector (P3) that is compatible with the SoC debug  connector on the SmartRF04EB. This enables the CC2511 Dongle to be programmed and  debugged via the SmartRF04EB. The debug connector and the test pins on the CC2511  Dongle can be removed to reduce its size. If that is done, programming and debugging can  still be done using the connector on the back of the CC2511 Dongle (P5). The pin-out of the  debug connector (P3) is given 
                    
                    Résumé du contenu de la page N° 20 
                    
                        CC2511 Dongle     9  CC2511 Dongle schematics      Figure 13: CC2511 Dongle schematic, page 1                                              SWRU082                                      Page 20 of 24