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

Page 16
Image 16
Texas Instruments CC2511 user manual Windows USB driver framework

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.