This project is read-only.

STM32F4 Discovery SPI Problems

Oct 14, 2012 at 2:24 PM
Edited Oct 14, 2012 at 2:25 PM

hello. i tried setting up spi (on all 3 spi-modules) on the stm32 discovery

but it doesent seem to work.

i used the pinouts that HardwareProvider.HwProvider.GetSpiPins provided.

(i could get uart and i2c to run)


any ideas?



Oct 17, 2012 at 10:07 PM

after some tesing:

it looks like the spi clock edge is messed up.

on spi it just works if its false (wich my chip dont likes)

on spi3 its looks like its inverse (my chips workes when in software its set to false, he shouldnt work this way)

Oct 18, 2012 at 11:07 AM

I'm not expert in porting but I think there is a problem with proper set MSK_IDLE in SPI_CONFIGURATION (file:STM32F4_SPI_functions.cpp) but let's wait for experts.