Texas Instruments CC2511 사용자 설명서

다운로드
페이지 24
 
 
CC2511 Dongle
 
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. 
 
7.1 
CC2511 USB embedded firmware library 
The CC2511 USB library is a software package aimed at making development of USB 
devices with the CC2511 quick and simple. It supports both vendor-specified device classes 
and standardized device classes such as HID and USB audio, with any number of 
configurations, interfaces and alternate settings. The following features are provided:  
 
•  Initialization of the USB peripheral unit, and response to reset-signaling on the bus.  
•  Automated response to almost all standard requests, based on data from the USB 
descriptor set (the SYNCH_FRAME and SET_DESCRIPTOR requests must be 
handled by the application).  
•  Automated setup of endpoint control registers, depending on the selected 
configuration and interface alternate settings.  
•  All endpoint types are supported: Setup, bulk, interrupt and isochronous. 
•  A simple and efficient interface for responding to class and vendor requests. Both 
automated and manual data transfer is supported. 
•  Endpoint access via a simple set of macros and functions. 
•  Support for suspend mode and remote wake-up. 
•  A function hook- and event-based interface allows for the framework to run from 
main, the USB interrupt, or a combination of both.  
 
The library is completely generic, flexible, efficient, and easy to use. However, it does require 
brief knowledge of the USB specification, including the concepts of configurations, interfaces 
and endpoints, different endpoint types, standard, vendor and class requests, and USB 
descriptor sets. 
 
 
Figure 10: USB library 
 
                                        SWRU082                                      Page 15 of 24