CC2650RC UG

From Texas Instruments Wiki
Jump to: navigation, search

Introduction

Thank you for purchasing a SimpleLink™ Bluetooth® low energy/ZigBee® RF4CE™ CC2650 Remote Control with Voice Support. The purpose of this guide is to quickly get started with evaluation of the CC2650 Remote Control's advanced voice capability on a Windows® 7 or later PC.

This guide provides steps on how to evaluate the CC2650 Remote Control's voice capability using a Bluetooth low energy (formerly known as Bluetooth Smart) or ZigBee RF4CE wireless connection. Instructions are provided depending on the soft-bundle kit purchased from the TI eStore: CC2650RC-BLEDEV for Bluetooth low energy or CC2650RC-RF4CE for ZigBee RF4CE. Both of these soft-bundle kits feature the CC2650 Remote Control, development and programming tools, as well as a PC voice-enabled USB dongle supporting either Bluetooth low energy or ZigBee RF4CE. To evaluate voice on both supported wireless protocols, only an additional PC USB dongle is required. For example, if you purchased the CC2650RC-BLEDEV soft-bundle for Bluetooth low energy and want to evaluate voice over ZigBee RF4CE, only the RF4CE USB dongle is required.

More information for developers looking to get started with voice and remote control application development, including technical details of the CC2650 Remote Control, is available on the CC2650RC Getting Started with Development page.

Kit Contents Overview

remote_v1.png
The CC2650 Remote Control (CC2650RC) comes pre-assembled in a form-factor rubber casing and battery enclosure. The casing has two openings to enable access to the JTAG programming header and DevPack Debugger connector. The CC2650RC operates on two 1.5V alkaline AAA (LR03) batteries (included). Available peripheral hardware on the board includes 32 metal dome buttons (with shift registers for key scanning) and the following on-board components.
Component Manufacturer Product Description
Wireless MCU Texas Instruments CC2650 RF4CE and Bluetooth low energy
Digital Microphone Knowles SPH0641LM4H-1 Used for voice sampling
Motion Sensor Invensense MPU-9250 9-axis motion MEMS motion sensor
Memory Macronix MX25R8035F 1Mb Flash for over-the-air firmware updates
Load Switch Texas Instruments TPS22910AYZV
Shift Register Texas Instruments SN74LV164A 8-Bit Parallel-Out Serial Shift Registers for Key scanning
IR LED Everlight IR333-A
Bi-Color LED Kingbright APHB1608SGEC

See the CC2650RC Kit's included regulatory notice for details regarding regulatory compliance.

  Caution: The kits contain ESD sensitive components. Handle with care to prevent permanent damage.


Unboxing the CC2650RC Kit

CC2650RC_Batteries.png
When batteries are inserted or the plastic shipping tab is removed from the battery compartment, the out of the box software (also known as the "factory" image) performs a quick power-on self test. During the self test you will observe the remote's bi-color (red/green) LED blink a few times and two chirps by the on-board buzzer. After the LED blinking finishes, the self test sequence has completed.

In order to demonstrate the voice capability, the CC2650RC firmware must first be updated with either a Bluetooth low energy (BLE) or Zigbee RF4CE voice-enabled firmware image using a smartphone. Firmware updates are performed wirelessly using the Bluetooth low energy connection of an Android or iOS smartphone.

By the end of this guide, we will have demonstrated the CC2650RC's:

  • Ability to perform over-the-air download (OAD) firmware update from an Android or iOS smartphone
  • Advanced voice capability by performing a voice search using a web browser 
  • Multi-protocol functionality using Bluetooth low energy and ZigBee RF4CE

Perform an Over-the-Air Download (OAD) firmware update of the CC2650RC

To start the OAD service and perform a firmware update of the CC2650RC:

  1. Insert batteries as shown above or remove the plastic shipping tab from the battery compartment (if not done already)
  2. Wait for the out of the box software to finish running power-on self tests (when LEDs stop blinking)
  3. Press the CC2650RC's power_key.png button (the green LED will blink intermittently while during that time) to place the remote control into OAD firmware update mode
  4. Perform OAD update using Android or OAD update using iOS
  5. After OAD update has finished, the red LED on the CC2650RC will flash for a brief period (indicating that its programming the new application). When the LED finishes flashing, the CC2650RC restarts into the new voice application.
  6. Your CC2650RC has now been updated with the voice-enabled firmware image. Follow the instructions under "Connecting the Voice-enabled USB dongle to the Windows PC" to program the USB dongle with the voice-enabled dongle firmware.
  Note: The new sample application does not have the Bluetooth low energy OAD service.
You will have to switch back the out of box software if you want to flash a new application onto the CC2650RC.

