Microchip Technology BM62 User Manual
Microchip Technology BM62 User Manual

Microchip Technology BM62 User Manual

Hide thumbs Also See for BM62:

Advertisement

BM62 Evaluation Board (EVB)
User's Guide
 2016-2017 Microchip Technology Inc.
DS70005260C

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BM62 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology BM62

  • Page 1 BM62 Evaluation Board (EVB) User’s Guide  2016-2017 Microchip Technology Inc. DS70005260C...
  • Page 2 GestIC is a registered trademark of Microchip Technology devices, Serial EEPROMs, microperipherals, nonvolatile memory and Germany II GmbH & Co. KG, a subsidiary of Microchip Technology analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.
  • Page 3: Table Of Contents

    2.1 Hardware Features ..................15 Chapter 3. Getting Started 3.1 Requirements ....................23 3.2 Getting Started with the BM62 EVB ............. 24 3.3 Application Demonstration ................24 3.4 Configuring BM62 Stereo Audio Module ............26 3.5 Updating EEPROM Parameters ..............43 3.6 Updating Flash Code ..................
  • Page 4 BM62 EVB User’s Guide NOTES:  2016-2017 Microchip Technology Inc. DS70005260C - Page 4...
  • Page 5 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: •...
  • Page 6 BM62 EVB User’s Guide 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...
  • Page 7 Preface 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.
  • Page 8 BM62 EVB User’s Guide 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.
  • Page 9 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”...
  • Page 10 BM62 EVB User’s Guide NOTES:  2016-2017 Microchip Technology Inc. DS70005260C - Page 10...
  • Page 11: 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.
  • Page 12 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.
  • Page 13: Bm62 Evb Features

    • 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 •...
  • Page 14: Ds70005260C

    BM62 EVB User’s Guide FIGURE 1-2: BM62 EVB (TOP VIEW)  2016-2017 Microchip Technology Inc. DS70005260C - Page 14...
  • Page 15: Chapter 2. Hardware

    Figure 2-1. FIGURE 2-1: BM62 EVB BLOCK DIAGRAM 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: •...
  • Page 16: Table

    BM62 EVB User’s Guide 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: •...
  • Page 17: Table

    2. OFF (L-CH signal) 3. OFF (R-CH signal) 4. OFF (Amplifier enable) Table 2-3 provides switch SW48/SW49 details of the signal and button connections to the BM62 module and the external MCU. TABLE 2-3: SWITCH SW48/SW49 DETAILS Mode Switch SW48/SW49...
  • Page 18 3. OFF (NFC trigger) 4. OFF (NC) 2.1.4 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) •...
  • Page 19 P2_4 P0_2 P0_3 P0_5 P2_7 P2_4 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.
  • Page 20 JP20 and JP19, and Table 2-6 provides the pin details and descriptions. Note: The Li-Ion battery can be connected to JP20 or JP19 of the BM62 EVB. FIGURE 2-4: BATTERY CONNECTOR JP20 AND JP19 TABLE 2-6: BATTERY CONNECTOR JP20 AND JP19...
  • Page 21 Hardware The header JP22 is used for connecting a microphone to the BM62 EVB. Figure 2-5 Table 2-7 provides the JP22 pin details and descriptions. FIGURE 2-5: MIC JP22 TABLE 2-7: MIC JP22 Part Number Description JP22 MIC_P1 MIC_N1 Figure 2-6...
  • Page 22 BM62 EVB User’s Guide 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 Description JP26 EXT_AMP_EN SPKR AGND...
  • Page 23: Chapter 3. Getting Started

    BM62 EVB USER’S GUIDE 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”...
  • Page 24: Getting Started With The Bm62 Evb

    “Dual_SPK” is used for Bluetooth classic and “LE_Dual_SPK” is used for BLE devices. 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.
  • Page 25 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.
  • Page 26: Configuring Bm62 Stereo Audio Module

    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.
  • Page 27 Getting Started 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...
  • Page 28 BM62 EVB User’s Guide 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 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.
  • Page 29 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  2016-2017 Microchip Technology Inc. DS70005260C - Page 29...
  • Page 30 BM62 EVB User’s Guide 7. After setting up the parameters, click Finish. A notification displays 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).
  • Page 31 Getting Started 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.  2016-2017 Microchip Technology Inc. DS70005260C - Page 31...
  • Page 32 Figure 3-12. 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. FIGURE 3-12: DSP TOOL SETTINGS  2016-2017 Microchip Technology Inc. DS70005260C - Page 32...
  • Page 33 Getting Started 2. From the Voice Function tab, set the parameters as illustrated in Figure 3-13. FIGURE 3-13: DSP VOICE FUNCTION SETTING  2016-2017 Microchip Technology Inc. DS70005260C - Page 33...
  • Page 34 BM62 EVB User’s Guide 3. From the Audio Function tab, set the parameters as illustrated in Figure 3-14. FIGURE 3-14: DSP AUDIO FUNCTION SETTING  2016-2017 Microchip Technology Inc. DS70005260C - Page 34...
  • Page 35 Getting Started 4. Click Save to save these DSP parameters as .txt file (Figure 3-15). FIGURE 3-15: SAVING DSP PARAMETERS  2016-2017 Microchip Technology Inc. DS70005260C - Page 35...
  • Page 36 BM62 EVB User’s Guide 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  2016-2017 Microchip Technology Inc. DS70005260C - Page 36...
  • Page 37 (Figure 3-17). 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. FIGURE 3-17: MPET TOOL SETTING 2. Select UI Patch Only to merge the UI and the DSP parameters and then click...
  • Page 38 BM62 EVB User’s Guide 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).
  • Page 39 Getting Started 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  2016-2017 Microchip Technology Inc. DS70005260C - Page 39...
  • Page 40 BM62 EVB User’s Guide 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 Figure 3-21. FIGURE 3-21: CUSTOMIZED SETTINGS TO MERGE 6.
  • Page 41 Getting Started FIGURE 3-22: SELECTING OUTPUT FILE NAME AND PATH 7. Click Generate to generate the EEPROM table (.ipf file) (Figure 3-23). FIGURE 3-23: GENERATE EEPROM TABLE  2016-2017 Microchip Technology Inc. DS70005260C - Page 41...
  • Page 42 BM62 EVB User’s Guide 8. The calibration parameters included in the UI patch file can be selected or ignored. Click Next (Figure 3-24). Note: When the items are selected, the calibration parameters of the.ipf file will overwrite the default parameters in the device.
  • Page 43: Updating Eeprom Parameters

    3-26). FIGURE 3-26: SWITCH SW12 IN TEST MODE 2. Connect the BM62 EVB to a PC using a micro-USB cable as illustrated in Figure 3-27. The default LED behavior in Test mode is: LED1 and LED2 (blue and red) will be ON.
  • Page 44 FIGURE 3-27: EEPROM PARAMETER SETUP Note: Download and install the EEPROM tool, which is available on the Microchip web site: www.microchip.com/BM62. For this demonstration EEPROM_Tool_V2.1.29.4851 is used. 3. Open the EEPROM tool and the tool window will display, see Figure 3-28.
  • Page 45 Figure 3-29 FIGURE 3-29: EEPROM TOOL SETTINGS 5. Click Browse and load the generated patch file (.ipf) to write the EEPROM parameter table on the BM62 EVB (Figure 3-30). Note: The patch file (.ipf) is generated using the MPET tool. For information on generating the patch file, refer to 3.4.3 “MPET Tool...
  • Page 46 BM62 EVB User’s Guide FIGURE 3-30: LOADING GENERATED PATCH FILE 6. Click Write to program the EEPROM parameters on the BM62 EVB. After pro- gramming the EEPROM parameters, a message is displayed. Click OK as illus- trated in Figure 3-31.
  • Page 47 Getting Started FIGURE 3-31: WRITE EEPROM 7. Click Exit and remove the micro-USB cable. Next set SW12 to Application mode (Figure 3-32) and reboot. FIGURE 3-32: SWITCH SW12 IN FLASH APPLICATION MODE  2016-2017 Microchip Technology Inc. DS70005260C - Page 47...
  • Page 48: Updating Flash Code

    3-33). FIGURE 3-33: SWITCH SW12 IN WRITE FLASH MODE 2. Connect the BM62 EVB to a PC using a micro-USB cable, as illustrated in Figure 3-34. The default LED behavior in Write Flash mode is that LED1 and LED2 (blue and red) will blink. LED3 (green) is on and this is an I/O control LED.
  • Page 49 Microchip web site (Figure 3-36). FIGURE 3-36: LOADING FLASH CODE FILES 5. Click Update to write the flash code on the BM62 EVB (Figure 3-37). Note: Alternately, the user can also click Burst Update to write the flash code, which is faster than Update.
  • Page 50: Ble Demonstration

    Appendix FIGURE 3-38: BLE DEMONSTRATION 3. 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  2016-2017 Microchip Technology Inc.
  • Page 51 (approximately 5 seconds) until both the LEDs blink alternately. This LED behavior indicates that the BM62 EVB is in discoverable mode. 4. Connect the BM62 EVB to a smartphone that supports the BLE Bluetooth pro- files. 5. Download and install the mBIoT Utility app available at the Apple Store for iPhone or at the Google Play Store for Android.
  • Page 52 BM62 EVB User’s Guide FIGURE 3-40: SELECT BM78/BM6X BLE UART 7. The smartphone will display a list of discoverable BLE devices. Click LE_Dual_SPK to connect. Under the Connected Device tab, click LE_Dual_SPK connected (Figure 3-41). FIGURE 3-41: CONNECT BM78/BM6X BLE UART ...
  • Page 53 8. Click Transparent and then select “Display Data” to enter message for transmission, see Figure 3-42. FIGURE 3-42: TRANSPARENT PAGE Note: Download and install the SPKCommandSetTool.exe file, which is available on the Microchip web site: www.microchip.com/BM62.  2016-2017 Microchip Technology Inc. DS70005260C - Page 53...
  • Page 54 BM62 EVB User’s Guide 9. Open the SPKCommandSetTool.exe program on a PC to emulate the MCU and a window is displayed (Figure 3-43). 10. Specify the COM Port, and then click Open. 11. Click the SPP tab. 12. Select “BT Chat” check box to send or receive messages.
  • Page 55 Figure 3-44 illustrates the data transmission between the mBIoT app and the SPKCommandSetTool. FIGURE 3-44: DATA TRANSMISSION Note: It is not necessary to use same device for A2DP streaming and BLE connection.  2016-2017 Microchip Technology Inc. DS70005260C - Page 55...
  • Page 56: Nfc Demonstration

    BM62 EVB User’s Guide NFC DEMONSTRATION In BM62 EVB, the NFC trigger circuit is connected to the BM62 module. A smartphone with built-in NFC is used to trigger the NFC function of the BM62 EVB. Figure 3-45 illus- trates the NFC antenna on the BM62 EVB.
  • Page 57 For more details on the UI tool parameter settings, refer to 3.4.1 “UI Tool Configuration”. 2. The smartphone which has the built-in NFC must be brought closer to the antenna to trigger NFC function on the BM62 EVB.  2016-2017 Microchip Technology Inc. DS70005260C - Page 57...
  • Page 58 BM62 EVB User’s Guide NOTES:  2016-2017 Microchip Technology Inc. DS70005260C - Page 58...
  • Page 59: Appendix A. Emulating Host Mcu

    Perform the following steps to emulate the Host MCU using the SPK Command Set Tool. 1. The BM62 EVB is designed to work independent of the Host MCU. However, the user can use the UART interface and SPK Command Set Tool to emulate Host MCU connected over UART.
  • Page 60 BM62 EVB User’s Guide FIGURE A-2: SPK COMMAND SET TOOL SETTINGS 4. Once COM Port is enabled, select System tab and then click Power On, as illus- trated in Figure A-3. FIGURE A-3: SYSTEM TAB SETTINGS  2016-2017 Microchip Technology Inc.
  • Page 61 Emulating Host MCU 5. Next, click Enter Pairing Mode to enable pairing, see Figure A-4. FIGURE A-4: ENABLE PAIRING MODE  2016-2017 Microchip Technology Inc. DS70005260C - Page 61...
  • Page 62 BM62 EVB User’s Guide NOTES:  2016-2017 Microchip Technology Inc. DS70005260C - Page 62...
  • Page 63: Appendix B. Schematics

    BM62 EVB USER’S GUIDE Appendix B. Schematics REFERENCE SCHEMATICS FIGURE B-1: BM62 EVB SCHEMATICS  2016-2017 Microchip Technology Inc. DS70005260C - Page 63...
  • Page 64: Figure

    BM62 EVB User’s Guide FIGURE B-2: INPUT/OUTPUT TEST FIGURE B-3: STATUS LEDS  2016-2017 Microchip Technology Inc. DS70005260C - Page 64...
  • Page 65 FIGURE B-4: NFC TAG CIRCUIT...
  • Page 66 BM62 EVB User’s Guide FIGURE B-5: POWER SUPPLY FIGURE B-6: EXTERNAL MCU INTERFACE  2016-2017 Microchip Technology Inc. DS70005260C - Page 66...
  • Page 67 FIGURE B-7: USB TO UART INTERFACE...
  • Page 68 BM62 EVB User’s Guide FIGURE B-8: UART INTERFACE  2016-2017 Microchip Technology Inc. DS70005260C - Page 68...
  • Page 69 Schematics FIGURE B-9: SWITCH SW12 CONFIGURATION FIGURE B-10: POWER SOURCE  2016-2017 Microchip Technology Inc. DS70005260C - Page 69...
  • Page 70 FIGURE B-11: AUDIO TEST INTERFACE...
  • Page 71 Schematics FIGURE B-12: EXTERNAL AMPLIFIER SWITCH AND CONNECTOR  2016-2017 Microchip Technology Inc. DS70005260C - Page 71...
  • Page 72 BM62 EVB User’s Guide FIGURE B-13: SPEAKER FIGURE B-14: MICROPHONE  2016-2017 Microchip Technology Inc. DS70005260C - Page 72...
  • Page 73 Schematics FIGURE B-15: AUXILIARY INPUT FIGURE B-16: MFB AND RESET PUSH BUTTON  2016-2017 Microchip Technology Inc. DS70005260C - Page 73...
  • Page 74 BM62 EVB User’s Guide FIGURE B-17: MUSIC CONTROL PUSH BUTTONS FIGURE B-18: SLIDE SWITCH  2016-2017 Microchip Technology Inc. DS70005260C - Page 74...
  • Page 75 NOTES:  2016-2017 Microchip Technology Inc. DS70005260C - Page 75...
  • Page 76 New York, NY Tel: 46-31-704-60-40 Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078  2017 Microchip Technology Inc. DS70005260C-page 76 10/25/17...

Table of Contents