Issues with NXP 8997 Chip Bluetooth Configuration on IMX EVK8MP - Android 13

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issues with NXP 8997 Chip Bluetooth Configuration on IMX EVK8MP - Android 13

141 Views
rikinrshah
Contributor II

Hi,

I am currently using the NXP 8997 chip on Android 13 with the libbbt library and the sdiouart8997_combo_v4.bin file for both Bluetooth and Wi-Fi functionality. While the Wi-Fi is working correctly, I am encountering several issues with Bluetooth (baudrate_bt = 115200), such as audio glitches and connection problems with Android phones.

  • Problem 1: Changing Bluetooth Baud Rate
    I suspect that the issues may be due to a low baud rate (115200). I attempted to update the Bluetooth baud rate to 3M, but Bluetooth stopped working and would not turn on. Here are the configuration details I used:

 

mchar_port = /dev/ttymxc3
#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 = 115200
#iSecondBaudrate = 0
#baudrate_fw_init = 115200
baudrate_bt = 3000000
is_uart_port=1
enable_download_fw=0​

 

  • Problem 2: Using Separate Firmware Files for Wi-Fi and Bluetooth
    Since the above method didn't work, I tried replacing the combo file with separate firmware files for Wi-Fi and Bluetooth. Here are the modified configuration details:

 

mchar_port = /dev/ttymxc3
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
is_uart_port=1
enable_download_fw=1​

 

In this case, the helper firmware (helper_uart_3000000.bin) loads successfully, but the main firmware (uart8997_bt_v4.bin) fails to load, giving the error: 

 

"fw_upload_WaitForHeaderSignature(L457): fw_upload_WaitForHeaderSignature Timeout, Header Received: 0xfe, timeout 1000, elapsed time 1002"

 

If I attempt to load the main firmware without the helper firmware, it loads successfully but then the process looks for the pFilename_fw_init_config_bin file, which I do not have.


Request for Assistance

Could you please help me understand why updating the baud rate to 3M causes Bluetooth to stop working and why the main firmware fails to load when using the separate firmware files? Any guidance on resolving these issues would be greatly appreciated.

FW images sdiouart8997_combo_v4.bin, uartuart8997_bt_v4.bin, and, helper_uart_3000000.bin are attached herewith for your reference.

Thank you!

Regards,
Rikin

0 Kudos
2 Replies

61 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @rikinrshah

Thank you for contacting NXP Support.

Could you please confirm if you are using our EVK or a custom board?

0 Kudos

32 Views
rikinrshah
Contributor II

Hi, 

I am using Toradex Verdin imx8mp.

0 Kudos