ISSC BM23 BLUETOOTH User manual

Preliminary Edition
2015 Microchip Technology Inc.
page 1
BM23 Bluetooth®
Evaluation Board User’s Guide

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 2
Index
Preface.................................................................................... Error! Bookmark not defined.
1 OVERVIEW ......................................................................................................................5
1.1 INTRODUCTION......................................................................................................................................5
1.2 BM23 EVALUATION BOARD FEATURES ..............................................................................................5
1.3 BM23 EVALUATION BOARD CONTENTS..............................................................................................7
2. Getting Started.............................................................................................................10
2.1 INTRODUCTION....................................................................................................................................10
2.2 HARDWARE REQUIREMENTS ............................................................................................................10
2.3 APPLICATION DEMONSTRATION .......................................................................................................10
2.4 SOFTWARE/UTILITY REQUIREMENTS ..............................................................................................13
2.5 MODULE CONFIGURATION.................................................................................................................25
APPENDIX A. BM23 AUDIO EVALUATION BOARD SCHEMATICS...............................26
APPENDIX B. CLASS D AMPLIFIER DAUGHTER BOARD............................................37

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 3
PREFACE
INTRODUCTION
This chapter contains general information that will be useful to know before using the
Product Name. Items discussed in this chapter include:
Document Layout
Recommended Reading
The Microchip Web Site
Customer Support
Document Revision History
DOCUMENT LAYOUT
This user’s guide describes how to use the BM23 Bluetooth Evaluation Board. The document is organized as
follows:
Chapter 1. “Overview” –This chapter introduces the BM23 Bluetooth Evaluation Board and provides an
overview of various features.
Chapter 2. “Getting Started” –This chapter describes
The hardware components and setup of the BM23 Bluetooth Evaluation Board.
The application demonstrations of the BM23 Bluetooth Evaluation Board.
Software/Utility Requirements of the BM23 Bluetooth Evaluation Board.
Appendix A. “BM23 Audio Evaluation Board Schematics” –This appendix includes a schematic of the
BM23 Bluetooth Evaluation Board.
RECOMMENDED READING
This user’s guide describes how to use the BM23 Bluetooth Evaluation Board. Other useful documents are
listed below. The following Microchip documents are available and recommended as supplemental reference
resources:
STEREO Module Data Sheet (DSxxxxxxxx)
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at http://www.microchip.com. This
web site is used as a means to make files and information easily available to
customers. Accessible by using your favorite Internet browser, the web site contains
the following information:
Product Support –Data sheets and errata, application notes and sample programs, design resources,
user’s guides and hardware support documents, latest software releases and archived software
General Technical Support –Frequently Asked Questions (FAQs), technical support requests, online
discussion groups, Microchip consultant program member listing
Business of Microchip –Product selector and ordering guides, latest Microchip press releases, listing of
seminars and events, listings of Microchip sales offices, distributors and factory representatives

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 4
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
Distributor or Representative
Local Sales Office
Field Application Engineer (FAE)
Technical Support
Customers should contact their distributor, representative or Field Application Engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com
DOCUMENT REVISION HISTORY
Revision A (Aug 2015)
This is the initial released version of this document.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 5
1 OVERVIEW
1.1 INTRODUCTION
This user’s guide describes the hardware and software setup for the BM23 Bluetooth®Evaluation Board.
This board contains the hardware needed to evaluate the BM23 Bluetooth module. The BM23 module is
mounted to an evaluation board that demonstrates the module’s key features. The evaluation board
contains:
PIC18 MCU and YAMAHA YDA174 DSP on board
12 push buttons to control audio playback
Status LEDs
The BM23 supports the following Bluetooth profiles: A2DP, AVRCP, and HFP/HSP
A2DP stereo audio (Sink mode support for Sub-Band Coding (SBC)),
AVRCP media player remote control
HFP/HSP for accepting a phone call support.
For data sheet and other details related to BM23 module, refer to the Microchip web
site at http://www.microchip.com.
This chapter discusses the following topics:
BM23 Evaluation Board Features
BM23 Evaluation Board Contents and Part Details
1.2 BM23 EVALUATION BOARD FEATURES
The BM23 Evaluation Board has the following features:
Fully qualified Bluetooth version 4.1 module, fully compatible with Bluetooth version 3.0, 2.0, 1.2
system.
Embedded BM23 module with postage-stamp size form factor of 15 x 29 x 2.5 mm (include shielding
case)
Embedded Bluetooth stack profiles: A2DP, AVRCP, and HFP/HSP
Stereo audio output for highest quality audio
Castellated SMT pads for easy and reliable PCB mounting
Environmentally friendly, RoHS compliant
Bluetooth SIG certified
Integrate MCU and DSP on board for easy function and feature demonstration.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 6

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 7
1.3 BM23 EVALUATION BOARD CONTENTS
BM23 Evaluation Board contains the following components as shown in Figure 1-1 which describes the
evaluation board’s interfaces and connectors. Table 1-1 describes the various components of the evaluation
board.
FIGURE 1-1: BM23 EVALUATION BOARD

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 8
MIC (JP23)ICSP (J5)
Pin
Description
Pin
Description
1
MIC_P1
1
Reset
2
AGND
2
ICD3 power
3
MIC_N1
3
GND
4
PGD
5
PGC
6
NC
1 2 3
1
2
3
4
5
6

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 9
TABLE 1-1:BM23 EVALUATION BOARD HARDWARE
Hardware Component
Description
BM23
Bluetooth®4.1 Module
USB Connector
USB to UART for EEPROM R/W for BM23.
15V Adapter Jack
Connect to 15V adapter (P2) for main power source of whole system.
Amplifier Audio Out
External AMP Connector JP6 / 7
Audio In
Audio 3.5 mm jack for Mono microphone input(P6) and AUX input(P8)
Status LEDs
Red and Blue LEDs show the pairing/connection status
MFB Button
Switch to turn on/off BM23 module (SW24)
Play/Pause Button
Button to play or pause the audio playback (SW31)
Previous Track Button
Button to skip track backwards (SW23)
Next Track Button
Button to skip track forwards(SW45)
Volume Up Button
Button to increase volume (SW27)
Volume Down Button
Button to decrease volume (SW28)
Reset Button
Reset BM23 (SW10); Reset MCU (SW1)

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 10
2. Getting Started
2.1 INTRODUCTION
This chapter describes how the BM23 Evaluation Board works. Certain hardware and utilities are essential to
support the evaluation/development of demo applications. This chapter discusses the following topics:
Hardware Requirements
Software/Utility Requirements
Module Configuration
2.2 HARDWARE REQUIREMENTS
2.2.1 HARDWARE SETUP
To setup the evaluation hardware, perform the following steps:
1. Make sure pin 1 / 2 / 3 of “SW9”in “Off / Off / On”state make .system in application mode.
2. Connect the speaker line to the amplifier output connector (J6 / 7).
2.2.2 USING THE EVALUATION BOARD
1. Connect 15V adapter P2.
2. Click MFB button to turn-on and enter pairing mode. The status LEDs will blink. Now the BM23 Evaluation
board should be discoverable.
3. Turn on Bluetooth device manager on a host device (PC or smartphone), the host device will display a list
of discoverable Bluetooth devices. Select the device and connect with it.
4. If the pairing with the device is successful, BM23 evaluation board can connect to the host device. Once
connected, BM23 evaluation board enables Advanced Audio Distribution Profile (A2DP) for audio
playback and Audio Video Remote Control Profile (AVRCP) for player control.
2.3 APPLICATION DEMONSTRATION
2.3.1 AUDIO DEMONSTRATION
In this demonstration, user can play an audio stream on both BM23 evaluation boards using a computer or
smartphone. The following are the steps to perform the demonstration.
1. Connect BM23 evaluation board to a host device (PC or smartphone) that has an audio source.
2. Connect speakers to BM23 evaluation board J6 / 7.
3. Open the audio source on the host device. Microchip recommends using media player.(e.g. Microsoft
Media Player, iTunes, and Android).
4. Start the audio stream on the media player.
When BM23 evaluation board is connected to an audio source compatible with Bluetooth AVRCP, the audio
control buttons are use to:
Control the volume of audio output.
Go to the previous track.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 11
Go to the next track.
Start / stop playing the current track.
FIGURE 1-2: BM23 EVALUATION BOARD AUDIO CONTROL BUTTONS

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 12
2.3.2 HSP/HFP DEMONSTRATION
In this demonstration, user can explore the hands-free profile setting to receive an incoming voice call from a
paired smartphone. This demonstration requires a microphone. It would be good to use a PC
headset/microphone (with two-plugs). The following are the steps to perform the demonstration.
1. Connect the speakers / microphone to BM23 evaluation board’s audio out connector (J6/7) and MIC
input (P6) respectively.
2. Connect BM23 evaluation board to a smartphone that supports the A2DP and HFP/HSP Bluetooth
profiles.
3. From another one phone, initiate a call to the smartphone that is paired with BM23 evaluation board. The
A2DP stream pauses and the ringtone plays on the speakers.
4. Click button “MFB” on BM23 evaluation board to accept the incoming call.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 13
2.4 SOFTWARE/UTILITY REQUIREMENTS
2.4.1 UI SETTING
Step1. Open UI tool
Step2. Firstly, you can load default UI setting or previous setting file.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 14
Step3. Click “Edit” to modify the settings meet your needs.
Step4. In the main settings, it can enable or disable supported profile or function which system need.
Click “Next” for other setting.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 15
Step5. You can do system and functional setting in these pages.
Click “Help” you can get more detail information.
Step6. After finish parameter set up, click “Finish” button and a message will remind you check EEPROM
size on your system.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 16
Step7. Click “Save” button to save these UI parameter as a “.txt” file
Step8. We will use MPET tool to merge it with EEPROM table and use EEPROM tool load these parameter
to system.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 17
2.4.2 DSP TOOL SETTING
Step1. Open DSP tool
Step2. Select IC version ““IS2020_XXX_SHS” (XXX is the version of chip, e.g. IS2020S-203)
Step3. You can setup all voice and audio function in these pages.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 18
Step4. Click “Save”button to save these DSP parameter as a “.txt”file after finish all DSP
setting. Then use MPET tool to merge it with EEPROM table and use EEPROM tool load
these parameter to system.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 19
2.4.3 MERGE TOOL SETTING
Step1. Open MPET tool, click “Next” to set up.
Step2. Select “UI Patch Only” to use full EEPROM table to merge UI and DSP parameter.

BM23 BLUETOOTH
EVALUTATION BOARD USER’S GUIDE
Preliminary Edition
2015 Microchip Technology Inc.
page 20
Step3. Select the bin file (full EEPROM table) and click “Next”
Step4. If the bin file had included UI, DSP or patch code parameter, you can see them in block 1 as the
figure below. If you want keep the in your new system, you can select the item which you want to keep and
use “pull down”button to add them to merge list. If you want to add new parameter (e.g. UI and DSP
parameter), click “+” button to add these files into tool for merge with EEPROM table.
Table of contents