Files
libopencm3-examples/examples/stm32/f1/lisa-m-2/spi
Karl Palsson 15637e291b Update library to latest
This includes fixes for peripheral resets, introduced by library
changes:
* b3bdf025d7 stm32: i2c: drop i2c_reset()
* df654d7f28 stm32: spi: drop spi_reset()

Fixes: https://github.com/libopencm3/libopencm3-examples/issues/240
2023-01-16 20:39:31 +00:00
..
2023-01-16 20:39:31 +00:00

README

This example program demonstrates simple SPI transceive on [Lisa/M 2.0 board](http://paparazzi.enac.fr/wiki/Lisa/M_v20 for details).

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.