osd-contiki/platform
Brad Campbell af27d2d252 [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS
Because the CC2538 has a multi-byte SPI RX FIFO, flushing the buffer
requires more than just a single read. This adds a loop that empties the
entire RX buffer on a FLUSH().

Different SPI chips needs different SPI settings. This commit adds a
function that allows chip drivers to configure the SPI peripheral before
using it.

The frame pin the driver was using as a chip select does not work as
most devices expect it to. It toggles after every byte, and most chips
interpret that as end of message. To make drivers more reliable, each
chip driver should setup a GPIO and assert it as needed.
2014-04-15 14:07:10 -04:00
..
apple2enh Added info on W5100 driver. 2014-03-15 16:56:08 +01:00
atarixl Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
avr-atmega128rfa1 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-raven Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-ravenlcd A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
avr-ravenusb Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-rcb Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-zigbit Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
c64 Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
c128 Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
cc2530dk Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
cc2538dk [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS 2014-04-15 14:07:10 -04:00
cooja Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
econotag Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
eval-adf7xxxmb4z Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
exp5438 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
iris Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
mbxxx Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
micaz Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
minimal-net Moved the individual MODULE definitions from the top-level Makefile.include into the individual platforms' Makefiles 2014-01-26 23:20:36 +01:00
native native: Add CTK to the module list 2014-03-21 23:01:02 +01:00
seedeye Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
sensinode Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
sky Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
stm32test A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
win32 Fixed win32 broken by recent changes. 2014-02-02 20:19:47 +01:00
wismote Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
z1 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
z1sp Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00