Use iMX8MM evk M.2 Port for a Murata 1MW wifi-ble module

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

Use iMX8MM evk M.2 Port for a Murata 1MW wifi-ble module

Jump to solution
4,058 Views
camille_marigni
Contributor II

Hi, this is my first post on NXP website, so I hope I'll format well my post.

I am working on the iMX8MM evk board, and have bought Murata 1MW modules that are sold by Embedded Artist.

I don't have their custom eval board, but only the official NXP Board.

Would it be possible to modify the device tree so that we are not using the 1PJ onboard Wifi module, and using the M.2 connected 1MW  instead ? I need SDIO for Wi-Fi management and Uart for Bluetooth support.

I already saw that SDIO pins are available as Test Points on the port. It should works fine with some work. But I wanted a confirmation first.

Thanks in advance,

BR,

Camille M.

1 Solution
3,466 Views
romitchatterjee
Contributor V

Hello Camille,

Sorry I missed the fact that you are using NXP 8MMini EVK. Yes, you are right, this EVK does not support SDIO on the M.2 interface, just PCIe. This is why only the Murata 1CX module works here, as that module is PCIe based. The Embedded Artists' EVK supports both SDIO and PCIe however (iMX8M Mini uCOM - Embedded Artists ), and I believe the newer models also come with 1MW included.

View solution in original post

10 Replies
1,756 Views
vinayharitsakp1
Contributor III

Hi I am using an iMX8MM Mini lpddr4 cpu2 EVK board.  I intend to connect the Murata uSD to M.2 connector  Rev A board to microSD card slot of the iMX8MM mini EVK board and connect CYW54591 on M.2 connector of murata.

I have made the connections for this board based on Section 6.3 of this link.

https://www.murata.com/-/media/webrenewal/products/connectivitymodule/asset/pub/rfm/data/murata_user...

Does MicroSD card slot of iMX8MM support reconfiguration of SDIO or SDMMC on microSD card slot?

I am getting the following issues from when  make the setup as described above.

[  257.866450] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  257.874020] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  257.879679] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  257.885425] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  257.891258] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  257.896918] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  257.902664] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  257.908410] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  257.914676] mmc1: sdhci: ============================================
[  267.999635] mmc1: Timeout waiting for hardware cmd interrupt.
[  268.005392] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  268.011835] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[  268.018275] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000001
[  268.024717] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000000
[  268.031158] mmc1: sdhci: Present:   0x00688009 | Host ctl: 0x00000001
[  268.037597] mmc1: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
[  268.044037] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x000010ff
[  268.050477] mmc1: sdhci: Timeout:   0x0000008e | Int stat: 0x00000000
[  268.056917] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[  268.063358] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[  268.069799] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[  268.076240] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[  268.082680] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]:  0x00000000
[  268.089120] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  268.095561] mmc1: sdhci: Host ctl2: 0x00000000
[  268.100005] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  268.106446] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  268.114015] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  268.119677] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  268.125423] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  268.131256] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  268.136915] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  268.142661] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  268.148407] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  268.154673] mmc1: sdhci: ============================================

Request you to share any inputs in this regard.

0 Kudos
3,466 Views
romitchatterjee
Contributor V

Hello Camille

You can take a look at this post for similar issue: CYW43455 with i.MX8M Mini | Cypress Developer Community 

Also, in addition to the dts files that get generated by following the Murata Linux Quick Start Guide, you can also take a look at the dts files used by Embedded Artists for their i.MX 8MMini evks; they support both SDIO and PCIe interconnect: https://github.com/embeddedartists/linux-imx/blob/ea_4.14.78/arch/arm64/boot/dts/freescale/

Thanks.

0 Kudos
3,466 Views
camille_marigni
Contributor II

Thanks for the links, I did read that. But after further hardware testing, it appears that the M.2 port SDIO is not connected to the chip throught SDK. I think that I can't manage to do something out of the EVK. 

Best Regards,

Camille

0 Kudos
3,467 Views
romitchatterjee
Contributor V

Hello Camille,

Sorry I missed the fact that you are using NXP 8MMini EVK. Yes, you are right, this EVK does not support SDIO on the M.2 interface, just PCIe. This is why only the Murata 1CX module works here, as that module is PCIe based. The Embedded Artists' EVK supports both SDIO and PCIe however (iMX8M Mini uCOM - Embedded Artists ), and I believe the newer models also come with 1MW included.

1,767 Views
vinayharitsakp1
Contributor III

Hi I am using an iMX8MM Mini lpddr4 cpu2 EVK board.  I intend to connect the Murata uSD to M.2 connector  Rev A board to microSD card slot of the iMX8MM mini EVK board and connect CYW54591 on M.2 connector of murata.

I have made the connections for this board based on Section 6.3 of this link.

