world leader in high performance signal processing
Trace:

Differences

This shows you the differences between two versions of the page.

spi [2010/09/09 22:02]
127.0.0.1 external edit
spi [2012/05/11 05:19] (current)
scott add spi kernel configuration
Line 129: Line 129:
  
 In most cases you can utilize SPI mode 3 instead of mode 0 to workaround this behavior.  If your SPI slave device in question requires SPI mode 0 or 2 timing, you can utilize the GPIO controlled SPI Slave Select option instead.  You can even use the same pin whose peripheral mode is a SSEL, but use it as a GPIO instead. In most cases you can utilize SPI mode 3 instead of mode 0 to workaround this behavior.  If your SPI slave device in question requires SPI mode 0 or 2 timing, you can utilize the GPIO controlled SPI Slave Select option instead.  You can even use the same pin whose peripheral mode is a SSEL, but use it as a GPIO instead.
 +
 +==== Configure Kernel ====
 +
 +<code>
 +Device Drivers  --->
 +    [*] SPI support  --->
 +            <*>   SPI controller driver for ADI Blackfin5xx /* choose this for bf5xx soc */
 +            <*>   SPI controller driver for ADI Blackfin6xx /* choose this for bf60x soc */
 +            <*>   User mode SPI device driver support       /* user space spi driver */
 +</code>
  
 ==== Kernel Driver ==== ==== Kernel Driver ====