background image

 2021 Microchip Technology Inc.

DS00003118C-Page 57

AN3118

FIGURE 60:

SAVING UI PARAMETERS

11. The generated *.HEX can be directly pro-

grammed into the BM83 module by following the
steps mentioned in the 

BM83 Bluetooth

®

 Audio

Development Board User’s Guide (chapter

 5.

Firmware Update). It is possible to update only
this config file by only selecting this .HEX file in
the update process and selecting image number
to 1 in the isUpdate tool.

Summary of Contents for IS2083 Series

Page 1: ...ommand for Host MCU Microchip Bluetooth Audio MBA App Compatibility The Microchip Bluetooth Audio MBA mobile app connects to the BM83 Bluetooth devices to create an audio network adjust EQ settings vo...

Page 2: ...re Config settings The Config GUI Tool is used to customize parameters For more details refer to Appendix B Customizing UI and DSP Parameters BM83 firmware can be upgraded using one of the following m...

Page 3: ...eet DS70005403 BM83 Bluetooth Stereo Audio Module Data Sheet DS70005402 IS2083 SDK User s Guide IS2083 SDK Debugger User s Guide IS2083 isUpdate Tool User s Guide 1 2 Software Prerequisites IS2083 fir...

Page 4: ...more speakers acting as a peripheral Multi Speaker solutions can be achieved using IS2083BM devices which allow for extended range This is a widely used technology for applications such as PA confere...

Page 5: ...in MSPK for the Config GUI setting FIGURE 3 CONCERT MODE CENTRAL IS CONNECTED TO BLUETOOTH ENABLED DEVICE THROUGH BUILT IN ANALOG MICROPHONE OR BUILT IN DIGITAL MICROPHONE Figure 4 illustrates a typi...

Page 6: ...where the central is connected to a Bluetooth enabled device through AUX In FIGURE 5 STEREO MODE CENTRAL IS CONNECTED TO BLUETOOTH ENABLED DEVICE THROUGH AUX IN IS2083BM Central Speaker IS2083BM Perip...

Page 7: ...io Development Kit DM164152 BM83 Evaluation Board BM83 EVB Type A to Micro B USB cable 15V DC power adapter Bluetooth enabled smartphone Android device running Android 6 0 or later version iOS phone S...

Page 8: ...fault BM83 EVB is preconfig ured with Embedded mode settings 5 Repeat step 1 to step 4 with all other EVBs 2 2 2 HOST MODE DEMO SETUP 1 Follow steps 1 to step 2 from Section 2 2 1 Embedded Mode Demo S...

Page 9: ...dure in Appendix A Android App Installation to install the Android application 2 2 6 PROVISIONING Multi Speaker can be provisioned to Concert Stereo mode either through pressing the button on the BM83...

Page 10: ...TTONS FUNCTIONALITY Function Host Mode 1 Embedded Mode Power on and entering into Pairing mode Short press SEL SW711 Long press for 2 4 seconds MFB SW701 To enter into Central Peripheral mode in Conce...

Page 11: ...o Pairing mode Pair with a Bluetooth enabled audio streaming device The flashing Blue LED will become solid Blue on the central EVB once pairing is complete and the connection is established Now play...

Page 12: ...be heard on the central and peripheral speakers To play the audio through the AUX In connect the central flashing solid Blue LED with the audio streaming device through the AUX In cable Play music on...

Page 13: ...is displayed Select any one device MCHP_Multi_x see Figure 8 and assign the role of Central Periph eral In Concert mode assign one as the central and the others as peripheral Select Concert Slave to...

Page 14: ...al grouping is displayed as the Group Status see Figure 10 Then the Red LED will start flashing on the BM83 EVB Repeat this step for the other peripheral FIGURE 10 GROUPING PERIPHERAL CENTRAL 5 Select...

Page 15: ...click Concert Master device then Audio Next select Pairing Mode Enter to enter Pairing mode see Figure 13 Select Speaker Connection Connect and a list of discoverable Bluetooth devices will be dis pla...

Page 16: ...s on both the central and peripheral speakers 9 For AUX In mode connect an audio streaming device with the central solid flashing Blue LED through an audio AUX In cable and play music Music plays on b...

