- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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:
- configure the SDIO interface using 1 Bit mode ( only one DAT[0] line would be enabled) [io_cfg.s0Mode = CY_U3P_SPORT_1BIT]
- Do some Read/Write
- Reconfigure the SDIO Interface using 4 Bit mode (All 4 lines, DAT[0] to DAT[3] lines would be enabled )[io_cfg.s0Mode = CY_U3P_SPORT_4BIT;]
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.
Thanks
Krunal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krunal,
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.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Krunal,
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.
Regards,
Hemanth