STM32-SPI http://elegantcircuits.com/2014/11/16/stm32f100-spi-loopback-example/ Hardware: STM32VL discovery board Saleae 4 logic analyzer Source: main.c spi.c