Hello,
I'm trying to communicate with my MAYA Bluetooth device
I have connect it to UART9 on my board, setup the device tree correct :
but still can't see the device when I try to use HCITOOL
2 questions:
1. is the config correct?
2. what should be the MAYA pins to allow BT ?
blt_rst = 0 , blt_wkp = 1 pwr_enable=1, wifi_ble_disable = 0
did I miss something ?
I'm using SAMA5d27 by Microchip running linux4sam 6.1
I'm trying to run MAYA-W1 BT\Wireless device
after digging I understand I need to upload the firmware to the device after boot, but I can't seem to understand how to do it
when I connect to the UART port of the MAYA (which use for BT) I can see "Heartbeat" of 3 bytes every 1 seconds.
from google I understand it's waiting to firmware to be upload - but I couldn't find how to upload the image .
also I understand that the firmware is used for both BT and WiFi and I can't work only with BT (this is not mention any where...)
so maybe you know this and can help me with the firmware installtion ?
Thanks ,
Thanks for the reply.
I would recommend you to take a look to this webpage in which you will find more information related to the module and EVK.
Regarding the FW, please take a look to the following GitHub repositories in which you will find Wi-Fi Firmware and Wi-Fi Driver.
Regards,
Daniel.
I have done everything it said in the manual
still unable to connect
just to see I understand correct:
1.The WiFi and the BT work together - there is no only BT firmware ?
2. I must upload to the device the firmware in order to make it work , if I don't do this nothing will work
no BT and no WiFi? so the name "Wifi driver\firmware" is not correct - it should be WiFi&BT firmware?
I think this is confusing .....
3. If I get the "Heartbeat" when I try to connect to the BT using UART - it mean that the device is power, but no firmware is uploaded ?
4. Can it be that the problem is that the SDIO line is not config correct in the Device_Tree? I understand I need to setup the config to support WiFI and not leave it as MMC SDIO ?(this is not written anywhere)
Thanks ,
I’m sorry if I wasn’t clear.
In the FW GitHub I shared with you, in tag lf-6.6.3-1.0.0, if we take IW416 as example and we take a look to the following directory imx-firmware/nxp/FwImage_IW416_SD you will find 3 different firmwares.
The one named “sdiouartiw416_combo_v0.bin” will work for both Wi-Fi and BT. Please notice that SDIO will be used for Wi-Fi and UART for BT.
The other 2 FWs, are specific to each protocol.
In terms of the driver, it is the same for both Wi-Fi and Bluetooth. We name it WLAN driver or Wi-Fi driver though.
I would recommend you to take a look to the Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS. This is available in the IW416 documentation.
Please take a look to the whole document, specially to Section 5 and 6.
Please note this guide is for an i.MX8MQ-EVK running the i.MX Linux BSP. But I really think it will help you to clear out most of your doubts.
Regards,
Daniel.
OK ,
to summarize
if the SDIO line isn't working - I won't be able to load the bin file to the module , and it won't work.
I need to "play" with the device tree until I will see "HIGH SPEED MMC......." connected to the unit
is this correct ?
so , can I ask from you 2 things:
1. send me a working Device_Tree configuration for the SDIO ( I will try to compare with what I have and see what is wrong )
2. show me the "On" status for the device , meaning : what should be on every pin of the module so it will be "Online" and waiting for upload
I want to make sure there is no Hardware \ power issue
Thanks ,
I just tried this with an i.MX 8M Mini EVK running the NXP Linux BSP 6.1.22 using the EVK-MAYA-W161.
I was able to load the drivers and FW correctly, please find my logs:
NXP i.MX Release Distro 6.1-mickledore imx8mqevk ttymxc0
imx8mqevk login:
imx8mqevk login:
imx8mqevk login:
imx8mqevk login: root
root@imx8mqevk:~# uname -r
6.1.22+g66e442bc7fdc
root@imx8mqevk:~# [ 19.938640] platform sound-ak4458: deferred probe pending
[ 19.944078] platform sound-ak5558: deferred probe pending
root@imx8mqevk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 23.940586] mlan: loading out-of-tree module taints kernel.
[ 23.968462] wlan: Loading MWLAN driver
[ 23.972989] wlan: Register to Bus Driver...
[ 23.977490] vendor=0x02DF device=0x9159 class=0 function=1
[ 23.983123] Attach moal handle ops, card interface type: 0x108
[ 23.989052] rps set to 0 from module param
[ 23.993831] SDIW416: init module param from usr cfg
[ 23.998772] card_type: SDIW416, config block: 0
[ 24.003318] cfg80211_wext=0xf
[ 24.006295] max_vir_bss=1
[ 24.008929] cal_data_cfg=none
[ 24.011896] ps_mode = 1
[ 24.014360] auto_ds = 1
[ 24.016821] host_mlme=enable
[ 24.019702] fw_name=nxp/sdiouartiw416_combo_v0.bin
[ 24.024517] SDIO: max_segs=128 max_seg_size=65535
[ 24.029238] rx_work=1 cpu_num=4
[ 24.032402] Attach mlan adapter operations.card_type is 0x108.
[ 24.039194] wlan: Enable TX SG mode
[ 24.042702] wlan: Enable RX SG mode
[ 24.048210] Request firmware: nxp/sdiouartiw416_combo_v0.bin
[ 24.713415] Wlan: FW download over, firmwarelen=570928 downloaded 570928
[ 25.982396] WLAN FW is active
[ 25.985391] on_time is 25981284400
[ 26.021559] fw_cap_info=0x187ccf03, dev_cap_mask=0xffffffff
[ 26.027168] max_p2p_conn = 8, max_sta_conn = 8
[ 26.050163] Register NXP 802.11 Adapter mlan0
[ 26.057684] Register NXP 802.11 Adapter uap0
[ 26.070710] Register NXP 802.11 Adapter wfd0
[ 26.077796] wlan: version = SDIW416---16.92.21.p84.3-MM5X16391.p3-GPL-(FP92)
[ 26.086672] wlan: Register to Bus Driver Done
[ 26.091691] wlan: Driver loaded successfully
root@imx8mqevk:~# [ 33.760706] VGEN1: disabling
[ 33.764158] VGEN6: disabling
By any chance have you reached U-Blox to talk about this situation?
Regards,
Daniel.
I have found the problem
now everything is working
Thank you !!!!!!
now I can connect to the BT , publish my name - connect to it
now I need to build the app is needed.
thank you
Hi,
Could you please help me with the following information?
- What host are you using?
- Are you using a custom board?
- What OS version are you using?
- What Wi-Fi FW and driver are you using?
Regards,
Daniel.