[i.MX8Mmini] Could you please advise how to change the SDIO speed?

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

[i.MX8Mmini] Could you please advise how to change the SDIO speed?

Jump to solution
1,414 Views
kazuyayamauchi
Contributor II

We are running on i.MX8Mmini-EVK using LF_v6.6.52-2.2.0_images_IMX8MMEVK.
In this environment, we are connecting the WLAN module via SDIO.

We are experiencing issues with SDIO communication failing at high and low temperature environment.
To avoid this issue, we want to change the SDIO speed from

"SDR104 mode (208 MHz) (1.8V)"
to

"DDR50 mode (50 MHz) (1.8V)" or "HS mode (25MHz) (3.3V)".

 

Could you please advise how to change the SDIO speed?

Best Regards,

0 Kudos
Reply
1 Solution
1,387 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know why the reply was gone, I post again

 you can refer to this try to add  sd-uhs-sdr50 in the dts file and set the max-frequency in the dts

https://github.com/nxp-imx/linux-imx/blob/b586a521770e508d1d440ccb085c7696b9d6d387/Documentation/dev...

also can try to set sdhci-caps-mask = <0x00000003 0x00000000>; in the dts to force the mode to the DDR50

 

View solution in original post

4 Replies
1,289 Views
kazuyayamauchi
Contributor II

Dear joanxie-san,

Sorry for our reply overdue.

We were able to change the SDIO speed with your advice.
We were able to confirm the expected behavior.

We appreciate your support.

Best Regards,

0 Kudos
Reply
1,369 Views
kazuyayamauchi
Contributor II

Dear joanxie-san,

Thank you for your support.

We will try the steps your advised.

Best Regards,

0 Kudos
Reply
1,275 Views
joanxie
NXP TechSupport
NXP TechSupport

glad to hear this, this thread will be closed soon, any further questions, pls contact us again

0 Kudos
Reply
1,388 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know why the reply was gone, I post again

 you can refer to this try to add  sd-uhs-sdr50 in the dts file and set the max-frequency in the dts

https://github.com/nxp-imx/linux-imx/blob/b586a521770e508d1d440ccb085c7696b9d6d387/Documentation/dev...

also can try to set sdhci-caps-mask = <0x00000003 0x00000000>; in the dts to force the mode to the DDR50

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2147501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%5Bi.MX8Mmini%5D%20Could%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2147501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20are%20running%20on%20i.MX8Mmini-EVK%20using%20LF_v6.6.52-2.2.0_images_IMX8MMEVK.%3CBR%20%2F%3EIn%20this%20environment%2C%20we%20are%20connecting%20the%20WLAN%20module%20via%20SDIO.%3C%2FP%3E%3CP%3EWe%20are%20experiencing%20issues%20with%20SDIO%20communication%20failing%20at%20high%20and%20low%20temperature%20environment.%3CBR%20%2F%3ETo%20avoid%20this%20issue%2C%20we%20want%20to%20change%20the%20SDIO%20speed%20from%3C%2FP%3E%3CP%3E%22SDR104%20mode%20(208%20MHz)%20(1.8V)%22%3CBR%20%2F%3Eto%3C%2FP%3E%3CP%3E%22DDR50%20mode%20(50%20MHz)%20(1.8V)%22%20or%20%22HS%20mode%20(25MHz)%20(3.3V)%22.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ECould%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2153164%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5Bi.MX8Mmini%5D%20Could%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2153164%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eglad%20to%20hear%20this%2C%20this%20thread%20will%20be%20closed%20soon%2C%20any%20further%20questions%2C%20pls%20contact%20us%20again%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2153141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5Bi.MX8Mmini%5D%20Could%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2153141%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20joanxie-san%2C%3C%2FP%3E%3CP%3ESorry%20for%20our%20reply%20overdue.%3C%2FP%3E%3CP%3EWe%20were%20able%20to%20change%20the%20SDIO%20speed%20with%20your%20advice.%3CBR%20%2F%3EWe%20were%20able%20to%20confirm%20the%20expected%20behavior.%3C%2FP%3E%3CP%3EWe%20appreciate%20your%20support.%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148837%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5Bi.MX8Mmini%5D%20Could%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148837%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20joanxie-san%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3EWe%20will%20try%20the%20steps%20your%20advised.%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148545%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5Bi.MX8Mmini%5D%20Could%20you%20please%20advise%20how%20to%20change%20the%20SDIO%20speed%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148545%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20don't%20know%20why%20the%20reply%20was%20gone%2C%20I%20post%20again%3C%2FP%3E%0A%3CP%3E%26nbsp%3Byou%20can%20refer%20to%20this%20try%20to%20add%26nbsp%3B%20sd-uhs-sdr50%20in%20the%20dts%20file%20and%20set%20the%20max-frequency%20in%20the%20dts%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx%2Fblob%2Fb586a521770e508d1d440ccb085c7696b9d6d387%2FDocumentation%2Fdevicetree%2Fbindings%2Fmmc%2Fmmc-controller.yaml%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx%2Fblob%2Fb586a521770e508d1d440ccb085c7696b9d6d387%2FDocumentation%2Fdevicetree%2Fbindings%2Fmmc%2Fmmc-controller.yaml%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Ealso%20can%20try%20to%20set%26nbsp%3Bsdhci-caps-mask%20%3D%20%26lt%3B0x00000003%200x00000000%26gt%3B%3B%20in%20the%20dts%20to%20force%20the%20mode%20to%20the%20DDR50%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E