3.1 Associate Driver with USB Dongle. CDC Driver Installation Complete. The device “TI CC2540 Low-Power RF to US D Serial Port” should appear. TI CC2540 USB CDC Serial Port (COM3) - Driver Download. Vendor: Texas Instruments. Product: TI CC2540 USB CDC Serial Port (COM3). Hardware Class: Ports. Search For More Drivers.: Go! PC Matic Newsletter. Our weekly newsletter is packed with computer tips & tricks. Until Now I was working with the cc2540 USB dongle. I ran my program that includes USB CDC implementation. When I connected it to a windows 8 pc it was automatically identified,driver is installed and it worked fine. Now I am working with my costume board.
- Until Now I was working with the cc2540 USB dongle. I ran my program that includes USB CDC implementation. When I connected it to a windows 8 pc it was automatically identified,driver is installed and it worked fine. Now I am working with my costume board.
- CC2540 USB Evaluation Kit Quick Start Guide 1. Kit Contents 1 x CC2540 USB Dongle 1 x Quick Start Guide The CC2540 USB Dongle in this kit is FCC and IC certified and tested to comply with ETSI/R&TTE over temperature from 0 to +35°C. The kit contains ESD sensitive components. Handle with care to prevent.
NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Bluetooth Low Energy Wiki Main Page
This page describes some common configurations when using a CC254x in combination with an external MCU.
Overview[edit]
Name | Description | Advantages | Disadvantages |
---|---|---|---|
Network Processor |
|
|
|
Network Processor GATT_DB_OFF_CHIP |
|
|
|
Network Processor Custom |
|
|
|
Stand Alone App with Serial Interface |
|
|
|
Network Processor[edit]
The HostTestRelease project (included with standard BLE SDK) is the standard BLE Network Processor application. It can be loaded on the CC2540 or CC2541, with the any of the following used as a network processor interface:
1. UART
2. SPI
3. USB CDC virtual UART (CC2540 only)
More information on the HostTestRelease project can be found in the CC254x BLE Software Developer's Guide (http://www.ti.com/lit/pdf/swru271). An overview of the HCI command protocol can be found in the TI BLE Vendor Specific HCI Guide, which is linked from the Windows Start Menu after you have installed the SDK.
For applications which only act as a GATT client and do not need to act as a GATT server, this is an ideal choice.
Network Processor GATT_DB_OFF_CHIP[edit]
The HostTestRelease project has an option that can be enabled by including the preprocessor define 'GATT_DB_OFF_CHIP' to the project configuration (under compiler settings). By adding this define, the network processor will be built such that any GATT services are maintained by the external MCU. This includes handling of all peer GATT requests to read, write, and discover services and characteristics.
Cc2540 Driver Arduino
This option provides for maximum flexibility of the GATT server by the MCU; however the code required on the external MCU is fairly complex.
More information on this type of setup can be found here: http://processors.wiki.ti.com/index.php/LPRF_BLE_NPGATT
Network Processor Custom[edit]
Rather than using GATT_DB_OFF_CHIP, another possibility is to manually add your GATT profiles to the HostTestRelease project, and rebuild the project with the services integrated into the network processor. This reduces the complexity of the external MCU code; however it requires the ability to add custom commands to the network processor in order to allow the external MCU to manage the data in the GATT services.
More information on this type of setup can be found here: http://processors.wiki.ti.com/index.php/BLE_HostTest_Add_Cmds
Stand Alone App with Serial Interface[edit]
Instead of using the HostTestRelease network processor project, another option is to take one of the existing single-chip projects included in the BLE SDK (e.g SimpleBLEPeripheral, HeartRate, RunningSensor, etc...) and modify it to include a 'UART bridge' or a 'SPI bridge', giving the external MCU the ability to communicate with the CC254x.
In addition to creating the brige using the HAL UART or HAL SPI drivers, a communication protocol must be established, allowing the external MCU to send commands to the CC254x (e.g. start advertising, send notification, etc...). It also must allow the CC254x to send event to the external MCU when specific actions occur (e.g. connection established, connection terminated, etc...). For many applications this protocol can be very simple and just consist of a few key commands and events.
More information on this type of setup can be found here: http://processors.wiki.ti.com/index.php/SimpleBLEPeripheral_SerialInterface
Other UART Configurations[edit]
See the following wiki page for all 4 UART configuations: http://processors.wiki.ti.com/index.php/All_4_uart_configs
{{
Please post only comments related to the article CC254X WITH EXT MCU here. | Keystone=
Please post only comments related to the article CC254X WITH EXT MCU here. | C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC254X WITH EXT MCU here. | DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC254X WITH EXT MCU here. | MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC254X WITH EXT MCU here. | OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC254X WITH EXT MCU here. | OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC254X WITH EXT MCU here. | MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC254X WITH EXT MCU here. | For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC254X WITH EXT MCU here. }} |
Links | |||
|
NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
- 3 Hardware Overview
- 4 Software Overview
- 5Driver Features List
- 6References
This section is a quick guide on how to start using usb ports on TI platform with supplied pre-built binaries. Please refer to USB Quick Start
The USB User's Guide provides information about
- Overview of USB hardware and software
- Supported linux driver features for USB host and device mode of operation
- The Linux USB configuration through menuconfig. Please refer to USB configuration
USBSS Overview[edit]
- The USB subsystem includes
- Two instances of USB (Mentor Graphic's USB2.0 OTG) controllers. Each MUSB controller supports USB 1.1 and USB 2.0 standard.
- CPPI 4.1 compliant DMA controller sub-module with 30 RX and 30 TX simultaneous DMA channels
- CPPI 4.1 DMA scheduler
- CPPI Queue Manager module with 92 queues for queuing/dequeuing packets
- Interfaces to the CPU via 3 OCP interfaces
- Master OCP HP interface for the DMA (for data transfers)
- Master OCP HP interface for the Queue manager (to manage CPPI descriptors)
- Slave OCP MMR interface (for CPU to access USBSS/MUSB registers)
- Signals the standard Charge Pump (part of EVM BOM) for VBUS 5V generation
Driver Ti Cc2540 Usb Cdc
MUSB Controller Overview[edit]
The salient features of the MUSB USB2.0 OTG controller are:
- High/full speed operation as USB peripheral.
- High/full/low speed operation as Host controller.
- Compliant with OTG spec.
- 15 Transmit and 15 Receive Endpoints other than the mandatory Control Endpoint 0.
- Double buffering support in FIFO.
- Support for high bandwidth Isochronous transfer
- 32 Kilobytes of Endpoint FIFO RAM for USB packet buffering.
- Interfaced with CPPI4.1 DMA controller with 15 Rx and 15 Tx channels (for each usb controller).
- Defer interrupt enable feature is supported for each packet descriptor of cppi-dma.
Mentor graphics controller driver (or MUSB driver) [edit]
The MUSB driver is implemented on top of Mentor controller IP which supports all the speeds (High, Full and Low). AM33XX USBOTG subsytem uses CPPI 4.1 DMA for all the transfers. The musb driver conforms to linux usb framework and supports both PIO and DMA mode of operation. The musb host controller driver (HCD) binds the controller hardware to linux usb core stack. The musb device or gadget controller driver binds the controller hardware and specific gadget driver (filestorage, cdc/rndis etc).
Linux USB Stack Architecture [edit]
As shown in the figure, linux usb stack is a layered architecture, with musb controller at the lowest layer, the musb host/device controller driver binds the musb controller hardware to linux usb stack framework. The CPPI4.1 DMA controller driver is responsible for transmit/receive of packets over the musb endpoints.
- The Mentor USB driver can be built as module or built-in to kernel
- Support both PIO and DMA mode (The DMA mode not applicable for control endpoint)
- Support two instances musb controller in otg mode (both usb0 and usb1 controller in otg mode. This will allow host or device operation on each port simultaneously.
The driver supports the following features for USB Host (AM33XX)[edit]
Host Mode Feature | AM33xx |
---|---|
HUB class support | Yes |
Human Interface Class (HID) | Yes |
Mass Storage Class (MSC) | Yes |
The driver supports the following features for USB Gadget (AM33XX)[edit]
Gadget Mode Feature | AM33xx |
---|---|
Mass Storage Class (MSC) | Yes |
USB Networking - RNDIS | Yes |
USB Networking - CDC | Yes |
The driver supports the following features for Dual host/gadget (AM33xx)[edit]
Dual Mode Feature | AM33x |
---|---|
USB0 as OTG, USB1 as OTG | Yes |
Not verified features of AM33xx[edit]
Cc2540 Hid
Not verified features | am33x |
---|---|
Wifi support | Not verified |
Serial device | Not verified |
- For more details about EVM, please refer to EVM reference manual.
USB Configuration through menuconfig [edit]
- The Mentor USB driver can be built as module or built into kernel. For more information refer to USB Configuration
Driver Ti Cc2540 Usb Cdc Test
{{
Please post only comments related to the article AM335x USB Driver's Guide here. | Keystone=
Please post only comments related to the article AM335x USB Driver's Guide here. | C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article AM335x USB Driver's Guide here. | DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article AM335x USB Driver's Guide here. | MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article AM335x USB Driver's Guide here. | OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM335x USB Driver's Guide here. | OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM335x USB Driver's Guide here. | MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article AM335x USB Driver's Guide here. | For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article AM335x USB Driver's Guide here. }} |
Links | |||
|