UBB pattern generator

Werner Almesberger werner at almesberger.net
Sat Jan 19 12:35:13 EST 2013

Paul Boddie wrote:
> Is there any way of selecting [SPI mode of MMC] in the NanoNote,

The hardware of the MMC controller doesn't provide a SPI mode.
However, you can just do it with GPIOs. For example, here's a
SPI implementation in user space (pre-libubb, so it bangs the
registers directly):


> and are there any drivers 
> or subsystems for Linux that use SPI communication?

You mean for the Ben ? Here's an efficient one that implements
an SPI host using GPIOs:


A generic version would look like this:


Looking for SPI users ? Here's one that does MMC on top of SPI:


- Werner

More information about the discussion mailing list