Friday 7 May 2021

BM83 how-to s

Microchip made new module BM83, and finally all configuration make sort of sense :)

if you have your boards with bm83 (or you have one from me) connect module to your computer using usb cable:




download and extract https://ww1.microchip.com/downloads/en/DeviceDoc/IS2083_Turnkey_1.2.0.zip

lets update module with latest firmware



go to IS2083 Turnkey_1.2.0\Tools\isupdate fire up isupdate.exe

1) select port USB HID, baudrate 115200 number of banks: 3, memory type flash ande subtype serial flash

2) hit connect 

3) section "Flash update/dump" select upper browse and browse to IS2083 Turnkey_1.2.0\Software\IS2083 Image\MSPK2v1.3\GFP

4) select all 3 files

5) hit update

6) in popup select if you like to preserve information about paired devices, select what you like :)

7) after update in status window you will have something like "End of Write Memory! Elapsed time: blalbla second"

8) hit disconnect 

9) reset module

how-to change setting on BM83


1) go to IS2083 Turnkey_1.2.0\Tools\Config Tool

2) fire up IS208x_Config_GUI_Tool v1.3.08.exe (hit OK on 1st popup)

3) select MSPKv2_GFP(Google Fast Pair) or _PBAP -> will enable pbap profile, microchip pdf (BM83-Bluetooth-Audio-Development-Board-User-Guide-DS50002902B,pdf) suggest to load is208x_config_default_table.ini from same directory both works, hit edit 

For more info about profiles and supported features check "IS2083/BM83 Bluetooth ® Applications Design Guide/AN3118"

 

4) select host/embedded mode: host=> you are going to use mcu for controlling codec, embedded you are going to use buttons?, correct? I did not test this)

5) press next

6) [Sys Setup1] select power switch typ (mfb or power on directly, or cmd from MCU)

7) [Sys Setup2] CHANGE NAME,bt class of device, report battery status to smartphone (disable if using in some non battery project)

8) [CODEC] speaker output -> read help!, CODEC type->internal!!!! if not using i2s module, disable digital mic if you like to use analog one

9) press finish

10) setup your DSP if you like, i did not play with it :) so I simply closed pop-upped window with dsp configuration

11) hit save, select folder and type nice name for your config, you will need it in second

12) press exit and then press NO!!!

go to IS2083 Turnkey_1.2.0\Tools\isupdate fire up isupdate.exe

1) select port USB HID, baudrate 115200 number of banks: 1, memory type flash and subtype serial flash
2) hit connect
3) section "Flash update/dump" select upper browse and find your previously created config, hit Open and then hit Update
4) in popup select if you like to preserve information about paired devices, select what you like :)
5) after update in status window you will have something like "End of Write Memory! Elapsed time: blalbla second"
hit disconnect, reset module and it should works

 

Arduino library for BM83

and it works with my is2020 library!! 

Module info:BT module name: KOVOBM83
BT module addr: 34:81:F4:75:C8:DD
Paired devices:  
1. 0:0:0:0:0:0
2. 0:0:0:0:0:0
3. 0:0:0:0:0:0
 
Connected state with HP and A2DP profile connected
Disconected!
 
       UART version:  
0
        flash version: 0
          rom version: 0
    flash sub version: 0
flash control version: 0
 
      BT FW version:  
0
        flash version: 0
          rom version: 0
    flash sub version: 0
flash control version: 0
=================================
Device 0info:
A2DP profile signaling channel connected
A2DP profile stream channel connected
AVRCP profile connected
HF profile connected
 
Name: Kovo's S9
Music Status: STOP
Streaming
Battery level dev0: 0/0
current signal strength : 0/0
=================================
Device 1info:
Disconnected
 
Name:  
Music Status: STOP
No stream
Battery level dev0: 0/0
current signal strength : 0/0
Title: Eiffel 65 - Blue (Hardstyle Remix By Team Blue) [MONKEY TEMPO]
Artist: TeknoTimmy
Albun:  
Track: 1
Number of tracks: 1
Genre:  
Duration: 3:1
1:48
....
2:6
Title: Armin Van Buuren - Blah Blah Blah (MeLoX Hardstyle Bootleg)
Artist: MeLoX “MeLoX”
Albun:  
Track: 1
Number of tracks: 1
Genre:  
Duration: 3:30
0:1
......
3:30

Title: Alice Cooper - Poison (Axizz Hardstyle Bootleg) *FREE TRACK*
Artist: DJ Axizz
Albun:  
Track: 1
Number of tracks: 1
Genre:  
Duration: 5:24
0:3
....
 
EDIT: so I bricked my module, or actually uploading firmware over USB bricked it

EDIT2: ok, i fix it, here is

how-to unbrick BM83 module:

 
1) connect usb2serial adapter to pins TX and RX (I use my upload sketch  in stm32 bluepill because for some reason microchip software is detecting it as serial port, for example cp2102 is not detected as com port...), connect ground of adapter to module, connect adapter to computer

2) connect bm83 module pin P3_4 to ground

4) fire up isUpdate, select com port, select baud rate 1152000 and 3 banks, 

3) connect usb cable to module/reconnect it, reset is not working
 
5) hit connect in isUpdate utility
 
6) use browse button in update part of program and select 3 hex image files (for example IS2083 Turnkey_1.2.0\Software\IS2083 Image\MSPK2v1.3\GFP)
 
7)hit update
 
8) give yourself a beer or coffee and wait, for around 118seconds