iMX8MM DDR4 EVK Bluetooth

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX8MM DDR4 EVK Bluetooth

1,849 Views
raajeshk88
Contributor III

I am using iMX8MM DDR4 EVK and imx-full-image from L4.14.98_ga_images. But the bluetooth adapter shows no device. I have the bluetooth modules/bluez in config file and the modules are available. I tried to add using hciattach as from https://community.nxp.com/thread/503438  but still no avail. Is there anything else we are missing. Thanks

root@imx8mmevk:~# bluetoothctl
Agent registered
[bluetooth]# devices
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]# power on
No default controller available
[bluetooth]# exit
root@imx8mmevk:~# hciconfig
root@imx8mmevk:~# hciattach /dev/ttymxc2 qca
qca
frame_hci_cmd_pkt: Sending EDL_PATCH_VER_REQ_CMD
HCI-CMD -1: 0x1 0x0 0xfc 0x1 0x19
read_vs_hci_event: Wait for HCI-Vendor Specfic Event from SOC
wait_for_data: Timing out on select for 3 secs.
hci_send_vs_cmd: Failed to get HCI-VS Event from SOC
Failed to attach the patch payload to the Controller!
qca_soc_init: Fail to get Rome Version (0xffffff92)

Initialization timed out.
root@imx8mmevk:~#
root@imx8mmevk:~# hciattach /dev/ttymxc0 qca
qca
frame_hci_cmd_pkt: Sending EDL_PATCH_VER_REQ_CMD
HCI-CMD -1: 0x1 0x0 0xfc 0x1 0x19
read_vs_hci_event: Wait for HCI-Vendor Specfic Event from SOC
wait_for_data: HCI-VS-EVENT available in TTY Serial buffer
read_vs_hci_event: Wait for HCI-Vendor Specfic Event from SOC, buf[0] - 0x4
It is not VS event !!
hci_send_vs_cmd: Failed to get HCI-VS Event from SOC
Failed to attach the patch payload to the Controller!
qca_soc_init: Fail to get Rome Version (0xffffff92)
Can't initialize device: Success

Regards,

Raajesh K

0 Kudos
4 Replies

1,593 Views
romitchatterjee
Contributor V

To quickly get started with Murata Wi-Fi/Bluetooth modules, you can refer to the Quick Start Guides, mentioned in this post on the Murata Forum: https://community.murata.com/s/article/Getting-Started-with-Murata-Wi-Fi-Bluetooth-modules.

 

0 Kudos

1,673 Views
jimmychan
NXP TechSupport
NXP TechSupport

Please check the i.MX_Linux_User's_Guide Chapter 10.1 for the details.

0 Kudos

1,673 Views
raajeshk88
Contributor III

Hi JimmyChan,

      Got the details from Cypress the actual command to use will be

hciattach /dev/ttymxc0 bcm43xx 3000000 flow -t 20

Thanks & Regards,

Raajesh K

0 Kudos

1,673 Views
raajeshk88
Contributor III

Hi Jimmychan,

         Thanks but the atcual hardware connected in my board is 1MW cypress. I am checking whether there is any difference bwtween Qualcomm 1PJ and Cypress 1MW settings. Could you please provide more infromation on these. Thanks

Regards,

Raajesh K

0 Kudos