Sign up on the Chipcon web site. About this manual This manual covers the CC2511 Dongle, found in the CC2510–CC2511DK. It covers both the CC2511 Dongle hardware and software components of the development kit.
See Figure 1. • Powered from the SmartRF04EB. Connect pin 9 on the “Test pin” connector on CC2511 Dongle to pin 5 on the “I/O A” connector on SmartRF04EB to power the Dongle from the SmartRF04EB. See Figure 2. The CC2511 Dongle should only be powered by one of the two sources at a time.
Page 5
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.
A selection window will display the connected SmartRF04EB, and the user can select which device to load. For custom PCB’s with the CC2511, it is recommended to include a pin header or test points to allow in-circuit emulation or programming using SmartRF04EB or other 3rd party programming tools.
And they can and should be used. But they will also stop the code execution on the CC2511 and may cause the device to act in conflict with the USB specification. This can lead to the PC disconnecting the CC2511 Dongle, sending a USB reset or worst case the operating system may crash.
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.
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.
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 a separate file.
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.
Changing the settings on the CC2510EM/SmartRF04EB will not affect the settings used in the Virtual COM port and visa versa. To bind the CC2510EM to the CC2511 Dongle, hold them close together and push S1 on the SmartRF04EB. The RF protocol found in the CC2511 firmware library uses kiss-binding which mean that the CC2511 Dongle use the RSSI (Received Signal Strength Indicator) to only accept bind requests from units that are in close proximity.
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 it demonstrates the use of Vendor requests in the USB framework. On the PC the CUDAL library is used to create a custom driver (see chapter 7.2 Windows USB driver framework).
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.
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.
CUDAL (Chipcon USB Dongle Access Library) provides an easy-to-use C++ interface to the CC2511 USB Dongle, making development of PC software easy. This framework is used to create the USB driver in the WinAmp remote control application example. (The other application examples use standard Windows drivers).
The most important is the HAL library which contains functions and macros to enable and use all peripheral units on the CC2510 and CC2511. There is also an EB library containing functions and macros to use the peripheral units found on the SmarRF04EB development card.
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. The button is connected to pin P1_2 and GND. The pin P1_2 should be configured as an input with pull-up.
General purpose I/O connectors All GPIO pins on the CC2511 that are not used on the Dongle are routed to the P4 “Test pins” pin-row. They can be used for debugging or to connect external devices to the CC2511. The pin-out is given in Table 3.
Need help?
Do you have a question about the CC2511 and is the answer not in the manual?
Questions and answers