BM83 Bluetooth Audio Development Board User's...

73
BM83 EVB BM83 Bluetooth ® Audio Development Board User's Guide Introduction The BM83 Bluetooth Audio Development Board (BM83 EVB) enables the user to evaluate and demonstrate the functionality of the BM83 audio module and IS2083BM System-on-Chip (SoC). This board is a complete, all-in-one solution to develop multiple Bluetooth audio applications including portable speakers and headphones. The BM83 EVB features an on-board PIC32 for Host MCU mode applications, an external codec to improve audio quality, a digital microphone to capture voice audio, indicator LEDs and buttons for ease of development. In addition to the BM83 EVB, the IS2083 SDK and IS208x_Config_GUI_Tool (Config Tool) are provided to customize the audio processing settings. Features BM83 module, qualified for Bluetooth 5.0 specifications On-board microcontroller (PIC32MX450F256L) for easy operation and feature demonstration Plug-in module (PIM) socket for external microcontroller (MCU) STMicroelectronics codec (STA369BW) Daughter Board Digital Microphone (Knowles’ SPH0641LU4H-1) Daughter Board J-Link 6-Pin Adapter Board for IS2083BM debugging On-board keypad matrix (audio control buttons) that can be controlled either by the BM83 module or the on- board PIC32 MCU, which makes it easy for playback control Aux-in, MIC-In, and Stereo out ports On-board thermistor 2 LEDs for the Bluetooth subsystem and various other LEDs configurable by the on-board MCU JTAG program/debug port, USB to UART port, XPRO header interfaces Li-ion battery connector, 15V DC power jack and USB power source © 2019 Microchip Technology Inc. User Guide DS50002902A-page 1

Transcript of BM83 Bluetooth Audio Development Board User's...

Page 1: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

BM83 EVB BM83 Bluetoothreg Audio Development Board Users Guide

IntroductionThe BM83 Bluetooth Audio Development Board (BM83 EVB) enables the user to evaluate and demonstrate thefunctionality of the BM83 audio module and IS2083BM System-on-Chip (SoC) This board is a complete all-in-onesolution to develop multiple Bluetooth audio applications including portable speakers and headphones The BM83EVB features an on-board PIC32 for Host MCU mode applications an external codec to improve audio quality adigital microphone to capture voice audio indicator LEDs and buttons for ease of development

In addition to the BM83 EVB the IS2083 SDK and IS208x_Config_GUI_Tool (Config Tool) are provided to customizethe audio processing settings

Featuresbull BM83 module qualified for Bluetooth 50 specificationsbull On-board microcontroller (PIC32MX450F256L) for easy operation and feature demonstrationbull Plug-in module (PIM) socket for external microcontroller (MCU)bull STMicroelectronics codec (STA369BW) Daughter Boardbull Digital Microphone (Knowlesrsquo SPH0641LU4H-1) Daughter Boardbull J-Link 6-Pin Adapter Board for IS2083BM debuggingbull On-board keypad matrix (audio control buttons) that can be controlled either by the BM83 module or the on-

board PIC32 MCU which makes it easy for playback controlbull Aux-in MIC-In and Stereo out portsbull On-board thermistorbull 2 LEDs for the Bluetooth subsystem and various other LEDs configurable by the on-board MCUbull JTAG programdebug port USB to UART port XPRO header interfacesbull Li-ion battery connector 15V DC power jack and USB power source

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 1

Table of Contents

Introduction1

Features 1

1 Quick References4

11 Reference Documentation412 Hardware Requirements 413 Software Requirements414 AcronymsAbbreviations5

2 Kit Overview 8

21 Kit Contents8

3 Hardware10

31 Hardware Features11311 Power Supply11312 USB Connectivity12313 Switches and Push Buttons12314 LEDs12315 Headers 13

3151 I2S Header 133152 Audio Daughter Board Interface Header 133153 Audio Control Button Headers143154 BM83 Carrier Board Interface 153155 ICSP Header 163156 Xplained PRO Header163157 Digital Microphone Headers 17

4 Embedded Mode Quick Demo 18

5 Firmware Update20

51 Firmware Update over UART 2052 Firmware Update over USB 23

6 Customizing Module Parameters 28

61 Config Tool Setup28

7 Appendix A BM83 EVB Reference Schematics 41

8 Appendix B STA369BW Audio Daughter Board55

9 Appendix C Digital Microphone Daughter Board 57

10 Appendix D J-Link 6-Pin Adapter Board 58

11 Appendix E Updating PIC32 MCU Parameters59

12 Appendix F Hardware Setup for Application Demo in Host MCU Mode 63

121 Host MCU Mode Quick Demo64

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 2

13 Appendix G Hardware Setup for Application Demo in Embedded Mode67

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec69

15 Document Revision History70

The Microchip Website71

Product Change Notification Service71

Customer Support 71

Microchip Devices Code Protection Feature 71

Legal Notice 71

Trademarks 72

Quality Management System 72

Worldwide Sales and Service73

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 3

1 Quick References

11 Reference DocumentationFor further study refer to the following

bull BM83 Bluetoothreg Stereo Audio Module Data Sheetbull IS2083 Bluetoothreg Stereo Audio SoC Data Sheetbull IS2083 SDK Userrsquos Guide (DS50002894)bull BM83 Host MCU Firmware Development Guidebull IS2083 Bluetoothreg Audio Application Design Guidebull IS2083 SDK Debugger Userrsquos Guidebull IS2083 Reference Design Application Note

Note  For a complete list of development support tools and documentation visit httpwwwmicrochipcomBM83

12 Hardware Requirementsbull BM83 Bluetoothreg Audio Development Board (BM83 EVB)bull BM83 module mounted on BM83 Carrier Boardbull Bluetooth-enabled smartphone

ndash Androidtrade device running on Android 43 or later versionndash iOS iPhonereg 4S or later version

bull Windowsreg host PC with USB portbull Speaker microphone or headsetbull Type-A to Micro-B USB cablebull STA369BW Audio Daughter Boardbull Digital Microphone Daughter Boardbull 15V DC power adapterbull MPLABreg REAL ICEtradeMPLAB ICD 3PICkittrade 3bull J-Link 6-Pin Adapter Board

13 Software RequirementsNote  For the following software tools and firmware files refer to httpwwwmicrochipcomBM83

bull IS2083 firmwarebull Host MCU firmwarebull isUpdate toolbull Config GUI toolbull MPLAB Integrated Development Environment (MPLAB X IDE) toolbull Microchip Bluetooth Audio Application for smartphone

Note  MPLAB X IDE is available for download from Microchip website at httpwwwmicrochipcommplabmplab-x-ide

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 4

14 AcronymsAbbreviationsTable 1-1 AcronymsAbbreviations

AcronymsAbbreviations Description

A2DP Advanced Audio Distribution Profile

AAC Advanced Audio Codec

ADC Analog-to-Digital Converter

AEC Acoustic Echo Cancellation

AFH Adaptive Frequency Hopping

ANCS Apple Notification Center Service

API Application Programming Interfaces

AVRCP AudioVideo Remote Control Profile

AW Audio Widening

BDR Basic Data Rate

BER Bit Error Rate

BLE Bluetooth Low Energy

BOM Bill of Materials

BPF Band Pass Filter

BR Basic Rate

CVSD Continuous Variable Slope Delta

DAC Digital-to-Analog Converter

DFU Device Firmware Upgrade

DIS Device Information Service

DLE Data Length Extension

DPSK Differential Phase Shift Keying

DQPSK Differential Quadrature Phase Shift Keying

DR Receive Data

DSP Digital Signal Processor

DT Transmit Data

EDR Enhanced Data Rate

EMC Electromagnetic Compatibility

EVB Evaluation Board

FET Field Effect Transistor

GAP General Access Profile

GATT General Attribute Profile

GFSK Gaussian Frequency Shift Keying

GPIO General Purpose Input Output

GUI Graphical User Interface

HFP Hands-free Profile

HPF High Pass Filter

HSP Headset Profile

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 5

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 2: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Table of Contents

Introduction1

Features 1

1 Quick References4

11 Reference Documentation412 Hardware Requirements 413 Software Requirements414 AcronymsAbbreviations5

2 Kit Overview 8

21 Kit Contents8

3 Hardware10

31 Hardware Features11311 Power Supply11312 USB Connectivity12313 Switches and Push Buttons12314 LEDs12315 Headers 13

3151 I2S Header 133152 Audio Daughter Board Interface Header 133153 Audio Control Button Headers143154 BM83 Carrier Board Interface 153155 ICSP Header 163156 Xplained PRO Header163157 Digital Microphone Headers 17

4 Embedded Mode Quick Demo 18

5 Firmware Update20

51 Firmware Update over UART 2052 Firmware Update over USB 23

6 Customizing Module Parameters 28

61 Config Tool Setup28

7 Appendix A BM83 EVB Reference Schematics 41

8 Appendix B STA369BW Audio Daughter Board55

9 Appendix C Digital Microphone Daughter Board 57

10 Appendix D J-Link 6-Pin Adapter Board 58

11 Appendix E Updating PIC32 MCU Parameters59

12 Appendix F Hardware Setup for Application Demo in Host MCU Mode 63

121 Host MCU Mode Quick Demo64

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 2

13 Appendix G Hardware Setup for Application Demo in Embedded Mode67

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec69

15 Document Revision History70

The Microchip Website71

Product Change Notification Service71

Customer Support 71

Microchip Devices Code Protection Feature 71

Legal Notice 71

Trademarks 72

Quality Management System 72

Worldwide Sales and Service73

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 3

1 Quick References

11 Reference DocumentationFor further study refer to the following

bull BM83 Bluetoothreg Stereo Audio Module Data Sheetbull IS2083 Bluetoothreg Stereo Audio SoC Data Sheetbull IS2083 SDK Userrsquos Guide (DS50002894)bull BM83 Host MCU Firmware Development Guidebull IS2083 Bluetoothreg Audio Application Design Guidebull IS2083 SDK Debugger Userrsquos Guidebull IS2083 Reference Design Application Note

Note  For a complete list of development support tools and documentation visit httpwwwmicrochipcomBM83

12 Hardware Requirementsbull BM83 Bluetoothreg Audio Development Board (BM83 EVB)bull BM83 module mounted on BM83 Carrier Boardbull Bluetooth-enabled smartphone

ndash Androidtrade device running on Android 43 or later versionndash iOS iPhonereg 4S or later version

bull Windowsreg host PC with USB portbull Speaker microphone or headsetbull Type-A to Micro-B USB cablebull STA369BW Audio Daughter Boardbull Digital Microphone Daughter Boardbull 15V DC power adapterbull MPLABreg REAL ICEtradeMPLAB ICD 3PICkittrade 3bull J-Link 6-Pin Adapter Board

13 Software RequirementsNote  For the following software tools and firmware files refer to httpwwwmicrochipcomBM83

