2016-10-22 04:59 AM
Hi! I'm trying to estabilish connection between two discovery stm32f4 boards. Everything seems fine, I'm sending alway value of ''0x01''. First transmission is okay, but next is not receiving ''0x01'' but '' 0x08 then 0x10 then 0x20, 0x40, 0x80 and then back to 0x01?
What 's the problem here? I tried flusing buffor nothing helps.I'm coding in IAR.Master main: http://wklej.org/hash/57dae22f06c/Slave main: http://wklej.org/hash/88b9f5d3440/ #stm32f42016-10-27 08:03 AM
Hello,
Have a look to the working SPI example under the firmware package, compare it to your own configuration to know what is wrong.It may be very helpful, as you can update it according to your needs: STM32Cube_FW_F4_V1.13.0\Projects\STM32F4-Discovery\Examples\SPIRegards