Painfully slow SPI on STM32

Try moving the SPI.beginTransaction() to setup() and removing SPI.endTransaction().