imx8mm mini evk board bluetooth communication issue

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

imx8mm mini evk board bluetooth communication issue

700 Views
anilpathrut
Contributor I

Hi,

Here we are using imx8mm mini evk board for bluetooth communication with other bluetooth devices

we are using below procedure for bluetooth communication.

for bluetooth pairing:

               1.modprobe moal mod_para=nxp/wifi_mod_para.conf
               2.hciattach /dev/ttymxc0 any 115200 flow
               3.hciconfig
               4.hciconfig hci0 up
               5.hciconfig
               6.bluetoothctl
               7.scan on
               8.pair 7C:9E:BD:4C:56:AE
               9.trust 7C:9E:BD:4C:56:AE
               10.quit
               11.rfcomm bind hci0 7C:9E:BD:4C:56:AE
               12.echo -n -e 1 > /dev/rfcomm0
after this we are getting below error
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
root@imx8mm-lpddr4-evk:~#
 
when go for second time after reboot
we trying below commands because imx8mm mini evk board is already paired after this below command executing for data transmission 
 
modprobe moal mod_para=nxp/wifi_mod_para.conf
hciattach /dev/ttymxc0 any 115200 flow
hciconfig hci0 up
hciconfig hci0 up
hciconfig
rfcomm bind hci0 7C:9E:BD:4C:56:AE
echo -n -e 1 > /dev/rfcomm0
 
here we able to transmit data through bluetooth.
 
but again reboot imx8mm mini evk board using below same command for data transmission 
 
modprobe moal mod_para=nxp/wifi_mod_para.conf
hciattach /dev/ttymxc0 any 115200 flow
hciconfig hci0 up
hciconfig hci0 up
hciconfig
rfcomm bind hci0 7C:9E:BD:4C:56:AE
echo -n -e 1 > /dev/rfcomm0
 
but this time it is not transmitting data giving same below error which we faced first time 
 
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
root@imx8mm-lpddr4-evk:~# echo -n -e 1 > /dev/rfcomm0
-sh: /dev/rfcomm0: Cannot allocate memory
 
we checked for data transmission consistency , some time it is working and some time not working.
 
we have no idea why it is happening some time transmitting data and some time not.
 
why it is happening some time transmitting data and some time not.
 
Please suggest
 
 
 
0 Kudos
2 Replies

681 Views
anilpathrut
Contributor I

Hi,

waiting for the reply.

 

Thanks 

0 Kudos

671 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anil

 

nxp officially supports 88W8987 Wi-Fi/Bluetooth SoC in BSPs as described in  i.MX Linux Release Notes

One can test its functionality using UM11513 Getting Started with 88W8987-based Wireless Module

https://www.nxp.com/products/wireless/wi-fi-plus-bluetooth/2-4-5-ghz-dual-band-1x1-wi-fi-5-802-11ac-...

For issues with other chips may be recommended to apply to tech support of vendors of these chips.

 

Best regards
igor

0 Kudos