Initial Stm32f4 spi driver

not shure if i understand correctly, but i tested this and it didn't work correctly.