TI’s CC2540 is a Bluetooth® Low Energy wireless MCU with USB. Find parameters, ordering and quality information. DRIVER OR LIBRARY Download. Bluetooth Low Energy software stack. Download TIDC-CC2540-BLE-USB Assembly Drawing.pdf (19KB) download TIDC-CC2540-BLE-USB PCB.pdf (202KB).
- Operating System Driver Provider Driver Version; Download Driver: Windows 2000 (32 bit) Texas Instruments: 2.50.0.0 Download Driver: Windows XP (32 bit).
- I2C driver (software implementation), for controlling I2C components (e.g. EEPROM on BLE Mini) Firmware upgradable via USB port (support TI CC2540 UBL 1.3) USB CDC which provides a virtual UART via USB port for connecting to an external device with the USB port (e.g. PC Windows/Linux or Mac OSX) Requirement. CC2540 hardware (e.g.
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.
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.
Driver Ti Cc2540 Usb Cdc Download Windows 7
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 | |||
|
Build date: 03302017
Release Information
Click on the links in the table below to download.Description
The MSP430 USB Developers Package provides APIs that make it easy to implement a simple USB data connection between a MSP430 and an USB host. It includes support for these common USB device classes:
- Communications Device Class (CDC)
- Human Interface Device class (HID)
- Mass Storage Class (MSC)
- Personal Healthcare Device Class (PHDC)
Usb Cc2540 Hid Driver
New in 5.20.06.02
- USB stack code and examples
- Function HidToBufferFromHost() updated to get Y buffer byte count from pEP2 instead of pEP1.
- Implementation of auto detection of XT2 crystal frequencies for 4MHz, 8MHz, 12MHz, 16MHz and 24MHz.
- Integration of TI’s AES128 Encryption and Decryption APIs in examples, H10_ReceiveData_EncryptDecrypt and H11_LedOnOff_EncryptDecrypt, added
- Descriptor Tool
- Removed setting for selection of XT2 crystal frequency.
- Custom interfaces are stored in the order they are created in xml file.
- Java HidDemo tool and Python Firmware Upgrader tools
- Python Firmware Upgrader tool updated to download RAM_BSL.00.08.08.39.txt file
- A new version of Java HidDemo tool created that integrates TI’s AES128 Encryption and Decryption APIs.
- USB_API changes
- USB_init() has a routine to auto detect the XT2 frequency. This routine uses Timer A to compare the frequency of SMCLK=XT2 and ACLK=REFO. The timer A will only be used during the initialization of the USB stack. Therefore, it is recommended to initialize the USB stack before initializing the Timer A in an application. If this is not possible, or to disable the XT2 frequency auto detect feature, please see the Programmers_Guide_MSP430_USB_API.pdf for more information.
MSP430_USB_Developers_Package Product downloads
Title | Description | Size | |
---|---|---|---|
MSP430USBDevelopersPackage_5_20_06_02.zip | USB 5_20_06_02 Stack and Examples | 32368K | |
USB Descriptor Tool Installers | |||
MSPUSBDescriptorTool-5_00_11_22-windows-installer.exe | Windows Descriptor Tool Installer | 7756K | |
MSPUSBDescriptorTool-5_00_11_22-linux-installer.run | Linux Descriptor Tool Installer | 5932K | |
MSPUSBDescriptorTool-5_00_11_22-osx-installer.app.zip | Mac OSX Descriptor Tool Installer | 6956K | |
USB Collateral Installers | |||
MSP430_USB_Firmware_Upgrade_Example-1.3.1.1-Setup.exe | Firmware Upgrade Example (Windows-only Commercial licensed) | 10284K | |
Python_Firmware_Upgrader-5_20_06_02.zip | Python based Firmware Upgrade Example (Open Source Licensed) | 6644K | |
Java_HID_Demo-5_20_06_02.zip | Java HID Demo (Open Source Licensed) | 16240K | |
md5sum.txt | MD5 Checksums | 4K |
Legend
Fill in Form. Approved users receive download URL in 1 minute.
Fill in Form. TI will contact you in 1-2+ business days.