bull IS2083 firmwarebull Host MCU firmwarebull isUpdate toolbull Config GUI toolbull MPLAB Integrated Development Environment (MPLAB X IDE) toolbull Microchip Bluetooth Audio Application for smartphone

Note  MPLAB X IDE is available for download from Microchip website at httpwwwmicrochipcommplabmplab-x-ide

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 4

14 AcronymsAbbreviationsTable 1-1 AcronymsAbbreviations

AcronymsAbbreviations Description

A2DP Advanced Audio Distribution Profile

AAC Advanced Audio Codec

ADC Analog-to-Digital Converter

AEC Acoustic Echo Cancellation

AFH Adaptive Frequency Hopping

ANCS Apple Notification Center Service

API Application Programming Interfaces

AVRCP AudioVideo Remote Control Profile

AW Audio Widening

BDR Basic Data Rate

BER Bit Error Rate

BLE Bluetooth Low Energy

BOM Bill of Materials

BPF Band Pass Filter

BR Basic Rate

CVSD Continuous Variable Slope Delta

DAC Digital-to-Analog Converter

DFU Device Firmware Upgrade

DIS Device Information Service

DLE Data Length Extension

DPSK Differential Phase Shift Keying

DQPSK Differential Quadrature Phase Shift Keying

DR Receive Data

DSP Digital Signal Processor

DT Transmit Data

EDR Enhanced Data Rate

EMC Electromagnetic Compatibility

EVB Evaluation Board

FET Field Effect Transistor

GAP General Access Profile

GATT General Attribute Profile

GFSK Gaussian Frequency Shift Keying

GPIO General Purpose Input Output

GUI Graphical User Interface

HFP Hands-free Profile

HPF High Pass Filter

HSP Headset Profile

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 5

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 3: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

13 Appendix G Hardware Setup for Application Demo in Embedded Mode67

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec69

15 Document Revision History70

The Microchip Website71

Product Change Notification Service71

Customer Support 71

Microchip Devices Code Protection Feature 71

Legal Notice 71

Trademarks 72

Quality Management System 72

Worldwide Sales and Service73

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 3

1 Quick References

11 Reference DocumentationFor further study refer to the following

bull BM83 Bluetoothreg Stereo Audio Module Data Sheetbull IS2083 Bluetoothreg Stereo Audio SoC Data Sheetbull IS2083 SDK Userrsquos Guide (DS50002894)bull BM83 Host MCU Firmware Development Guidebull IS2083 Bluetoothreg Audio Application Design Guidebull IS2083 SDK Debugger Userrsquos Guidebull IS2083 Reference Design Application Note

Note  For a complete list of development support tools and documentation visit httpwwwmicrochipcomBM83

12 Hardware Requirementsbull BM83 Bluetoothreg Audio Development Board (BM83 EVB)bull BM83 module mounted on BM83 Carrier Boardbull Bluetooth-enabled smartphone

ndash Androidtrade device running on Android 43 or later versionndash iOS iPhonereg 4S or later version

bull Windowsreg host PC with USB portbull Speaker microphone or headsetbull Type-A to Micro-B USB cablebull STA369BW Audio Daughter Boardbull Digital Microphone Daughter Boardbull 15V DC power adapterbull MPLABreg REAL ICEtradeMPLAB ICD 3PICkittrade 3bull J-Link 6-Pin Adapter Board

13 Software RequirementsNote  For the following software tools and firmware files refer to httpwwwmicrochipcomBM83

bull IS2083 firmwarebull Host MCU firmwarebull isUpdate toolbull Config GUI toolbull MPLAB Integrated Development Environment (MPLAB X IDE) toolbull Microchip Bluetooth Audio Application for smartphone

Note  MPLAB X IDE is available for download from Microchip website at httpwwwmicrochipcommplabmplab-x-ide

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 4

14 AcronymsAbbreviationsTable 1-1 AcronymsAbbreviations

AcronymsAbbreviations Description

A2DP Advanced Audio Distribution Profile

AAC Advanced Audio Codec

ADC Analog-to-Digital Converter

AEC Acoustic Echo Cancellation

AFH Adaptive Frequency Hopping

ANCS Apple Notification Center Service

API Application Programming Interfaces

AVRCP AudioVideo Remote Control Profile

AW Audio Widening

BDR Basic Data Rate

BER Bit Error Rate

BLE Bluetooth Low Energy

BOM Bill of Materials

BPF Band Pass Filter

BR Basic Rate

CVSD Continuous Variable Slope Delta

DAC Digital-to-Analog Converter

DFU Device Firmware Upgrade

DIS Device Information Service

DLE Data Length Extension

DPSK Differential Phase Shift Keying

DQPSK Differential Quadrature Phase Shift Keying

DR Receive Data

DSP Digital Signal Processor

DT Transmit Data

EDR Enhanced Data Rate

EMC Electromagnetic Compatibility

EVB Evaluation Board

FET Field Effect Transistor

GAP General Access Profile

GATT General Attribute Profile

GFSK Gaussian Frequency Shift Keying

GPIO General Purpose Input Output

GUI Graphical User Interface

HFP Hands-free Profile

HPF High Pass Filter

HSP Headset Profile

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 5

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 4: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

1 Quick References

11 Reference DocumentationFor further study refer to the following

bull BM83 Bluetoothreg Stereo Audio Module Data Sheetbull IS2083 Bluetoothreg Stereo Audio SoC Data Sheetbull IS2083 SDK Userrsquos Guide (DS50002894)bull BM83 Host MCU Firmware Development Guidebull IS2083 Bluetoothreg Audio Application Design Guidebull IS2083 SDK Debugger Userrsquos Guidebull IS2083 Reference Design Application Note

Note  For a complete list of development support tools and documentation visit httpwwwmicrochipcomBM83

12 Hardware Requirementsbull BM83 Bluetoothreg Audio Development Board (BM83 EVB)bull BM83 module mounted on BM83 Carrier Boardbull Bluetooth-enabled smartphone

ndash Androidtrade device running on Android 43 or later versionndash iOS iPhonereg 4S or later version

bull Windowsreg host PC with USB portbull Speaker microphone or headsetbull Type-A to Micro-B USB cablebull STA369BW Audio Daughter Boardbull Digital Microphone Daughter Boardbull 15V DC power adapterbull MPLABreg REAL ICEtradeMPLAB ICD 3PICkittrade 3bull J-Link 6-Pin Adapter Board

13 Software RequirementsNote  For the following software tools and firmware files refer to httpwwwmicrochipcomBM83

bull IS2083 firmwarebull Host MCU firmwarebull isUpdate toolbull Config GUI toolbull MPLAB Integrated Development Environment (MPLAB X IDE) toolbull Microchip Bluetooth Audio Application for smartphone

Note  MPLAB X IDE is available for download from Microchip website at httpwwwmicrochipcommplabmplab-x-ide

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 4

14 AcronymsAbbreviationsTable 1-1 AcronymsAbbreviations

AcronymsAbbreviations Description

A2DP Advanced Audio Distribution Profile

AAC Advanced Audio Codec

ADC Analog-to-Digital Converter

AEC Acoustic Echo Cancellation

AFH Adaptive Frequency Hopping

ANCS Apple Notification Center Service

API Application Programming Interfaces

AVRCP AudioVideo Remote Control Profile

AW Audio Widening

BDR Basic Data Rate

BER Bit Error Rate

BLE Bluetooth Low Energy

BOM Bill of Materials

BPF Band Pass Filter

BR Basic Rate

CVSD Continuous Variable Slope Delta

DAC Digital-to-Analog Converter

DFU Device Firmware Upgrade

DIS Device Information Service

DLE Data Length Extension

DPSK Differential Phase Shift Keying

DQPSK Differential Quadrature Phase Shift Keying

DR Receive Data

DSP Digital Signal Processor

DT Transmit Data

EDR Enhanced Data Rate

EMC Electromagnetic Compatibility

EVB Evaluation Board

FET Field Effect Transistor

GAP General Access Profile

GATT General Attribute Profile

GFSK Gaussian Frequency Shift Keying

GPIO General Purpose Input Output

GUI Graphical User Interface

HFP Hands-free Profile

HPF High Pass Filter

HSP Headset Profile

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 5

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 5: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

14 AcronymsAbbreviationsTable 1-1 AcronymsAbbreviations

AcronymsAbbreviations Description

A2DP Advanced Audio Distribution Profile

AAC Advanced Audio Codec

ADC Analog-to-Digital Converter

AEC Acoustic Echo Cancellation

AFH Adaptive Frequency Hopping

ANCS Apple Notification Center Service

API Application Programming Interfaces

AVRCP AudioVideo Remote Control Profile

AW Audio Widening

BDR Basic Data Rate

BER Bit Error Rate

BLE Bluetooth Low Energy

BOM Bill of Materials

BPF Band Pass Filter

BR Basic Rate

CVSD Continuous Variable Slope Delta

DAC Digital-to-Analog Converter

DFU Device Firmware Upgrade

DIS Device Information Service

DLE Data Length Extension

DPSK Differential Phase Shift Keying

DQPSK Differential Quadrature Phase Shift Keying

DR Receive Data

DSP Digital Signal Processor

DT Transmit Data

EDR Enhanced Data Rate

EMC Electromagnetic Compatibility

EVB Evaluation Board

FET Field Effect Transistor

GAP General Access Profile

GATT General Attribute Profile

GFSK Gaussian Frequency Shift Keying

GPIO General Purpose Input Output

GUI Graphical User Interface

HFP Hands-free Profile

HPF High Pass Filter

HSP Headset Profile

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 5

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 6: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continued

AcronymsAbbreviations Description

HW Hardware

I2CI2C Inter-Integrated Circuit

I2SI2S Inter-IC Sound

IC Integrated Circuit

ICSP In-Circuit Serial Programming

IDE Integrated Development Environment

IF Intermediate Frequency

IPE Integrated Programming Environment

JTAG Joint Test Action Group

LDO Low-Dropout

LED Light Emitting Diode

LNA Low-Noise Amplifier

LPA Linear Power Amplifier

LSB Least Significant Bit

MAC Medium Access Control

MB DRC Multiband Dynamic Range Compression

MCLK Master Clock

MCU Microcontroller

MEMS Micro-Electro-Mechanical Systems

MFB Multi-function Button

Modem Modulator-demodulator

MPA Medium Power Amplifier

mSBC Modified Sub-band Coding

MSPK Multi-speaker

NR Noise Reduction

OTA Over-the-Air

PBAP Phone Book Access Profile

PCB Printed Circuit Board

PCM Pulse Code Modulation

PDM Pulse Density Modulation

PIM Plug-in Module

PLC Packet Loss Concealment

PMU Power Management Unit

POR Power-on Reset

PWM Pulse Width Modulation

RF Radio Frequency

RFS Receive Frame Sync

RoHS Restriction of Hazardous Substances

RSSI Received Signal Strength Indicator

RX Receiver

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 6

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 7: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continued

AcronymsAbbreviations Description

SAR Successive Approximation Register

SBC Sub-band Coding

