Re: SPI driver usage


Tomasz Bursztyka
 

Hi Corey,

You'll have to wait k64f spi driver gets into the tree first, unless you
want to try under review patch.

You won't have to tell anything about any pins. The driver manages all
that for you, hopefully.
You don't have to use the driver itself. You'll just have to grab the
right instance via device_get_binding()
and use it through the API described in include/spi.h

Tomasz

Hi,

Im looking to use the zephyr project spi driver for writing to the SD
card slot on the FRDM K64f board. So far I have found little to no
documentation on how to use the spi driver. For example how do I tell
it which pins to use for the MISO and MOSI and so forth?

Thanks for any help,

Corey

Join devel@lists.zephyrproject.org to automatically receive all group messages.