Hello
I'm trying to make 88w8987 bluetooth work on imx8 mini EVK
(imx8 mini has 88w8987 on the EVK board)
In UM11513, It guide that BT uart device name of linux for 88w8987 is 'ttymxc0' .
However, It isn't shown in /dev on my imx8 mini
In that I checked on boot messages, ttymxc0 seems to be registered
I can't do 'hciattach' to use Bluetooth because ttymxc0 is not
the kernel verions of yocto imx is 6.1.55
Please let me know if I did something wrong
Solved! Go to Solution.
Hi @tayjung !
Thank you for contacting NXP Support!
The UM11513 uses as an example an old BSP.
If you are using the kernel 6.1.55 please refer to chapter "11 Connectivity", in that chapter explains how to use the Bluetooth and Wifi module in the new BSP.
To run Wi-Fi, execute the following commands first and follow the common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit
To run NXP Bluetooth with BlueZ stack, execute the following commands (it requires load Wi-Fi first to load
Bluetooth firmware):
modprobe btnxpuart
hciconfig hci0 up
Run the following commands to connect the Bluetooth device for all chips:
$ bluetoothctl
[bluetooth]# default-agent
[bluetooth]# agent on
[bluetooth]# scan on
[bluetooth]# pair xx:xx:xx:xx:xx:xx
[BT dev]# connect xx:xx:xx:xx:xx:xx
[BT dev]# quit
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
Best Regards!
Chavira
Hi Chavira
I made it with your guide.
WiFi and Bluetooth work well on my im8 mini EVK.
Thank you so much for your guide
Regards
Tay
Hi @tayjung !
Thank you for contacting NXP Support!
The UM11513 uses as an example an old BSP.
If you are using the kernel 6.1.55 please refer to chapter "11 Connectivity", in that chapter explains how to use the Bluetooth and Wifi module in the new BSP.
To run Wi-Fi, execute the following commands first and follow the common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit
To run NXP Bluetooth with BlueZ stack, execute the following commands (it requires load Wi-Fi first to load
Bluetooth firmware):
modprobe btnxpuart
hciconfig hci0 up
Run the following commands to connect the Bluetooth device for all chips:
$ bluetoothctl
[bluetooth]# default-agent
[bluetooth]# agent on
[bluetooth]# scan on
[bluetooth]# pair xx:xx:xx:xx:xx:xx
[BT dev]# connect xx:xx:xx:xx:xx:xx
[BT dev]# quit
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
Best Regards!
Chavira