To switch back to the out of the box (factory) software perform the following steps:

  1. Press and hold the home_key.png button for seven seconds until the red LED on the CC2650RC starts flashing
  2. Release the home_key.png button and wait for the LED to turn solid red.
  3. Press then release the 2_key.png button to restore the out of box software on the CC2650RC (from external flash to internal on-chip flash).Once the restore completes, the power-on self-test will run
  4. Now you are ready to repeat the steps to start the OAD service

OAD update using Android

  1. Get the Simplelink Starter Android app from here. If you already have the app, please make sure you have the latest version from the Google Play Store.
  2. Enable Bluetooth on your phone
  3. Locate the device with name "CC2650 RC"
  4. Follow the steps shown in the image below and select the firmware file (BLE or RF4CE) corresponding to the purchased soft-bundle:
Android_OAD.png

OAD update using iOS

  1. Get the Simplelink Starter iOS app from here. If you already have the app, please make sure you have the latest version from the Apple App Store.
  2. Enable Bluetooth on your phone
  3. Locate the device with name "CC2650 RC" (Note: if your phone has previously connected to the CC2650RC, it will be listed as "Remote Control 2.0").
  4. Follow the steps shown in the image below and select the firmware file (BLE or RF4CE) corresponding to the purchased soft-bundle:
iOS_OAD.png


Connecting the Voice-enabled USB dongle to the Windows PC

After having performed the OAD firmware update to the CC2650RC, the next step is to program the appropriate CC25xx USB dongle to function as the voice receiver for the CC2650RC. Depending on which software was transferred via OAD to the remote and the purchased soft-bundle kit, you will have a corresponding USB dongle (Bluetooth low energy or ZigBee RF4CE).

Please Note that the CC25xx dongle firmware is for demo purposes only. There are no plans to release the source code for any CC25xx dongle projects.

CC2650RC-BLEDEV

Bluetooth low energy (CC2540 USB dongle)

CC2650RC-RF4CE

ZigBee RF4CE (CC2531 USB dongle)

Program the USB dongle

To emulate an audio receiver we use a CC2540 (for the CC2650RC-BLEDEV soft-bundle) or CC2531 (for the CC2650RC-RF4CE soft-bundle) USB dongle connected to the PC. Both of these dongles need to be programmed using the SmartRF Flash Programmer (not SmartRF Flash Programmer2) and a CC-Debugger with the voice (audio) firmware listed below. The manual on how to use SmartRF Flash Programmer with the CC Debugger to flash the dongle can be found here.

CC2540 USB dongle's BLE firmware is provided as an additional installer which can be found on the CC2650RC's product page. After installing HID VoGATT USB Dongle, you can find the firmware at
C:\ti\simplelink\ble_hidvogatt_1_00_01_02\ble_hidvogatt_1_00_01_02.hex

CC2531 USB dongle's RF4CE firmware is included with the RemoTI 2.00.01.15 SDK and can be found at
C:\ti\simplelink\rti_sdk_2_00_01_15\examples\hex\zrc_audio_cc2531_dongle_sbl.hex

CC2540USB Dongle Buttons.jpg
Connect the CC2650RC to USB dongle

Using the CC2540 USB dongle:

  1. Press Button S2 on the CC2540 USB dongle to start scanning for the CC2650RC.
    When either LED1 (red) or LED2 (green) blinks on the CC2540 USB dongle the device is scanning for the CC2650RC.
  2. Press any button on the CC2650RC to start advertising. The CC2540 USB dongle will automatically connect to the CC2650RC
  3. When the green LED2 is on, the devices are connected.

Using the CC2531 USB dongle:

  1. Press Button S1 on the CC2531 USB dongle to start allow pair requests.
    When either LED1 or LED2 blinks on the CC2531 USB dongle the device is scanning for devices.
  2. Press the "Pair" button on the CC2650RC to send a pair request.
  3. When the green LED2 is on, the devices are connected.
Setup microphone on the PC

1. Right-click on the speaker icon
2. Select Recording devices
Speaker recorder.png Zrc dongle.png

  Note, you may be required to keep the "Recording devices" window open for the proper USB voice data transfer to the windows operating system.
Talk to your PC!

1. Open the Chrome web browser and the default google.com page
2. Click the microphone button, which is located next to the box where you normally type your search.
The page will now say: "Speak now"
Then "Listening"
3. Press-and-hold the MIC button on CC2650RC while talking into the microphone
4. Chrome will now start displaying what you say.
5. Release the MIC button on CC2650RC
6. Wait for result!

ChromeVoiceSearchTest3.png

Getting started with Development

To get your development environment set up, see CC2650RC Getting Started with Development.

References and Links