Page 17: ...ave see Figure 15 FIGURE 15 ADDING A NEW PERIPHERAL 2 Go to Scan mode then click Scan Waiting for new slave displays see Figure 16 Select Concert Slave to add as a peripheral FIGURE 16 SCANNING FOR NE...

Page 18: ...rough 8 Concert Mode Provisioning Using Microchip Bluetooth Audio App The peripheral will have a solid Red LED and the central will have a flashing solid Blue LED 2 For AUX In audio connect the centra...

Page 19: ...CENTRAL PERIPHERAL SPEAKERS SETUP The Microchip Bluetooth Audio app has added a new feature to establish quick central and peripheral speakers 1 From the Microchip Bluetooth Audio app click Settings...

Page 20: ...003118C Page 20 AN3118 2 Select Create Personal Group as illustrated in Figure 19 FIGURE 19 CREATING PERSONAL GROUP 3 Select Stereo Concert mode from the pop up window as illustrated in Figure 20 FIGU...

Page 21: ...e displays Enter the name any user defined then select Central and Peripheral speakers as illustrated in Figure 21 FIGURE 21 PERSONAL AUDIO GROUP SETTINGS 5 Central and Peripheral speakers are created...

Page 22: ...app as illustrated in Figure 22 The change in speaker name is permanent i e upon power cycle the new speaker name is retained FIGURE 22 RENAMING SPEAKER Note Press the power off button Short press SE...

Page 23: ...AN3118 2 8 Equalizer setting The equalizer parameters can be set changed from the Microchip Bluetooth Audio App 1 Select Audio Equalizer Settings Edit to edit the equalizer parameters as illustrated...

Page 24: ...the standard equalizer parameters from the list as illustrated in Figure 24 FIGURE 24 STANDARD EQUALIZER PARAMETERS LIST 3 Select Manual Settings to set the equalizer parameters manually as illustrat...

Page 25: ...re Capabilities Features The following features are supported in the MSPK2v1 x firmware LDAC CODEC The SBC and the AAC audio data will pass through the DSP audio effect and equalizer but LDAC will byp...

Page 26: ...me the group after the power cycle The endless grouping mechanism is using one or both access codes to allow the central to add secondaries endlessly For more details refer to Appendix T Concert Mode...

Page 27: ...chip Technology Inc DS00003118C Page 27 AN3118 2 12 2 PROGRAMMABLE AVRCP VERSION Audio Video Remote Control Profile AVRCP version can be programmed to v1 6 v1 3 For more details refer to Appendix E AV...

Page 28: ...o Reconnection 2 12 8 DFU OVER THE AIR UPGRADE IS2083BM firmware supports an Over the Air upgrade feature to upgrade the firmware on the IS2083BM device using transparent UART interface refer to Appen...

Page 29: ...f hardware connections is required to interface MCU to the BM83 module Figure 28 illustrates the minimum connections required by the relevant hardware pins on the BM83 module FIGURE 28 MCU AND BM83 EV...

Page 30: ...ing input from Aux in and transmitting the signal to two connected sink devices FIGURE 29 AUDIO TRANSMITTER WITH AUX IN AS AUDIO INPUT The following figure illustrates a typical example of audio trans...

Page 31: ...e and Config Settings Embedded mode from the BM83 AT package IS2083 Turnkey v1 x Soft ware IS2083 Image AT v1 y Embedded Mode into the BM83 using the isUpdate tool Refer to the BM83 Bluetooth Audio De...

Page 32: ...choose the proper serial port and click on Open and Power On as shown in the following figure FIGURE 31 SPKCOMMANDSETTOOL GUI 6 Go to the AT tab fill out parameters and issue the command as shown in F...

Page 33: ...SETTOOL GUI 7 The inquiry result will appear in the inquiry results window as shown in the preceding figure Now select a device and issue a connect com mand as shown in Figure 33 Note Wait for the Inq...

Page 34: ...t to the BM83 as shown in Section 3 6 Audio Input Aux in is the default input source to the BM83 To switch the input source to I2 S issue 44 2 1 and 13 1 0 commands as shown in the Figure 34 To switch...

