Upload
others
View
17
Download
0
Embed Size (px)
Citation preview
BM83 EVB BM83 Bluetooth® Audio Development Board User's 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.
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 1
Table of Contents
Introduction.....................................................................................................................................................1
Features......................................................................................................................................................... 1
1. Quick References....................................................................................................................................4
1.1. Reference Documentation............................................................................................................41.2. Hardware Requirements.............................................................................................................. 41.3. Software Requirements................................................................................................................41.4. Acronyms/Abbreviations...............................................................................................................4
2. Kit Overview............................................................................................................................................ 8
2.1. Kit Contents..................................................................................................................................8
3. Hardware...............................................................................................................................................10
3.1. Hardware Features.....................................................................................................................11
4. Embedded Mode Quick Demo.............................................................................................................. 18
5. Firmware Update...................................................................................................................................20
5.1. Firmware Update over UART..................................................................................................... 205.2. Firmware Update over USB ...................................................................................................... 23
6. Customizing Module Parameters.......................................................................................................... 28
6.1. Config Tool Setup.......................................................................................................................28
7. Appendix A: BM83 EVB Reference Schematics................................................................................... 41
8. Appendix B: STA369BW Audio Daughter Board...................................................................................55
9. Appendix C: Digital Microphone Daughter Board................................................................................. 57
10. Appendix D: J-Link 6-Pin Adapter Board.............................................................................................. 58
11. Appendix E: Updating PIC32 MCU Parameters....................................................................................59
12. Appendix F: Hardware Setup for Application Demo in Host MCU Mode.............................................. 63
12.1. Host MCU Mode Quick Demo....................................................................................................64
13. Appendix G: Hardware Setup for Application Demo in Embedded Mode.............................................67
14. Appendix H: Bluetooth Audio Demonstration in Embedded Mode with Internal Codec........................69
15. Regulatory Approvals............................................................................................................................70
15.1. United States..............................................................................................................................7015.2. Canada.......................................................................................................................................7115.3. Europe........................................................................................................................................71
16. Document Revision History...................................................................................................................72
The Microchip Website.................................................................................................................................73
Product Change Notification Service............................................................................................................73
BM83 EVB
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 2
Customer Support........................................................................................................................................ 73
Microchip Devices Code Protection Feature................................................................................................ 73
Legal Notice................................................................................................................................................. 73
Trademarks.................................................................................................................................................. 74
Quality Management System....................................................................................................................... 74
Worldwide Sales and Service.......................................................................................................................75
BM83 EVB
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 3
1. Quick References
1.1 Reference DocumentationFor further information, refer to the following:
• BM83 Bluetooth® Stereo Audio Module Data Sheet• IS2083 Bluetooth® Stereo Audio SoC Data Sheet• IS2083 SDK User’s Guide (DS50002894)• BM83 Host MCU Firmware Development Guide• IS2083 Bluetooth® Audio Application Design Guide• IS2083 SDK Debugger User’s Guide• IS2083 Reference Design Application Note
Note: For a complete list of development support tools and documentation, visit www.microchip.com/BM83.
1.2 Hardware Requirements• BM83 Bluetooth® Audio Development Board (BM83 EVB)• BM83 module mounted on BM83 Carrier Board• Bluetooth-enabled smartphone:
– Android™ device running on Android 4.3 or later version– iOS: iPhone® 4S or later version
• Windows® host PC with USB port• Speaker, microphone or headset• Type-A to Micro-B USB cable• STA369BW Audio Daughter Board• Digital Microphone Daughter Board• 15V DC power adapter• MPLAB® REAL ICE™/MPLAB ICD 3/PICkit™ 3• J-Link 6-Pin Adapter Board
1.3 Software RequirementsNote: For the following software tools and firmware files, refer to www.microchip.com/BM83.
• IS2083 firmware• Host MCU firmware• isUpdate tool• Config GUI tool• MPLAB Integrated Development Environment (MPLAB X IDE) tool• Microchip Bluetooth Audio Application for smartphone
Note: MPLAB X IDE is available for download from Microchip website at: www.microchip.com/mplab/mplab-x-ide.
1.4 Acronyms/AbbreviationsTable 1-1. Acronyms/Abbreviations
Acronyms/Abbreviations Description
A2DP Advanced Audio Distribution Profile
BM83 EVBQuick References
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 4
http://www.microchip.com/DS50002894http://www.microchip.com/BM83http://www.microchip.com/BM83http://www.microchip.com/mplab/mplab-x-ide
...........continued
Acronyms/Abbreviations Description
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 Audio/Video 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
HW Hardware
I2C/I2C Inter-Integrated Circuit
I2S/I2S Inter-IC Sound
IC Integrated Circuit
BM83 EVBQuick References
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 5
...........continued
Acronyms/Abbreviations Description
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
SAR Successive Approximation Register
SBC Sub-band Coding
SCO Synchronous Connection-Oriented
SDK Software Development Kit
BM83 EVBQuick References
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 6
...........continued
Acronyms/Abbreviations Description
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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)
2.1 Kit ContentsThe BM83 EVB includes the following:
• One BM83 EVB that contains a BM83 module (BM83SM1-00AA) mounted on a BM83 Carrier Board• One 15V DC power adapter• One pair of speaker cables• One Type-A to Micro-B USB cable• One STA369BW Audio Daughter Board• Two Digital Microphone Daughter Boards• One J-link 6-pin Adapter Board
BM83 EVBKit Overview
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
I/O
5V
3V3LDO
5V
P3_4
ModeSwitch
Type-A USB
AudioInputJack
MIC andBias Circuit
DMIC_CLK
Audio DaughterBoard
3.3 V
15V
5VI2S
15 VLED1
CPU JTAG JTAG
XPROHeader I/O
AIRAIL
DMIC1L/RDMIC2L/R
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 10
3.1 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 JPxxx/Jxxx - Jumpers Sxxx/SWxxx - Switches/Push 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
3.1.1 Power SupplyThe BM83 EVB can be powered using any one of the following:
• Li-ion battery (J201) – When using a battery input, mount a jumper on the JP200 and pin 1 and 2 of the JP201.Do not mount a jumper on the JP202. The JP202 is a provision for connecting a battery power source with a2.54 mm connector.
• 15V DC power adapter (P200)• USB (J200 and J600) – A USB cable is connected to the PC, which provides 5V (USB_5V).
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 11
Notes: 1. The power switch (SW200) is used to switch between the two 5V power sources available on the board:
– 5V_DC: derived from the 15V DC– 5V_USB: supplied by the 5V USB source
2. To locate these power sources available on the BM83 EVB, refer to Figure 2-1.
3.1.2 USB ConnectivityThe USB ports for BM83 EVB are:
• Micro-B USB port (J600 UART USB) – USB signals are converted to UART by the serial converter MCP2200,which is connected to the BM83 module.
• Micro-B USB port (J200 BT_USB) – USB signals are directly connected to the BM83 module.• Type A USB port (P400- MCU_USB) – USB signals are directly connected to the host MCU
( PIC32MX450F256L).
Note: To locate these USB ports available on the BM83 EVB, refer to Figure 2-1.
3.1.3 Switches and Push ButtonsThe functions of the switches and push buttons on the BM83 EVB are:
• S400 – Switch to select between the on-board PIC32 MCU or external Plug-in Module (PIM)• SW200 – Power switch to switch between the 5V_DC and 5V_USB• SW300 – Mode selection switch for configuring the BM83 module into Application mode or Test mode• SW400 – Microcontroller-to-Bluetooth control switch• SW401 – Reset button for the host MCU (MCU_RESET)• SW402 – Microcontroller-to-Bluetooth control switch• SW403 – Microcontroller-to-Bluetooth control switch• SW700 – Reset button for the BM83 module (RST_N)• SW701 – Multi-function button (MFB)• SW702 – Increase volume (VOL_UP)• SW703 – Enter into pairing mode (PAIRING)• SW704 – Play or pause the audio playback (PLAY/PAUSE)• SW705 – Decrease volume (VOL_DN)• SW707 – Skip the audio track forward (FWD)• SW708 – Skip the audio track backward (REV)• SW711 – 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 for the 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
3.1.4 LEDsAll the on-board LEDs are categorized into three main types:
• Power LEDs:– Red (D600 and D202)– Green (D209 and D203)
• LEDs driven by the BM83 module:
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 12
– Red (D301)– Blue (D300)
• Host MCU (PIC32)-related LEDs:– Green (D401-D407)– Green (D411)
Note: To locate these LEDs available on the BM83 EVB, refer to Figure 3-2.
3.1.5 HeadersThe following headers are available on the BM83 EVB.Note: To locate these headers available on the BM83 EVB, refer to Figure 2-1.
3.1.5.1 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: 1. Connect J405 and J404 to enable I2S interface with the STA369BW Audio Daughter Board.
3.1.5.2 Audio Daughter Board Interface HeaderThe Audio Daughter Board interface headers (J500 and J501) provide the interface to use the STA369BW AudioDaughter Board. Table 3-3 and Table 3-4 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 GPIO/RxD 13 I2S_DT1
4 GPIO/CTS# 14 I2S_MCLK1
5 GPIO/TxD 15 GND
6 GPIO/RTS# 16 GND
7 GPIO/SCL 17 15V_DC_IN
8 GPIO/RST# 18 3V3_GEN
9 GPIO/SDA 19 15V_DC_IN
10 I2S_RFS1 20 5V_DC
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 13
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 GPIO/PROT_N_DSP
3 GPIO/DSP_IRQ_N 9 NC
4 GPIO/SLEEP_N_DSP 10 NC
5 NC 11 GND
6 GPIO/MUTE_N_DSP 12 GND
3.1.5.3 Audio Control Button HeadersThe audio control button headers (J700, J701 and 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 PLY/PAU Play or pause
2 REV Reverse
3 FWD Forward
4 VOL– 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
Note: 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 the J701 and J702 Audio streaming is controlledby the BM83 module inEmbedded mode.2 Open Mount a jumper on the J701 and J702
3 Open Mount a jumper on the J701 and J702
4 Open Mount a jumper on the J701 and J702
5 Open Mount a jumper on the J701 and J702
6 Open Open Open
7 Open Mount a jumper on the J701 and J702
8 Open Open Open
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 14
Note: 1. To locate these headers on the BM83 EVB, refer to Figure 2-1.
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 the J700 and J701 Open Audio streaming is controlled by theon-board PIC32MX450F256L MCUin Host MCU mode.2 Mount a jumper on the J700 and J701 Open
3 Mount a jumper on the J700 and J701 Open
4 Mount a jumper on the J700 and J701 Open
5 Mount a jumper on the J700 and J701 Open
6 Mount a jumper on the J700 and J701 Open
7 Mount a jumper on the J700 and J701 Open
8 Open Open Open
Note: 1. To locate these headers on the BM83 EVB, refer to Figure 2-1.
3.1.5.4 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
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 15
...........continuedPin Name Pin Number Pin Name
P3_4 37 38 PWM
SK1_AMB_DET 39 40 MFB
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 — —
3.1.5.5 ICSP HeaderThe ICSP header (J400) provides the programming/debugging 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)
3.1.5.6 Xplained PRO HeaderThe BM83 EVB provides the 20-pin XPRO header (J304) needed to interface with the XPRO platform. The followingtable provides the 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
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 16
...........continuedPin Name Pin Number Pin Name
PWM 7 8 P0_0
P0_6 9 10 P3_5
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
3.1.5.7 Digital Microphone HeadersThe 5-pin digital microphone header provides an interface to the BM83 EVB and the Digital Microphone DaughterBoard. The pin description is provided in the following table.Table 3-11. Digital Microphone Headers (J1, J503 and J502) Pin Description (1, 2, 3, 4)
PinNumber
DigitalMicrophoneDaughterBoard
BM83 EVB Pin Description
Pin Name (J1) Pin Name (J503) Pin Name (J502)
1 VDD VDD DIGMIC VDD DIGMIC Power supply from the BM83 EVB
2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromthe BM83 module
3 GND GND GND Ground
4 DATA DMIC1_L DMIC1_R PDM output from the microphone tothe BM83 module
5 SEL DM1 SELECT DM2 SELECT Select the input for the microphone
BM83 EVBHardware
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 17
4. Embedded Mode Quick DemoThis section provides a quick demo on streaming 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 speaker.Figure 4-1. Speakers Connected to the STA369BW Audio Daughter Board
2. The SW200 switch is set to the 5V_USB position, as shown in the following figure.Figure 4-2. SW200 Switch Position
3. Connect the 15V DC adapter at the DC power jack P200. Notice that the Green LED (D203) and Red LED(D202) turn ON.
4. Set the SW200 switch to the 5V_DC position. Notice that the Green LED (D209) turns ON.5. Long press the MFB button (SW701) for a minimum of 4-5 seconds until the Blue LED (D300) and Red LED
(D301) start blinking alternately. Observe the sound from the speakers.6. Release the MFB button.7. Perform the following steps to pair the BM83 module with a smartphone:
7.1. Turn ON the smartphone's Bluetooth to scan for the available devices.7.2. Tap on “MCHP BM83” from the scan results. Pair to connect the device.7.3. On successful pairing, the MCHP BM83 device must be visible under the “PAIRED DEVICES”, as
shown in the following figure.
BM83 EVBEmbedded Mode Quick Demo
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 18
Figure 4-3. Pairing and Connection
7.4. Stream the audio from the smartphone to the BM83 module over the Bluetooth connection and listento it over the speakers.
8. Control the audio with the following buttons:8.1. Press the VOL_UP button (SW702) to increase the volume.8.2. Press the VOL_DN button (SW705) to reduce the volume.8.3. Press the Play button (SW704) to play the audio.8.4. Press the Pause button (SW704) to pause the audio.8.5. Press the FWD button (SW707) to jump to the next audio file.8.6. Press the REV button (SW708) to jump to the previous audio file.8.7. Press the MFB button (SW701) for a minimum of 4-5 seconds to turn OFF the system.
BM83 EVBEmbedded Mode Quick Demo
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 19
5. Firmware UpdateThis section describes the firmware update of the BM83 module over UART and USB DFU.
5.1 Firmware Update over UARTTo update the firmware of the BM83 module, the user must ensure the hardware settings and configurations matchthose described in the following table.
Table 5-1. BM83 EVB Firmware Update Settings (1)
Jumpers and Switches (1) Description
JP600 and JP601 • Mount a jumper on the JP600 (TXD)• Mount a jumper on the JP601 (RXD)
JP304 Mount a jumper on the “ADAP_IN” and “5V_ADAP_IN” pins of the JP304 pin2 and pin3
JP203 Mount a jumper on the 5V_USB and 5V_MCP pins of the JP203 pin2 and pin3
SW300 Put the SW300 switch to the ON position for Test mode
SW200 Put the SW200 switch to the 5V_USB position
JP305 Mount a jumper on the “3V3_IO” and “VDDIO” pins of the JP305
J600 Connect the USB cable from a PC to the J600
Note: 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.Note: Download the isUpdate tool from www.microchip.com/BM83.
1. Connect the BM83 EVB Micro-B USB port J600 over the USB cable to the PC.Note: 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 ON.3. 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 figure.4. Click Connect.
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 20
http://www.microchip.com/BM83
Figure 5-1. isUpdate Tool Window
Note: In the isUpdate tool, the image num values must be equal to the number of images to be programmedon the device. For example, to program firmware (image1), DSP (image2) and configuration (image3), theimage num value must be selected as 3.
5. The message on the console and the transition of the Connect button to Disconnect indicates that theconnection is established successfully between the PC and the BM83 module.Figure 5-2. Connection Established
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 21
6. Once the connection is established, click Browse and locate the firmware image provided in the releasepackage.Note: The Embedded mode firmware images are available in the package. For more information, refer to www.microchip.com/BM83.
Figure 5-3. Browsing and Loading the Files
7. Click Update to load the firmware to the BM83 module and observe the progress.Figure 5-4. Updating the Firmware
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 22
http://www.microchip.com/BM83
8. Click Disconnect and close the isUpdate tool after a successful firmware update.Figure 5-5. Process Completed
9. Remove the USB cable.
5.2 Firmware Update over USBUse the isUpdate tool to perform a firmware update on the BM83 module through the USB Device Firmware Upgrade(DFU). The BM83 EVB must be in Application mode. To update the firmware over the USB, the user must ensure thehardware settings and configurations match those described in the following table.Table 5-2. BM83 EVB Firmware Update Settings
Jumpers and Switches(1) Description
JP304 Mount a jumper on the “ADAP_IN” and “5V_ADAP_IN” pins of the JP304 pin2 andpin3
JP203 Mount a jumper on the 5V_USB and 5V_BT pins of the JP203 pin1 and pin2
SW200 Put the SW200 switch to the 5V_USB position
SW300 Put the SW300 switch to the OFF position for Application mode
J200 Connect the USB cable from a PC to the J200
JP305 Mount a jumper on the “3V3_IO” and “VDD_IO” pins of the JP305
Note: 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 the USB cable to the J200 USB port.
1. Connect the BM83 EVB Micro-B USB port J200 over the USB cable to the PC.Note: Be sure to disconnect the 15V power supply before connecting the USB cable.
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 23
2. Observe that the Green LED (D209) and Red LED (D202) turn ON.3. Set the SW200 switch to 5V_USB.4. Open the isUpdate tool. Select the port as USB HID, set the baud rate to 115200 and image num to 1, as
shown in the following figure.5. Click Connect.
Figure 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 image numvalue must be selected as 3.
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 24
6. The message on the console and the transition of the Connect button to Disconnect indicates that theconnection is established successfully between the PC and the BM83 module.Figure 5-7. Connection Established
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 25
7. Once the connection is established, click Browse and open the firmware image provided in the releasepackage.Note: The Embedded mode firmware images are available in the package. For more information, refer to www.microchip.com/BM83.
Figure 5-8. Browsing and Loading the Files
8. Click Update to update the firmware and observe the progress.
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 26
http://www.microchip.com/BM83
Figure 5-9. Updating the Firmware
9. Click Disconnect and close the isUpdate tool after a successful firmware update.Figure 5-10. Process Completed
10. Remove the USB cable.
BM83 EVBFirmware Update
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 27
6. Customizing Module Parameters
6.1 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, enable/disable Pairing mode and other functions.Note: For this demonstration, Config Tool version IS208x_Config_GUI_Tool v1.0.11 is used. Refer to thelatest version at www.microchip.com/BM83. For additional details on the Config Tool, refer to the IS208x Config GUITool User’s Guide.
To configure the GUI parameters, perform the following steps:
1. Open the Config Tool and click OK to configure the parameters.Figure 6-1. Config Tool - Welcome Window
2. In the Config Tool, click Load.
Figure 6-2. Config Tool
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 28
http://www.microchip.com/BM83
3. From the Open window, select the default GUI parameters file (provided with the UI tool) for this module (BM83),then click Open. Refer to 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 29
5. In the Main Feature window, the user can enable or disable the features required for their application. Select the“Embedded Mode” option (see Figure 6-5) and click Next.Notes:
• For Host MCU mode, select “Host MCU Mode”.• For Embedded mode, select “Embedded Mode”.
Figure 6-5. Main Feature Settings
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 30
6. In the System and Functional Settings window, go to the Sys. Setup1 tab to power ON/OFF the Bluetooth system.Select MFB Power ON/OFF in the “Power Switch Type” section.
Figure 6-6. Options in Sys. Setup1 Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 31
7. In the Sys. Setup2 tab, the user can change the following, as shown in the Figure 6-7:• Device name – Add the device name in the text box in the “Name Frag Segment” section.• Pairing mechanism – Select Enable for the pairing mechanism in the “Simple Pairing” drop-down menu.
Figure 6-7. Options in Sys. Setup2 Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 32
8. In the CODEC Setup tab, select Internal codec from the “CODEC Output Type” drop-down menu.
Figure 6-8. Options in CODEC Setup Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 33
9. Click Finish after modifying these settings. The IS208x_DSP_GUI_Tool window opens, as shown in the followingfigure.
Figure 6-9. Main Function Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 34
10. In the Voice Function tab, the user can set the required parameters, as shown in the following figure.
Figure 6-10. Voice Function Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 35
11. In the Audio Function tab, the user can set the required parameters, as shown in the following figure.
Figure 6-11. Audio Function Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 36
12. In the I2S/PCM tab, the user can set the required parameters, as shown in the following figure.
Figure 6-12. I2S/PCM Tab
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 37
13. Click Save to save the changed parameters into a file and click OK on the confirmation window (see the followingfigure).
Figure 6-13. Saving Parameters
2
1
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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, there is 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 Section 14. Appendix H: Bluetooth AudioDemonstration in Embedded Mode with Internal Codec.
BM83 EVBCustomizing Module Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 40
7. Appendix A: BM83 EVB Reference SchematicsFigure 7-1. USB Connector
DPDM
USB CONNECTOR
5V_BT
0.1uF16V0603
C2111uF16V0603
C212
100R
FB200
100R
FB2015VD207 A
1K
2
5VSOD-882PESD5V0X1BL,315
D208
CAD Note:ESD 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
0USB2.0 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
0.1uF16V0603
C3150.1uF16V0603
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 41
Figure 7-3. 5V Power Switch
5V_DC
5V_USB
5V_ADAP_IN
5V POWER SWITCH
GREEND209
1K0603
R208
0.1uF16V0603
C2131uF16V0603
C214
TP LOOP RedTP204
GND_SHLD
NOTE:Recommended to switch to5V_DC mode for audioapplications
Input Range forADAP_IN : 4.6V 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
GP7/TxLED 5GP6/RxLED 6
GP5 7GP4 8GP3 9GP2 14
GP1/USB-CFG 15GP0/SSPND 16
CTS 13RTS 11RX 12TX 10
VD
D1
VSS
20
OSC12
OSC23
D+19D-18
VUSB17
MCP2200
U602
EXT_3V3
0.1uF0603
C605
0R0603
R601
MCP_OSCIN
MCP_OSCOUT
EXT_3V3
0.1uF16V0603
C607
10k06031%
R60310k06031%
DNP
R602
5V_MCP
10k06031%
DNP
R606
MCP_TXMCP_RX
MCP_D+MCP_D-
EXT_3V3
0.1uF16V0603
C6060R0603
R605
1 TP6001 TP6011 TP6021 TP6031 TP6041 TP6051 TP6061 TP607
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 42
Figure 7-5. Reset IC
RST_N
RESET IC (OPTIONAL)
0.1uF16V0603
C301
4.7k06031%
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 43
Figure 7-7. Push Button Interface
MFB/PowerVOL+
VOL-PLAY/PAUSE
REVFWD
PUSH BUTTON
1 4
2 3TACT SPST
SW702VOL_UP
1 4
2 3TACT SPST
SW705VOL_DN
REV1 4
2 3TACT SPST
SW708
PLAY/PAUSE1 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
36363535
75 75
96 96
74 7473 73
1212
77
50504949
3030313129292828
343433333232
40403939
98 9897 97
95 9594 94
88
68 68
65 65
131389 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
3322
26262727
38383737
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_PLAY/PAUSE
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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 45
Figure 7-9. Microphone Input
MICROPHONE INPUT
Note: While working with the BM83 EVB in a Synchronous Connection Oriented Link (SCO) call scenario, the usermay experience some noise on the analog microphone path for microphone gain higher than 35.8 dB. It isrecommended to use 35.8 dB analog microphone gain as a starting point for tuning AEC/AES, and users will have toadjust this gain to obtain clear voice without saturation for certain industrial designs. It is also recommended to followthe PCB design guidelines provided by Microchip, for the end-product host board design.
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-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 06035%R42333R 06035%R42433R 06035%R42533R 06035%R42633R 06035%R42733R 06035%R428
33R 06035%R42233R 06035%R42033R 06035%R41933R 06035%R418
33R 06035%R41633R 06035%R417
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 06035%R40033R 06035%R40133R 06035%R402MCU_EXT1
LINE_IN_DET_MCULINE_IN_DETMCLK1_DSPRPD9 33R 06035%R434
RPE3
P3_211A22A33A44A55A66A
DIP 6 SPST
SW400
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-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_PLAY/PAUSE
MFB_MCU
(UART_TXD)
(UART_RXD)
10uF16V0805
C408
RG15
RE5RE6RE7RC1
RE8
RB5
FUNC2_MCU
FUNC1_MCUMCU_PLAY/PAUSE
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_CS#RST_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-2.54 Male 1x2JP401
RD11
13
16MHzX400
RG151VDD2AN22/RPE5/PMD5/RE53AN23/PMD6/RE64AN27/PMD7/RE75RPC1/RC16RPC2/RC27RPC3/RC38RPC4/CTED7/RC49AN16/C1IND/RPG6/SCK2/PMA5/RG610AN17/C1INC/RPG7/PMA4/RG711AN18/C2IND/RPG8/PMA3/RG812MCLR13AN19/C2INC/RPG9/PMA2/RG914VSS15VDD1617 TMS/CTED1/RA017RPE8/RE818RPE9/RE919AN5/C1INA/RPB5/VBUSON/RB520
PGEC
2/A
N6/
RPB6
/RB6
26PG
ED2/
AN
7/RP
B7/C
TED
3/RB
727
VRE
F-/C
VRE
F-/P
MA
7/R
A9
28V
REF+
/CV
REF+
/PM
A6/
RA10
29AV
DD
30AV
SS31
AN
8/RP
B8/C
TED
10/R
B832
AN
9/RP
B9/C
TED
4/RB
933
AN
10/R
PB10
/CTE
D11
/PM
A13
/RB1
034
AN
11/P
MA
12/R
B11
35V
SS36
VD
D37
TCK
/CTE
D2/
RA1
38RP
F13/
RF13
39RP
F12/
RF12
40A
N12
/PM
A11
/RB1
241
AN
13/P
MA
10/R
B13
42A
N14
/RPB
14/C
TED
5/PM
A1/
RB14
43A
N15
/RPB
15/O
CFB/
CTED
6/PM
A0/
RB1
544
VSS
45
VSS 75SOSCO/RPC14/T1CK/RC14 74
SOSCI/RPC13/RC13 73RPD0/INT0/RD0 72
RPD11/PMCS1/RD11 71RPD10/SCK1/PMCS2/RD10 70
RPD9/RD9 69RPD8/RTCC/RD8 68
SDA1/RPA15/RA15 67SCL1/RPA14/RA14 66
VSS 65OSC2/CLKO/RC15 64OSC1/CLKI/RC12 63
VDD 62TDO/RA5 61
TDI/CTED9/RA4 60SDA2/RA3 59SCL2/RA2 58
D+ 57D- 56
AN
21/P
MD
4/RE
410
0RP
E3/P
MD
3/RE
399
AN
20/C
TPLS
/PM
D2/
RE2
98TR
D0/
RG13
97TR
D1/
RG12
96TR
D2/
RG14
95PM
D1/
RE1
94PM
D0/
RE0
93TR
D3/
CTED
8/RA
792
TRCL
K/R
A6
91RP
G0/
PMD
8/RG
090
RPG
1/PM
D9/
RG1
89RP
F1/P
MD
10/R
F188
RPF0
/PM
D11
/RF0
87V
DD
86V
CAP
85PM
D15
/RD
784
PMD
14/R
D6
83RP
D5/
PMRD
/RD
582
RPD
4/PM
WR/
RD4
81
AN4/C1INB/RB421PGED3/AN3/C2INA/RPB3/RB322PGEC3/AN2/C2INB/RPB2/CTED13/RB223PGEC1/AN1/RPB1/CTED12/RB124PGED1/AN0/RPB0/RB025
VD
D46
RPD
14/R
D14
47RP
D15
/RD
1548
RPF4
/PM
A9/
RF4
49RP
F5/P
MA
8/RF
550
VUSB3V3 55VBUS 54
RPF8/RF8 53RPF2/RF2 52
USBID/RF3 51
PMD
13/R
D13
80RP
D12
/PM
D12
/RD
1279
AN
26/R
PD3/
RD3
78A
N25
/RPD
2/RD
277
AN
24/R
PD1/
RD1
76
PIC32MX450F256L
U402
LINE_IN_DET_MCUUTX_IND
PGEC1PGED1
Shunt 2.54mm 1x2
JP403
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
0.1uF50V0603
C4130.1uF50V0603
C414
MCLR
JS202011SCQN
6
45
12
3
S400
GND
PIM_MCLR
PIC32_MCLR
3V3_GEN 3V3_PIC
1 2
HDR-2.54 Male 1x2JP400
VDD8
VSS4
CE 1WP 3
SCK 6HOLD 7
SO 2SI 5
SST25VF080B
U401
3V3_PIC
0.1uF50V0603
C410
20k06035%
R4033V3_PIC
MCU_SDO
MCU S-Flash3V3_PIC
10uF25V0805
C411MCU_BCLK
MCU_SDI
FLASH_CS#
PGEC1PGED1
Shunt 2.54mm 1x2
JP402
123456
HDR-2.54 Male 1x6
J400
Figure 7-14. I2S Header
1234567
HDR-2.54 Male 1x7
J4041234567
HDR-2.54 Male 1x7
J405BT DSPRFS1_DSPSCLK1_DSP
DT1_DSPDR1_DSP
MCLK1_DSP
RFS1
DR1DT1
SCLK1 Serial clockSerial data receiveSerial data transmit
I2S HEADER
33R 06035%R431
33R 06035%R429
33R 06035%R43233R 06035%R433
Receive Frame Sync33R 06035%R430
MCLK1
3V3_IO 3V3_IO
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 50
Figure 7-15. I2C Interface
3V3_IO
P1_3
P1_20R 0603R325 P3_2
3V3_IO
0.1uF16V0603
C3131uF16V0603
C314
I2C_INTERFACE
A01
SDA 5A23A12
WP 7
VSS 4
SCL 6
VCC8
24LC64
U301
3V3_IO 123
HDR-2.54 Male 1x3
JP307
P2_3 P2_3
123
HDR-2.54 Male 1x3
JP308
P2_6 P2_6
P1_2
P1_3
JP307, JP3081-2
2-3
SW I2C
HW I2C (Default)
12
HDR-2.54 Male 1x2
JP309P2_3 P2_3P2_6 P2_6
Note:JP309 is Test Point for SW I2C IOs.To be used to connect to Ext Codec (J402)while using SW I2C .To be placed near the Ext Codec section
I2C_SDA
I2C_SCLShunt 2.54mm 1x2
JP315
Shunt 2.54mm 1x2
JP316
1.5k06031%
R3001.5k06031%
R301
3V3_IO
P1_3
P1_20R 0603R325 P3_2
3V3_IO
0.1uF16V0603
C3131uF16V0603
C314
I2C_INTERFACE
A01
SDA 5A23A12
WP 7
VSS 4
SCL 6
VCC8
24LC64
U301
3V3_IO 123
HDR-2.54 Male 1x3
JP307
P2_3 P2_3
123
HDR-2.54 Male 1x3
JP308
P2_6 P2_6
P1_2
P1_3
JP307, JP3081-2
2-3
SW I2C
HW I2C (Default)
12
HDR-2.54 Male 1x2
JP309P2_3 P2_3P2_6 P2_6
Note:JP309 is Test Point for SW I2C IOs.To be used to connect to Ext Codec (J402)while using SW I2C .To be placed near the Ext Codec section
I2C_SDA
I2C_SCLShunt 2.54mm 1x2
JP315
Shunt 2.54mm 1x2
JP316
1.5k06031%
R3001.5k06031%
R301
Figure 7-16. BT –DSP–MCU 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-2.54 Male 1x7
J4011234567
HDR-2.54 Male 1x7
J4021234567
HDR-2.54 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
JP404#4#5#7
#1#4#5#7
JP405JP406JP407
Figure 7-17. Digital MIC and Interface
GND
VDD_DIGMIC
DM1_SELECT
GND
VDD_DIGMIC
DM2_SELECT123
HDR-2.54 Male 1x3
J505 123
HDR-2.54 Male 1x3
J50412345
HDR-2.54 Male 1x5
J503 VDD_DIGMIC
DM1_SELECT
12345
HDR-2.54 Male 1x5
J502 VDD_DIGMIC
GNDDM2_SELECT
DIGITAL_MIC
DMIC1_R
DMIC1_LGND
DMIC1_LDMIC1_R
DMIC1_CLKDMIC1_CLKShunt 2.54mm 1x2
JP509
Shunt 2.54mm 1x2
JP511
100R
FB500
DMIC2_CLK
DMIC1_CLK
100R
FB501DMIC_CLKDMIC_CLK
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 51
Figure 7-18. CPU JTAG Header
CPU_JTAG
RST_N
GND
3V3_IO
P1_2P1_3
EMUD_CPUEMUC_CPU
0.1uF16V0603
C311
123456
HDR-2.54 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
IRQ/GPIO SPI_SS_B/GPIO0R 0603R309
0R 0603R3140R 0603R312
0R 0603R315
0R 0603R310
0R 0603R3170R 0603R319
0R 0603R3160R 0603R318
0R 0603R313
4.7uF6.3V0603
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-2.54 Male 2x10 RA Rotated 180
J304
Figure 7-20. Button Control Jumper
MCU_VOL_UP
MCU_FWDMCU_REV
MCU_VOL_DN
PAIRING_MCU
MCU_PLAY/PAUSE12
34
56
78
HDR-2.54 Male 1x8
J700
12
34
56
78
HDR-2.54 Male 1x8
J702
VOL_UP
FWDREV
VOL_DN
PAIRING
PLAY/PAUSE12
34
56
78
HDR-2.54 Male 1x8
J701
BUTTON CO-USE JUMPER
MCU BUTTON BM8X_CARRIER_BOARD
CAD Note:Place these 3 headers close to each other
J 701J 702 Default ConfigurationJ 701J 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 52
Figure 7-21. Stereo AUX Line Input, Audio Headset Output, Audio Board Interface
Figure 7-22. Temperature Sensor
AMB_DET
NCP15WF104F03
(Thermistor)
86.6k06031%
R322
-t 100k04021%
TH300
0.1uF16V0603
C303
1 2
HDR-2.54 Male 1x2
JP302
12
HDR-2.54 Male 1x2
JP301
1uF16V0603
C304
1M06031%
R321
VDD_IO
SK1_AMB_DET
Shunt 2.54mm 1x2
JP312
Shunt 2.54mm 1x2
JP313
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 53
Figure 7-23. 5V to 3V3 Generation for USB-UART Section
5V_MCP EXT_3V3
0.1uF16V0603
C6030.1uF16V0603
C60210uF10V0603
C604
5V TO 3V3 GENERATION
VIN3
GND1
VOUT 2MCP1702T-3302E/CBU600
BM83 EVBAppendix A: BM83 EVB Reference Schematics
© 2020 Microchip Technology Inc. User Guide DS50002902B-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 components:• STMicroelectronics codec (STA369BW)• Female 20-pin dual-row header (J1)• Female 12-pin dual-row header (J2)• Audio out connectors (CN1 and CN2)
Figure 8-1. STA369BW Audio Daughter Board
The following table provides the pin description of the 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 56
9. Appendix C: Digital Microphone Daughter BoardThe Digital Microphone Daughter Board has the following components:
• On-board Knowles’ Digital Microphone SPH0641LU4H-1• 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 (1, 2, 3, 4)
PinNumber
DigitalMicrophoneDaughterBoard
BM83 EVB Pin Description
Pin Name (J1) Pin Name (J503) Pin Name (J502)
1 VDD VDD DIGMIC VDD DIGMIC Power supply from the BM83 EVB
2 CLOCK DMIC1_CLK DMIC1_CLK Clock input to the microphone fromthe BM83 module
3 GND GND GND Ground
4 DATA DMIC1_L DMIC1_R PDM output from the microphone tothe BM83 module
5 SEL DM1 SELECT DM2 SELECT Select the input for the microphone
Notes: 1. The BM83 module supports 1 stereo Digital Microphone (left and right) terminated at J503 and J502 headers
respectively.2. The VDD power supply for Digital Microphone operation is provided over the J509 header on the BM83 EVB.3. The Select pin must not be left floating and must be connected to high or low. This is achieved by the 3-pin
headers J505 and J504 on the BM83 EVB.4. For more details on using the Digital Microphone with the BM83, refer to the IS208x Config UI Tool User’s
Guide.
BM83 EVBAppendix C: Digital Microphone Daughter Bo...
© 2020 Microchip Technology Inc. User Guide DS50002902B-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-Link.However, BM83 EVB uses a 6-pin connector supporting 2-wire JTAG.Figure 10-1. J-Link 6-Pin Adapter Board
The following table provides the pin description of the 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 58
11. Appendix E: Updating PIC32 MCU ParametersPerform the following steps to load the .Hex file to the MCU:
1. Set the SW200 switch to the 5V_DC position.2. Plug the 15V DC power adapter into the P200 jack for supplying power to the host MCU.3. Connect the MPLAB ICD 3 to the ICSP header J400 and PC.
Figure 11-1. ICD 3 Interface at the ICSP Header
4. Ensure that the jumpers on the JP400 and JP401 are mounted.Note: Download and install the latest version of the MPLAB X IDE tool, available at www.microchip.com/mplab/mplab-x-ide.
5. Open the MPLAB X IPE tool.6. 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
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 59
http://www.microchip.com/mplab/mplab-x-idehttp://www.microchip.com/mplab/mplab-x-ide
Figure 11-2. MPLAB X IPE Window
7. Successful device connection is indicated by a green dot. Click Apply followed by Connect.Figure 11-3. Search for On-board Microcontroller
8. After the connection is established, click Browse and locate the MCU firmware file from the software folder.Then click Program, as shown in the following figure.
BM83 EVBAppendix E: Updating PIC32 MCU Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 60
Figure 11-4. Connect and Program
BM83 EVBAppendix E: Updating PIC32 MCU Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 61
9. After the programming is complete, observe the Output – IPE window on the console.Note: MCU firmware version V1.4.1 is used for the demonstration.
Figure 11-5. Verify the Log
10. Remove the 15V adapter.
BM83 EVBAppendix E: Updating PIC32 MCU Parameters
© 2020 Microchip Technology Inc. User Guide DS50002902B-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 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 pin2 (3V3_IO) and pin3 (VDDIO) of the JP305.2. Set the SW200 switch to the 5V_DC position to enable the 5V supply to the ADAP_IN.3. Mount a jumper on the 3V3_GEN pin and 3V3_PIC pin of the JP400 to enable 3.3V to the PIC.4. The jumper settings on the J402 and J403 to enable the BM83 module to control the DSP (audio codec):
4.1. Mount a jumper on pin1 of the J402 and J403.4.2. Mount a jumper on pin2 of the J402 and J403.4.3. Mount a jumper on pin3 of the J402 and J403.4.4. Mount a jumper on pin4 of the J402 and J403.4.5. Mount a jumper on pin5 of the J402 and J403.4.6. Mount a jumper on pin6 of the J402 and J403.4.7. Open pin7 of the J402 and J403.
5. The jumper settings on the J700 and J701 to enable the BM83 module to control the audio control buttons:5.1. Mount a jumper on pin1 of the J700 and J701.5.2. Mount a jumper on pin2 of the J700 and J701.5.3. Mount a jumper on pin3 of the J700 and J701.5.4. Mount a jumper on pin4 of the J700 and J701.5.5. Mount a jumper on pin5 of the J700 and J701.5.6. Mount a jumper on pin6 of the J700 and J701.5.7. Mount a jumper on pin6 of the J700 and J701.5.8. Open pin8 of the J700 and J701.
6. Mount a jumper on pin2 and pin3 of the JP201.7. Set the SW400 switches as follows:
7.1. RFS1_DSP to the OFF position.7.2. SCLK1 to the OFF position.7.3. DT1_DSP to the OFF position.7.4. MCLK1_DSP to the OFF position.7.5. LINE_IN_DET to the ON position.7.6. P3_2 to the OFF position.
8. Set the SW402 switches as follows:8.1. MFB to the OFF position.8.2. HCI_RXD to the ON position.8.3. HCI_TXD to the ON position.8.4. RST_N to the OFF position.8.5. P0_0 to the ON position.8.6. P3_4 to the ON position.
9. Set the SW403 switches as follows:9.1. P3_7 to the ON position.9.2. P2_6 to the OFF position.9.3. P2_3 to the OFF position.9.4. RFS1 to the OFF position.9.5. SCLK1 to the OFF position.9.6. DT1 to the OFF position.
BM83 EVBAppendix F: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 63
10. The jumper settings on the J404 and J405 to connect the BM83 module and the STA369BW codec (ST) overthe I2S interface:10.1. Mount a jumper on pin1 of the J404 and J405.10.2. Mount a jumper on pin2 of the J404 and J405.10.3. Mount a jumper on pin3 of the J404 and J405.10.4. Mount a jumper on pin4 of the J404 and J405.10.5. Mount a jumper on pin5 of the J404 and J405.10.6. Open pin6 of the J404 and J405.10.7. Open pin7 of the J404 and J405.
11. Put the S400 switch to the PIC32_MCLR position.12. Put the SW300 switch to the OFF position.
Note: In order to perform the following demo, the user must flash the host mode firmware into the BM83 module aswell as the PIC32 MCU, as illustrated in the preceding sections.
12.1 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 CN2.Figure 12-1. Speakers Connected to the STA369BW Audio Daughter Board
2. The SW200 switch is set to the 5V_USB position, as shown in the following figure.Figure 12-2. SW200 Switch Position
BM83 EVBAppendix F: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 64
3. Connect the 15V DC adapter at the DC power jack P200. Notice that the Green LED (D203) and Red LED(D202) turn ON, as shown in the following figure.Figure 12-3. 15V DC Adapter Plugged In
4. Change the SW200 switch to the 5V_DC position. Notice that the Green LEDs (D209 and D405) turn ON, asshown in the following figure.Figure 12-4. LED Indication as SW200 is Turned to 5V_DC position
5. Long press the SEL button (SW711) to turn on the system. Observe the sound on the speakers and thefollowing LED behavior:
– Green LED (D401) turns ON– Blue (D300) and Green (D402) LEDs blink
6. Long press the SEL button (SW711) to make the BM83 module discoverable to other devices. Observe thesound on the speakers and the alternate blinking of the Red LED (D301) and Blue LED (D300).
7. Follow the steps to pair the BM83 module with a smartphone:7.1. Turn on the smartphone's Bluetooth to scan for the available devices.7.2. Select the module device name "BM83" from the scan results. Pair and connect the device.7.3. On successful pairing, the device name displays as Connected.
Note: This demonstration uses the EA1 demo version of the firmware.
BM83 EVBAppendix F: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 65
Figure 12-5. Pairing and Connection
7.4. Stream the audio from the smartphone to the BM83 over the Bluetooth connection and listen to itthrough the speakers.
8. Control the audio with the following buttons:8.1. Press the VOL_UP button (SW702) to increase the volume.8.2. Press the VOL_DN button (SW705) to reduce the volume.8.3. Press the Pause button (SW704) to pause the audio.8.4. Press the Play button (SW704) to play the audio.8.5. Press the FWD button (SW707) to jump to the next audio file.8.6. Press the REV button (SW708) to jump to the previous audio file.8.7. Press the SEL button (SW711) to turn OFF the system.
BM83 EVBAppendix F: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-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 pin3.2. Put the SW200 switch to the 5V_DC position to enable the 5V supply to the ADAP_IN.3. The jumper settings on the J401 and J402 enable the BM83 module to control the STA369BW Audio Daughter
Board:3.1. Mount a jumper on pin1 of the J401 and J402.3.2. Open pin2 of the J401 and J402.3.3. Open pin3 of the J401 and J402.3.4. Mount a jumper on pin4 of the J401 and J402.3.5. Mount a jumper on pin5 of the J401 and J402.3.6. Open pin6 of the J401 and J402.3.7. Mount a jumper on pin7 of the J401 and J402.
4. The jumper settings on the J701 and J702 to enable the BM83 module to control the audio control buttons:4.1. Mount a jumper on pin1 of the J701 and J702.4.2. Mount a jumper on pin2 of the J701 and J702.4.3. Mount a jumper on pin3 of the J701 and J702.4.4. Mount a jumper on pin4 of the J701 and J702.4.5. Mount a jumper on pin5 of the J701 and J702.4.6. Open pin6 of the J701 and J702.4.7. Mount a jumper on pin7 of the J701 and J702.4.8. Open pin8 of the J701 and J702.
5. Mount a jumper on the JP201 pin2 and pin3.6. Set the SW400 switches as follows:
6.1. RFS1_DSP to the OFF position.6.2. SCLK1 to the OFF position.6.3. DT1_DSP to the OFF position.6.4. MCLK1_DSP to the OFF position.6.5. LINE_IN_DET to the OFF position.6.6. P3_2 to the ON position.
7. Set the SW402 switches as follows:7.1. MFB to the OFF position.7.2. HCI_RXD to the OFF position.7.3. HCI_TXD to the OFF position.7.4. RST_N to the OFF position.7.5. P0_0 to the OFF position.7.6. P3_4 to the OFF position.
8. Set the SW403 switches as follows:8.1. P3_7 to the OFF position.8.2. P2_6 to the OFF position.8.3. P2_3 to the OFF position.8.4. RFS1 to the OFF position.8.5. SCLK1 to the OFF position.
BM83 EVBAppendix G: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 67
8.6. DT1 to the OFF position.9. The jumper settings on the J404 and J405 to connect the BM83 module I2S with the STA369BW Audio
Daughter Board I2S:9.1. Mount a jumper on pin1 of the J404 and J405.9.2. Mount a jumper on pin2 of the J404 and J405.9.3. Mount a jumper on pin3 of the J404 and J405.9.4. Mount a jumper on pin4 of the J404 and J405.9.5. Mount a jumper on pin5 of the J404 and J405.9.6. Open pin6 of the J404 and J405.9.7. Open pin7 of the J404 and J405.
10. Put the SW300 switch to the OFF position.11. By default, the board is configured with hardware (HW) I2C settings. For more details on the software (SW)
I2C settings, refer to the I2C Interface section in the IS2083 SDK User’s 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 www.microchip.com/BM83.
BM83 EVBAppendix G: Hardware Setup for Application Dem...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 68
http://www.microchip.com/DS50002894http://www.microchip.com/BM83
14. Appendix H: Bluetooth Audio Demonstration in Embedded Mode withInternal CodecNotes:
1. In this mode of operation, the BM83 module uses the internal codec to drive the audio.2. Do not connect the 15V adapter at the DC power jack P200.3. Use the internal codec config file for this demo. For more details, refer to Section 6.1 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 switch.2. Mount a jumper at the 5V_ADAP_IN and ADAP_IN of the JP304.3. Mount the JP501 and JP503 (stereo out). Connect headphones or a speaker at the stereo jack P503.4. Set the SW200 switch to 5V_USB.5. Plug in the USB cable at J600. Observe that the Red LED (D600) and Green LED (D209) turn ON.
Note: The Red LED (D300) and Blue LED (D301) do not glow in this case.6. Long press the 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 Pairing mode.
7. The following steps help in pairing between the BM83 module and a smartphone:7.1. Turn ON the smartphone's Bluetooth to scan for the discoverable devices.7.2. Select the module device name “BM83” from the scan results.7.3. Enter 0000 as the 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 “Connected” upon successful pairing, as shown in the following figure. The audio can belistened to through the headphones.
Figure 14-1. Pairing BM83 with Smartphone
BM83 EVBAppendix H: Bluetooth Audio Demonstration in ...
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 69
15. Regulatory ApprovalsThis equipment (BM83 EVB/DM164152) is an evaluation kit and not a finished product. It is intended for laboratoryevaluation purposes only. Using this requires a significant engineering expertise towards understanding of the toolsand relevant technology, which can be expected only from a person who is professionally trained in the technology.Regulatory compliance settings have to follow the module (BM83 Module) certifications.
The following regulatory notices are to cover the requirements under the regulatory approval.
15.1 United StatesThe BM83 EVB (DM164152) contains the BM83 module, which has received the Federal CommunicationsCommission (FCC) CFR47 Telecommunications, Part 15 Subpart C “Intentional Radiators” single-modular approvalin accordance with the Part 15.212 Modular Transmitter approval.
Contains Transmitter Module FCC ID: 2ADHKBM83SM1.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:(1) this device may not cause harmful interference, and (2) this device must accept any interferencereceived, including interference that may cause undesired operation.
Important: FCC Radiation Exposure StatementThis equipment complies with FCC radiation exposure limits set forth for uncontrolled environments.
The antenna integrated with this transmitter must be provided a separation distance of at least 20 cm from allpersons and must not be colocated or operated in conjunction with any other antenna or transmitter.
This transmitter is restricted for use with the integrated antenna tested in this application for certification.
CAUTIONAny changes or modifications not expressly approved by the party responsible for compliance could voidthe user’s authority to operate this equipment.
FCC NoticeThis kit is designed to allow:
• Product developers to evaluate electronic components, circuitry, or software associated with the kit to determinewhether to incorporate such items in a finished product.
• Software developers to write software applications for use with the end product. This kit is not a finished productand when assembled may not be resold or otherwise marketed unless all required FCC equipmentauthorizations are first obtained. Operation is subject to the condition that this product not cause harmfulinterference to licensed radio stations and that this product accept harmful interference. Unless the assembledkit is designed to operate under part 15, part 18 or part 95 of this chapter, the operator of the kit must operateunder the authority of an FCC license holder or must secure an experimental authorization under part 5 of thischapter.
• The kit is labeled with the following legend: For evaluation only; not FCC approved for resale; and any radiofrequency transmitter employed as part of an evaluation kit shall be designed to comply with all applicable FCCtechnical rules, including frequency use, spurious and out-of-band emission limits, and maximum power or fieldstrength ratings applicable to final products that would employ the components or circuitry to be evaluated.
• Under 47 CFR 2.805(d)(2) in order to operate the evaluation kit, the user must ultimately render the deviceinoperable or return it to Microchip.
• Evaluation kit is defined by FCC as “[a]n assembly of components, subassemblies, or circuitry, includingsoftware, created by or for a component maker, system integrator, or product developer for the sole purpose offacilitating: End product developer evaluation of all or some of such components, subassemblies, or circuitry, or(ii) the development of software to be used in an end product.” (see 47 CFR 2.1)
BM83 EVBRegulatory Approvals
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 70
https://www.ecfr.gov/cgi-bin/text-idx?SID=1f7b3200cc131202d21dacfeabb2c75a&mc=true&node=se47.1.2_1805&rgn=div8https://www.ecfr.gov/cgi-bin/text-idx?SID=1f7b3200cc131202d21dacfeabb2c75a&mc=true&node=se47.1.2_11&rgn=div8
15.2 CanadaThe BM83 EVB (DM164152) contains the BM83 module, which has been certified for use in Canada under theInnovation, Science and Economic Development (ISED, formerly Industry Canada) Radio Standards Procedure(RSP) RSP-100, Radio Standards Specification (RSS) RSS-Gen and RSS-247.
Contains IC: 20266-BM83SM1.
This device contains license-exempt transmitter(s)/receiver(s) that comply with Innovation, Science and EconomicDevelopment Canada’s license-exempt RSS(s). Operation is subject to the following two conditions:
1. This device may not cause interference;2. This device must accept any interference, including interference that may cause undesired operation of the
device.
L’émetteur/récepteur exempt de licence contenu dans le présent appareil est conforme aux CNR d’Innovation,Sciences et Développement économique Canada applicables aux appareils radio exempts de licence. L’exploitationest autorisée aux deux conditions suivantes:
1. L’appareil ne doit pas produire de brouillage;2. L’appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage est susceptible d’en
compromettre le fonctionnement.
WARNINGThis equipment complies with radio frequency exposure limits set forth by Innovation, Science andEconomic Development Canada for an uncontrolled environment. This equipment should be installed andoperated with a minimum distance of 20 cm between the device and the user or bystanders.Cet équipement est conforme aux limites d'exposition aux radiofréquences définies par d’Innovation,Sciences et Développement économique Canada pour un environnement non contrôlé. Cet équipementdoit être installé et utilisé avec un minimum de 20cm de distance entre le dispositif et l'utilisateur ou destiers.
15.3 EuropeThis equipment (DM164152) has been assessed under the Radio Equipment Directive (RED) standard for radioequipment and services for use in European Union countries. The product does not exceed the specified powerratings, antenna specifications and/or installation requirements, as specified in the user manual. A Declaration ofConformity is issued for each of these standards and kept on file as described in the Radio Equipment Directive(RED).
Simplified EU Declaration of ConformityHereby, Microchip Technology Inc. declares that the radio equipment type [DM164152] is in compliance with Directive2014/53/EU.
The full text of the EU declaration of conformity is available at the following internet address (refer to the product-specific pages): www.microchip.com/design-centers/wireless-connectivity/.
BM83 EVBRegulatory Approvals
© 2020 Microchip Technology Inc. User Guide DS50002902B-page 71
https://www.microchip.com/design-centers/wireless-connectivity/
16. Document Revision HistoryRevision Date Section Description
B 07/2020 7. Appendix A: BM83 EVBReference Schematics
• Added a note relatedto analog microphonegain
• Updated withschematics of Figure7-9 and Figure