Texas Instruments CC2511 user manual Windows USB driver framework

Page 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 automated processing functions for almost all standard requests. The automated handling and endpoint configuration relies on the USB descriptor set and two look-up tables. Requests that are not supported (SYNCH_FRAME and SET_DESCRIPTOR) or that are class specific, are passed up to the application. The application is also notified upon important events, such as change in endpoint status or interface alternate settings.

The USB Descriptor Parser (usbdp) module provides a mechanism for locating standard- formatted USB descriptors. The user must provide a USB descriptor set, and two simple lookup tables - one for locating other descriptor formats, and another for setting up endpoint double-buffering. The necessary constant and structure definitions, and guidelines for writing compatible descriptor sets, are found in the USB Descriptor module.

The USB Suspend (usbsusp) module provides easy to use, fully automated support for USB suspend, USB resume and USB remote wakeup functionality.

To implement USB suspend and USB resume the user only need to add a short piece of code to the main loop.

USB remote wakeup is performed by a single function call.

The complete documentation of the CC2511 USB embedded firmware framework is available in a compressed HTML file, cc2511_USB_library.chm found in “CC2511DK\embedded_sw\Library\cc2511\CC2511UsbLibrary\doc”.

7.2Windows 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 following features are supported in CUDAL:

The standard requests:

oGET_DESCRIPTOR o GET_STATUS

o SET_CONFIGURATION o GET_CONFIGURATION o SET_INTERFACE

o GET_INTERFACE

All vendor requests

All class requests

BULK and INTERRUPT transfers, with asynchronous and synchronous read and write functions

The following features are not supported in CUDAL:

The following standard requests:

o SET_DESCRIPTOR o SET_FEATURE

o CLEAR_FEATURE

Isochronous transfers

SWRU082

Page 16 of 24

Image 16
Contents CC2511 Dongle Rev Table of contents About this manual IntroductionDefinitions Powered with a USB cable Connecting CC2511 Dongle to SmartRF04EBPowered from the SmartRF04EB CC2511 Dongle powered from USB cable Using SmartRF04EB as an In-Circuit Emulator ICE Recommended debug connector layout Top view Known problems Highlight the project nameCC2511 application examples Screenshot of the Chipcon General Packet SnifferSimplehiddongle.hex Wireless mouse / practical jokeSimplehideb.hex Wireless USB to Serial port converter CC2511ApExSerialPort.infRs232tousbdongle.hex Rs232tousbeb.hexVirtual serial port in Windows Device manager Wireless WinAmp remote control Winampremotedongle.hexWinampremoteeb.hex Genchipconremote.dllCC2511 Dongle USB development framework CC2511 USB embedded firmware libraryWindows USB driver framework Windows USB driver license Other firmware modules and librariesCC2511 Dongle hardware description USB interfaceDebug connector Debug connector P3 pin-out General purpose I/O connectorsTest pins P4 pin-out Cutaway section Pin FunctionCC2511 Dongle schematics CC2511 Dongle schematic,CC2511 Dongle CC2511 Dongle CC2511 Dongle Document history Revision Date Description/Changes

CC2511 specifications

Texas Instruments CC2511 is a highly versatile and efficient System-on-Chip (SoC) designed for wireless communication applications in the 2.4 GHz ISM band. This device is particularly suitable for low-power, low-rate wireless connections, making it ideal for applications such as home automation, industrial control, and medical device communications.

One of the key features of the CC2511 is its integrated low-power, high-performance radio transceiver, which enables robust wireless communication. The device supports a wide range of modulation schemes, including 2-FSK and GFSK, allowing for flexible communication options tailored to specific application requirements. With a maximum output power of +5 dBm, the CC2511 ensures reliable transmission over significant distances while maintaining energy efficiency.

The CC2511 also incorporates a powerful 8051 microcontroller. This 8-bit microcontroller operates at speeds up to 24 MHz and is equipped with 128 bytes of RAM and 4 KB of Flash memory. The integration of the microcontroller allows developers to run application code directly on the chip, simplifying the design and reducing the need for additional components.

Additionally, the CC2511 features multiple connectivity options, including a hardware accelerator for AES-128 encryption. This ensures secure data transmission, which is crucial for applications that require privacy and protection against unauthorized access. The built-in power management features allow for energy-efficient operation, with various sleep modes that help extend battery life for portable devices.

Moreover, the CC2511 supports the SimpleLink technology from Texas Instruments, which offers a seamless development environment and user-friendly tools. Developers can take advantage of software development kits (SDKs), sample applications, and extensive documentation to streamline the development process.

In terms of characteristics, the CC2511 operates across a wide range of temperatures, making it suitable for various environmental conditions. Its compact size and low power consumption make it an excellent choice for battery-operated devices.

In conclusion, Texas Instruments CC2511 stands out as a leading solution for low-power wireless applications with its integrated transceiver, microcontroller, and advanced features. This SoC empowers developers to create innovative and efficient communication solutions across various industries.