JODY-W263-00A module not getting detected

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

JODY-W263-00A module not getting detected

383 Views
joyal
Contributor I

Hi,
I am using a JODY-W263-00A WiFI+Bluetooth module in iMX 8DXL custom board.
For this module, I have configured in dts file as follows:

pinctrl_usdhc2_gpio: usdhc2grpgpio { 
fsl,pins = <
IMX8DXL_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x00000021
IMX8DXL_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x00000021
IMX8DXL_ADC_IN5_LSIO_GPIO1_IO13 0x00000021
IMX8DXL_ADC_IN0_LSIO_GPIO1_IO10 0x00000021
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
IMX8DXL_ENET0_RGMII_RXC_CONN_USDHC1_CLK 0x06000041
IMX8DXL_ENET0_RGMII_RX_CTL_CONN_USDHC1_CMD 0x00000021
IMX8DXL_ENET0_RGMII_RXD0_CONN_USDHC1_DATA0 0x00000021
IMX8DXL_ENET0_RGMII_RXD1_CONN_USDHC1_DATA1 0x00000021
IMX8DXL_ENET0_RGMII_RXD2_CONN_USDHC1_DATA2 0x00000021
IMX8DXL_ENET0_RGMII_RXD3_CONN_USDHC1_DATA3 0x00000021
>;
};

With the above configuration, my WiFi module is not getting detected. When checked, the SD clock is 0Hz. So, I have changed the pad register values as below:

pinctrl_usdhc2_gpio: usdhc2grpgpio { 
fsl,pins = <
IMX8DXL_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x00000040
IMX8DXL_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x00000040
IMX8DXL_ADC_IN5_LSIO_GPIO1_IO13 0x00000040
IMX8DXL_ADC_IN0_LSIO_GPIO1_IO10 0x00000040
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
IMX8DXL_ENET0_RGMII_RXC_CONN_USDHC1_CLK 0x00000040
IMX8DXL_ENET0_RGMII_RX_CTL_CONN_USDHC1_CMD 0x00000040
IMX8DXL_ENET0_RGMII_RXD0_CONN_USDHC1_DATA0 0x00000040
IMX8DXL_ENET0_RGMII_RXD1_CONN_USDHC1_DATA1 0x00000040
IMX8DXL_ENET0_RGMII_RXD2_CONN_USDHC1_DATA2 0x00000040
IMX8DXL_ENET0_RGMII_RXD3_CONN_USDHC1_DATA3 0x00000040
>;
};

In this case, I am getting an SD clock of approximately 400kHz. But I am getting the below error continuously:
[ 52.546362] mmc1: Timeout waiting for hardware cmd interrupt.
[ 52.552129] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 52.558576] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00000002
[ 52.565019] mmc1: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000001
[ 52.571465] mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 52.577912] mmc1: sdhci: Present: 0x000d8009 | Host ctl: 0x00000001
[ 52.584358] mmc1: sdhci: Power: 0x00000000 | Blk gap: 0x00000080
[ 52.590804] mmc1: sdhci: Wake-up: 0x00000008 | Clock: 0x000010ff
[ 52.597250] mmc1: sdhci: Timeout: 0x00000080 | Int stat: 0x00000000
[ 52.603696] mmc1: sdhci: Int enab: 0x007f1003 | Sig enab: 0x007f1003
[ 52.610142] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[ 52.616589] mmc1: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407
[ 52.623034] mmc1: sdhci: Cmd: 0x00000502 | Max curr: 0x00ffffff
[ 52.629479] mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 52.635925] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 52.642371] mmc1: sdhci: Host ctl2: 0x00000000
[ 52.646820] mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 52.653265] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[ 52.660841] mmc1: sdhci-esdhc-imx: cmd debug status: 0x3180
[ 52.666505] mmc1: sdhci-esdhc-imx: data debug status: 0x3200
[ 52.672254] mmc1: sdhci-esdhc-imx: trans debug status: 0x3300
[ 52.678094] mmc1: sdhci-esdhc-imx: dma debug status: 0x3400
[ 52.683757] mmc1: sdhci-esdhc-imx: adma debug status: 0x3500
[ 52.689508] mmc1: sdhci-esdhc-imx: fifo debug status: 0x3680
[ 52.695259] mmc1: sdhci-esdhc-imx: async fifo debug status: 0x3750
[ 52.701532] mmc1: sdhci: ============================================


What is this error? What I am doing wrong here? What pad register value I should provide here?

I have attached the boot log here. Can anyone please help me on the above?

0 Kudos
1 Reply

363 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Unfortunately as you may know the i.MX8XL family it is not released yet, still in pre-production stage, so there is no full support for it. Sorry for the inconvenience and for any problem this may cause.

Best regards, 
Aldo.

0 Kudos