RN-52-EK-UG RN-52-EK Evaluation Kit User’s Guide © 2013 Roving Networks. All rights reserved. RN-52-EK-UG Version 1.
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 placing orders and should verify that such information is current and complete.
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 audio module. The RN52 module is mounted to an evaluation board that demonstrates the module’s key features.
RN-52-EK-UG FIGURE 1-1: RN-52-EK EVALUATION BOARD Differential Audio In/Out (J7) Status LEDs Volume Up Previous Track Pause/ Play USB to Module (HCI Mode) Next Track USB to UART (SPP & Command Mode) Volume Down GPIO Pins SPI (J4) Audio In PCM In/Out AIO0, GPIO9 (J3) Audio In 3.5 mm TRR Power On Pairing Mode Audio Out 3.5 mm TRR www.rovingnetworks.
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 connection to the command console. Note: 2. 3. Windows should automatically install the drivers for the cable. If it does not, download and install the FTDI drivers from the Support page on the Roving Networks website at http://www.
RN-52-EK-UG 4.0 POWER UP THE BOARD To power up the board, connect the board and mini-speakers to a power source via USB. Then press and hold the board’s power on button until the speakers issue a two tone alert. The board’s status LEDs give you a visual confirmation that the board is powered up and operating. See Table 4-1. TABLE 4-1: STATUS LEDS LED Status Description Blue and red Flashing The RN52 module is discoverable. Blue only Flashing The module is connectable.
RN-52-EK-UG The default configuration for the Bluetooth device is: • • • • • Bluetooth slave mode Keyboard default authentication mode (no pin code required) Serial port 115,200 Kbps baud rate, 8 bits, no parity, 1 stop bit Serial port flow control disabled Low power mode off You configure the device by putting it into command mode and sending ASCII commands over a serial port. Once you change the configuration parameters, they persist until you change them or perform a factory reset.
RN-52-EK-UG FIGURE 1-4: SERIAL PORT SETTINGS IN TERATERM To place the module on the RN-52-EK evaluation board into command mode, connect a jumper to header pins 3 and 5 (GPIO9) on J3. See Figure 1-5. When entering command mode the module sends CMD to the UART.
RN-52-EK-UG FIGURE 1-6: 5.4 COMMAND MODE ACTIONS IN TERA TERM EMULATOR Making a Bluetooth Connection By default, the Bluetooth adapter acts as a slave and the PC is the master. You connect to the Bluetooth adapter using your computer’s Bluetooth device manager, which varies depending on the operating system. Regardless of the operating system, the process is the same: discovery, pairing, and connecting. 5.4.
RN-52-EK-UG Once connected, the device is in data mode allowing data to flow in both directions. For configuration and programming, the device must be in command mode. See “Enter Command Mode” on page 7 for more information. Note: Only one client can connect to a slave device at a time. As a master, the device can make multiple connections, but only in a point-to-point, serialized fashion. Roving Networks devices do not currently support multi-point master mode.
RN-52-EK-UG 6.0 AUDIO DEMONSTRATION In this demonstration, you play an audio stream on the RN-52-EK using a computer or smartphone. The evaluation board broadcasts the audio through the mini-speakers. To perform the demonstration: 1. 2. 3. Connect the RN-52-EK to a host device (PC or smartphone) that has an audio source. Connect the mini-speakers to RN-52-EK board’s audio out connector (J9). Open the audio source on the host device. Roving Networks recommends using a media player (e.g.
RN-52-EK-UG 5. From another phone, initiate a call to the smartphone that is paired with the RN-52-EK. The A2DP stream pauses and the ringtone plays on the headset/microphone. 6. On your PC, identify the virtual serial port connection to the RN-52-EK UART USB port. 7. In a terminal emulator, open this port with the settings: 115,200 Kbps baud rate, 8 bits, no parity, 1 stop bit. 8. Connect a jumper to header pins 3 and 5 (GPIO9) on J3. Refer back to Figure 1-5 on page 8.
RN-52-EK-UG Appendix 1. RN-52-EK Schematic Figure 1-9 shows the RN-52-EK schematic. PCM_IN PCM_OUT PCM_SYNC MI C_R+ MI C_L + MI C_BI AS L ED0 L ED1 SPI _MOSI SPI _SCK SPI _MI SO SPI _SS 37 36 35 34 33 32 31 30 29 28 PCM_CL K MI C_L 38 39 MI C_R- SPKR_L 42 41 40 SPKR_R+ 43 SPKR_R- SPKR_L + 44 SPI _SS SPI_MISO SPI_SCK SPI_MOSI L ED1 L ED0 MIC_BIAS MIC_L+ MIC_R+ MIC_LMIC_RAGND SPKR_RSPKR_LSPKR_R+ SPKR_L + GND L ED0 L ED1 3.
RN-52-EK-UG NOTES: www.rovingnetworks.com Version 1.