Texas Instruments CC2511 user manual Wireless USB to Serial port converter, Rs232tousbdongle.hex

Page 11

CC2511 Dongle

6.2Wireless 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 control on the serial port (CTS and RTS lines) are supported. The radio link has CRC check and automatic retransmission for error free operation.

The application uses a CDC driver found in Windows, if used on other operating systems a suitable driver must be found/created. The Windows driver is rather slow and will limit the maximum throughput to approx 70 Kbit/s.

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 CDC device class are implemented in a separate file.

The radio communication between CC2510EM and CC2511 Dongle is done using the RF part of the CC2511 firmware library.

The application example also uses the buffer module in the library to handle data buffering and the timer4 manager module for timing.

See “Class Definitions for Communication Devices” found on http://www.usb.org/developers/devclass_docs/usbcdc11.pdf for more information about the CDC class.

6.2.1Software components

rs232_to_usb_dongle.hex

The CC2511 USB Dongle firmware, is found in

“CC2511DK\embedded_sw\App_Ex\rs232_to_usb\rs232_to_usb_dongle\”.

rs232_to_usb_eb.hex

The CC2510 EM firmware is found in

“CC2511DK\embedded_sw\App_Ex\rs232_to_usb\rs232_to_usb_eb\”.

CC2511ApExSerialPort.inf

The windows driver for the Wireless USB to Serial port, found in “CC2511DK\pc_sw\App_Ex\rs232_to_usb\driver\”.

6.2.2Installing the application

1.Attach the CC2510EM to a SmartRF04EB and program it with the flash image rs232_to_usb_eb.hex, using IAR workbench or the Chipcon FLASH programmer. (See “CC2430DK_CC2510_CC1110_User_Manual” for more information).

2.Connect the CC2511 Dongle to the other SmartRF04EB and program it with the flash image rs232_to_usb_dongle.hex, using IAR workbench or the Chipcon FLASH programmer.

(See “CC2430DK_CC2510_CC1110_User_Manual” for more information).

3.Disconnect the programmed CC2511 USB Dongle from the SmartRF04EB and plug it into a free USB port on the PC.

4.When windows ask for a driver, point to the file “CC2511ApExSerialPort.inf”.

SWRU082

Page 11 of 24

Image 11
Contents CC2511 Dongle Rev Table of contents Definitions IntroductionAbout this manual Powered from the SmartRF04EB Connecting CC2511 Dongle to SmartRF04EBPowered with a USB cable CC2511 Dongle powered from USB cable Using SmartRF04EB as an In-Circuit Emulator ICE Recommended debug connector layout Top view Highlight the project name Known problemsScreenshot of the Chipcon General Packet Sniffer CC2511 application examplesSimplehideb.hex Wireless mouse / practical jokeSimplehiddongle.hex Rs232tousbeb.hex Wireless USB to Serial port converterCC2511ApExSerialPort.inf Rs232tousbdongle.hexVirtual serial port in Windows Device manager Genchipconremote.dll Wireless WinAmp remote controlWinampremotedongle.hex Winampremoteeb.hexCC2511 Dongle CC2511 USB embedded firmware library USB development frameworkWindows USB driver framework Other firmware modules and libraries Windows USB driver licenseUSB interface CC2511 Dongle hardware descriptionPin Function Debug connectorDebug connector P3 pin-out General purpose I/O connectors Test pins P4 pin-out Cutaway sectionCC2511 Dongle schematic, CC2511 Dongle schematicsCC2511 Dongle CC2511 Dongle CC2511 Dongle Revision Date Description/Changes Document history

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.