Page 35: ...th Audio Development Board User s Guide chap ter 5 0 Flash Update for details 4 Once programming is completed slide SW300 to position 1 to put the device into Application mode and change jumpers to Ho...

Page 36: ...source between I2 S and Aux in see Section 3 6 Audio Input 3 5 A2DP Source Mode By programming the BM83 with AT enabled firmware we can use the BM83 as an A2DP source or sink device The BM83 can work...

Page 37: ...To get the name along with the BT MAC ID of the nearby advertising sink devices it is recommended that the Device_Discovery 0x44 command include an Extended Inquiry Response EIR parameter If the syste...

Page 38: ...G CONFIG GUI TOOL 3 7 Mode Select The BM83 role can be changed from source to sink and vice versa by flipping the switch connected to GPIO in Embedded mode as shown in Figure 37 In Host mode it is rec...

Page 39: ...ogy Inc DS00003118C Page 39 AN3118 3 9 Dual Streaming The dual streaming feature can be enabled along with multi link enable in the Config GUI tool as shown in the following figure FIGURE 38 ENABLING...

Page 40: ...When connection with Rx_A is established high quality audio will be played on the Rx_A speaker headset FIGURE 39 DEPICTION OF HIGH QUALITY AUDIO STREAMING THROUGH RX_A SINK DEVICE 3 When Rx_B establi...

Page 41: ...ll be played on Rx_B Rx_A mute Rx_A and Rx_B and then play on both Rx_A and Rx_B and this will continue cycli cally see following figure FIGURE 41 AUDIO TOGGLING BM83 AT Headset Speaker Rx_A Rx_B Head...

Page 42: ...etting Embedded mode or Host mode IS2083 Turnkey v1 x Soft ware IS2083 Image MSPK2v1 y GFP For Embedded mode demo setup refer to Section 2 2 1 Embedded Mode Demo Setup and for Host mode demo setup ref...

Page 43: ...ays in line in mode Both Config GUI tools and UART command can enable the audio mixer and select one of the audio sources as an input Audio mixer mode is available in Standalone mode but not in Concer...

Page 44: ...ation perform the following steps 1 Connect the Android phone to the computer using a mini B USB connector FIGURE 44 USB TRANSFER Note The latest Android version Android 6 0 and higher does not show a...

Page 45: ...lder of the Android mobile device see Figure 45 FIGURE 45 DOWNLOAD FOLDER OF THE ANDROID DEVICE 3 From the File Manager of the mobile device select My Files All Files Download MBA3_x_Android apk After...

Page 46: ...ick OK to confirm the change see Figure 47 FIGURE 47 ENABLE INSTALLATION FROM UNKNOWN SOURCES 5 A message is displayed requesting whether to install an update to the existing application Click Install...

Page 47: ...e timeout is for 30 seconds A notification is displayed as This app needs location access click OK and then select Allow as illustrated in Figure 49 FIGURE 49 LOCATION ACCESS 7 Click SCAN to see the l...

Page 48: ...arameters Perform the following steps to customize the UI parameters 1 Open the Config GUI tool IS208x_Con fig_GUI_Tool vx xx exe from Tools Config Tool Click Load to load IS208x_UI_1 2 xy_Demo_Packag...

Page 49: ...2021 Microchip Technology Inc DS00003118C Page 49 AN3118 2 From the Config GUI tool click Edit see Figure 52 FIGURE 52 EDIT CONFIG PARAMETERS...

Page 50: ...DS00003118C Page 50 AN3118 3 A window is displayed a For Host mode select Host MCU Mode then click Next see Figure 53 b For Embedded mode select Embedded Mode then click Next see Figure 54 FIGURE 53 M...

Page 51: ...2021 Microchip Technology Inc DS00003118C Page 51 AN3118 FIGURE 54 MAIN FEATURE SETTINGS EMBEDDED MODE...

Page 52: ...pe If an internal codec is needed then select Internal codec in CODEC Output Type FIGURE 55 CHANGING CODEC OUTPUT TYPE 5 This step is needed only for Embedded mode Configure BM83 GPIOs to connect with...

