2021-08-02 08:09 AM
Hello,
I am having difficulties with the MMC bus and the external SDIO wifi module. We are using the wifi module jody-w263 from U-blox with the OSD32MP1, and the communication with the module works, but it is quite slow. The wifi module is capable of SDR 104 and DDR50 communication speeds, but I add the support to the DTS, the communication is broken and the device returns the -110 while initializing.
How can I add support for higher speeds?
I attach the working dts, dmesg, ios and caps, and relevant schematic.
Any suggestion will be appreciated.
Best regards,
Tomáš.
Solved! Go to Solution.
2021-10-18 11:31 PM
2021-10-18 11:41 PM
I did not make any modifications except the DTS, defconfig, and disabling the code inside of the sdmmc_vswitch. I only hope that I did not send you logs, that contains some of my debug messages that could mislead you.
I am attaching the bbappend file for the linux-stm32mp_5.4 and manifest file to check that the versions match.
2021-10-18 11:42 PM
yes it is.
2021-10-18 11:45 PM
Next step for us is to to send you a debug patch to better see what really happens (between the mmc framework and the regulator framework). So if you confirm you are on 5.4.56 except for the stm32 sdmmc drivers. We can proceed.
2021-10-18 11:50 PM
Yes, the only change is the sdmmc_vswitch, but I can revert it anytime.
2021-10-19 11:59 PM
Hello Tomas,
your yocto setup looks good.
Could you please:
vmmc-supply = <&v3v3>;
sd-uhs-ddr50;
vqmmc-supply = <&v1v8_ldo1>;
mmc-pwrseq = <&wifi_pwrseq>;
/* USER CODE END sdmmc3 */
root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 loglevel=8 dyndbg="file drivers/mmc/* +p"
And send us back the log of the boot.
Thanks in advanced.
2021-10-20 12:25 AM
2021-10-20 07:57 AM
2021-10-20 07:57 AM
2021-10-20 07:57 AM