cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronise two Nucleo-L152RE boards by SPI

Max75
Associate II

Hello !

I​ am studing SPI. I was created two projects for my Nucleo boards, where one is master, and second is slave. I send data from master to slave and printing it to PuTTY.

A problem in synchronisation of two boards. Slave is receiving correct data, after this he receiving merge data. And it's repeating.

H​ow I can to synchronise my boards ?

M​y regards,

Maksim ​

3 REPLIES 3

What do you mean by "merge data", and what is the event which causes this?

JW

Max75
Associate II

Sorry, I study English yet. "Merge data" is random symbols set. I think, that because master is not synchronized with slave. I'm attach my code below. Main file is slave

Max75
Associate II

And SPITask is master