SCO Synchronous Connection-oriented

SDK Software Development Kit

SIG Special Interest Group

SNR Signal-to-Noise Ratio

SoC System-on-Chip

SPP Serial Port Profile

SW Software

TX Transmitter

UART Universal Asynchronous Receiver-Transmitter

UI User Interface

USB Universal Serial Bus

VB Virtual Bass Enhancement

VCO Voltage-controlled Oscillator

WDT Watchdog Timer

BM83 EVBQuick References

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 7

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 8: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

2 Kit OverviewThis section provides an overview of the BM83 EVB The following figure illustrates the top view of the BM83 EVBwith its components

Figure 2-1 BM83 EVB Components

Host MCU (PIC32MX450F256L)

PIM Socket (External MCU)

15V DC Adapter (P200)USB-UART Port (J600)

Power Switch (SW200)

MFB Button (SW701)

Bluetooth Module USB (J200)

Li-ion Battery Connector (J201)

Type-A USB (P400)

ICSP Header (J400)

BM83 JTAG Header (J301)

XPRO Header (J304)

STA369BW Audio Daughter Board

ANA MIC1(P500)

LINE_IN (P501)I2S Header (J404 J405)

ANA MIC2 (P502)

Stereo Out (P503)

Carrier Board Interface (J300)

BM83 Carrier Board

BM83 Module

Digital Microphone Daughter Boards

Audio Control Buttons Header (J700 J701 J702)

21 Kit ContentsThe BM83 EVB includes the following

bull One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Boardbull One 15V DC power adapterbull One pair of speaker cablesbull One Type-A to Micro-B USB cablebull One STA369BW Audio Daughter Boardbull Two Digital Microphone Daughter Boardsbull One J-link 6-pin Adapter Board

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 8

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 9: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 2-2 Kit Contents

BM83 EVB

STA369BW Audio Daughter Board

Digital Microphone Daughter Boards

Power Cable

BM83 Carrier Board

J-Link Adapter Board

Speaker Cable

Micro-B USB Cable

DC Power Adapter

BM83 Module

Note  If any part of the BM83 EVB is missing contact your Microchip sales office for assistance A list of Microchipoffices for sales and service is provided on the back page of this document

BM83 EVBKit Overview

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 9

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 10: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

3 HardwareThis chapter describes the hardware features of the BM83 EVB The BM83 EVB includes a range of peripheralcomponents

Figure 3-1 Block Diagram

SYS_PWR

LED2

AOHPRAOHPMAOHPL

MIC1_P

MIC2_N

MIC_BIAS

UART

BAT_IN

Buttons andSwitches

MIC andBias Circuit

AudioInputJack

Status LEDs

PowerJack

15VAdapter

ADC CH

16 MHzCrystal

SPKR

SPKL

Thermistor

Li-IonBattery

AudioOutput

Jack

Aux-In Jack

USB to UART(MCP2200)

3V35VRegulator

ADAP_IN Micro-BUSB

12 MHzCrystal

PowerSwitch

15V

5V

15V

3V3

IO

5V

3V3LDO

5V

P3_4

ModeSwitch

Type-A USB

AudioInputJack

MIC andBias Circuit

DMIC_CLK

Audio DaughterBoard

33 V

15V

5VI2S

15 VLED1

CPU JTAG JTAG

XPROHeader IO

AIRAIL

DMIC1LRDMIC2LR

MIC1_NMIC2_P

BM83 Module on theBM83 Carrier Board

External MCU(PIC32MX450F256L)

PIM Socket

Micro-BUSBUSB

J-linkAdapterBoard

Bluetooth Audio Development Board

Regulator

STA369BW

Digital MicrophoneDaugther Boards

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 10

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 11: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

31 Hardware FeaturesThe following sections provide detailed information on the BM83 EVB components To locate these components inthe BM83 EVB refer to Figure 2-1 and Figure 3-2

Figure 3-2 BM83 EVB Switches LEDs and Jumpers

Dxxx - LEDs JPxxxJxxx - Jumpers SxxxSWxxx - SwitchesPush buttons Legends

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW70

5SW

702

SW70

7SW

708

SW70

4

J600

D40

1D

402

D40

3D

404

D40

5D

406

D40

7D

411

S400

SW40

2

SW40

3

SW40

0

SW200

SW701

SW401

SW711

SW703

D202

D600D203

D209

JP203

JP201

JP400J200

JP600 JP601

D300 D301 D302

SW700SW300J700 J701 J702

J404J405

JP501

JP503

J401 J402 J403

JP305

JP304

J505 J504

311 Power SupplyThe BM83 EVB can be powered using any one of the following

bull Li-ion battery (J201) ndash when using a battery input mount a jumper on JP200 and pin 1 and 2 of JP201 Do notmount a jumper on JP202 JP202 is a provision for connecting a battery power source with 254 mm connector

bull 15V DC power adapter (P200)bull USB (J200 and J600) ndash USB cable is connected to the PC which provides 5V (USB_5V)

Note  Power switch (SW200) is utilized to switch between two 5V power sources available on boardbull 5V_DC derived from 15V DCbull 5V_USB supplied by 5V USB source

Note  To locate these power sources available on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 11

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 12: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

312 USB ConnectivityThe USB ports for BM83 EVB are

bull Micro-B USB port (J600 UART USB) ndash USB signals are converted to UART by the serial converter MCP2200which is connected to BM83 module

bull Micro-B USB port (J200 BT_USB) ndash USB signals are directly connected to the BM83 modulebull Type A USB port (P400- MCU_USB) ndash USB signals are directly connected to host MCU ( PIC32MX450F256L)

Note  To locate these USB ports available on the BM83 EVB refer to Figure 2-1

313 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are

bull S400 ndash Switch to select between on-board PIC32 MCU or external Plug-in Module (PIM)bull SW200 ndash Power switch to switch between 5V_DC and 5V_USBbull SW300 ndash Mode selection switch for configuring BM83 module into Application mode or Test modebull SW400 ndash Microcontroller to Bluetooth control switchbull SW401 ndash Reset button for the host MCU (MCU_RESET)bull SW402 ndash Microcontroller to Bluetooth control switchbull SW403 ndash Microcontroller to Bluetooth control switchbull SW700 ndash Reset button for BM83 module (RST_N)bull SW701 ndash Multifunction button (MFB)bull SW702 ndash Increase volume (VOL_UP)bull SW703 ndash Enter into pairing mode (PAIRING)bull SW704 ndash Play or pause the audio playback (PLAYPAUSE)bull SW705 ndash Decrease volume (VOL_DN)bull SW707 ndash Skip the audio track forward (FWD)bull SW708 ndash Skip the audio track backward (REV)bull SW711 ndash Select button (SEL) turns on the system and puts the system into Pairing mode during Host MCU

mode application demonstration

Note  To locate these switches and push buttons available on the BM83 EVB refer to Figure 3-2

The following table provides the settings of mode selection switch (SW300) for configuring the BM83 module invarious operating modes

Table 3-1 Mode Selection Switch (SW300) Details

Mode Pin Description

Test mode SW300 is placed in ON (P3_4 Low) position

Application mode SW300 is placed in OFF (P3_4 Floating) position

314 LEDsAll the on-board LEDs are categorized into three main types

bull Power LEDsndash Red (D600 and D202)ndash Green (D209 and D203)

bull LEDs driven by the BM83 modulendash Red (D301)ndash Blue (D300)

bull Host MCU (PIC32) related LEDsndash Green (D401-D407 )ndash Green (D411)

Note  To locate these LEDs available on the BM83 EVB refer to Figure 3-2

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 12

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 13: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

315 HeadersThe following headers are available on the BM83 EVBNote  To locate these headers available on the BM83 EVB refer to Figure 2-1

3151 I2S HeaderI2S header (J405) provides the interface to connect an STA369BW Audio Daughter Board to the BM83 module Thefollowing table provides the pin details of I2S header

Table 3-2 I2S Header (J405) Pin Details

Pin Number Pin Name

1 RFS1

2 SCLK1

3 DR1

4 DT1

5 MCLK1

6 GND

7 3V3_IO

Note  Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board

3152 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board The Table 3-3 and Table 3-4 tables provide the pin details of these headers

Table 3-3 Audio Daughter Board Interface Header (J500) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 GND 11 I2S_DR1

2 GND 12 I2S_SCLK1

3 GPIORxD 13 I2S_DT1

4 GPIOCTS 14 I2S_MCLK1

5 GPIOTxD 15 GND

6 GPIORTS 16 GND

7 GPIOSCL 17 15V_DC_IN

8 GPIORST 18 3V3_GEN

9 GPIOSDA 19 15V_DC_IN

10 I2S_RFS1 20 5V_DC

Table 3-4  Audio Daughter Board Interface Header (J501) Pin Details

Pin Number Pin Name Pin Number Pin Name

1 NC 7 NC

2 NC 8 GPIOPROT_N_DSP

3 GPIODSP_IRQ_N 9 NC

4 GPIOSLEEP_N_DSP 10 NC

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 13

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 14: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continuedPin Number Pin Name Pin Number Pin Name

5 NC 11 GND

6 GPIOMUTE_N_DSP 12 GND

3153 Audio Control Button HeadersThe audio control button headers (J700 J701 J702) provide the mechanism to control the audio function buttonseither by the BM83 module (Embedded mode) or on-board PIC32 MCU (Host MCU mode) The following tablesprovide the header pin description Embedded and Host MCU mode configurations

Table 3-5 Audio Control Button Headers (J700 J701 and J702) Pin Description (1)

Pin Number Pin Name Description

1 PLYPAU Play or pause

2 REV Reverse

3 FWD Forward

4 VOLndash Volume down

5 VOL+ Volume up

6 PAIRING Used for pairing the module with a smartphone (only for HostMCU mode)

7 Sel Not used

8 NC Not connected

1 To locate these headers on the BM83 EVB refer to Figure 2-1

Table 3-6 Embedded Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Open Mount a jumper on J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode2 Open Mount a jumper on J701 and J702

3 Open Mount a jumper on J701 and J702

4 Open Mount a jumper on J701 and J702

5 Open Mount a jumper on J701 and J702

6 Open Open Open

7 Open Mount a jumper on J701 and J702

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 14

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 15: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Table 3-7 Host MCU Mode Audio Control Button Header Configurations (J700 J701 and J702) (1)

Pin Number Jumper Names and Positions Description

J700 J701 J702

1 Mount a jumper on J700 and J701 Open Audio streaming is controlled by on-board PIC32MX450F256L MCU inHost MCU mode2 Mount a jumper on J700 and J701 Open

3 Mount a jumper on J700 and J701 Open

4 Mount a jumper on J700 and J701 Open

5 Mount a jumper on J700 and J701 Open

6 Mount a jumper on J700 and J701 Open

7 Mount a jumper on J700 and J701 Open

8 Open Open Open

1 To locate these headers on the BM83 EVB refer to Figure 2-1

3154 BM83 Carrier Board InterfaceThe following table provides the pin details of J300 and the BM83 module interface with the BM83 EVB

