IMX8MP Android 11 Bluetooth AW-CM276NF Bring up - Android Bluetooth UI Issue

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8MP Android 11 Bluetooth AW-CM276NF Bring up - Android Bluetooth UI Issue

216 Views
VeeraH
Contributor I

Hi,

We are trying to bring up bluetooth on IMX8MP board over SDIO. We used the firmware - nxp/sdsd8997_combo_v4.bin on 88W8997 NXP WiFi / BT combo module. We got the drivers up and confirmed the same using hciconfig and hcitool utilities as below,

 

  • evk_8mp:/ # hciconfig                                                         
    hci0:   Type: SDIO
            BD Address: 00:E9:3A:9B:09:18 ACL MTU: 1021:7 SCO MTU: 120:6
            UP RUNNING
            RX bytes:7320 acl:0 sco:0 events:111 errors:0
            TX bytes:1251 acl:0 sco:0 commands:85 errors:0
  • evk_8mp:/ # hcitool scan                                                     
    Scanning ...
            9C:74:03:1E:65:8A       OPPO A16k

But we are getting crash dump, when we are trying with android UI bluetooth button and could not scan.

We dig into android source and found that there is only libbt android bluetooth hal layer is available based on UART only. There is no android bluetooth hal layer based on SDIO based bluetooth.

Please share your inputs on the following,

1. Whether any standard libbt is available to use => as we got hci0 created during driver loading

2. Whether any SDIO based libbt is available to use.

Thanks,

Veera.H.

 

0 Kudos
1 Reply

178 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi @VeeraH ,

see below, please!

~/android_11.0.0_2.6.0/hardware/nxp/libbt/conf/nxp/evk_8mp/bt_vendor.conf

----------------------------------------------------------

mchar_port = /dev/ttymxc0
pFileName_helper = /vendor/firmware/mrvl/helper_uart_3000000.bin
pFileName_image = /vendor/firmware/mrvl/uart8997_bt_v4.bin
baudrate_dl_helper = 115200
baudrate_dl_image = 3000000
iSecondBaudrate = 0
baudrate_fw_init = 115200
baudrate_bt = 3000000
enable_download_fw=0

----------------------------------------------------

Modify it like this:

mchar_port = /dev/mbtchar0

if you don't use combo firmware, but uart8997_bt_v4.bin,  

enable_download_fw=1

you had better confirm if the device mbtchar0 has been created in /dev .

 

Regards,

weidong

 

 

0 Kudos