BM20 Bluetooth Evaluation Board User s...

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

Transcript of BM20 Bluetooth Evaluation Board User s...

Page 1: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

Preliminary Edition 2015 Microchip Technology Inc. page 1

BM20 Bluetooth®

Evaluation Board User’s Guide

Page 2: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 2

Index

Preface ........................................................................................................................................ 4

1 OVERVIEW .............................................................................................................................. 6

1.1 INTRODUCTION................................................................................................................................................ 6 1.2 BM20 EVALUATION BOARD FEATURES ........................................................................................................ 6 1.3 BM20 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. BM20 AUDIO EVALUATION BOARD SCHEMATICS ....................................... 26

APPENDIX B. CLASS D AMPLIFIER DAUGHTER BOARD .................................................... 32

Page 3: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 3

TO OUR VALUED CUSTOMERS

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip

products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and

enhanced as new volumes and updates are introduced.

If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via

E-mail at [email protected]. We welcome your feedback.

Most Current Data Sheet

To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:

http://www.microchip.com

You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page. The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000).

Errata

An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision of silicon and revision of document to which it applies.

To determine if an errata sheet exists for a particular device, please check with one of the following:

• Microchip’s Worldwide Web site; http://www.microchip.com

• Your local Microchip sales office (see last page)

When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are using.

Customer Notification System

Register on our web site at www.microchip.com to receive the most current information on all of our products.

Abbreviations List: HFP: Hands-free Profile AVRCP: Audio Video Remote Control Profile A2DP: Advanced Audio Distribution Profile HSP: Headset Profile NFC: Near Field Communication

Page 4: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 4

Preface

NOTICE TO CUSTOMERS

All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available.

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 BM20 Bluetooth Evaluation Board. The document is organized as

follows:

Chapter 1. “Overview” – This chapter introduces the BM20 Bluetooth Evaluation Board and provides an

overview of various features.

Chapter 2. “Getting Started” – This chapter describes

The hardware components and setup of the BM20 Bluetooth Evaluation Board.

The application demonstrations of the BM20 Bluetooth Evaluation Board.

Software/Utility Requirements of the BM20 Bluetooth Evaluation Board.

Appendix A. “BM20 Audio Evaluation Board Schematics” – This appendix includes a schematic of the

BM20 Bluetooth Evaluation Board.

RECOMMENDED READING

This user’s guide describes how to use the BM20 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

Page 5: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 5

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 programmember 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

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.

Page 6: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 6

1 OVERVIEW 1.1 INTRODUCTION This user’s guide describes the hardware and software setup for the BM20 Bluetooth

® Evaluation Board.

This board contains the hardware needed to evaluate the BM20 Bluetooth module. The BM20 module is

mounted to an evaluation board that demonstrates the module’s key features. The evaluation board contains:

Stereo audio output

Easy access to IO pins

6 push buttons to control audio playback

Status LEDs

The BM20 supports the following Bluetooth profiles: A2DP, AVRCP, and HFP/HSP

A2DP stereo audio (Sink mode wi 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 BM20 module, refer to the Microchip web

site at http://www.microchip.com.

This chapter discusses the following topics:

BM20 Evaluation Board Features

BM20 Evaluation Board Contents and Part Details

1.2 BM20 EVALUATION BOARD FEATURES The BM20 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 BM20 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

On board external CDA for speaker demonstration.

Page 7: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 7

1.3 BM20 EVALUATION BOARD CONTENTS BM20 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: BM20 EVALUATION BOARD

Audio Output (JP23) MIC (JP22) NFC tag connector (JP3)

Pin Description Pin Description Pin Description

1 AOHPL 1 MIC_P1 1 NFC_P

2 AOHPM 2 AGND 2 NFC_N

3 AOHPR 3 MIC_N1

1 2 3 1 2 3 1 2

Page 8: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 8

IO Connector (J1) On Board External CDA Interface (J2)

Pin Description Pin Description Pin Description

1 P0_0 7 P2_4 1 External AMP enable

control(P1_5) 2 P3_0 8 P0_2 2

3 P2_0 9 P0_3 3 R channel signal to external

AMP. 4 P1_5 10 P0_5 4

5 P0_4 11 P2_7 5 L channel signal to external

AMP. 6 P0_1 12 P2_4 6

7 5V power for external AMP

from USB. 8

External AMP Connector (JP26) Battery connector (JP20) and Jack (JP19)

(Alternative for BAT_IN)

Pin Description Pin Description

1 EXT_AMP_EN 1 BAT_IN

2 SPKR 2 GND

3 AGND

4 SPKL

5 AMP_POWER

1 2 3 4 5 2 1 +

1 3 5 7 9 11

2 4 6 8 10 12

Page 9: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 9

TABLE 1-1:BM20 EVALUATION BOARD HARDWARE

Hardware Component Description

BM20 Bluetooth® 4.1 Module

USB Connector DC 5V input, USB to UART for EEPROM R/W

BAT connector & Jack JP20 and JP19 , alternative for BAT_IN

Audio Out

Audio 3.5 mm jack for audio playback(P6).

External AMP daughter board connector (JP26).

On Board external CDA output connector (J3/4).

Audio In Audio 3.5 mm jack for Mono microphone input(P5) and AUX input(P7)

Status LEDs Red and Blue LEDs show the pairing/connection status

MFB Button Switch to turn on/off BM20 module (SW7; Button 0 in UI)

Play/Pause Button Button to play or pause the audio playback (SW8; Button1 in UI)

Previous Track Button Button to skip track backwards (SW4; Button 5 in UI)

Next Track Button Button to skip track forwards(SW5; Button 4 in UI)

Volume Up Button Button to increase volume (SW9; Button 2 in UI)

Volume Down Button Button to decrease volume (SW10; Button 3 in UI)

Reset Button Reset system (SW11)

NFC Tag Connector NFC Tag connector.(For NFC tag without Rectifier Circuit)(JP3)

MP Tool Interface Interfaces connect to VICTORIA board when use MP Tool

Page 10: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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 BM20 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 “SW12” in “Off / Off / On” state make .system in application mode.

2. Connect the portable mini-speaker 3.5 mm to the stereo audio out connector (P6).

2.2.2 USING THE EVALUATION BOARD 1. Connect Li-Ion batteries to JP20 or JP19.

2. Click MFB button to turn-on and enter pairing mode. The status LEDs will blink. Now the BM20 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. The board display as “EDDY SHS”.

4. If the pairing with the device is successful, BM20 evaluation board can connect to the host device. Once

connected, BM20 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 BM20 evaluation boards using a computer or

smartphone. The following are the steps to perform the demonstration.

1. Connect BM20 evaluation board to a host device (PC or smartphone) that has an audio source.

2. Connect headphones (or mini-speakers) to BM20 evaluation board P6.

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 BM20 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.

Page 11: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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: BM20 EVALUATION BOARD AUDIO CONTROL BUTTONS

FIGURE 1-3: BM20 EVALUATION BOARD WITH EXTERNAL CLASS-D AMPLIFIER

(It need modify the setting in UI to support external amplifier)

Page 12: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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 headset/microphone to BM20 evaluation board’s audio out connector (P6) and MIC input

(P5) respectively.

2. Connect BM20 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 BM20 evaluation board. The

A2DP stream pauses and the ringtone plays on the headset.

4. Click button “MFB” on BM20 evaluation board to accept the incoming call.

Page 13: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 14: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 15: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 16: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 17: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 18: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 19: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 20: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 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.

Page 21: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 21

Step5. Select an output path and create a name for the merged EEPROM table.

Step6. Click “Generate” button to generate the new EEPROM table.

Page 22: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 22

Step7. Select if you want use new setting of these parts.

Step8. Now you have a merged patch file (*.ipf file).

Page 23: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 23

2.4.4 Procedure to Update EEPROM Parameters

Step 1. Make sure SW12 in “ROM TEST” mode. Step 2. Connect EVB “P1” port and PC by USB cable. LED1 & LED2 on EVB will keep lighting. Step 3. Run the E2PROM_tool.exe program and a window will be come up as below

Page 24: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 24

Step 4. Specify the COM Port.

Step5. Press ”Browse” to choose the file where you want to write EEPROM table or patch file.

Step6. Press” Write” to write these setting to EEPROM

Step7. After finish data update, remove USB cable and make SW12 to “ROM APP” mode and reboot.

Now EVB can use the new setting after updated EEPROM parameter.

Page 25: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 25

2.5 MODULE CONFIGURATION

2.5.1 Mode Settings Setting in Mode Switch:

For ROM chip application

Mode SW12 Setting Switch 12 PIN Definition

Test Mode

1: ON (P2_0: LOW) 2: OFF (P2_4: HIGH) 3: ON (EAN: HIGH)

Application Mode

1: OFF (P2_0: HIGH) 2: OFF (P2_4: HIGH) 3: ON (EAN: HIGH)

Page 26: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 26

APPENDIX A. BM20 AUDIO EVALUATION BOARD SCHEMATICS EVB block diagram

Page 27: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 27

PC

B1

FP

-BM

20

P0_0

1

EA

N2

P3_0

3

P2_0

4

P1_5

5

P0_4

6

SP

KR

7

AO

HP

M8

SP

KL

9

VD

DA

10

MIC

1_P

11

MIC

1_N

12

MIC

_B

IAS

13

AIR

14

GND23NC22BAT_IN21ADAP_IN20VDD_IO19P0_118VCC_RF17RST16AIL15

GN

D37

P2_4

36

P2_7

35

P0_5

34

HC

I_R

XD

33

HC

I_TXD

32

P0_3

31

P0_2

30

P2_4

29

LE

D2

28

LE

D1

27

MF

B26

BK

_O

UT

25

SY

S_P

WR

24

R93

1K

12

(NFC_N)

NF

C_P

NF

C t

rig

ge

r c

irc

uit

JP

3JP

1x2 1 2

R70

270/1

%

12

D11

CD

SU

400B

12

D6

21

R71

1M

1 2

R56

120/1

%1

2

D12

CD

SU

400B

12

GD

S

Q3

STS

2306

31

2

GD

SQ6

STS

2301

13

2

SY

S_P

WR

MF

B

P0_4

Board

Nam

e

Siz

eTitle

Rev

Date

:S

heet

of

P/N

MO

DU

LE

4.0

BM

20 E

VB

14

Wednesday

, July

22,

2015

0355

5F, N

o.5,

Indu

stry

E. R

d. V

II, H

sinc

hu S

cien

ce P

ark,

Hsin

chu C

ity

30078,

Taiw

an

TE

L.

886-3

-5778385

BA

T_IN

AD

AP

_IN

3rd

LE

DLE

D2

LE

D1

P2_4

C6

0.1

u/1

0V

BLUE

LED L

ED

2LE

D-H

R1

2RED

LE

D1

LE

D-B

12

R39

1K

12

VD

D_IO

SY

S_P

WR

LE

D3

LE

D-G

12

Sli

de

Sw

itch

RE

VGP

IO D

es

cri

pti

on

Vo

lum

e d

ow

n

Vo

lum

e u

p

P00

Syst

em

Co

nfi

gu

rati

on

Syst

em

Co

nfi

gu

rati

on

Pla

y/P

au

se

FW

D

NF

C

P20

P03

P24

P05

P01

Lin

e-i

n d

ete

ct

P04

P02

P27

P30

AIL

P0_1

EA

N

MIC

_N

1M

IC_P

1

MIC

_B

IAS

AO

HP

MA

OH

PL

P2_0

P0_4

P3_0

C59

10u/1

6V

C54

4.7

u/1

0VA

OH

PR

CO

DE

C_V

O

MIC

_B

IAS

RS

T_N

VD

D_IO

AM

B_D

ET

AIR

P2_7 P

0_2

LE

D2

LE

D1

MF

BP2_4

BK

_O

UT

LE

D1

HC

I_TXD

HC

I_R

XD

SY

S_P

WRL

ED

2

I/O TEST

P0_5

J1

JP

2x6

1 3 5 7 911

2 4 6 8 10

12

P0_0

P3_0

P0_4

P2_0

P2_7

P2_4

P0_2

P0_1

P0_3

P2_4

P1_5

P0_5

P0_3

BK

_O

UT

BA

T_IN

AM

B_D

ET

C64

NP

-0603

R66

NP

-0603

AM

B_D

ET

R67

NP

-0603

DP

24

DP

-4

2 1

DP

25

DP

-4

21

SY

S_P

WR

P2_4

RS

T_N

P1_5

VC

C_R

F

P0_0

U7

G691L293

GN

D1

RS

T2

VC

C3

Page 28: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 28

USB_GND

VBUS

D-

D+

ID

GND

P1

UC

B02S

B3021-9

9R 1 2 3 4 5

68 97

10 11

D-

D+

USB_GND

C132

0.1

u/1

0V

L2

FB

-0603

12

L1

FB

-0603

12

C7

47u/1

6V

1 2

AD

AP

_IN

AD

AP

_IN

MF

B

Board

Nam

e

Siz

eTitle

Rev

Date

:S

heet

of

P/N

PO

WE

R /

UA

RT

HC

I4.0

BM

20 E

VB

24

Wednesday

, July

22,

2015

0355

5F

, N

o.5

, In

dustr

y E

. R

d. V

II, H

sin

chu

Scie

nce

Park

,

Hsin

chu C

ity

30078,

Taiw

an

TE

L.

886-3

-5778385

DC POWER SOURCE

BATTERY CONNECTOR

BAT

JACK

BAT

CONNECTOR

JP

19

SJP

1x2

2

1

34

JP

20

JP

1x2

12

C12

NP

-0603

C13

0.1

u/1

0V

BA

T_IN

VD

D_IO

ON

SW

12

SW

-3B

IT

123

456

R95

4K

7

1 2

R8

4K

7

1 2

R7

10

12

P2_0

EA

NP

2_4

BA

T_IN

AD

AP

_IN

VC

C_R

F

CO

DE

C_V

O

BK

_O

UT

MIC

_B

IAS

JP

9JP

2x20

12

34

56

78

910

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

VICTORIA/EDGAR II INTERFACE

VD

D_IO

C5

0.1

u/1

0V

C9

0.1

u/1

0V

C4

0.1

u/1

0V

AO

HP

RA

OH

PL

P2_4

P2_0

AIR

AIL

EA

N HC

I_R

XD

HC

I_TXD

MIC

_P

1M

IC_N

1

EXT_3V

3

TX

EXT_3V

3

C128

0.1

u/1

0V

C129

12p/5

0V

C130

12p/5

0V

C131

0.1

u/1

0V

U10

MC

P2200

VD

D1

OS

C1

2

OS

C2

3

RS

T4

GP

7/T

xLE

D5

GP

6/R

xLE

D6

GP

57

GP

48

GP

39

TX

10

RTS

11

RX

12

CTS

13

GP

214

GP

1/U

SB

CF

G15

GP

0/S

SP

ND

16

VU

SB

17

D-

18

D+

19

VS

S20

R88

NP

-0402

C62

0.1

u/1

0V

X2

X4P

-12M

HZ

4 13 2

D+

R89

10K

1 2

D-

RS

T_N

R90

470

12

HC

I_R

XD

R91

3K

12

HC

I_TXD

RX

R92

3K

12

JP

16

JP

1x2

12

TEST GND

Page 29: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 29

AIL

AIR

LIN

E_L

C2

40

.1u/1

0V

LIN

E_R

P7

TS

H-3

86

5D

43 210

1

R3

1 0

12

R3

3 01

2

R3

4N

P-0

402

R3

5N

P-0

402

C4

81

u/1

6V

C3

71

u/1

6V

C4

5N

P-0

402

C4

6N

P-0

402

AIR

P3_0

AIL

JP

26

JP

1x5

12345

(EXT AMP enable)

EXT AMP CONNECTOR

SP

KL

SP

KR

AD

AP

_IN

P1_5

Boa

rd N

am

e

Siz

eTitle

Re

v

Da

te:

Sheet

of

P/N

AU

DIO

TE

ST

IN

TE

RF

AC

E4

.0

BM

20 E

VB

34

We

dn

esd

ay

, Ju

ly 2

2,

201

5

0355

5F

, N

o.5

, In

dustr

y E

. R

d. V

II, H

sin

chu S

cie

nce P

ark

,

Hsin

ch

u C

ity

300

78

, Ta

iwa

nTE

L.

8

86

-3-5

77

83

85

ON BOARD EXT AMP SWITCH

C1

33

10u

/6.3

V

C1

35

10u

/6.3

VC

134

10u

/6.3

V

R2

10K

/1%

1 2

P1_

5_

AM

P R9

64K

7

1 2

D7

CD

BU

024

0

21

FB

3G

SM

A20

12

09

12

R3

10

12

R_VON

C1

36

0.4

7u

/50V

R_VOP

C1

37

0.4

7u

/50V

U2

PA

M8

00

4

PV

DD

L1

-OU

TL

2

PG

ND

L3

+O

UTL

4

SH

DN

5

VR

EF

6

INL

7

GN

D8

VD

D9

INR

10

NC

11

NC

12

+O

UTR

13

PG

ND

R14

-OU

TR

15

PV

DD

R16

C1

51

u/1

0V

SP

KL_

AM

P

L_VON

L_VOP

FB

2G

SM

A20

12

09

12

C1

02

20

p/5

0V

C1

12

20

p/5

0V

C1

38

220

p/5

0V

FB

5G

SM

A20

12

09

12

C8

220

p/5

0V

FB

4G

SM

A20

12

09

12

L4

NP

-12

06

1 2

L_OUT

R_OUT

R_IN

L_IN

C2

7N

P-0

402

L6

NP

-12

06

1 2

L3

NP

-12

06

1 2

C2

6N

P-0

402

L5

NP

-12

06

1 2

C3

0N

P-0

402

C2

8N

P-0

402

C2

9N

P-0

402

C3

1N

P-0

402

C1

63

9p

/50V

C1

71

0p

/50V

C1

40

10p

/50V

C1

41

39p

/50V

SP

KR

_A

MP

R5

82K

/1%

12

R4

82K

/1%

12

AO

HP

R

AO

HP

L

AO

HP

RA

OH

PM

AO

HP

LA

OH

PM

P6

PJ-2

00

1-5

K

123 45

FB

1

GS

MA

20

12

09

12

SPK JACK

+

C3

100

u/1

6V

1 2

AD

AP

_IN

_A

MP +

C1

39

100

u/1

6V

1 2

AD

AP

_IN

_A

MP

R1

22K

12

C1

82

.2u/6

.3V

R9

1K

12

C1

92

.2u/6

.3V

R1

01K

12

MIC

_B

IAS

P5

PJ-2

00

1-5

K

123 45

JP

22

JP

1x3

1 2 3

MIC1

MIC

_N

1

MIC

_P

1

C2

32

20

p/5

0V

C2

10

.1u/1

0V

C2

50

.1u/1

0V

AO

HP

MA

OH

PM

JP

23

JP

1x3

1 2 3

AO

HP

R

AO

HP

L

SP

KR

SP

KL

C7

71

u/1

6V

C7

81

u/1

6V

AO

HP

R

AD

AP

_IN

_A

MP

P1_

5_

AM

PS

PK

R_

AM

PS

PK

L_

AM

P

J2

JP

2x4

1 3 5 7

2 4 6 8

P1_5

SP

KL

AD

AP

_IN

SP

KR

J4

HD

R 1

x2 1

2

J3

HD

R 1

x2

12

LIN

E IN

PU

T

Page 30: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 30

RESET PUSH BUTTON

GD

S

Q9

STS

23

01

13

2

R2

1

100K

12

SL

IDE

_S

W

R3

610K

1 2

GD

S

Q10

STS

23

06

31

2

SW

6S

W-1

BIT

12

R3

7

100K

1 2

SY

S_

PW

R

P0_0

VD

D_

IO

Btn0(MFB)

MF

B

Bo

ard

Na

me

Siz

eT

itle

Re

v

Da

te:

Sheet

of

P/N

PU

SH

BU

TT

ON

/SW

ITC

H4

.0

BM

20 E

VB

44

We

dn

esd

ay

, Ju

ly 2

2,

20

15

0355

5F

, N

o.5

, In

dustr

y E

. R

d. V

II, H

sin

chu S

cie

nce P

ark

,

Hsin

ch

u C

ity

30

07

8,

Ta

iwa

nT

EL

.

88

6-3

-57

78

38

5

P0_3

MUSIC CONTROL PUSH BUTTON

SY

S_

PW

R

C5

71

0u

/16

V

Btn1(PLAY/PAU)

Btn4(FWD)

MF

B

SLIDE SWITCH

SW

4T

S0

8M

-PF

21

SW

8T

S0

8M

-PF

21

SW

10

TS

08

M-P

F

21

SW

5T

S0

8M

-PF

21

Btn5(REW)

C3

81

5p

/50

V

SW

9T

S0

8M

-PF

21

C4

11

5p

/50

V

P2_7

C3

91

5p

/50

V

SW

7T

S0

8M

-PF

21

SW

11

TS

08

M-P

F

21

C4

01

5p

/50

V

Btn2(VOL+)

Btn3(VOL-)

P0_5

C4

21

5p

/50

V

P0_2

P0_1

RS

T_

N

Page 31: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 31

Page 32: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 32

APPENDIX B. CLASS D AMPLIFIER DAUGHTER BOARD BM20 EVB reserves an interface (JP26) to connect with an external class D amplifier daughter board for speaker application demonstration. Here is a daughter board example of NAU8223 3.1W class D amplifier.

On the daughter board, we reserve pin header for amplifier gain setting, L/R channel speaker connector and BM20 EVB connector. It can be connected with BM20 EVB to emulate a speaker application.

The schematics of the daughter board as below:

Speaker Connector for L/R channel

BM20 EVB Connector

Amplifier Gain Setting

Page 33: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

BM20 BLUETOOTH

EVALUTATION BOARD USER’S GUIDE

Preliminary Edition 2015 Microchip Technology Inc. page 33

C23

0.4

7u/5

0V

C24

0.4

7u/5

0V

AL

AR

P6

PJ-2

001-5

K

123 45

EN

AR

AL

AP

JP

6

JP

2x4

1357

2468

C7

1000p/1

6V

C8

1000p/1

6V

C10

1000p/1

6V

C11

1000p/1

6V

R3

100K

1 2

R4

100K

1 2

VD

DV

DD

U3

NA

U8223O

UTR

P1

VD

D2

NC

3

EN

4

INR

5

IPR6

GS7

VDD8

VSS9

IPL10

INL

11

NC

12

NC

13

VD

D14

OU

TLP

15

VSS16 OUTLN17 VDD18 OUTRN19 VSS20 VSS21

VD

D

CN

1

CO

NN

1X5

1 2 3 4 5

JP

1JP

2x3

135

246

VD

D

VD

D

VD

D

L_VONL_VOP

AP

EN

R_VONR_VON

C12

0.4

7u/5

0V

FB

1

GS

MA

201209

12

JP

7JP

2x3

135

246

R_VOP R_VOP

C13

0.4

7u/5

0V

GS

GS vs. Gain Setting

GAIN(dB)

24

18

12

6

JP

2JP

1x21 2

0

JP

3JP

1x2

1 2

GS

GND

100K to GND

VDD

100K to VDD

FLOATING

JP

4JP

1x21 2

JP

5JP

1x2

1 2

AL

AR

AL

C25

0.1

u/1

6V

C26

0.1

u/1

6V

C27

0.1

u/1

6V

C28

0.1

u/1

6V

L_VOP

L_VON

D1

LL4148

21

FB

2G

SM

A201209

12

FB

3G

SM

A201209

12

VD

D

FB

5G

SM

A201209

12

FB

4G

SM

A201209

12

L_IN

R_IN

R_OUT

L_OUT

JP

8JP

1x21 2

JP

9

JP

1x2

1 2L1

NP

-1206

1 2

L2

NP

-1206

1 2

L3

NP

-1206

1 2

L4

NP

-1206

1 2

R5

10K

1 2

P N GND

N P GND

C14

10u/1

0V

C20

10u/1

0V

C21

10u/1

0V

C22

10u/1

0V

L_P N

R_P N

C17

10p/5

0V

C18

10p/5

0V

C16

39p/5

0V

C19

39p/5

0V

AR

Board

Nam

e

Siz

eTitle

Rev

Date

:S

heet

of

P/N

MA

IN C

IRC

UIT

1.0

NA

U8223

ISS

C T

echno

log

ies C

orp

.A

DD

.

4F

, N

o.8

, D

usin

g R

d.,

Hsin

chu S

cie

nce P

ark

,H

sin

chu C

ity

30078,

Taiw

an

TE

L.

886-3

-5778385

A

11

Monday

, O

cto

ber

15,

2012

0130

R2

4K

7

1 2

+C

37

100u/1

6V

1 2

+C

3100u/1

6V

1 2

Page 34: BM20 Bluetooth Evaluation Board User s Guideww1.microchip.com/downloads/en/DeviceDoc/BM20_EVB_V4_USER_GUIDE.pdfEvaluation Board User’s Guide . ... to obtain the latest documentation

Worldwide Sales and Service

AMERICAS Corporate Office 2355 West Chandler Blvd.

Chandler, AZ 85224-6199

Tel: 480-792-7200

Fax: 480-792-7277

Technical Support:

http://www.microchip.com/

support

Web Address:

www.microchip.com

Atlanta Duluth, GA

Tel: 678-957-9614

Fax: 678-957-1455

Austin, TX Tel: 512-257-3370

Boston

Westborough, MA

Tel: 774-760-0087

Fax: 774-760-0088

Chicago Itasca, IL

Tel: 630-285-0071

Fax: 630-285-0075

Cleveland

Independence, OH

Tel: 216-447-0464

Fax: 216-447-0643

Dallas Addison, TX

Tel: 972-818-7423

Fax: 972-818-2924

Detroit Novi, MI

Tel: 248-848-4000

Houston, TX Tel: 281-894-5983

Indianapolis

Noblesville, IN

Tel: 317-773-8323

Fax: 317-773-5453

Los Angeles

Mission Viejo, CA

Tel: 949-462-9523

Fax: 949-462-9608

New York, NY Tel: 631-435-6000

San Jose, CA Tel: 408-735-9110

Canada - Toronto Tel: 905-673-0699

Fax: 905-673-6509

ASIA/PACIFIC

Asia Pacific Office

Suites 3707-14, 37th Floor

Tower 6, The Gateway

Harbour City, Kowloon

Hong Kong

Tel: 852-2943-5100

Fax: 852-2401-3431

Australia - Sydney Tel: 61-2-9868-6733

Fax: 61-2-9868-6755

China - Beijing Tel: 86-10-8569-7000

Fax: 86-10-8528-2104

China - Chengdu

Tel: 86-28-8665-5511

Fax: 86-28-8665-7889

China - Chongqing

Tel: 86-23-8980-9588

Fax: 86-23-8980-9500

China - Hangzhou

Tel: 86-571-8792-8115

Fax: 86-571-8792-8116

China - Hong Kong SAR

Tel: 852-2943-5100

Fax: 852-2401-3431

China - Nanjing

Tel: 86-25-8473-2460

Fax: 86-25-8473-2470

China - Qingdao

Tel: 86-532-8502-7355

Fax: 86-532-8502-7205

China - Shanghai Tel: 86-21-5407-5533

Fax: 86-21-5407-5066

China - Shenyang

Tel: 86-24-2334-2829

Fax: 86-24-2334-2393

China - Shenzhen

Tel: 86-755-8864-2200

Fax: 86-755-8203-1760

China - Wuhan

Tel: 86-27-5980-5300

Fax: 86-27-5980-5118

China - Xian

Tel: 86-29-8833-7252

Fax: 86-29-8833-7256

China - Xiamen

Tel: 86-592-2388138

Fax: 86-592-2388130

China - Zhuhai

Tel: 86-756-3210040

Fax: 86-756-3210049

ASIA/PACIFIC

India - Bangalore Tel: 91-80-3090-4444

Fax: 91-80-3090-4123

India - New Delhi

Tel: 91-11-4160-8631

Fax: 91-11-4160-8632

India - Pune

Tel: 91-20-3019-1500

Japan - Osaka

Tel: 81-6-6152-7160

Fax: 81-6-6152-9310

Japan - Tokyo

Tel: 81-3-6880- 3770

Fax: 81-3-6880-3771

Korea - Daegu Tel: 82-53-744-4301

Fax: 82-53-744-4302

Korea - Seoul Tel: 82-2-554-7200

Fax: 82-2-558-5932 or

82-2-558-5934

Malaysia - Kuala Lumpur

Tel: 60-3-6201-9857

Fax: 60-3-6201-9859

Malaysia - Penang

Tel: 60-4-227-8870

Fax: 60-4-227-4068

Philippines - Manila

Tel: 63-2-634-9065

Fax: 63-2-634-9069

Singapore Tel: 65-6334-8870

Fax: 65-6334-8850

Taiwan - Hsin Chu

Tel: 886-3-5778-366

Fax: 886-3-5770-955

Taiwan - Kaohsiung Tel: 886-7-213-7830

Taiwan - Taipei Tel: 886-2-2508-8600

Fax: 886-2-2508-0102

Thailand - Bangkok

Tel: 66-2-694-1351

Fax: 66-2-694-1350

EUROPE

Austria - Wels

Tel: 43-7242-2244-39

Fax: 43-7242-2244-393

Denmark - Copenhagen Tel: 45-4450-2828

Fax: 45-4485-2829

France - Paris Tel: 33-1-69-53-63-20

Fax: 33-1-69-30-90-79

Germany - Dusseldorf Tel: 49-2129-3766400

Germany - Munich

Tel: 49-89-627-144-0

Fax: 49-89-627-144-44

Germany - Pforzheim Tel: 49-7231-424750

Italy - Milan Tel: 39-0331-742611

Fax: 39-0331-466781

Italy - Venice Tel: 39-049-7625286

Netherlands - Drunen

Tel: 31-416-690399

Fax: 31-416-690340

Poland - Warsaw

Tel: 48-22-3325737

Spain - Madrid Tel: 34-91-708-08-90

Fax: 34-91-708-08-91

Sweden - Stockholm

Tel: 46-8-5090-4654

UK - Wokingham

Tel: 44-118-921-5800

Fax: 44-118-921-5820

2015 Microchip Technology Inc. Advance Information page 33