Table 3-8 Carrier Board Interface (J300) Pin Details

Pin Name Pin Number Pin Name

BK1_O_1V5 1 2 MCLK1

LED3 3 4 DT1

NC 5 6 DR1

RST_N 7 8 SCLK1

DP 9 10 RFS1

DM 11 12 GND

GND 13 14 P3_7

GND 15 16 P3_5

P2_7 17 18 NC

P1_3 19 20 BK2_O_1V8

P1_2 21 22 NC

P0_5 23 24 P0_1

P0_2 25 26 P0_0

P0_3 27 28 P2_3

P0_6 29 30 P0_7

LED2 31 32 UART_TXD

P1_6 33 34 UART_RXD

LED1 35 36 SK2_KEY_AD

P3_4 37 38 PWM

SK1_AMB_DET 39 40 MFB

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 15

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 16: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continuedPin Name Pin Number Pin Name

NA 41 42 DMIC2_R

NA 43 44 DMIC2_L

P3_2 45 46 VDD_IO

GND 47 48 SYS_PWR

MIC_BIAS 49 50 BAT_IN

MIC_P1 51 52 ADAP_IN

MIC_N1 53 54 NC

AIL 55 56 P2_6

AIR 57 58 DMIC1_R

MIC_P2 59 60 DMIC1_L

MIC_N2 61 62 DMIC_CLK

AOHPL 63 64 GND

AOHPM 65 66 GND

AOHPR 67 mdash mdash

3155 ICSP HeaderICSP header (J400) provides the programmingdebugging interface for the on-board PIC32 MCU(PIC32MX450F256L) To locate this header on the BM83 EVB refer to Figure 2-1 The following table provides theICSP header pin description

Table 3-9 ICSP Header (J400) Pin Description

Pin Number Description

1 Reset (MCLR)

2 Power supply (3V3_PIC)

3 Ground (GND)

4 Data (PGED1)

5 Clock (PGEC1)

6 Not connected (NC)

3156 Xplained PRO HeaderThe BM83 EVB provides 20-pin XPRO header (J304) to interface with XPRO platform The following table providesthe pin details of XPRO header

Table 3-10 XPRO Header (J304) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 GND

SK2_KEY_AD 3 4 SK1_AMB_DET

NA 5 6 NA

PWM 7 8 P0_0

P0_6 9 10 P3_5

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 16

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 17: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continuedPin Name Pin Number Pin Name

P1_3 11 12 P1_2

UART_RXD 13 14 UART_TXD

P0_7 15 16 P2_6

P2_3 17 18 P1_6

GND 19 20 3V3_IO

3157 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to BM83 EVB and the Digital Microphone Daughter BoardThe pin description is provided in the following tableTable 3-11 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

BM83 EVBHardware

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 17

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 18: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

4 Embedded Mode Quick DemoThis section provides a quick demo to stream audio using the BM83 module in Embedded mode

Perform the following steps

Note  The BM83 EVB is preconfigured for the Embedded mode quick demo

1 Unbox the kit and connect the speaker cables to the STA369BW Audio Daughter Board at CN1 and CN2 andconnect the cables to the speakerFigure 4-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 4-2 SW200 Switch Position

3 Connect the 15V DC adapter at DC power jack P200 Notice that the Green LED (D203) and the Red LED(D202) turn ON

4 Set the SW200 switch to 5V_DC position Notice that the Green LED (D209) turns ON5 Long press MFB button (SW701) for minimum 4-5 seconds until the Blue LED (D300) and Red LED (D301)

start blinking alternately Observe the sound on the speakers6 Release MFB button7 Perform the following steps to pair the BM83 module with a smartphone

71 Turn ON the smartphones Bluetooth to scan for the available devices72 Tap on ldquoMCHP BM83rdquo from the scan results Pair to connect the device73 On successful pairing the MCHP BM83 device must be visible under the ldquoPAIRED DEVICESrdquo as

shown in the following figure

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 18

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 19: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 4-3 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 module over Bluetooth connection and listen toit over the speakers

