Texas Instruments 2541ARC User Manual

Web sites: www.ti.com/ble E2E Forum: www.ti.com/ble-forum
Kit Contents
1 x Advanced Remote  1 x CC2540USB Dongle  1 x CC Debugger/Programmer  3 x AAA Battery  Documentation
The RF Boards in this kit are FCC and IC certified and tested to comply with ETSI/R&TTE over temperature from 0 to +35°C.
Caution! The kit contains ESD sensitive components. Handle with care to prevent permanent damage.
Introduction
This document will guide you through the initial steps required in order to run the pre programmed Bluetooth® low energy (BLE) demo application.
You will get familiar with the hardware in the box and how to interface the remote with different platforms.
1. Evaluate using dongle. A USB dongle pre-programmed with firmware acting as translator between BLE HID and USB HID is supplied in the kit and works with most operating system platforms.
2. Evaluate using Windows 8 native. Windows 8 includes native support for the BLE HID over GATT profile. Using a BT4.0 dongle or internal BT4.0 hardware you can easily connect the Advanced Remote to your computer.
Hardware Setup
Insert 3xAAA (LR03) batteries in the Advanced Remotes battery holder. You are good to go.
Pressing any button on the remote will put it into advertising mode and make it detectable by Bluetooth Low Energy capable hosts.
Connect Using Single Mode BT4.0 Low Energy CC2540USB HID Dongle
1. Insert dongle in USB port
The dongle will be enumerated as three USB Human Interface Device class devices.
Mouse  Keyboard  Consumer control
The LED on the dongle should start blinking red, indicating its scanning for a Bluetooth Low Energy peripheral which advertises BLE HID service capabilities.
2. Advertise and connect
Press any number key or consumer control key to make the device advertise.
The devices will now connect and pair using JustWorks pairing. The dongle LED should now blink green when data is received from the Advanced Remote and otherwise be off.
Long term bonding entries will be stored in both the Advanced Remote and dongle to speed up subsequent reconnections.
3. Manage connection and bonds
Pressing SW1 on the dongle will disconnect any active connection between the dongle and an Advanced Remote.
Pressing SW2 on the dongle will erase all long term bond information stored on the dongle.
Pressing this button will not affect bond data stored on the Advanced Remote.
Connect to Windows 8 with BT 4.0 LE (Smart Ready) hardware
1. Make sure LE works
In Device manager, under Bluetooth, make sure that you see references to Bluetooth LE.
2. Open PC settings
Move your mouse to the lower right hand corner and click on Settings.
Then click on Change PC settings.
3. Add Advanced Remote
Then click on Devices and Add a device.
CC2541 Advanced Remote Control Quick Start Guide
Opening the Box and Evaluating Bluetooth® Low Energy
SWRU???
January 2013
4. Select and add the remote
If you have pressed a button on the Advanced Remote, and its not connected to another host, it will show up in the list of found devices.
5. Enter pairing code
The devices will now pair using Passkey entry. On your Advanced Remote, enter the 6-digit passkey displayed on the computer screen.
The Advanced Remote is now paired with Windows and bond data is stored on both devices, making reconnection faster and passkey entry unnecessary.
6. Remove device
A device can be removed from Windows and bond data deleted by clicking on the device and then the ( – ) symbol.
Using the Advanced Remote Control
Mouse
keys
Mouse speed
Action keys
1. Advertise and connect
Almost all the keys will make the Advanced Remote start advertising and be discoverable by hosts scanning for HID capable BLE devices.
2. Keyboard input
Pressing any number will act as a keyboard input of that number. The same goes for OK which is Enter, Back which is Backspace and the four keys surrounding OK, which act as directional or arrow keys.
3. Consumer control
Buttons such as Volume, Mute, Play/Pause etc. are consumer control keys, and will control media settings on your computer.
4. Mouse input
Holding down the middle button will prompt the Advanced Remote to interpret your movement of the remote as mouse input and send this to the computer.
Double clicking the middle button will lock the mouse function. The left and right buttons act as left and right mouse buttons.
Pressing AV and –/– will decrease and increase mouse speed.
5. Remove bond information
Pressing the Red action button will remove bonding information stored on the Advanced Remote. Pairing will have to be done again, using passkey entry if applicable.
6. Calibrate
Pressing the Blue action button will force the Advanced Remote to recalibrate the onboard gyroscope and accelerometer used for motion sensing.
Additional Tools and Links
BLE Packet Sniffer
The CC2540 USB Dongle can be used as a BLE sniffer and monitor packets while the iPhone 4S Demo is running.
The SmartRF Protocol Packet Sniffer software can be downloaded at www.ti.com/packetsniffer.
SmartRF Flash Programmer
Texas Instruments has a simple tool which can be used to program and flash the CC2541.
SmartRF Flash Programmer can be downloaded at www.ti.com/tool/flash-programmer.
IAR Embedded Workbench
To develop software, program, and debug the CC2541, you should use IAR Embedded Workbench for 8051.
More information on IAR EW8051, including a free evaluation version download, can be found at www.iar.com/ew8051.
BLE E2E Forum
For additional help, visit the TI Bluetooth low energy E2E forum, www.ti.com/ble-forum, for instant support during your development.
BLE Wiki
Our BLE Wiki contains application examples, guides and documentation covering those extra steps you might need help with. The Wiki is not only managed by Texas Instruments employees but also E2E community members. Anyone can share, edit and make use of the information posted here.
The Wiki is found at www.ti.com/ble-wiki.
Useful Links
TI BLE Stack and Software:
www.ti.com/ble-stack
CC2540/41 Mini Development Kit User Guide:
www.ti.com/lit/swru270
CC2540/41 BLE Software Developer’s Guide:
www.ti.com/lit/swru271
CC2540/41 User’s Guide:
www.ti.com/lit/swru191
CC2541 Product Page:
www.ti.com/cc2541
Loading...
+ 4 hidden pages