Page 53: ...58 The MCLK is the Master Clock output provided to an external I2 S codec device to use as its system clock This signal is optional and is not required if the external I2 S device provides its own sy...

Page 54: ...2021 Microchip Technology Inc DS00003118C Page 54 AN3118 FIGURE 57 IS208X DSP CONFIGURATION TOOL...

Page 55: ...chnology Inc DS00003118C Page 55 AN3118 FIGURE 58 IS208X DSP CONFIGURATION TOOL I2 S PCM MODE SELECTION Note 1 Configure the I2 S for Host mode by selecting I2 S Mode as Master mode as illustrated in...

Page 56: ...2021 Microchip Technology Inc DS00003118C Page 56 AN3118 FIGURE 59 SAVING UI PARAMETERS 1 2...

Page 57: ...e directly pro grammed into the BM83 module by following the steps mentioned in the BM83 Bluetooth Audio Development Board User s Guide chapter 5 Firmware Update It is possible to update only this con...

Page 58: ...eps from B 1 Customizing UI Parameters The only difference is enabling Audio SRC and Voice SRC as illustrated in Figure 61 Click the CODEC Setup tab enable Audio SRC Voice SRC and then select CODEC Ou...

Page 59: ...rform all the steps from B 2 Customizing DSP Parameters 2 Select I2 S Mode as Slave mode to configure the I2 S for Client mode as illustrated in the fol lowing figure FIGURE 62 I2S IN CLIENT MODE C 3...

Page 60: ...power on off for an individual BM83 speaker Touch Power to turn on off the BM83 speaker as illustrated in Figure 63 If the power is turned off on the central speaker it switches off central and all th...

Page 61: ...1 AN3118 APPENDIX E AVRCP VERSION The AVRCP version 1 6 1 3 can be programmed as illustrated in Figure 64 The volume control is performed on the source in AVRCP v1 3 The absolute volume is sent to sin...

Page 62: ...crochip Technology Inc DS00003118C Page 62 AN3118 APPENDIX F ENABLE AAC CODEC AAC CODEC can be enabled or disabled from the CODEC Setup tab as illustrated in the following figure FIGURE 65 ENABLING AA...

Page 63: ...must collaborate with the Branded customer to apply for the license LDAC BLUETOOTH AUDIO STREAMING Most of the Sony mobiles and Android 8 x mobile devices support LDAC Bluetooth audio streaming Mobile...

Page 64: ...nology Inc DS00003118C Page 64 AN3118 FIGURE 66 BLUETOOTH SETTING PAGE 2 Go to Settings Sound and Notification Accessory Settings to select the LDAC quality selection as shown in Figure 67 FIGURE 67 L...

Page 65: ...page see Figure 68 FIGURE 68 BLUETOOTH DEVICE PAGE 2 If the user needs to test a particular LDAC parameter they can choose the LDAC options by enabling Developer Options on the Android phone In the Go...

Page 66: ...ts Bluetooth Audio Sample Rate a pop up is displayed for the list of sampling rates see Figure 70 FIGURE 70 AUDIO SAMPLE RATE b When the user selects Bluetooth Audio Bits Per Sample a pop up displays...

Page 67: ...ays the list of LDAC quality selections as shown below This page is similar to the Sony Xperia Z5 device Some mobile phones cannot handle the bandwidth when the highest LDAC bit rate is selected Selec...

Page 68: ...118C Page 68 AN3118 APPENDIX H AUX IN DETECTION Any one of the GPIOs on BM83 can be configured as AUX In input detector in embedded mode The below figure shows that P3_2 is configured for AUX In input...

Page 69: ...e GPIO on the BM83 can be configured for button functionalities in Embedded mode For example in BM83 EVB VOL UP button is connected to P2_7 pin of BM83 The below figures show P2_7 is configured for du...

Page 70: ...2021 Microchip Technology Inc DS00003118C Page 70 AN3118 FIGURE 75 BUTTON MAPPING FOR P2_7 IS CONFIGURED FOR VOLUME UP AND CONCERT MODE ENTRY...

