Roving Networks RN-52-EK User’s Guide

RN-52-EK-UG
RN-52-EK Evaluation Kit User’s Guide
© 2013 Roving Networks. All rights reserved. RN-52-EK-UG Version 1.0 1/27/13
Copyright © 2013 Roving Networks. All rights reserved. Roving Networks is a registered trademark of Roving Networks. Apple Inc., iPhone, iPad, iTunes, Made for iPhone are registered trademarks of Apple Computer.
Roving Networks reserves the right to make corrections, modifications, and other changes to its products, documentation and services at any time. Customers should obtain the latest relevant information before plac­ing orders and should verify that such information is current and com­plete.
Roving Networks assumes no liability for applications assistance or cus­tomer’s product design. Customers are responsible for their products and applications that use Roving Networks components. To minimize cus­tomer product risks, customers should provide adequate design and oper­ating safeguards.
Roving Networks, Inc. 102 Cooper Court Los Gatos, CA 95032 +1 (408) 395-5300 www.rovingnetworks.com
www.rovingnetworks.com Version 1.0 1/27/13 page 2
Roving Networks products are not authorized for use in safety-critical applications (such as life support) where a failure of the Roving Networks product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifi­cally governing such use.
Advanced Information
RN-52-EK-UG

1.0 OVERVIEW

This document describes the hardware and software setup for the Roving Networks RN-52-EK evaluation kit. This kit contains the hardware you need to evaluate the RN52 Bluetooth aud io module. The RN52 module is mounted to an evaluation board th at demonstrates the module’s key features. The board contains:
• Dual-channel audio output and input
• Easy access to GPIO pins
• Built-in amplifier for stereo audio output
• 6 pushbuttons to control audio playback
•Status LEDs
• Connections for the programmer and UART interfaces The RN52 supports the following Bluetooth profiles:
• A2DP stereo audio (sink mode with an SBC CODEC)
• AVRCP media player remote control
• HFP/HSP for accepting a phone call from a mobile phone
• SPP (allows the module to receive serial data over the UART)
• iAP profile discovery for iOS devices You use the evaluation kit to configure and program the Bluetooth mo dule using the comma nd
interface, create connections, and transfer data. The command interface is made u p of simple ASCII commands. See “Resources & Related Documents” on page 12 for information on avail­able documentation.

2.0 EVALUATION KIT DESCRIPTION

The evaluation kit includes the hardware required to conn ect the eva luatio n board to your com­puter. See Table 2-1. To evaluate the module on the evaluation board, you need a computer with a USB port running the Microsoft Windows or Mac OS-X operating system.
Note: Before beginning your evaluation, you may need to install the driver for the USB
cable. Y ou can download the driver (as well as other tools and utilities) from the Rov­ing Networks website at http://www.rovingnetworks.com/support.php.

TABLE 2-1: EVALUATION KIT CONTENTS

Hardware Description
Evaluation board Contains the Bluetooth module and connectors. Mini-USB cable Links your computer to the evaluation board. Stereo mini-speakers USB powered speakers. RN52 samples Kit includes two sample RN52 modules.
Figure 1-1 provides the RN-52-EK evaluation board and pin information.
www.rovingnetworks.com Version 1.0 1/27/13 page 3
Advanced Information

FIGURE 1-1: RN-52-EK EVALUATION BOARD

161412
151311
210864
19753
210864
19753
1 2 3 4 5 6
12
12
Differential
Audio In/Out (J7)
Volume
Up
RN-52-EK-UG
USB to Module
(HCI Mode)
USB to UART
(SPP & Command Mode)
SPI (J4)
Audio In
PCM In/Out, AIO0, GPIO9
(J3)
Status
LEDs
PCM In/Out
AIO0, GPIO9 (J3)
Differential Audio In/Out
(J7)
Audio In
3.5 mm TRR
Previous
Track
Audio Out
3.5 mm TRR
Pause/
Play
Power On
Pairing Mode
SPI (J4)
Next
Track
Volume
Down
GPIO
Pins
Pin Description Pin Description Pin Description
1 UART_TX 1 SPKR_R- 1 SPI_MISO 2 VBUS 2 MIC_L+ 2 SPI_MOSI 3 UART_RX 3 SPKR_L- 3 SPI_SCK 4 AIO0 4 MIC_R+ 4 SPI_SS 5 GPIO9 5 SPKR_R+ 5 3.3 V 6GND 6MIC_L- 6 GND 7 GND 7 SPKR_L+ 8 PCM_IN 8 MIC_R- MIC Left (J8) 9GND 9GND
10 PCM_OUT 10 MIC_BIAS 11 GND
Pin Description
12 PCM_SYNC MIC Right (J6) 1MIC_L 13 GND 2 GND 14 PCM_CLK
15 GND
Pin Description
16 3.3 V 1 MIC_R
2GND
www.rovingnetworks.com Version 1.0 1/27/13 page 4
Advanced Information
RN-52-EK-UG

3.0 HARDWARE SETUP

To set up the evaluation hardware, perform the following steps:
1. Connect the min-USB cable to your computer ’s USB port and to the evaluation board’s UART connector. This connection provides power to the board and provides a data con­nection to the command console.
Note: Windows should automatically install the drivers for the cable. If it does not, down-
load and install the FTDI drivers from the Support page on the Roving Networks website at http://www .rovingnetworks.com/support.php.
2. Note the COM port to which you have attached the cable.
3. Connect the portable mini-speaker 3.5 mm TRR plug to the stereo audio out connector (J9). The mini speakers are powered via USB.
CAUTION
Roving Networks recommends that you connect the RN-52-EK evaluation board and min-speakers to different USB sources to avoid a ground loop that causes noise in the audio output.
Figure 1-2 shows the completed hardware setup for the evaluation board.

FIGURE 1-2: COMPLETED HARDWARE SETUP

www.rovingnetworks.com Version 1.0 1/27/13 page 5
Advanced Information
Loading...
+ 9 hidden pages