2008-09-29 03:25:56 Possible to share SPI bus with MMC/SD + other peripherals?
Jay Ku (UNITED STATES)
Message: 62878
I'd like to use the single SPI port on the BF-531/2 to interface to an MMC/SD card in addition to some other peripherals (i.e. ADCs, serial flash, etc.). I've done some searching on these forums and elsewhere, and it seems like this would require accessing the SPI interface through the SPI Framework driver, which doesn't work with the current SD/MMD SPI-mode drivers. Is this still true? Is there a '1-bit' 'bit-banged' driver that can talk to an SD/MMC card that would bypass the SPI interface completely?
Thanks for any advice,
Jay
QuoteReplyEditDelete
2008-09-29 03:39:06 Re: Possible to share SPI bus with MMC/SD + other peripherals?
Mike Frysinger (UNITED STATES)
Message: 62880
the things you found in the forum are still true ... nothing has changed
QuoteReplyEditDelete
2008-09-29 04:01:16 Re: Possible to share SPI bus with MMC/SD + other peripherals?
Ian Jeffray (UNITED KINGDOM)
Message: 62882
FWIW, I'm using:
CONFIG_SPI_MMC=y
CONFIG_SPI_MMC_FRAMEWORK_DRIVER=y
and it's working perfectly well, on BF537-stamp board, and on our own BF527-based board.
I understand why people keep claiming it doesn't work, but for me, in practice, it appears just fine!