Using imx93 A0 EVK ( Yocto version 6.1.22) connection the WIFI/BT Module (Ublox W374) through SDIO (usdhc2, EVK SD Card) & UART. (LPUART3).
Bluetooth not working, have below error.
1. Load WIFI/BT combine F/W.
root@imx93evk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 25.344076] mlan: loading out-of-tree module taints kernel.
[ 25.374698] wlan: Loading MWLAN driver
[ 25.381476] wlan: Register to Bus Driver...
[ 25.386572] vendor=0x02DF device=0x914D class=0 function=1
[ 25.392570] Attach moal handle ops, card interface type: 0x106
[ 25.398723] rps set to 0 from module param
[ 25.404717] SD9098: init module param from usr cfg
[ 25.409591] card_type: SD9098, config block: 0
[ 25.414619] cfg80211_wext=0xf
[ 25.417864] max_vir_bss=1
[ 25.420739] cal_data_cfg=none
[ 25.423942] ps_mode = 1
[ 25.426400] auto_ds = 1
[ 25.429285] host_mlme=enable
[ 25.432436] fw_name=nxp/sdiouart9098_combo_v1.bin
[ 25.437411] SDIO: max_segs=128 max_seg_size=65535
[ 25.442379] rx_work=1 cpu_num=2
[ 25.445789] Attach mlan adapter operations.card_type is 0x106.
[ 25.452313] wlan: Enable TX SG mode
[ 25.456251] wlan: Enable RX SG mode
[ 25.463792] Request firmware: nxp/sdiouart9098_combo_v1.bin
[ 25.758523] Wlan: FW download over, firmwarelen=848960 downloaded 697060
[ 26.043803] WLAN FW is active
[ 26.046788] on_time is 25875162886
[ 26.065651] VDLL image: len=151900
[ 26.069303] fw_cap_info=0xc8fcefa3, dev_cap_mask=0xffffffff
[ 26.074912] max_p2p_conn = 8, max_sta_conn = 64
[ 26.104494] Register NXP 802.11 Adapter mlan0
[ 26.109815] wlan: uap%d set max_mtu 2000
[ 26.124404] Register NXP 802.11 Adapter uap0
[ 26.148390] Register NXP 802.11 Adapter wfd0
[ 26.156632] wlan: version = SD9098----17.92.1.p136.24-MM5X17391.p3-GPL-(FP92)
[ 26.169805] vendor=0x02DF device=0x914E class=0 function=2
[ 26.180900] Attach moal handle ops, card interface type: 0x106
[ 26.191716] rps set to 0 from module param
[ 26.207848] SD9098: init module param from usr cfg
[ 26.212737] card_type: SD9098, config block: 1
[ 26.231288] cfg80211_wext=0xf
[ 26.234527] max_vir_bss=1
[ 26.243069] cal_data_cfg=none
[ 26.246126] ps_mode = 1
[ 26.248599] auto_ds = 1
[ 26.251050] host_mlme=enable
[ 26.255013] fw_name=nxp/sdiouart9098_combo_v1.bin
[ 26.259833] SDIO: max_segs=128 max_seg_size=65535
[ 26.265195] rx_work=1 cpu_num=2
[ 26.268447] Attach mlan adapter operations.card_type is 0x106.
[ 26.280025] wlan: Enable TX SG mode
[ 26.283521] wlan: Enable RX SG mode
[ 26.331944] Request firmware: nxp/sdiouart9098_combo_v1.bin
[ 26.342443] WLAN FW already running! Skip FW download
[ 26.350821] WLAN FW is active
[ 26.353842] on_time is 26182217136
[ 26.357685] VDLL image: len=151900
[ 26.361386] fw_cap_info=0x68fcefa3, dev_cap_mask=0xffffffff
[ 26.370296] max_p2p_conn = 8, max_sta_conn = 64
[ 26.387201] Register NXP 802.11 Adapter mmlan0
[ 26.392514] wlan: muap%d set max_mtu 2000
[ 26.401231] Register NXP 802.11 Adapter muap0
[ 26.424070] Register NXP 802.11 Adapter mwfd0
[ 26.428540] wlan: version = SD9098----17.92.1.p136.24-MM5X17391.p3-GPL-(FP92)
[ 26.443031] wlan: Register to Bus Driver Done
[ 26.447505] wlan: Driver loaded successfully
2. modprobe btnxpuart ==> Fail
Bluetooth: hci0: Opcode 0x c03 failed:-110
Bluetooth: hci0:Setting wake-up method failed(-110)
3. hciconfig hci0 up ==> Fail
Bluetooth: hci0: Opcode 0x c03 failed:-110
Can’t init device hci0: Connection timed out (110)
Bluetooth: hci0:Setting wake-up method failed(-110)
Hi Weidong,
Thank you for your replay.
The sai3 is masked in our dtsi and still have this problem.
I'll sent the dts file to your personal email for check. Thank you.
Linda
Dear @lindachang0407 ,
Yes, I got your dts file, and checked your change, no problem.
Let us discuss it in email.
Regards,
weidong
Hi Weidong,
Follow your suggestiveness and have the same problem.
Is the i.mx93 not support W374 (88Q9098) SDIO/UART driver?
1. Current desing follow
iMX93 side 88Q9098 side
GPIO_IO14(LPUART3_TX)(Ouput)------------------->BT_UART_RX
GPIO_IO15(LPUART3_RX)(Input)<-------------------BT_UART_TX
GPIO_IO16(LPUART3_CTS_B)(Input)<--------------BT_UART_RTS
GPIO_IO17(LPUART3_RTS_B)(Ouput)------------->BT_UART_CTS
2. The NVCC_GPIO = 3.3V & I measure the voltage is 3.3V.
3. The dtsi config is same as yours.
Linda
Hello @lindachang0407 ,
Sorry! forgot to confirm if these 4 GPIO pins are occupied. See below, please!
============================================
......
Hi Weidong,
1. Using Ublox JODY-W374 EVK
2. LPUART3 using GPIO_IO14~17
Other information is sent to your personal email. Thank you. Please help to check, Thank you.
Linda
Hello @lindachang0407 ,
See below, please!
================================================================
Dear @lindachang0407 ,
Could you please help to confirm these information?
1. u-blox W374
Is it this one?
or this one?
If you are using "EVK-JODY-W374 Evaluation kit for JODY-W374" , please send user's guide / datasheet or other materials to me!
Then let us discuss the issue.
2. LPUART3 of i.MX93 EVK
please tell me LPUART3 PADS you are using, this can help to check device tree of i.MX93!
Here is my personal email, weidong.sun@nxp.com
Materials can be sent to my email directly!
Thanks!
Regards,
weidong