Skip to main content
Max75
Associate II
July 30, 2018
Question

How to synchronise two Nucleo-L152RE boards by SPI

  • July 30, 2018
  • 3 replies
  • 1294 views

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 ​

    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User
    July 30, 2018

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

    JW

    Max75
    Max75Author
    Associate II
    July 30, 2018

    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
    Max75Author
    Associate II
    July 30, 2018

    And SPITask is master