https://www.murata.com/-/media/webrenewal/products/connectivitymodule/asset/pub/rfm/data/murata_user...

Does MicroSD card slot of iMX8MM support reconfiguration of SDIO or SDMMC on microSD card slot?

I am getting the following issues from when  make the setup as described above.

[  257.866450] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  257.874020] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  257.879679] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  257.885425] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  257.891258] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  257.896918] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  257.902664] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  257.908410] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  257.914676] mmc1: sdhci: ============================================
[  267.999635] mmc1: Timeout waiting for hardware cmd interrupt.
[  268.005392] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  268.011835] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[  268.018275] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000001
[  268.024717] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000000
[  268.031158] mmc1: sdhci: Present:   0x00688009 | Host ctl: 0x00000001
[  268.037597] mmc1: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
[  268.044037] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x000010ff
[  268.050477] mmc1: sdhci: Timeout:   0x0000008e | Int stat: 0x00000000
[  268.056917] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[  268.063358] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[  268.069799] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[  268.076240] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[  268.082680] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]:  0x00000000
[  268.089120] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  268.095561] mmc1: sdhci: Host ctl2: 0x00000000
[  268.100005] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  268.106446] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  268.114015] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  268.119677] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  268.125423] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  268.131256] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  268.136915] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  268.142661] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  268.148407] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  268.154673] mmc1: sdhci: ============================================

Request you to share any inputs in this regard.

0 Kudos
3,466 Views
camille_marigni
Contributor II

Hi Romit,

Well thanks a lot, I'll look to the embedded artist EVK then.  

Best Regards,

Camille M.

0 Kudos
3,466 Views
flouveau
Contributor II

Hi Camille,

Maybe you can have a look to the M2 to SD adapter from Murata (https://wireless.murata.com/usd-m2.html ).

This exposes the SDIO as SD connector, and for bluetooth, I think you have some pins to connect expansion board of imx8mmevk.

After this, you can add murata layer in yocto, and with some DTS modification, this should/could work. (NOT TESTED)

Best regards

Fabrice

0 Kudos
1,732 Views
vinayharitsakp1
Contributor III

Hi I am using an iMX8MM Mini lpddr4 cpu2 EVK board.  I intend to connect the Murata uSD to M.2 connector  Rev A board to microSD card slot of the iMX8MM mini EVK board and connect CYW54591 on M.2 connector of murata.

I have made the connections for this board based on Section 6.3 of this link.

https://www.murata.com/-/media/webrenewal/products/connectivitymodule/asset/pub/rfm/data/murata_user...

Does MicroSD card slot of iMX8MM support reconfiguration of SDIO or SDMMC on microSD card slot?

I am getting the following issues from when  make the setup as described above.

[  257.866450] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  257.874020] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  257.879679] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  257.885425] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  257.891258] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  257.896918] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  257.902664] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  257.908410] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  257.914676] mmc1: sdhci: ============================================
[  267.999635] mmc1: Timeout waiting for hardware cmd interrupt.
[  268.005392] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  268.011835] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[  268.018275] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000001
[  268.024717] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000000
[  268.031158] mmc1: sdhci: Present:   0x00688009 | Host ctl: 0x00000001
[  268.037597] mmc1: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
[  268.044037] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x000010ff
[  268.050477] mmc1: sdhci: Timeout:   0x0000008e | Int stat: 0x00000000
[  268.056917] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[  268.063358] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[  268.069799] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[  268.076240] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[  268.082680] mmc1: sdhci: Resp[0]:   0xffffffff | Resp[1]:  0x00000000
[  268.089120] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  268.095561] mmc1: sdhci: Host ctl2: 0x00000000
[  268.100005] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  268.106446] mmc1: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[  268.114015] mmc1: sdhci-esdhc-imx: cmd debug status:  0x2180
[  268.119677] mmc1: sdhci-esdhc-imx: data debug status:  0x2200
[  268.125423] mmc1: sdhci-esdhc-imx: trans debug status:  0x2300
[  268.131256] mmc1: sdhci-esdhc-imx: dma debug status:  0x2400
[  268.136915] mmc1: sdhci-esdhc-imx: adma debug status:  0x2500
[  268.142661] mmc1: sdhci-esdhc-imx: fifo debug status:  0x2680
[  268.148407] mmc1: sdhci-esdhc-imx: async fifo debug status:  0x2750
[  268.154673] mmc1: sdhci: ============================================

Request you to share any inputs in this regard.

0 Kudos
3,466 Views
igorpadykov
NXP Employee
NXP Employee

Hi Camille

one can look on documentation on

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
3,466 Views
camille_marigni
Contributor II

Hi ,

What should I understand with this page ? That the 1CX is manageable throught M.2 port with the NXP EVK ? and my 1MW need a Embedded Artist EVK to work ?

Sorry for bothering you,

Best regards,

Camille

0 Kudos