adding spi exemple to stm32vl-discovery

This commit is contained in:
Barattero Laurent
2014-04-20 08:55:06 +02:00
committed by Piotr Esden-Tempski
parent ddd5d5a918
commit f6a1a3ee14
3 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
------------------------------------------------------------------------------
README
------------------------------------------------------------------------------
This example program demonstrates simple SPI transceive on stm32vl discovery board.
The terminal settings for the receiving device/PC are 9600 8n1.
The example expects a loopback connection between the MISO and MOSI pins on
SPI1.
A counter increments and the spi sends this byte out, after which it should
come back in to the rx buffer, and the result is reported on the uart.