SDIO Initialization Stuck on Custom Board with IW610 Module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDIO Initialization Stuck on Custom Board with IW610 Module

445 次查看
Amarnath_473
Contributor III

Hi all,

I am working on the MIMXRT1176 with a custom board and using MCUXpresso SDK v25.09 for a Bluetooth/Wi-Fi module based on the IW610 chip family.

Hardware Connections:

SDIO interface: SD_DATA0-3, SD_CMD, SD_CLK connected.

UART: Tx, Rx, and GND connected.

GPIO: WL_RST, SDIO_RST connected.

The module is powered via an external USB-C cable.

Software:

I am using the SDK example Wireless_uart for BLE.

I updated the macro in preprocessor section to:

WIFI_IW610_BOARD_MURATA_2LL_M2


When attempting to initialize the SDIO interface, the program gets stuck in a loop.

I have attached a screenshot of the code section where it hangs.

Could anyone suggest what could be causing this issue or provide guidance on proper SDIO initialization for the IW610 module on a custom board?

Thanks in advance,
Amar.

标记 (2)
0 项奖励
回复
6 回复数

419 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. By any chance, have you tried with our MIMXRT1170-EVKB? Are you seeing the same behavior?

Could you please confirm that you are using the 2LL Murata module?

 

Best Regards,

Ricardo

0 项奖励
回复

284 次查看
Amarnath_473
Contributor III

hi @Ricardo_Zamora ,

I have an update regarding my progress. The SDIO initialization is now working successfully, and I am attempting to download the firmware to the MAYA W476 module. However, I am encountering an issue in the function static fwdnld_intf_ret_t sdio_interface_send() within fwdnld_sdio.c. During execution, the length value is 16 for 2–3 iterations, after which an error occurs. I have attached an image for reference showing the exact point where it stops.

Additionally, I would like clarification: since both the Murata Type 2LL module and the MAYA-W4 are based on the IW610 chipset, can the same firmware provided for the Murata 2LL be used for the MAYA-W4 as well?

 

Best regards,

Amar.

标记 (3)
0 项奖励
回复

235 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello Amar,

 

By any chance, have you tested any other Wi-Fi example?

 

Best Regards,

Ricardo

0 项奖励
回复

218 次查看
Amarnath_473
Contributor III

Hi @Ricardo_Zamora ,

 

I have tested using the other example codes and encountered the same issue. While command transfers are responding correctly — confirmed using the following function, which returns a length of 16 or 17: in Wi-Fi client example.

t_u16 wlan_card_read_f1_base_regs(void)
{
t_u16 reg;
uint32_t resp = 0;

(void)sdio_drv_creg_read(READ_BASE_0_REG, 1, &resp);
reg = (t_u16)(resp & 0xFFU);
(void)sdio_drv_creg_read(READ_BASE_1_REG, 1, &resp);
reg |= (t_u16)((resp & 0xFFU) << 8);

return reg;
}


However, when attempting to send firmware data, the transfer fails within the SDMMCHOST_TransferFunction. The function detects a data transfer failure by using flags in else condition and sets error = kStatus_Fail.

I have attached an image of the function for your reference. Could you please provide guidance on how to resolve this data transfer issue?

Can we use same firmware which is provided for MURATA TYPE 2LL module to the MAYA W4 module because both are based on IW610 chipset family?

Thanks & regards,
Tarak.

0 项奖励
回复

354 次查看
Amarnath_473
Contributor III

For your clarification, the full part number of the Wi-Fi/BLE module is u-blox MAYA-W476, which is based on the NXP IW610 chipset.

If driver support is available, kindly guide me on the software changes required to enable support.

 

Best regards,

Amarnath.

标记 (2)
0 项奖励
回复

401 次查看
Amarnath_473
Contributor III

Hi @Ricardo_Zamora ,

Thank you for your reply.

1. I do not have the MIMXRT1170-EVKB, which is why I am working with a custom board.

2. I am currently using the u-blox MAYA-W4 module, which is based on the IW610 chip family, for Wi-Fi/BLE.

Could you please let me know that driver/firmware support is available for u-blox MAYA-W4?

Best regards,

Amar.

0 项奖励
回复