Other Parts Discussed in Thread: SYSCONFIG
The system is FreeRTOS.Can the mode of sdio be set? Where can the 4-bit mode and 1-bit mode be set in the code.
Hi,
Yes, the sdio mode can be configured, and this is done through SysConfig.
In SysConfig, navigate to the MMCSD section. By default, the driver selects the maximum supported speed and bus width automatically.
To manually configure the bus mode:
Open the MMCSD instance in SysConfig.
Disable the option “Auto assign maximum speed”.
Once this option is disabled, you will be able to explicitly select the bus width (1-bit or 4-bit mode) from the available configuration options.
I’ve attached a screenshot for reference showing where this option can be found in SysConfig.

Hi,
The suggestions above regarding changing the bit positions seem acceptable.