Page 71: ...2021 Microchip Technology Inc DS00003118C Page 71 AN3118 FIGURE 76 MFB BUTTON FIGURE 77 GPIO P0_2 IS CONFIGURED FOR PLAY STOP...

Page 72: ...2021 Microchip Technology Inc DS00003118C Page 72 AN3118 FIGURE 78 GPIO P0_3 IS CONFIGURED FOR BACKWARD REWIND FUNCTIONALITY FIGURE 79 GPIO P0_1 IS CONFIGURED FOR FORWARD INITIATION...

Page 73: ...2021 Microchip Technology Inc DS00003118C Page 73 AN3118 FIGURE 80 GPIO P0_5 IS CONFIGURED FOR VOLUME DOWN AND STEREO MODE ENTRY...

Page 74: ...2021 Microchip Technology Inc DS00003118C Page 74 AN3118 FIGURE 81 GPIO P0_5 AND GPIO P2_7 ARE CONFIGURED FOR ADDING NEW PERIPHERAL IN CONCERT MODE...

Page 75: ...2021 Microchip Technology Inc DS00003118C Page 75 AN3118 APPENDIX J MULTI LINK Multi link feature can be enabled as shown in the following figure FIGURE 82 MULTI LINK 1 2 3...

Page 76: ...2021 Microchip Technology Inc DS00003118C Page 76 AN3118 APPENDIX K AUTO RECONNECTION Auto reconnection feature can be enabled as shown in the following figure FIGURE 83 AUTO RECONNECTION...

Page 77: ...teps OTA DFU is supported in both embedded and host mode L 1 Rehexing Upgradeable OTA Image Here are the steps for rehexings Start isUpdate tool Select 8051 dsp and config settings files as shown in F...

Page 78: ...2021 Microchip Technology Inc DS00003118C Page 78 AN3118 a Click Apply to start rehexing FIGURE 85 BM83 OTA DFU USE...

Page 79: ...oid MBA 1 Install file manager on an Android phone and copy the upgradeable image into the download folder as shown in the following figure 2 Power On IS2083BM then start the MBA app 3 Click on OTA an...

Page 80: ...c DS00003118C Page 80 AN3118 FIGURE 87 SELECTING OTA FILE 7 Click on UPDATE to start the upgrade as shown in the following figure FIGURE 88 UPGRADING OTA 8 Once the upgrade is successful the mobile di...

Page 81: ...enerating the rehex file using isUpdates tools L 1 Rehexing Upgradeable OTA Image the user can use iTunes to upload the rehex file to iOS Open iTunes and perform the following steps Select the File Sh...

Page 82: ...splay a list of available devices The user can select one of the devices to start the OTA DFU such as BM83 002 in the following diagram The application starts a BLE connection to the devices FIGURE 91...

Page 83: ...ECTION After choosing the files click Update then click OK on the popup to confirm FIGURE 93 START OF OTA DFU PROCESS The App starts initialization and displays the software version of the files The u...

Page 84: ...OTA DFU process starts with a progress bar The BM83 validates the images after finishing transmission The App also displays the validation result FIGURE 95 OTA DFU UPDATING AND VALIDATING Finally BM8...

Page 85: ...2021 Microchip Technology Inc DS00003118C Page 85 AN3118 FIGURE 96 OTA DFU COMPLETED...

Page 86: ...rochip Technology Inc DS00003118C Page 86 AN3118 APPENDIX M ENABLING DIGITAL MIC BM83 IS208x supports digital MIC Digital MIC can be enabled as shown in the following figure FIGURE 97 ENABLING DIGITAL...

Page 87: ...age 87 AN3118 APPENDIX N ENABLING AAC ENCODING IN CONCERT STEREO MODE MSPK supports Concert Stereo mode in SBC encoded audio AAC encoding is also supported by enabling the feature as shown in the foll...

Page 88: ...be enabled as shown in the following figure The Audio Effect Mask Selection is to select the combinations of audio effects that can be selected by checkboxes All Off MB DRC AW and All On Default Audio...

Page 89: ...on and tap OTA DSP Tuning BM83 see the follow ing figure to find the Bluetooth device and select the device from the list for tuning FIGURE 100 OTA DSP TUNING The following figure shows the functions...

