Microchip BM62 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Microchip BM62 (74 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 25 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/74
2016-2017 Microchip Technology Inc. DS70005260B
BM62 Evaluation Board (EVB)
Users Guide
DS70005260B-page 2 2016-2017 Microchip Technology Inc.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights unless otherwise stated.
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly ev inuously improving the code protection features ofolving. We at Microchip are committed to cont our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
®
MCUs and dsPIC
®
DSCs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
QUALITY MANAGEMENT S
YSTEM
CERTIFIED BY DNV
==
==
==
====
ISO/TS 16949 ==
==
==
====
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, AVR,
AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory,
CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, K
EE
L
OQ
,
K
EE
L
OQ
logo, Kleer, LANCheck, LINK MD, maXStylus,
maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB,
OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip
Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST
Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered
trademarks of Microchip Technology Incorporated in the U.S.A.
and other countries.
ClockWorks, The Embedded Control Solutions Company,
EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS,
mTouch, Precision Edge, and Quiet-Wire are registered
trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any
Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo,
CodeGuard, CryptoAuthentication, CryptoCompanion,
CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average
Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial
Programming, ICSP, Inter-Chip Connectivity, JitterBlocker,
KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF,
MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach,
Omniscient Code Generation, PICDEM, PICDEM.net, PICkit,
PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple
Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI,
SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC,
USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and
ZENA are trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in
the U.S.A.
Silicon Storage Technology is a registered trademark of Microchip
Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology
Germany II GmbH & Co. KG, a subsidiary of Microchip Technology
Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
© 2016-2017, Microchip Technology Incorporated, All Rights
Reserved.
ISBN: 978-1-5224-1255-7
2016-2017 Microchip Technology Inc. DS70005260B-page 3
EU Declaration of Conformity
This declaration of conformity is issued by the manufacturer.
The development/evaluation tool is designed to be used for research and development in a laboratory environment. This
development/evaluation tool is not a Finished Appliance, nor is it intended for incorporation into Finished Appliances that are
made commercially available as single functional units to end users under EU EMC Directive 2004/108/EC and as supported by
the European Commission's Guide for the EMC Directive 2004/108/EC (8th February 2010).
This development/evaluation tool complies with EU RoHS2 Directive 2011/65/EU.
This development/evaluation tool, when incorporating wireless and radio-telecom functionality, is in compliance with the
essential requirement and other relevant provisions of the R&TTE Directive 1999/5/EC and the FCC rules as stated in the
declaration of conformity provided in the module datasheet and the module product page available at www.microchip.com.
For information regarding the exclusive, limited warranties applicable to Microchip products, please see Microchip’s standard
terms and conditions of sale, which are printed on our sales documentation and available at www.microchip.com.
Signed for and on behalf of Microchip Technology Inc. at Chandler, Arizona, USA.
Object of Declaration: BM62 Evaluation Board
Automotive Networking Development Board User’s Guide
DS70005260B-page 4 2016-2017 Microchip Technology Inc.
NOTES:
BM62 EVB USER’S GUIDE
2016-2017 Microchip Technology Inc. DS70005260B - Page 5
Table of Contents
Chapter 1. Introduction
1.1 Kit Contents .................................................................................................. 13
1.2 BM62 EVB Features ..................................................................................... 15
Chapter 2. Hardware
2.1 Hardware Features ....................................................................................... 17
Chapter 3. Getting Started
3.1 Requirements ............................................................................................... 25
3.2 Getting Started with the BM62 EVB ............................................................. 26
3.3 Application Demonstration ........................................................................... 26
3.4 Configuring BM62 Stereo Audio Module ...................................................... 28
3.5 Updating EEPROM Parameters ................................................................... 45
3.6 Updating Flash Code .................................................................................... 50
3.7 BLE Demonstration ...................................................................................... 52
3.8 NFC Demonstration ...................................................................................... 57
Appendix A. Schematics
A.1 Reference Schematics ................................................................................. 59
BM62 EVB
User’s Guide
DS70005260B - Page 6 2016-2017 Microchip Technology Inc.
NOTES:
BM62 EVB USER’S GUIDE
2016-2017 Microchip Technology Inc. DS70005260B - Page 7
Preface
INTRODUCTION
This chapter contains general information that will be useful to know before using the
BM62 Evaluation Board (EVB). Items discussed in this chapter include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
DOCUMENT LAYOUT
This document describes how to use the BM62 EVB, as a development tool to emulate
and debug firmware on a target board. This user’s guide is composed of the following
chapters:
Chapter 1. “Introduction” provides an overview of the BM62 EVB and its
features.
Chapter 2. Hardware” provides hardware details of the BM62 EVB.
Chapter 3. Getting Started” provides information about how to establish the
Bluetooth
®
connection using the BM62 EVB.
Appendix A. “Schematics” provides the BM62 EVB reference schematics.
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.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level
of the document.
For the most up-to-date information on development tools, see the MPLAB
®
X IDE online help.
Select the Help menu, and then Topics to open a list of available online help files.
BM62 EVB User’s Guide
DS70005260B - Page 8 2016-2017 Microchip Technology Inc.
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Italic characters Referenced books MPLAB IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog
A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
“Save project before build
Underlined, italic text with
right angle bracket
A menu path File > Save
Bold characters A dialog button Click OK
A tab Click the Power tab
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be any
valid filename
Square brackets [ ] Optional arguments mcc18 [options] file
[options]
Curly brackets and pipe
character: { | }
Choice of mutually exclusive
arguments; an OR selection
errorlevel {0|1}
Ellipses... Replaces repeated text var_name [, var_name...]
Represents code supplied by
user
void main (void)
{ ...
}
Notes
A Note presents information
that we want to re-emphasize,
either to help you avoid a
common pitfall or to make you
aware of operating differences
between some device family
members. A Note can be in a
box, or when used in a table
or figure, it is located at the
bottom of the table or figure.
Note 1: This is a note used in a
table.
Note: This is a standard
note box.
CAUTION
This is a caution note.
Preface
2016-2017 Microchip Technology Inc. DS70005260B - Page 9
RECOMMENDED READING
This user’s guide describes how to use the BM62 EVB. The following Microchip
document is available and recommended as supplemental reference resources.
BM62/64 Data Sheet (DS60001403)
Refer to this document for detailed information on BM62 stereo audio module.
Reference information found in this data sheet includes:
BM62 stereo audio module features and pin configurations
Electrical Specifications
Reference Circuits
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at: http://www.microchip.com. This
web site makes files and information easily available to customers. Accessible by most
Internet browsers, 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 listings
Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listings of seminars and events; and listings of Microchip sales
offices, distributors and factory representatives
BM62 EVB User’s Guide
DS70005260B - Page 10 2016-2017 Microchip Technology Inc.
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
Compilers – The latest information on Microchip C compilers and other language
tools
EmulatorsThe latest information on the Microchip in-circuit emulator, MPLAB
REAL ICE™
In-Circuit Debuggers – The latest information on the Microchip in-circuit
debugger, MPLAB ICD 3
MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the
Windows
®
Integrated Development Environment for development systems tools
Programmers The latest information on Microchip programmers including the
PICkit™ 3 development programmer
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.
Preface
2016-2017 Microchip Technology Inc. DS70005260B - Page 11
DOCUMENT REVISION HISTORY
Revision A (May 2016)
This is the initial released version of this document.
Revision B (January 2017)
This revision includes the following updates:
Updated 3.2 “Getting Started with the BM62 EVB”
Updated 3.4 Configuring BM62 Stereo Audio Module”
Updated 3.7 “BLE Demonstration”
Added 3.8 “NFC Demonstration”
Minor updates to text and formatting were incorporated throughout the document.
BM62 EVB User’s Guide
DS70005260B - Page 12 2016-2017 Microchip Technology Inc.
NOTES:
BM62 EVB USER’S GUIDE
2016-2017 Microchip Technology Inc. DS70005260B - Page 13
Chapter 1. Introduction
Thank you for purchasing the BM62 Evaluation Board (EVB). This document provides
detailed information about the Microchip BM62 EVB.
The BM62 EVB enables the user to evaluate and demonstrate the functionality of the
BM62 stereo audio module. The BM62 EVB includes an integrated configuration and
programming interface for plug-and-play capability, and also has status LEDs which
enable rapid prototyping and faster time to market.
Along with the BM62 EVB, software tools and applications are provided to demonstrate
the Bluetooth connections to the on-board BM62 stereo audio module and to optionally
configure or program it.
This chapter includes the following topics:
1.1 “Kit Contents”
1.2 “BM62 EVB Features”
1.1 KIT CONTENTS
The BM62 EVB kit contains the following items, as illustrated in Figure 1-1:
One BM62 EVB, which contains the BM62SPKS1MC2 module
One micro-USB cable
Two speaker cables
One 5V DC power adapter
BM62 EVB User’s Guide
DS70005260B - Page 14 2016-2017 Microchip Technology Inc.
FIGURE 1-1: BM62 EVB KIT CONTENTS
Note: If you are missing any part of the BM62 EVB kit, contact a Microchip sales
office for assistance. A list of Microchip offices for sales and service is
provided on the back page of this document.
Introduction
2016-2017 Microchip Technology Inc. DS70005260B - Page 15
1.2 BM62 EVB FEATURES
The following are key features of the BM62 EVB:
The BM62 EVB includes a BM62 stereo audio module, qualified for Bluetooth 4.2
specifications
The BM62 EVB can be powered by a PC host using the micro-USB cable or by
connecting a Li-Ion battery
Built-in 3W Class-D stereo audio amplifier
Built-in Near Field Communication (NFC)
Stereo audio output for high-quality audio
Easy access to I/O pins
RoHS compliant
Figure 1-2 illustrates the top view of the BM62 EVB with the following components:
1. BM62SPKS1MC2 module
2. Three status LEDs
3. NFC tag
4. Li-Ion battery connector (JP19/JP20)
5. USB connector (P1)
6. USB to UART converter (MCP2200)
7. GPIO header (J1)
8. Mode switch (SW12)
9. Audio control buttons, Multi-Function Button (MFB) and Reset button
10. Slide switch (SW6)
11. External MCU header (J6)
12. 3W Class-D amplifier output connector (J3 and J4)
13. External audio amplifier connector (JP26)
14. Internal/External audio amplifier switch (SW46)
15. External MCU selection switch (SW48 and SW49)
16. Auxiliary input 3.5 mm jack (P7)
17. Microphone input 3.5 mm jack (P5)
18. Stereo output 3.5 mm jack (P6)
BM62 EVB User’s Guide
DS70005260B - Page 16 2016-2017 Microchip Technology Inc.
FIGURE 1-2: BM62 EVB (TOP VIEW)
BM62 EVB USER’S GUIDE
2016-2017 Microchip Technology Inc. DS70005260B - Page 17
Chapter 2. Hardware
This chapter describes hardware features of the BM62 EVB. The BM62 EVB includes
a range of peripheral components, refer to Figure 2-1.
FIGURE 2-1: BM62 EVB BLOCK DIAGRAM
2.1 HARDWARE FEATURES
The following list provides the details of each component in the BM62 EVB. For detailed
information about the location of these components, refer to Figure 1-2.
2.1.1 Power Supply
Users can supply power to the BM62 EVB using either of the following options:
Li-Ion battery
USB (PC host over USB)
Note: While using the BM62 EVB for codec testing and application, it is
recommended to use Li-Ion battery due to limitations of the power drawn
from the USB port of the PC.
BM62 EVB User’s Guide
DS70005260B - Page 18 2016-2017 Microchip Technology Inc.
2.1.2 USB connectivity
The BM62 EVB connects to the PC host using a USB cable. The USB signals are
converted to/from UART by the MCP2200.
2.1.3 Switches and Push buttons
The functions of the switches and push buttons on the BM62 EVB are:
MFB – Push to turn on/off the BM62 stereo audio module
SW4 – Skip the audio track backward
SW5 – Skip the audio track forward
SW9 Increase volume
SW10 – Decrease volume
SW11 – Reset button
SW12 – Mode switch
SW46 – Button for 3W Class-D stereo amplifier signal connection
SW48 and SW49 – Buttons for external MCU connection
Table 2-1 provides the settings of the Mode switch SW12 to configure the BM62 EVB
in various operating modes.
TABLE 2-1: SWITCH SW12 DETAILS
Mode Switch SW12 Switch 12 PIN Definition
Write Flash
1. ON (P2_0: LOW)
2. ON (P2_4: LOW)
3. ON (EAN: HIGH)
Test Mode
(Write EEPROM)
1. ON (P2_0: LOW)
2. OFF (P2_4: HIGH)
3. OFF (EAN: LOW)
Application Mode
1. OFF (P2_0: HIGH)
2. OFF (P2_4: HIGH)
3. OFF (EAN: LOW)
Hardware
2016-2017 Microchip Technology Inc. DS70005260B - Page 19
Table 2-2 provides the switch SW46 details for 3W Class-D stereo amplifier signal con-
nection.
TABLE 2-2: SWITCH SW46 DETAILS
Table 2-3 provides switch SW48/SW49 details of the signals and buttons connections
to the BM62 module and the external MCU.
TABLE 2-3: SWITCH SW48/SW49 DETAILS
Mode Switch SW46 Switch 46 PIN Definition
On-board 3W Class-D
stereo amplifier signal
connection (default
on-board stereo ampli-
fier)
1. ON (Amplifier power)
2. ON (L-CH signal)
3. ON (R-CH signal)
4. ON (Amplifier enable)
External stereo amplifier
connection
1. OFF (Amplifier power)
2. OFF (L-CH signal)
3. OFF (R-CH signal)
4. OFF (Amplifier enable)
Mode Switch SW48/SW49 SW48/SW49 PIN Definition
Connect buttons and
signals to module
(default)
SW48
1. ON (MFB)
2. ON (Volume down)
3. ON (Play/Pause)
4. ON (Volume up)
SW49
1. ON (Previous Track)
2. ON (Next Track)
3. ON (NFC trigger)
4. ON (NC)
BM62 EVB User’s Guide
DS70005260B - Page 20 2016-2017 Microchip Technology Inc.
2.1.4 LED
The functions of the three LEDs on BM62 EVB are listed as follows:
LED1 – Indicates the Bluetooth connection status (UI configuration dependent)
LED2 – Indicates the Bluetooth connection status (UI configuration dependent)
LED3 – User defined (UI configuration dependent)
2.1.5 Jumpers and Headers
The following are jumpers and headers (J1, J6, JP19, JP20, JP22, JP23, JP26)
available on the BM62 EVB.
Figure 2-2 illustrates the GPIO header J1 and Table 2-4 provides the pin details and
descriptions.
Disconnect Buttons and
signals to module (for
external MCU usage)
SW48
1. OFF (MFB)
2. OFF (Volume down)
3. OFF (Play/Pause)
4. OFF (Volume up)
SW49
1. OFF (Previous Track)
2. OFF (Next Track)
3. OFF (NFC trigger)
4. OFF (NC)
Mode Switch SW48/SW49 SW48/SW49 PIN Definition
Hardware
2016-2017 Microchip Technology Inc. DS70005260B - Page 21
FIGURE 2-2: GPIO HEADER J1
The header J6 provides the interface to connect an external MCU to the BM62 EVB
over UART. Figure 2-3 illustrates the external MCU header J6 and Table 2-5 provides
the pin details and descriptions.
TABLE 2-4: GPIO HEADER J1
Part Number Pin Description
J1 1 P0_0
2 P3_0
3 P2_0
4 P1_5
5 P0_4
6 P0_1
7 P2_4
8 P0_2
9 P0_3
10 P0_5
11 P2_7
12 P2_4
BM62 EVB User’s Guide
DS70005260B - Page 22 2016-2017 Microchip Technology Inc.
FIGURE 2-3: EXTERNAL MCU HEADER J6
Figure 2-4 illustrates the battery connector JP20 and JP19, and Table 2-6 provides the
pin details and descriptions.
FIGURE 2-4: BATTERY CONNECTOR JP20 AND JP19
TABLE 2-5: EXTERNAL MCU HEADER J6
Part Number Pin Description
JP2 1 NC
2 HCI_RXD
3 NC
4 HCI_TXD
5 GND
6 GND
7 NC
8 RST_N
9 NC
10 MFB (for RX_IND)
11 NFC
12 P0_0 (for TX_IND)
Note: The Li-Ion battery can be connected to JP20 or JP19 of the BM62 EVB.
TABLE 2-6: BATTERY CONNECTOR JP20 AND JP19
Part Number Pin Description
JP20 1 BAT_IN
2 GND
JP19 1 GND
2 BAT_IN
Hardware
2016-2017 Microchip Technology Inc. DS70005260B - Page 23
The header JP22 is used for connecting a microphone to the BM62 EVB. Figure 2-5
and Table 2-7 provides the JP22 pin details and descriptions.
FIGURE 2-5: MIC JP22
Figure 2-6 illustrates the audio output header JP23 and Table 2-8 provides the pin
details and descriptions.
FIGURE 2-6: AUDIO OUTPUT HEADER JP23
TABLE 2-7: MIC JP22
Part Number Pin Description
JP22 1 MIC_P1
2 GND
3 MIC_N1
TABLE 2-8: AUDIO OUTPUT HEADER JP23
Part Number Pin Description
JP23 1 AOHPL
2 AOHPM
3 AOHPR
BM62 EVB User’s Guide
DS70005260B - Page 24 2016-2017 Microchip Technology Inc.
Figure 2-7 illustrates the external amplifier header JP26 and Table 2-9 provides the pin
details and descriptions.
FIGURE 2-7: EXTERNAL AMPLIFIER HEADER JP26
TABLE 2-9: EXTERNAL AMPLIFIER HEADER JP26
Part Number Pin Description
JP26 1 EXT_AMP_EN
2 SPKR
3 AGND
4 SPKL
5 AMP_POW
BM62 EVB USER’S GUIDE
2016-2017 Microchip Technology Inc. DS70005260B - Page 25
Chapter 3. Getting Started
This chapter describes how to establish a Bluetooth connection between the BM62
EVB and a host device. It also demonstrates the process of updating the parameters
using various tools.
This chapter includes the following topics:
3.1 “Requirements”
3.2 “Getting Started with the BM62 EVB”
3.3 “Application Demonstration”
3.4 “Configuring BM62 Stereo Audio Module”
3.5 “Updating EEPROM Parameters”
3.6 “Updating Flash Code”
3.7 “BLE Demonstration”
3.1 REQUIREMENTS
The following hardware and software components are required for getting started with
the BM62 EVB.
3.1.1 Hardware Requirements
BM62 EVB
Bluetooth enabled smartphone:
- Android™ device with Android 4.3 or later version
- iOS: iPhone
®
4S or later version (with BLE support)
• Windows
®
host PC with USB port
Speaker, microphone or headset
Micro-USB cable
3.1.2 Software Requirements
Download the latest firmware and corresponding tools from the Microchip web site at:
www.microchip.com/BM62.
User Interface tool
DSP tool
Mass Production EEPROM Tool (MPET)
Flash update tool
Flash code
EEPROM tool
UART command set tool
mBIoT Utility app, available at Apple Store for iPhone
®
and at Google
Play™ Store for Android™
BM62 EVB User’s Guide
DS70005260B - Page 26 2016-2017 Microchip Technology Inc.
3.2 GETTING STARTED WITH THE BM62 EVB
To establish a Bluetooth connection between the BM62 EVB and a host device,
perform the following actions:
1. Set switch SW12 to Application mode, as illustrated in Figure 3-1.
FIGURE 3-1: SW12 IN APPLICATION MODE
2. Connect a speaker to the audio output connector (J3 and J4) of the BM62 EVB.
3. Connect the BM62 EVB to a PC through a micro-USB cable for the power supply.
LED2 (red) will turn on.
4. On the BM62 EVB, long press the MFB button to turn on the Bluetooth. Both
LED1 (blue) and LED2 (red) will blink together. Then, continue to press the MFB
button (approximately 5 seconds) until both the LEDs blink alternately. This LED
behavior indicates that the BM62 EVB is in discoverable mode.
5. Turn on the Bluetooth on a host device (PC or smartphone), and it will display a
list of discoverable Bluetooth devices. The BM62 EVB is displayed as
“Dual_SPK” or “LE_Dual_SPK”. Select the device to establish the connection.
6. LED1 (blue) will blink faster, and it indicates that the BM62 EVB is paired with the
host device.
7. Once the connection is established, LED1 (blue) will blink twice at regular inter-
vals. It will display as “connected” in the Bluetooth settings of the smartphone.
With the default settings, the BM62 Stereo Audio module enables Advanced
Audio Distribution Profile (A2DP) for audio playback and Audio Video Remote
Control Profile (AVRCP) for player control.
3.3 APPLICATION DEMONSTRATION
3.3.1 Speaker Audio Demonstration
In this demonstration, the user can stream audio on the BM62 EVB using a host device
(PC or smartphone). Perform the following actions for the audio demonstration. Refer
to Figure 3-2.
1. Establish the connection between the BM62 EVB and a host device, using the
procedure listed in 3.2 “Getting Started with the BM62 EVB”.
2. Once the connection between the BM62 EVB and the host device is established,
open the audio source on the host device. Microchip recommends using a media
player (for example, Windows
®
Media Player, iTunes
®
, or Android™).
3. Start the audio stream on the media player. Both LED1 (blue) and LED2 (red) will
blink once at regular intervals during the audio playback.
Note: The user can also power the board by connecting a Li-Ion battery to JP19
or JP20 on the BM62 EVB.
Note: “Dual_SPK” is used for Bluetooth classic and “LE_Dual_SPK” is used for
BLE devices.
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 27
The audio control buttons are used to:
- Control the volume of audio output (long press VOL+ or VOL- button)
- Go to the previous track (short press REV button)
- Go to the next track (short press FWD button)
- Start/stop playing the current track (short press PLAY button)
FIGURE 3-2: BM62 EVB AUDIO CONTROL BUTTONS
3.3.2 HSP/HFP Demonstration
In this demonstration, the user can explore the Headset Profile (HSP) or Hands-Free
Profile (HFP) setting to receive an incoming voice call from a paired smartphone. Per-
form the following actions for demonstration. Refer to Figure 3-2.
1. Establish a connection between the BM62 EVB and a host device using the pro-
cedure listed in 3.2 “Getting Started with the BM62 EVB”.
2. Connect the PC headset/microphone (with two-plugs) to the BM62 EVB’s audio
output connector (P6) and audio input connector (P5), respectively.
3. Initiate a call from another phone to the smartphone that is paired with the BM62
EVB. The A2DP stream pauses and the ringtone is played on the headset. LED1
(blue) blinks three times at regular intervals.
4. Press the MFB button on the BM62 EVB to accept the incoming call. LED1 (blue)
and LED2 (red) will blink three times at regular intervals.
BM62 EVB User’s Guide
DS70005260B - Page 28 2016-2017 Microchip Technology Inc.
3.4 CONFIGURING BM62 STEREO AUDIO MODULE
The BM62 EVB can be configured and various parameters can be customized using
the UI tool and DSP tool, and then the parameters are saved in a file. Using the MPET
tool, the saved files are merged into *.ipf and then this merged file is programmed
into the EEPROM. After EEPROM is programmed, power cycle the BM62 EVB to see
the effect of the customized parameters.
3.4.1 UI Tool Configuration
The User Interface (UI) tool is a configuration tool which enables the user to change
the parameters of the BM62 stereo audio module. To configure the UI parameters,
perform the following actions:
1. Open the UI configuration tool and click OK to configure the UI parameters
(Figure 3-3).
FIGURE 3-3: UI TOOL
2. In the UI configuration tool, click Load (Figure 3-4).
FIGURE 3-4: UI CONFIGURATION TOOL
Note: Download and install the UI tool, which is available on the Microchip web
site: www.microchip.com/BM62. For this demonstration
UITool_IS206x_012_DualModeSPK1.1_v1.03 is used.
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 29
3. From the Open window, select the default UI parameter text file (provided with
the UI tool) for the BM62 stereo audio module, and then click Open (Figure 3-5).
FIGURE 3-5: LOADING DEFAULT UI PARAMETERS
4. After selecting the UI parameters, select “BM62” from the IC Package drop-down
list and then click Edit (Figure 3-6).
FIGURE 3-6: EDIT UI PARAMETERS
BM62 EVB User’s Guide
DS70005260B - Page 30 2016-2017 Microchip Technology Inc.
5. In the Main Feature dialog, the user can enable or disable the Supported Profile
and audio line-in function Button and set the following parameters, as illustrated
in Figure 3-7.
a) Select the “UART Command” check box which allows the module to be con-
trolled by the MCU through the UART interface.
b) Select the “Ind.1” check box to enable the external audio amplifier.
c) Click Next.
FIGURE 3-7: MAIN FEATURE SETTINGS
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 31
6. The System and Functional Settings dialog with various options (tabs) is dis-
played to configure the parameters. In the Sys. Setup2 tab, in the Indication 1
Setting section, enable External Amplifier Indication, as illustrated in
Figure 3-8. Click Help to get more detailed information.
FIGURE 3-8: ENABLE EXTERNAL AMPLIFIER INDICATION
BM62 EVB User’s Guide
DS70005260B - Page 32 2016-2017 Microchip Technology Inc.
7. After setting up the parameters, click Finish. A notification is displayed to check
the EEPROM size on the system. Click OK (Figure 3-9).
FIGURE 3-9: EEPROM NOTIFICATION
8. Click Save to save these UI parameters as a .txt file (Figure 3-10).
FIGURE 3-10: SAVING UI PARAMETERS
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 33
9. From the Save As window, select the file location and then click Save
(Figure 3-11).
FIGURE 3-11: SAVE AS WINDOW
10. After saving the UI parameters, click Exit.
BM62 EVB User’s Guide
DS70005260B - Page 34 2016-2017 Microchip Technology Inc.
3.4.2 DSP Tool Configuration
The DSP configuration tool provides the visual interface to configure the DSP-related
parameters for the voice and audio signal processing functions.To configure the DSP
parameters, perform the following actions:
1. Open the DSP tool. A dialog displays various options (tabs) to configure the
parameters, as illustrated in Figure 3-12.
FIGURE 3-12: DSP TOOL SETTINGS
Note: Download and install the DSP tool, which is available on the Microchip web
site: www.microchip.com/BM62. For this demonstration
DSPTool_IS206x_012_DualModeSPK1.1_v1.06 is used.
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 35
2. From the Voice Function tab, set the parameters as illustrated in Figure 3-13.
FIGURE 3-13: DSP VOICE FUNCTION SETTING
BM62 EVB User’s Guide
DS70005260B - Page 36 2016-2017 Microchip Technology Inc.
3. From the Audio Function tab, set the parameters as illustrated in Figure 3-14.
FIGURE 3-14: DSP AUDIO FUNCTION SETTING
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 37
4. Click Save to save these DSP parameters as .txt file (Figure 3-15).
FIGURE 3-15: SAVING DSP PARAMETERS
BM62 EVB User’s Guide
DS70005260B - Page 38 2016-2017 Microchip Technology Inc.
5. After saving the DSP parameters, from the notification pop up click OK
(Figure 3-16). Click Exit to exit the DSP tool settings.
FIGURE 3-16: SAVE NOTIFICATION
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 39
3.4.3 MPET Tool Configuration
The MPET tool is used to merge the UI and the DSP parameters and generate a patch
file (.ipf) or binary file (.bin). To configure the MPET tool, perform the following
actions:
1. Open the MPET tool and then click Next to continue with the configuration
settings (Figure 3-17).
FIGURE 3-17: MPET TOOL SETTING
2. Select UI Patch Only to merge the UI and the DSP parameters and then click
Next as illustrated in Figure 3-18.
Note: Download and install the MPET tool, which is available on the Microchip
web site: www.microchip.com/BM62. For this demonstration
MPET_V2.1.29.4804 is used.
Note: For the UI parameter settings, refer to 3.4.1 “UI Tool Configuration, and
for the DSP parameter settings, refer to 3.4.2 “DSP Tool Configuration”.
BM62 EVB User’s Guide
DS70005260B - Page 40 2016-2017 Microchip Technology Inc.
FIGURE 3-18: MERGE UI AND DSP PARAMETERS
3. Click Browse to load the default .bin file (provided with the MPET tool). From
the Open window, select the default .bin file and then click Open (Figure 3-19).
Getting Started
2016-2017 Microchip Technology Inc. DS70005260B - Page 41
FIGURE 3-19: LOADING DEFAULT BIN FILE
4. The bin file description displays. Click Next (Figure 3-20).
FIGURE 3-20: DEFAULT BIN FILE SETTING
BM62 EVB User’s Guide
DS70005260B - Page 42 2016-2017 Microchip Technology Inc.
5. Click the “+” button to load the UI and the DSP parameters (.txt file) into the
MPET tool to merge with the EEPROM table and then click Next, as illustrated
in Figure 3-21.
FIGURE 3-21: CUSTOMIZED SETTINGS TO MERGE
6. Select an Output File path to create the merged EEPROM table (.ipf file), and
then click Next (Figure 3-22).


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: BM62

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip BM62 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Microchip

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd