Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

How to enable SPI mode for SDIO in galileo gen 2...?

BArde
Beginner
1,317 Views

Hi,

For SDIO there are three modes of operation,

1) 1 bit mode

2) 4 bit mode

3) spi mode

i am able to switch between 1 bit mode and 4 bit mode using quirks_debug value passing with sdhci driver module.but i am not getting how to switch in SPI mode there are no bit are available in driver for setting it to SPI mode. so how to switch in SPI mode ?

1 Solution
asss
Valued Contributor II
142 Views

Hi,

as I see sdhci driver does not support SPI mode. Need to rewrite a driver.

BR,

xbolshe

View solution in original post

3 Replies
asss
Valued Contributor II
143 Views

Hi,

as I see sdhci driver does not support SPI mode. Need to rewrite a driver.

BR,

xbolshe

BArde
Beginner
142 Views

Hi xbolshe

I am seeing that if i am able to disable 1 bit mode and 4 bit mode for SDIO then it will work as SPI mode so i am able to disable 1 bit mode using http://lxr.free-electrons.com/ident?i=SDHCI_QUIRK_FORCE_1_BIT_DATA QUIRK_FORCE_1_BIT_DATA bit in sdhci driver but how to disable 4 bit mode...????

asss
Valued Contributor II
142 Views
Reply