Page 90: ...ollowing table shows the list of DSP and DUT sta tuses and their descriptions TABLE 5 2 DSP AND DUT STATUS DESCRIPTIONS Status Description DSP Status STANDBY DSP codec is on but idle and in this stage...

Page 91: ...I pages which allow a user to tune up the audio function parameters For example to tune the Audio Widening Level select the appropriate value for Audio Widening Level and the Tune DSP option will be e...

Page 92: ...FIGURE 105 DYNAMIC TUNING COMMANDS Reset Parameters Reload the parameters from Flash All the unsaved parameters will be Reset Reset DSP Reset DSP of the IS2083 Reset DUT Reset IS2083 8051 and DSP and...

Page 93: ...port DSP Tun ing Data in MBA application under Dynamic OTA DSP Tuning as shown in the following figure FIGURE 106 EXPORTING DSP PARAMETERS Upon successfully exporting a HEX file the fol lowing message...

Page 94: ...b as shown in the following figure FIGURE 108 ENABLING GFP USING CONFIG GUI TOOL 2 The default value of Tx Power is 27 dB and can be changed 3 Battery level can be Enabled Disabled 4 Advertising Data...

Page 95: ...for the MBA feature Device Name must be consistent with the Bluetooth device name and the maximum length is 8 Bytes The following figure shows the Scan Response Data Setting FIGURE 110 SCAN RESPONSE...

Page 96: ...oid phone to enable the Google Fast Pair feature For more details refer to https developers goo gle com nearby fast pair help debug_mod el_id 3 Go to Settings in your Android phone Google Device Conne...

Page 97: ...SP and Config settings or any combination of the three It is recommended that the image number reflect the combination 3 Click on Rehex and provide the output file name and click on Apply as shown the...

Page 98: ...2021 Microchip Technology Inc DS00003118C Page 98 AN3118 FIGURE 112 CREATING A REHEX FILE BY COMBINING THE IMAGES...

Page 99: ...utton as shown in following figure 3 Click the DFU tab 4 Click the Browse button then select the Rehexed file and click the Update button 5 Select the images in the DFU window then click on OK as show...

Page 100: ...2021 Microchip Technology Inc DS00003118C Page 100 AN3118 FIGURE 114 UPDATING BM83...

Page 101: ...1 AN3118 APPENDIX S BLUETOOTH CLASS OF DEVICE Bluetooth class of device CoD can be selected as shown in the following figure The user can set the CoD minor bytes for their product The default is set a...

Page 102: ...e GAC interval and sets 3 for the DAC interval there will be 10 seconds in the General grouping interval and 15 seconds in the Specific Grouping Interval FIGURE 117 MSPK SETUP WINDOW Under Host mode t...

Page 103: ...8C Page 103 AN3118 APPENDIX U I2S CLIENT WITH MCLK I2 S mode can be set to Host or Client mode I2 S MCLK can be enabled both in I2 S Host mode and I2 S Client mode in the Config GUI tool see following...

Page 104: ...tivated by MMI or Uart Command for Host mode and Auto activated after power on for Embedded mode By default the line in audio source is aux in Microphone input can be enabled by Enable MIC Loopback As...

Page 105: ...and digital mic can be selected in Microphone Settings Then the microphone will become the line in source and aux in will become inactive In host mode after disabling the line in function by 0x13 0x01...

Page 106: ...5 0 Audio Mixer Mode Added new chapter Appendix B Customizing UI and DSP Parameters Appendix C Configuring BM83 I2S Host Client Mode at 48 KHz Appendix U I2 S Client With MCLK Updated with the new te...

Page 107: ...er speaker Central Speaker Section 3 0 Audio Transceiver Solu tion is updated with the new terminol ogy Slave Speaker Peripheral Speaker I2S Master I2S Host Appendix B Customizing UI and DSP Parameter...

Page 108: ...r the Digital Age Any Capacitor AnyIn AnyOut Augmented Switching BlueSky BodyCom CodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEM dsPICDEM net Dynamic Average...

Page 109: ...300 China Xian Tel 86 29 8833 7252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 ASIA PACIFIC India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 9...

Reviews: