I am developing an application there is a requirement that facilitates the SDIO Interface mode from a single-bit data bus to four-bit data bus in runtime.
The application looks like:
How to enable these SDIO lines run-time? If it is possible to do so, will it affect interrupt handling?
SDIO Host: FX3S
SDIO Slave: Embedded SDIO card
KandlaguntaR_36 You might aware of this setup.
For reconfiguring the iomatrix, you will have to do app stop involving gpiodeinit, uartdeinit, spideinit, flushing ep memory, destroying dma channel etc. - following which iomatrix can be reconfigured and app can be started.
Please refer to AN84868 where it is done.