8 Control the audio with the following buttons81 Press VOL_UP button (SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Play button (SW704) to play the audio84 Press Pause button (SW704) to pause the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system

BM83 EVBEmbedded Mode Quick Demo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 19

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 20: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

5 Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU

51 Firmware Update over UARTTo update the firmware of the BM83 module the user must ensure the hardware settings and configurationsdescribed in the following table

Table 5-1 BM83 EVB Firmware Update Settings

Jumpers and Switches (1) Description

JP600 and JP601 bull Mount a jumper on JP600 (TXD)bull Mount a jumper on JP601 (RXD)

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_MCP pins of JP203 pin2 and pin3

SW300 Put SW300 switch to ON position for Test mode

SW200 Put SW200 switch to 5V_USB position

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDDIOrdquo pins of JP305

J600 Connect the USB cable from a PC to J600

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using isUpdate toolNote  Download isUpdate tool from httpwwwmicrochipcomBM83

1 Connect the BM83 EVB Micro-B USB port J600 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Red LED (D600) Green LED (D209) and Blue LED (D300) turn ON3 Open the isUpdate tool Select the appropriate COM port set the baud rate to 115200 and image num to 1 as

shown in the following figure4 Click Connect

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 20

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 21: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 5-1 isUpdate Tool Window

Note  In isUpdate tool image num values must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

5 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-2 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 21

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 22: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

6 Once the connection is established click Browse and locate the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to httpwwwmicrochipcomBM83

Figure 5-3 Browsing and Loading the Files

7 Click Update to load the firmware to BM83 module and observe the progressFigure 5-4 Updating the Firmware

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 22

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 23: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

8 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-5 Process Completed

9 Remove the USB cable

52 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through USB Device Firmware Upgrade(DFU) The BM83 EVB should be in Application mode For firmware update over the USB the user must ensure thehardware settings and configurations described in the following tableTable 5-2 BM83 EVB Firmware Update Settings

Jumpers and Switches(1) Description

JP304 Mount a jumper on ldquoADAP_INrdquo and ldquo5V_ADAP_INrdquo pins of JP304 pin2 and pin3

JP203 Mount a jumper on 5V_USB and 5V_BT pins of JP203 pin1 and pin2

SW200 Put SW200 switch to 5V_USB position

SW300 Put SW300 switch to OFF position for Application Mode

J200 Connect the USB cable from a PC to J200

JP305 Mount a jumper on ldquo3V3_IOrdquo and ldquoVDD_IOrdquo pins of JP305

1 To locate these jumpers switches and power sources on the BM83 EVB refer to Figure 3-2 and Figure 2-1

Perform the following steps to load the firmware files onto the BM83 module using the isUpdate tool Ensure that theSW200 switch is in 5V_DC before connecting USB cable to J200 USB port

1 Connect the BM83 EVB Micro-B USB port J200 over USB cable to the PCNote  Be sure to disconnect the 15V power supply before connecting the USB cable

2 Observe that the Green LED (D209) and Red LED (D202) turn ON3 Set the SW200 switch to 5V_USB

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 23

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 24: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

4 Open the isUpdate tool Select the port as USB HID set the baud rate to 115200 and image num to 1 asshown in the following figure

5 Click ConnectFigure 5-6 Loading the Firmware Files

Note  In isUpdate tool image num value must be equal to the number of images to be programmed on thedevice For example to program firmware (image1) DSP (image2) and configuration (image3) the imagenum value must be selected as 3

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 24

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 25: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

6 The message on console and the transition of Connect button to Disconnect indicates that the connection isestablished successfully between the PC and the BM83 moduleFigure 5-7 Connection Established

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 25

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 26: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

7 Once the connection is established click Browse and open the firmware image provided in the releasepackageNote  The Embedded mode firmware images are available in the package refer to wwwmicrochipcomBM83

Figure 5-8 Browsing and Loading the Files

8 Click Update to update the firmware and observe the progress

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 26

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 27: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 5-9 Updating the Firmware

9 Click Disconnect and close the isUpdate tool after a successful firmware updateFigure 5-10 Process Completed

10 Remove the USB cable

BM83 EVBFirmware Update

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 27

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 28: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

6 Customizing Module Parameters

61 Config Tool SetupThe IS208x_Config_GUI_Tool Config Tool setup is a configuration tool that allows the user to change the BM83module parameters such as device name Bluetooth Low Energy connection settings LED configuration enabledisable Pairing mode and other functionsNote  For this demonstration Config Tool version IS208x_Config_GUI_Tool v1011 is used Refer to thelatest version at httpwwwmicrochipcomBM83 For additional details on the Config Tool refer to IS208x ConfigGUI Tool Userrsquos Guide

To configure the GUI parameters perform the following steps

1 Open the Config Tool and click OK to configure the parametersFigure 6-1 Config Tool - Welcome Window

2 In the Config Tool click Load

Figure 6-2 Config Tool

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 28

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 29: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

3 From the Open window select the default GUI parameters file (provided with the UI tool) for this module (BM83)and then click Open see the following figure

Figure 6-3 Loading Default GUI Parameters

13

2

4 After loading the GUI parameters click Edit to customize the GUI parameters on the Main Feature window

Figure 6-4 Editing Parameters

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 29

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 30: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

5 In the Main Feature window the user can enable or disable the features required for their application Select theldquoEmbedded Moderdquo option (see Figure 6-5) and click NextNote 

bull For Host MCU mode select the ldquoHost MCU Moderdquobull For Embedded mode select the ldquoEmbedded Moderdquo

Figure 6-5 Main Feature Settings

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 30

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 31: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

6 In the System and Functional Settings window go to Sys Setup1 tab to power ONOFF the Bluetooth systemSelect MFB Power ONOFF in the ldquoPower Switch Typerdquo section

Figure 6-6 Options in Sys Setup1 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 31

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 32: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

7 In the Sys Setup2 tab the user can change the following as shown in the Figure 6-7bull Device name ndash add the device name in the text box available under ldquoName Frag Segmentrdquo sectionbull Pairing mechanism ndash select Enable for the pairing mechanism available under ldquoSimple Pairingrdquo drop-down

menu

Figure 6-7 Options in Sys Setup2 Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 32

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 33: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

8 In the CODEC Setup tab select Internal codec from the ldquoCODEC Output Typerdquo drop-down menu

Figure 6-8 Options in CODEC Setup Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 33

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 34: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

9 Click Finish after modifying these settings IS208x_DSP_GUI_Tool window opens as shown in the following figure

Figure 6-9 Main Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 34

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 35: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

10 In the Voice Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-10 Voice Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 35

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 36: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

11 In the Audio Function tab the user can set the required parameters as highlighted in the following figure

Figure 6-11 Audio Function Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 36

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 37: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

12 In the I2SPCM tab the user can set the required parameters as highlighted in the following figure

Figure 6-12 I2SPCM Tab

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 37

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 38: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

13 Click Save to save the changed parameters onto a file and click OK on the confirmation window (see thefollowing figure)

Figure 6-13 Saving Parameters

2

1

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 38

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 39: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

14 Click Save to save the file in HEX format as shown in the following figure

Figure 6-14 Save as a HEX File

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 39

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 40: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

15 Click Exit followed by No as shown in the following figure

Figure 6-15 Exiting the GUI Tool

1

2

After saving the file the user can see an additional hex file in the GUI tool folder as shown in the following figure

Figure 6-16 Generated HEX File

Note  For Embedded mode with internal codec demo refer to 14 Appendix H Bluetooth Audio Demonstration inEmbedded Mode with Internal Codec

BM83 EVBCustomizing Module Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 40

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 41: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

7 Appendix A BM83 EVB Reference SchematicsFigure 7-1 USB Connector Schematic

DPDM

USB CONNECTOR

5V_BT

01uF16V0603

C2111uF16V0603

C212

100R

FB200

100R

FB2015VD207 A

1K

2

5VSOD-882PESD5V0X1BL315

D208

CAD NoteESD Diodes to be placed closestto the USB connector

TP LOOP RedTP203

GND_SHLDGND_SHLD

GND_SHLD

5VD206

0R0603R206

0R0603R207

ID 4

VBUS 1

GND 5

D- 2D+ 3

0USB20 MICRO-B FEMALE

J200BM83 Carrier Board USB

Figure 7-2 BM83 Module Interface (over BM83 Carrier Board)

MODULE INTERFACE

AOHPMAOHPL

MIC_P2MIC_N2

AOHPR

AILAIR

MIC_N1MIC_P1

MIC_BIAS

DPDM

P3_4

P3_2

P0_2P0_3

P0_5

P2_7

P0_6

P3_4

P0_2

P0_6P0_3

P0_5

P1_6

LED1

LED2

RST_N

LED1

LED2

MIC_BIAS

P3_5

SYS_PWRVDD_IO

BAT_INADAP_IN

SK1_AMB_DET

SK2_KEY_AD

MFB

RFS1

DR1DT1

SCLK1

MCLK1

ADAP_INBAT_INSYS_PWRVDD_IO

MFBSK1_AMB_DET

SK2_KEY_AD

HCI_TXDHCI_RXD

P3_5

P0_0 P0_0P0_1

P1_3P1_2

P0_1

DMIC2_RDMIC2_L

P2_6

P0_7

P3_7

P0_7

P3_7

P1_6

P2_3

P2_6

RFS1SCLK1DR1DT1MCLK1

RST_NDPDM

P2_7P1_3P1_2

P2_3

DMIC1_RDMIC1_LDMIC_CLK

GPIO_1GPIO_2

PWM

LED3

CLDO_O

CODEC_VO

RFLDO_O

BK1_O_1V5

BK2_O_1V8

LDO31_VO

DMIC1_LDMIC_CLK

DMIC1_R

DMIC2_RDMIC2_L

P3_2

01uF16V0603

C31501uF16V0603

C316

SYS_PWR VDD_IO

1TP300

LDO31_VO

1 23 45 67 89 10

11

6869 7071 7273 7475

2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 4041 4243 4445 4647 4849 5051 5253 5455 5657 5859 6061 6263 6465 6667

M1M2

EDGE 67P Female

J300

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 41

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 42: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-3 5V Power Switch

5V_DC

5V_USB

5V_ADAP_IN

5V POWER SWITCH

GREEND209

1K0603

R208

01uF16V0603

C2131uF16V0603

C214

TP LOOP RedTP204

GND_SHLD

NOTERecommended to switch to5V_DC mode for audioapplications

Input Range forADAP_IN 46V to 6V

5VD205

5V_DC

5V_USB

123

TOGGLE SPDT

SW200

Figure 7-4 USB-UART Converter

MCP_OSCINMCP_OSCOUT USB TO UART CONVERTER1 3

12Mhz

X600

12pF50V0603

C60912pF50V0603

C608

RST4

GP7TxLED 5GP6RxLED 6GP5 7GP4 8GP3 9GP2 14GP1USB-CFG 15GP0SSPND 16

CTS 13RTS 11RX 12TX 10

VD

D1

VSS

20

OSC12

OSC23

D+19D-18

VUSB17

MCP2200

U602

EXT_3V3

01uF0603

C605

0R0603

R601

MCP_OSCIN

MCP_OSCOUT

EXT_3V3

01uF16V0603

C607

10k06031

R60310k06031

DNP

R602

5V_MCP

10k06031

DNP

R606

MCP_TXMCP_RX

MCP_D+MCP_D-

EXT_3V3

01uF16V0603

C6060R0603

R605

1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 42

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 43: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-5 Reset IC

RST_N

RESET IC (OPTIONAL)

01uF16V0603

C301

47k06031

R307

VDD_IO

SYS_PWR

VDD3 VOUT 1

VSS2

MCP111 DNP

U300RST_N

Figure 7-6 Reset

RST_N

RESET

5V_ADAP_IN

1uF16V0603

C704

0R0603DNP

R701

RST_N1 4

2 3TACT SPST

SW700

2k06035

R702

GND_SHLD

PESD5V0S1BASOD-323

D70015pF50V0603

C700

13

2MMBT3904Q700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 43

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 44: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-7 Push Button Interface

MFBPowerVOL+

VOL-PLAYPAUSE

REVFWD

PUSH BUTTON

1 4

2 3TACT SPST

SW702VOL_UP

1 4

2 3TACT SPST

SW705VOL_DN

REV1 4

2 3TACT SPST

SW708

PLAYPAUSE1 4

2 3TACT SPST

SW704

FWD1 4

2 3TACT SPST

SW707

MFB1 4

2 3TACT SPST

SW701

SYS_PWR

PAIRING1 4

2 3TACT SPST

SW703PAIRING

GND_SHLDGND_SHLD GND_SHLD

GND_SHLDGND_SHLD

GND_SHLDGND_SHLD

PESD5V0S1BASOD-323

D701PESD5V0S1BASOD-323

D702

PESD5V0S1BASOD-323

D703

PESD5V0S1BASOD-323

D705PESD5V0S1BASOD-323

D704

PESD5V0S1BASOD-323

D707PESD5V0S1BASOD-323

D708

0R0603

R700

MFB

15pF50V0603

C701

15pF50V0603

C70215pF50V0603

C703

15pF50V0603

C70515pF50V0603

C706

15pF50V0603

C70815pF50V0603

C709

P0_61 4

2 3TACT SPST

SW711

GND_SHLD

PESD5V0S1BASOD-323

D71015pF50V0603

C712

SELECT

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 44

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 45: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-8 PIM Socket

4848

44

212122222323

72 7271 7170 7069 69

414142424343

11

4444

1010

55

100 100

24242525

82 8283 8384 8485 8586 8687 87

81 8180 80

91 9190 90

99

1515

79 7978 7877 7776 76

1111

66

99 99

3636 3535

75 75

96 96

74 7473 73

1212

77

5050 4949

303031312929 2828

3434 3333 3232

4040 3939

98 9897 97

95 9594 94

88

68 68

65 65

1313 89 8988 88

56 5655 5554 5453 53

64 64

67 6766 66

1414

63 6362 6261 61

52 5251 51

60 6059 5958 5857 57

33 22

26262727

3838 3737

93 9392 92

16161717

474745454646

181819192020

PIM 100 Pin Male TH

U400RG15

RE5RE6RE7RC1

MCU_SDI

PIM_MCLR

MCU_BCLK

MCU_SDO

MCU_P20

3V3_PIC

RA0RE8

RB5

MCU_RECFUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

RA1MCU_LED1

MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2

MCU_LED8MCU_LED7

TXD_MCURXD_MCU

RST_MCUFLASH_CS

MCU_VBUS

3V3_PIC

MCU_DPMCU_DM

RA3RA2

OSC2OSC1

MCU_EXT1

RPD9SCK1

MCU_SCLMCU_SDA

RC14RC13

RD11

RD8

MCU_EXT2MCU_EXT3MCU_EXT4MCU_EXT5MCU_EXT6

RD4

MCU_EXT7MCU_EXT8

RF1RF0

MFB_MCURG1

RPE3RE4

RG13RE2

RG14RG12

RE0RE1

RA7RC3RC4

RC2

RTSn_MCU

CTSn_MCU

100 Pin PIM Socket

10uF16V

0805

C409

MCU_SLEEPMCU_MUTE

MCU_PROT_N

MCU_IC_N

PAIRING_MCU

UTX_INDLINE_IN_DET_MCU

PGEC1PGED1

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 45

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 46: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-9 Microphone

MIC_P2

MIC_N2

MIC2

MICROPHONE INPUT

123

HDR-254 Male 1x3

JP502

0603DNP

C516

1TP503

1TP504

1uF16V0603

C518

1uF16V0603

C513

1uF16V0603

C514

22k06031

R506

MIC_P1

MIC_N1

MIC1

123

HDR-254 Male 1x3

JP500

0603DNP

C504

MIC_P1

MIC_N1

1TP500

1TP501

1uF16V0603

C506

1uF16V0603

C500

1uF16V0603

C502

22k06031

R500

MIC_N2

MIC_P2

MIC_N1

MIC_P1

MIC_BIAS

MIC_BIAS

5

1

4

3

2

JACK Stereo Phone 35mmP500

5

1

4

3

2

JACK Stereo Phone 35mmP502

NoteSingle End Type MIC R505=0EDifferential Type MIC R505=22K

NoteSingle End Type MIC R508=0EDifferential Type MIC R508=22K

0R0603

R508

0R0603

R505

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 46

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 47: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-10 MCU to Bluetooth Switch

MFB_MCUTXD_MCURXD_MCURST_MCU

MCU_BCLKMCU_SDI

FLASH_CS

MFBHCI_RXDHCI_TXDRST_N

P3_4

SCLK1

P3_7

MCU to BT Switch

MCUBT

33R 06035R42333R 06035R42433R 06035R42533R 06035R42633R 06035R42733R 06035R428

33R 06035R42233R 06035R42033R 06035R41933R 06035R418

33R 06035R41633R 06035R417

RFS1

DT1MCU I2S IN BT I2S OUT

P2_6

P0_0UTX_IND

P2_3

CTSn_MCU

RTSn_MCUMCU_P20FUNC1_MCU

11A22A33A44A55A66A

DIP 6 SPST

SW402

11A22A33A44A55A66A

DIP 6 SPST

SW403

SCK1MCU_EXT1

SCLK1_DSPDT1_DSP

RFS1_DSP

MCU vs BT SWITCH

DSP I2S

33R 06035R40033R 06035R40133R 06035R402MCU_EXT1

LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035R434

RPE3

P3_211A22A33A44A55A66A

DIP 6 SPST

SW400

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 47

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 48: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-11 PIC32MX450F256L Pin Configuration

PIC32_MCLR

MFB_MCU

OSC2OSC1

MCU_SDIMCU_SDO

MCU_BCLK

RC3RC4

RC2

MCU_P20

RA0

3V3_PIC

3V3_PIC

3V3_PIC

3V3_PIC 3V3_PIC3V3_PIC

3V3_PIC

3V3_PIC

MCU_LED1MCU_LED2MCU_LED3MCU_LED4

MCU_EXT1

MCU_MUTEMCU_SLEEP

MCU_IC_N

MCU_LED5MCU_LED6MCU_LED7MCU_LED8

MCU_VOL_UP

MCU_FWDMCU_VOL_DN

MCU_REV

MCU_PLAYPAUSE

MFB_MCU

(UART_TXD)

(UART_RXD)

10uF16V0805

C408

RG15

RE5RE6RE7RC1

RE8

RB5

FUNC2_MCU

FUNC1_MCUMCU_PLAYPAUSE

MCU_REVMCU_FWDMCU_VOL_DNMCU_VOL_UP

MCU_LED8MCU_LED7MCU_LED6MCU_LED5MCU_LED4MCU_LED3MCU_LED2MCU_LED1

RC14RC13

RD8

RPE

3R

E4

RG

13R

E2

RG

14R

G12

RE0

RE1

RA7

RF1

RF0

10pF50V0603

C412

10pF50V0603

C415

RG

1

MCU_SCLMCU_SDA

MCU_IC_N

100uF25V

C417

MCU_VBUSRA1

10uF25V0805

C416

PAIRING_MCU PAIRING_MCU

MCU_PROT_N

SCK1RPD9

MCU_EXT1

MCU_SDAMCU_SCL

MCU_SLEEPMCU_MUTERA3RA2MCU_DPMCU_DM

CTSn_MCUFLASH_CSRST_MCU

MCU_VBUS

TXD_MCU

RXD_MCU

MC

U_E

XT8

MC

U_E

XT7

RTS

n_M

CU

RD

4M

CU

_EXT

6M

CU

_EXT

5M

CU

_EXT

4M

CU

_EXT

3M

CU

_EXT

2

VC

AP

MCU_RECMCU_REC

LINE_IN_DET_MCU

MCU_PROT_N

5V_ADAP_IN

1 2

HDR-254 Male 1x2JP401

RD11

13

16MHzX400

RG151VDD2AN22RPE5PMD5RE53AN23PMD6RE64AN27PMD7RE75RPC1RC16RPC2RC27RPC3RC38RPC4CTED7RC49AN16C1INDRPG6SCK2PMA5RG610AN17C1INCRPG7PMA4RG711AN18C2INDRPG8PMA3RG812MCLR13AN19C2INCRPG9PMA2RG914VSS15VDD1617 TMSCTED1RA017RPE8RE818RPE9RE919AN5C1INARPB5VBUSONRB520

PGEC

2A

N6

RPB6

RB6

26PG

ED2

AN

7RP

B7C

TED

3RB

727

VRE

F-C

VRE

F-P

MA

7R

A9

28V

REF+

CV

REF+

PM

A6

RA10

29AV

DD

30AV

SS31

AN

8RP

B8C

TED

10R

B832

AN

9RP

B9C

TED

4RB

933

AN

10R

PB10

CTE

D11

PM

A13

RB1

034

AN

11P

MA

12R

B11

35V

SS36

VD

D37

TCK

CTE

D2

RA1

38RP

F13

RF13

39RP

F12

RF12

40A

N12

PM

A11

RB1

241

AN

13P

MA

10R

B13

42A

N14

RPB

14C

TED

5PM

A1

RB14

43A

N15

RPB

15O

CFB

CTED

6PM

A0

RB1

544

VSS

45

VSS 75SOSCORPC14T1CKRC14 74

SOSCIRPC13RC13 73RPD0INT0RD0 72

RPD11PMCS1RD11 71RPD10SCK1PMCS2RD10 70

RPD9RD9 69RPD8RTCCRD8 68

SDA1RPA15RA15 67SCL1RPA14RA14 66

VSS 65OSC2CLKORC15 64OSC1CLKIRC12 63

VDD 62TDORA5 61

TDICTED9RA4 60SDA2RA3 59SCL2RA2 58

D+ 57D- 56

AN

21P

MD

4RE

410

0RP

E3P

MD

3RE

399

AN

20C

TPLS

PM

D2

RE2

98TR

D0

RG13

97TR

D1

RG12

96TR

D2

RG14

95PM

D1

RE1

94PM

D0

RE0

93TR

D3

CTED

8RA

792

TRCL

KR

A6

91RP

G0

PMD

8RG

090

RPG

1PM

D9

RG1

89RP

F1P

MD

10R

F188

RPF0

PM

D11

RF0

87V

DD

86V

CAP

85PM

D15

RD

784

PMD

14R

D6

83RP

D5

PMRD

RD

582

RPD

4PM

WR

RD4

81

AN4C1INBRB421PGED3AN3C2INARPB3RB322PGEC3AN2C2INBRPB2CTED13RB223PGEC1AN1RPB1CTED12RB124PGED1AN0RPB0RB025

VD

D46

RPD

14R

D14

47RP

D15

RD

1548

RPF4

PM

A9

RF4

49RP

F5P

MA

8RF

550

VUSB3V3 55VBUS 54

RPF8RF8 53RPF2RF2 52

USBIDRF3 51

PMD

13R

D13

80RP

D12

PM

D12

RD

1279

AN

26R

PD3

RD3

78A

N25

RPD

2RD

277

AN

24R

PD1

RD1

76

PIC32MX450F256L

U402

LINE_IN_DET_MCUUTX_IND

PGEC1PGED1

Shunt 254mm 1x2

JP403

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 48

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 49: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-12 LED Interface

MCU_LED1

MCU_LED2

MCU_LED3

MCU_LED4

MCU_LED5

MCU_LED6

MCU_LED7

MCU_LED8

LED(MCU)

200R06031

R406

200R06031

R409

200R06031

R411

200R06031

R412

200R06031

R413

200R06031

R414

200R06031

R415

200R06031

R421

GREEN

D401

GREEN

D402

GREEN

D403

GREEN

D404

GREEN

D405

GREEN

D406

GREEN

D407

GREEN

D411

3V3_GEN

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 49

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 50: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-13 ICSP Interface

GNDGND

MCU_RESET

TARGET SELECT On board MCU or PIM

ICSP

3V3_PIC

3V3_PIC

1 4

2 3TACT SPST

SW401

PESD5V0S1BA

D400

1K

0603 1

R405

10k06031

R404

01uF50V0603

C41301uF50V0603

C414

MCLR

JS202011SCQN

6

45

12

3

S400

GND

PIM_MCLR

PIC32_MCLR

3V3_GEN 3V3_PIC

1 2

HDR-254 Male 1x2JP400

VDD8

VSS4

CE 1WP 3

SCK 6HOLD 7

SO 2SI 5

SST25VF080B

U401

3V3_PIC

01uF50V0603

C410

20k06035

R4033V3_PIC

MCU_SDO

MCU S-Flash3V3_PIC

10uF25V0805

C411MCU_BCLK

MCU_SDI

FLASH_CS

PGEC1PGED1

Shunt 254mm 1x2

JP402

123456

HDR-254 Male 1x6

J400

Figure 7-14 I2S Header

1234567

HDR-254 Male 1x7

J4041234567

HDR-254 Male 1x7

J405BT DSPRFS1_DSPSCLK1_DSP

DT1_DSPDR1_DSP

MCLK1_DSP

RFS1

DR1DT1

SCLK1 Serial clockSerial data receiveSerial data transmit

I2S HEADER

33R 06035R431

33R 06035R429

33R 06035R43233R 06035R433

Receive Frame Sync33R 06035R430

MCLK1

3V3_IO 3V3_IO

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 50

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 51: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-15 I2C Interface

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

3V3_IO

P1_3

P1_20R 0603R325 P3_2

3V3_IO

01uF16V0603

C3131uF16V0603

C314

I2C_INTERFACE

A01

SDA 5A23 A12 WP 7

VSS 4

SCL 6

VCC8

24LC64

U301

3V3_IO 123

HDR-254 Male 1x3

JP307

P2_3 P2_3

123

HDR-254 Male 1x3

JP308

P2_6 P2_6

P1_2

P1_3

JP307 JP3081-2

2-3

SW I2C

HW I2C (Default)

12

HDR-254 Male 1x2

JP309P2_3 P2_3

P2_6 P2_6

NoteJP309 is Test Point for SW I2C IOsTo be used to connect to Ext Codec (J402)while using SW I2C To be placed near the Ext Codec section

I2C_SDA

I2C_SCLShunt 254mm 1x2

JP315

Shunt 254mm 1x2

JP316

15k06031

R30015k06031

R301

Figure 7-16 BT ndashDSPndashMCU Interface

BT----DSP----MCU INTERFACE

MCU_IC_NMCU_SLEEPMCU_MUTEMCU_SCLMCU_SDAMCU_PROT_N

P0_2

P2_7

P0_5

P1_6

P0_01234567 HDR-254 Male 1x7

J4011234567

HDR-254 Male 1x7

J4021234567

HDR-254 Male 1x7

J403BT

DSP

MCU

P1_2P1_3

SCL_DSPSDA_DSPPROT_N_DSP

DSP_IC_N_DSPSLEEP_N_DSPMUTE_N_DSP

DSP_IRQ_NJP406

JP407

JP405

JP404

Embedded Mode Jumper SettingsJ401 J402

1Jumper to be Mount

JP404457

1457

JP405JP406JP407

Figure 7-17 Digital MIC and Interface

GND

VDD_DIGMIC

DM1_SELECT

GND

VDD_DIGMIC

DM2_SELECT123

HDR-254 Male 1x3

J505 123

HDR-254 Male 1x3

J50412345

HDR-254 Male 1x5

J503 VDD_DIGMIC

DM1_SELECT

12345

HDR-254 Male 1x5

J502 VDD_DIGMIC

GNDDM2_SELECT

DIGITAL_MIC

DMIC1_R

DMIC1_LGND

DMIC1_LDMIC1_R

DMIC1_CLKDMIC1_CLKShunt 254mm 1x2

JP509

Shunt 254mm 1x2

JP511

100R

FB500

DMIC2_CLK

DMIC1_CLK

100R

FB501DMIC_CLK DMIC_CLK

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 51

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 52: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-18 CPU JTAG Header

CPU_JTAG

RST_N

GND

3V3_IO

P1_2P1_3

EMUD_CPUEMUC_CPU

01uF16V0603

C311

123456

HDR-254 Male 1x6

J301

Figure 7-19 XPRO Header

XPRO_INTERFACE

3V3_IO

Xplained Pro standard extension header

I2C_SDA I2C_SCLUART_RX UART_TXSPI_SS_A SPI_MOSISPI_MISO SPI_SCK

IRQGPIO SPI_SS_BGPIO0R 0603R309

0R 0603R3140R 0603R312

0R 0603R315

0R 0603R310

0R 0603R3170R 0603R319

0R 0603R3160R 0603R318

0R 0603R313

47uF63V0603

C302

SK2_KEY_ADHOST_WAKEUPUART_RTSCHIP_ENIRQN

SPI_SSNBT_UART1_TXD

SPI_MISO

HCI_TXDHCI_RXD

P0_6 0R 0603R324

SK1_AMB_DET

GPIO_1 GPIO_2

I2C_SDA I2C_SCL

GPIO_1 GPIO_2ADC+ ADC- SK1_AMB_DETSK2_KEY_AD

PWM PWM+

P1_6

P3_5

P0_7P2_3

P2_6

P0_00R 0603R326 0R 0603R327

0R 0603R3281 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10 RA Rotated 180

J304

Figure 7-20 Button Control Jumper

MCU_VOL_UP

MCU_FWDMCU_REV

MCU_VOL_DN

PAIRING_MCU

MCU_PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J700

12

34

56

78

HDR-254 Male 1x8

J702

VOL_UP

FWDREV

VOL_DN

PAIRING

PLAYPAUSE12

34

56

78

HDR-254 Male 1x8

J701

BUTTON CO-USE JUMPER

MCU BUTTON BM8X_CARRIER_BOARD

CAD NotePlace these 3 headers close to each other

J 701lt--gtJ 702 Default ConfigurationJ 701lt--gtJ 700 For MCU Button Control

P0_2P0_3

P0_5P2_7

P0_1

MCU_REC P0_6SELECT

JP702

JP704

JP705

JP706

JP703

JP701

JP700

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 52

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 53: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-21 Stereo AUX Line Input Audio Headset Output Audio Board Interface

HPL

HPR

AOHPM

AOHPM

AOHPL

AOHPR

AOHPLR StereoOutput Jack

AUDIO HEADSET OUTPUT

12HDR-254 Male 1x2JP501

1 2HDR-254 Male 1x2JP503

0R0603DNP

R509

0R0603DNP

R507

01uF0603

DNP

C520

01uF0603

DNP

C515

1TP502

1TP505

5

1

4

3

2

JACK Stereo Phone 35mmP503

68uF63V

TANT-BC517

68uF63V

TANT-BC519

Shunt 254mm 1x2

JP505

Shunt 254mm 1x2

JP507

AUDIO_BOARD_INTERFACE

GND

01uF50V0603

C51001uF50V0603

C511

01uF50V0603

C51201uF50V0603

C509

GND

GNDGND

NOTE PWR Voltage range +9 to +15V

HCI_RXD

GND

SCL_DSP

SDA_DSP

SCL

SDA

DT1_DSP

DR1_DSP

15V_DC_IN

5V_DC

3V3_GEN

GND

GND

MCLK1_DSP

SCLK1_DSP

RFS1_DSP

P3_7

HCI_TXD P3_4

RX

TX

CTS

RTS

RFS1DR1DT1 SCLK1

MCLK1

SLEEP_N_DSPDSP_IRQ_N

DSP_IC_N_DSPRST(P0_0)1 2

3 45 6

7 89 10

11 1213 14

15 1617 18

19 20

HDR-254 Male 2x10

J500

1 23 4

5 67 8

9 1011 12

HDR-254 Male 2x6

J501

MUTE_N_DSPPROT_N_DSP

GND GND

AIR

AILLINE_IN_DET

STEREO AUX LINE INPUT

01uF16V0603

C508

10uF16V0805

C503

10uF16V0805

C505

5VDNP

D500

5VDNP

D501

5VSOD-882DNP

D502

1K 0603R502

1K 0603R503

10k06031

R501

10k06031

R504

470pF50V0603

C501

470pF50V0603

C507

4

1

10

3

2

CON JACK PHONE 35mm TSH-386DP501

Figure 7-22 Temperature Sensor

AMB_DET

NCP15WF104F03

(Thermistor)

866k06031

R322

-t 100k04021

TH300

01uF16V0603

C303

1 2

HDR-254 Male 1x2

JP302

12

HDR-254 Male 1x2

JP301

1uF16V0603

C304

1M06031

R321

VDD_IO

SK1_AMB_DET

Shunt 254mm 1x2

JP312

Shunt 254mm 1x2

JP313

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 53

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 54: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 7-23 5V to 3V3 Generation for USB-UART Section

5V_MCP EXT_3V3

01uF16V0603

C60301uF16V0603

C60210uF10V0603

C604

5V TO 3V3 GENERATION

VIN3

GND1

VOUT 2MCP1702T-3302ECBU600

BM83 EVBAppendix A BM83 EVB Reference Schematics

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 54

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 55: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

8 Appendix B STA369BW Audio Daughter BoardThe STA369BW Audio Daughter Board is a high-performance stereo codec board which is suitable for adding audioinput and output capabilities to the Bluetooth Audio development platforms

The STA369BW Audio Daughter Board has the following componentsbull STMicroelectronics codec (STA369BW)bull Female 20-pin dual-row header (J1)bull Female 12-pin dual-row header (J2)bull Audio out connectors (CN1 and CN2)

Figure 8-1 STA369BW Audio Daughter Board

The following table provides the pin description of Audio Daughter Board headers

Table 8-1 20-Pin Audio Daughter Board Header (J1) Pin Details

Pin Name Pin Number Pin Name

GND 1 2 GND

UART_RXD 3 4 UART_CTS

UART_TXD 5 6 UART_RTS

I2C_SCL 7 8 RST

I2C_SDA 9 10 I2S_RFS1

I2S_DR1 11 12 I2S_SCLK1

I2S_DT1 13 14 I2S_MCLK1

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 55

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 56: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

continuedPin Name Pin Number Pin Name

GND 15 16 GND

PWR 17 18 3V3

PWR 19 20 5V

Table 8-2 12-Pin Audio Daughter Board Header (J2) Pin Details

Pin Name Pin Number Pin Name

NC 1 2 3V3

DSP_IRQ_N 3 4 PWRDN

NC 5 6 MUTE_N

NC 7 8 INT

NC 9 10 NC

GND 11 12 GND

BM83 EVBAppendix B STA369BW Audio Daughter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 56

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 57: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

9 Appendix C Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components

bull On-board Knowlesrsquo Digital Microphone SPH0641LU4H-1bull Female 5-pin 1x5 header (J1) to interface to BM83 EVB (J503 and J502)

Figure 9-1 Digital Microphone Daughter Board - Top and Bottom View

The following table provides the pin description of the Digital Microphone header

Table 9-1 Digital Microphone Headers (J1 J503 and J502) Pin Description

PinNumber

DigitalMicrophoneDaughterBoard

BM83 EVB Pin Description

Pin Name (J1) Pin Name (J503) Pin Name (J502)

1 VDD VDD DIGMIC VDD DIGMIC Power supply from BM83 EVB

2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromBM83 module

3 GND GND GND Ground

4 DATA DMIC1_L DMIC1_R PDM output from the microphone toBM83 module

5 SEL DM1 SELECT DM2 SELECT Select input for microphone

Note 1 BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers

respectively2 The VDD power supply for Digital Microphone operation is provided over J509 header on the BM83 EVB3 The Select pin should not be left floating and should be connected to high or low This is achieved by 3-pin

headers J505 and J504 on BM83 EVB4 For more details on using Digital Microphone with the BM83 refer to IS208x Config UI Tool Userrsquos Guide

BM83 EVBAppendix C Digital Microphone Daughter Bo

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 57

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 58: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

10 Appendix D J-Link 6-Pin Adapter BoardJ-Link 6-Pin Adapter Board is designed to connect to its targets through a 20-pin cable provided with the J-LinkHowever BM83 EVB uses a 6-pin connector supporting 2-wire JTAGFigure 10-1 J-Link 6-Pin Adapter Board

The following table provides the pin description of J-Link 6-Pin Adapter Board

Table 10-1 J-Link 6-Pin Adapter Board Pin Description

Pin Number Pin Name on J-LinkAdapter Board

Pin Name on BM83EVB

Pin Description

1 Reset_n Reset_n Reset

2 3V3 3V3_IO Power supply from BM83 EVB

3 GND GND Ground

4 TDI P1_2 CPU-2 Wire Debug Data

5 TCK P1_3 CPU-2 Wire Debug Clock

6 NC NC NC

BM83 EVBAppendix D J-Link 6-Pin Adapter Board

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 58

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 59: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

11 Appendix E Updating PIC32 MCU ParametersPerform the following steps to load the Hex file to the MCU

1 Set SW200 switch to 5V_DC position2 Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU3 Connect the MPLAB ICD 3 to ICSP header J400 and PC

Figure 11-1 ICD 3 Interface at the ICSP Header

4 Ensure that jumpers on JP400 and JP401 are mountedNote  Download and install the latest version of MPLAB X IDE tool which is available at wwwmicrochipcommplabmplab-x-ide

5 Open the MPLAB X IPE tool6 Under the Device drop-down menu select the MCU (PIC32MX450F256L) that is present on the BM83 EVB

The red dot indicates that the selected device does not match

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 59

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 60: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 11-2 MPLAB X IPE Window

7 Successful device connection is indicated by a green dot Click Apply followed by ConnectFigure 11-3 Search for On-board Microcontroller

8 After the connection is established click Browse and locate the MCU firmware file from the software folderThen click Program as shown in the following figure

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 60

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 61: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 11-4 Connect and Program

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 61

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 62: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

9 After the programming is complete observe the Output ndash IPE window on the consoleNote  MCU firmware version V141 is used for the demonstration

Figure 11-5 Verify the Log

10 Remove the 15V adapter

BM83 EVBAppendix E Updating PIC32 MCU Parameters

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 62

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 63: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

12 Appendix F Hardware Setup for Application Demo in Host MCU ModeNote  The host MCU (on-board PIC32 MCU) is connected to the BM83 module over UART The host MCU iscontrolling the BM83 module and driving the I2S audio out from the BM83 to an STA369BW Audio Daughter Board

Perform the following hardware changes for the Host MCU mode application demoNote  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the pin2 (3V3_IO) and pin3 (VDDIO) of JP3052 Set the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 33V to PIC4 Jumper settings on J402 and J403 to enable BM83 module to control DSP (audio codec)

41 Mount a jumper on pin1 of J402 and J40342 Mount a jumper on pin2 of J402 and J40343 Mount a jumper on pin3 of J402 and J40344 Mount a jumper on pin4 of J402 and J40345 Mount a jumper on pin5 of J402 and J40346 Mount a jumper on pin6 of J402 and J40347 Open pin7 of J402 and J403

5 Jumper settings on J700 and J701 to enable BM83 module to control the audio control buttons51 Mount a jumper on pin1 of J700 and J70152 Mount a jumper on pin2 of J700 and J70153 Mount a jumper on pin3 of J700 and J70154 Mount a jumper on pin4 of J700 and J70155 Mount a jumper on pin5 of J700 and J70156 Mount a jumper on pin6 of J700 and J70157 Mount a jumper on pin6 of J700 and J70158 Open pin8 of J700 and J701

6 Mount a jumper on pin2 and pin3 of JP2017 Set SW400 switches as follows

71 RFS1_DSP to OFF position72 SCLK1 to OFF position73 DT1_DSP to OFF position74 MCLK1_DSP to OFF position75 LINE_IN_DET to ON position76 P3_2 to OFF position

8 Set SW402 switches as follows81 MFB to OFF position82 HCI_RXD to ON position83 HCI_TXD to ON position84 RST_N to OFF position85 P0_0 to ON position86 P3_4 to ON position

9 Set SW403 switches as follows91 P3_7 to ON position92 P2_6 to OFF position93 P2_3 to OFF position94 RFS1 to OFF position95 SCLK1 to OFF position96 DT1 to OFF position

10 Jumper settings on J404 and J405 to connect BM83 module and STA369BW codec (ST) over I2S interface

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 63

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 64: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

101 Mount a jumper on pin1 of J404 and J405102 Mount a jumper on pin2 of J404 and J405103 Mount a jumper on pin3 of J404 and J405104 Mount a jumper on pin4 of J404 and J405105 Mount a jumper on pin5 of J404 and J405106 Open pin6 of J404 and J405107 Open pin7 of J404 and J405

11 Put the S400 switch to PIC32_MCLR position12 Put the SW300 switch to OFF position

Note  In order to perform the following demo the user must flash the Host mode firmware into the BM83 module aswell as PIC32 MCU as illustrated in the preceding sections

121 Host MCU Mode Quick DemoPerform the following steps to stream audio using the BM83 module in Host MCU mode

1 Connect the speakers to the STA369BW Audio Daughter Board at CN1 and CN2Figure 12-1 Speakers Connected to the STA369BW Audio Daughter Board

2 The SW200 switch is set to 5V_USB position as shown in the following figureFigure 12-2 SW200 Switch Position

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 64

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 65: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

3 Connect the 15V DC adapter at DC power jack P200 Notice that the green LED (D203) and red LED (D202)turn ON as shown in the following figureFigure 12-3 15V DC Adapter Plugged In

4 Change the SW200 switch to 5V_DC position Notice that the green LEDs (D209 and D405) turn ON asshown in the following figureFigure 12-4 LED Indication as SW200 is Turned to 5V_DC position

5 Long press SEL button (SW711) to turn on the system Observe the sound on the speakers and the followingLED behavior

ndash Green LED (D401) turns ONndash Blue (D300) and green (D402) LEDs blink

6 Long press SEL button (SW711) to make the BM83 module discoverable to other devices Observe the soundon the speakers and the alternate blinking of red LED (D301) and blue LED (D300)

7 Follow the steps to pair the BM83 module with a smartphone71 Turn on the smartphones Bluetooth to scan for the available devices72 Select the module device name BM83 from the scan results Pair and then connect the device73 On successful pairing see the device name with status as Connected

Note  This demonstration uses the EA1 demo version of the firmware

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 65

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 66: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

Figure 12-5 Pairing and Connection

74 Stream the audio from the smartphone to the BM83 over Bluetooth connection and listen to it overthe speakers

8 Control the audio with the following buttons81 Press VOL_UP button(SW702) to increase the volume82 Press VOL_DN button (SW705) to reduce the volume83 Press Pause button (SW704) to pause the audio84 Press Play button (SW704) to play the audio85 Press FWD button (SW707) to jump to next audio file86 Press REV button (SW708) to jump to previous audio file87 Press SEL button (SW711) to turn OFF the system

BM83 EVBAppendix F Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 66

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 67: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

13 Appendix G Hardware Setup for Application Demo in EmbeddedModeNote  In this mode of operation the BM83 module is driving the I2S audio out to the STA369BW Audio DaughterBoard The BM83 module is connected to the external codec over I2S and I2C

Perform the following hardware changes for the Embedded mode application demo

Note  To locate these switches jumpers and headers on the BM83 EVB refer to Figure 2-1 and Figure 3-2

1 Mount a jumper on the 3V3_IO pin and VDDIO pins of the JP305 pin 2 and pin32 Put the SW200 switch to 5V_DC position to enable the 5V supply to ADAP_IN3 Jumper settings on J401 and J402 enable BM83 module to control the STA369BW Audio Daughter Board

31 Mount a jumper on pin1 of J401 and J40232 Open pin2 of J401 and J40233 Open pin3 of J401 and J40234 Mount a jumper on pin4 of J401 and J40235 Mount a jumper on pin5 of J401 and J40236 Open pin6 of J401 and J40237 Mount a jumper on pin7 of J401 and J402

4 Jumper settings on J701 and J702 to enable BM83 module to control the audio control buttons41 Mount a jumper on pin1 of J701 and J70242 Mount a jumper on pin2 of J701 and J70243 Mount a jumper on pin3 of J701 and J70244 Mount a jumper on pin4 of J701 and J70245 Mount a jumper on pin5 of J701 and J70246 Open pin6 of J701 and J70247 Mount a jumper on pin7 of J701 and J70248 Open pin8 of J701 and J702

5 Mount jumper on the JP201 pin2 and pin36 Set SW400 switches as follows

61 RFS1_DSP to OFF position62 SCLK1 to OFF position63 DT1_DSP to OFF position64 MCLK1_DSP to OFF position65 LINE_IN_DET to OFF position66 P3_2 to ON position

7 Set SW402 switches as follows71 MFB to OFF position72 HCI_RXD to OFF position73 HCI_TXD to OFF position74 RST_N to OFF position75 P0_0 to OFF position76 P3_4 to OFF position

8 Set SW403 switches as follows81 P3_7 to OFF position82 P2_6 to OFF position83 P2_3 to OFF position84 RFS1 to OFF position85 SCLK1 to OFF position86 DT1 to OFF position

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 67

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 68: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

9 Jumper settings on J404 and J405 to connect BM83 module I2S with STA369BW Audio Daughter Board I2S91 Mount a jumper on pin1 of J404 and J40592 Mount a jumper on pin2 of J404 and J40593 Mount a jumper on pin3 of J404 and J40594 Mount a jumper on pin4 of J404 and J40595 Mount a jumper on pin5 of J404 and J40596 Open pin6 of J404 and J40597 Open pin7 of J404 and J405

10 Put the SW300 switch to OFF position11 By default the board is configured with hardware (HW) I2C settings For more details on the software (SW)

I2C settings refer to I2C Interface section in the IS2083 SDK Userrsquos Guide (DS50002894)12 Mount a jumper on pin2 and pin3 of the JP203

With the above settings the user can plug in the 15V DC adapter and perform the application demo in Embeddedmode with the appropriate firmware image This firmware image for the Embedded mode is available at wwwmicrochipcomBM83

BM83 EVBAppendix G Hardware Setup for Application Dem

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 68

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 69: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

14 Appendix H Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNote 

1 In this mode of operation the BM83 module uses internal codec to drive the audio2 Do not connect 15V adapter at DC power jack P2003 Use the internal codec config file for this demo for more details refer to 61 Config Tool Setup

In this demonstration the user can stream audio on the BM83 EVB using a smartphone Perform the followinghardware settings on the BM83 EVB for Embedded mode with internal codec audio demo after updating thefirmware

1 Turn OFF the SW300 switch2 Mount a jumper at 5V_ADAP_IN and ADAP_IN of JP3043 Ensure to mount JP501 and JP503 (stereo out) Connect headphones or a speaker at stereo jack P5034 Set the SW200 switch to 5V_USB5 Plug the USB cable at J600 Observe that the Red LED (D600) and the Green LED (D209) turn ON

Note  Red LED (D300) and Blue LED (D301) do not glow in this case6 Long press MFB button (SW701) to turn ON the system and keep pressing the MFB button to enter into

Pairing mode Once the system is turned ON the Red LED (D301) and the Blue LED (D300) blink alternatelyto indicate that the device has entered into Pairing mode

7 The following steps help in pairing between BM83 module and a smartphone71 Turn ON the smartphones Bluetooth to scan for the discoverable devices72 Select the module device name ldquoBM83rdquo from the scan results73 Enter 0000 as passcode to pair the smartphone with the BM83 module The passcode is not required

if simple pairing is enabled in the Config Tool

The smartphone displays ldquoConnectedrdquo upon successful pairing as highlighted in the following figure The audio canbe listened over the headphones

Figure 14-1 Pairing BM83 with Smartphone

BM83 EVBAppendix H Bluetooth Audio Demonstration in

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 69

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 70: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

15 Document Revision HistoryRevision Date Section Description

A 072019 Document Initial Revision

BM83 EVBDocument Revision History

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 70

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 71: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

The Microchip WebsiteMicrochip provides online support via our website at httpwwwmicrochipcom This website is used to make filesand information easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to httpwwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at httpwwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 71

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 72: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2019 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-4808-2

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit httpwwwmicrochipcomquality

BM83 EVB

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 72

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service
Page 73: BM83 Bluetooth Audio Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/BM83_Bluetooth... · 2019-08-07 · BM83 EVB BM83 Bluetooth® Audio Development Board User's

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupporthttpwwwmicrochipcomsupportWeb AddresshttpwwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4450-2828Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2019 Microchip Technology Inc User Guide DS50002902A-page 73

  • Introduction
  • Features
  • Table of Contents
  • 1 Quick References
    • 11 Reference Documentation
    • 12 Hardware Requirements
    • 13 Software Requirements
    • 14 AcronymsAbbreviations
      • 2 Kit Overview
        • 21 Kit Contents
          • 3 Hardware
            • 31 Hardware Features
              • 311 Power Supply
              • 312 USB Connectivity
              • 313 Switches and Push Buttons
              • 314 LEDs
              • 315 Headers
                • 3151 I2S Header
                • 3152 Audio Daughter Board Interface Header
                • 3153 Audio Control Button Headers
                • 3154 BM83 Carrier Board Interface
                • 3155 ICSP Header
                • 3156 Xplained PRO Header
                • 3157 Digital Microphone Headers
                  • 4 Embedded Mode Quick Demo
                  • 5 Firmware Update
                    • 51 Firmware Update over UART
                    • 52 Firmware Update over USB
                      • 6 Customizing Module Parameters
                        • 61 Config Tool Setup
                          • 7 Appendix A BM83 EVB Reference Schematics
                          • 8 Appendix B STA369BW Audio Daughter Board
                          • 9 Appendix C Digital Microphone Daughter Board
                          • 10 Appendix D J-Link 6-Pin Adapter Board
                          • 11 Appendix E Updating PIC32 MCU Parameters
                          • 12 Appendix F Hardware Setup for Application Demo in Host MCU Mode
                            • 121 Host MCU Mode Quick Demo
                              • 13 Appendix G Hardware Setup for Application Demo in Embedded Mode
                              • 14 Appendix H Bluetooth Audio Demonstration in Embedded Mode with Internal Codec
                              • 15 Document Revision History
                              • The Microchip Website
                              • Product Change Notification Service
                              • Customer Support
                              • Microchip Devices Code Protection Feature
                              • Legal Notice
                              • Trademarks
                              • Quality Management System
                              • Worldwide Sales and Service