cancel
Showing results for 
Search instead for 
Did you mean: 

how i can synchronize two or more board ?

mohit rai
Associate II
Posted on December 16, 2016 at 05:30

Since I want to send data from two board to a single device which will receive data from this two board and start its processing.so how I can send this data simultaneously to another device . 

4 REPLIES 4
Seb
ST Employee
Posted on December 16, 2016 at 09:02

How do you communicate to your device? Analog, GPIO, UART, I2C, SPI...

Will this have to scale beyond 2 MCU boards?

Posted on December 16, 2016 at 14:45

I want to send data using GPIO, 2 MCU boards will send their data using GPIO but at the receiving end data should receive simultaneously.

Posted on December 16, 2016 at 15:25

Please elaborate, from what is explained, the understanding of the system needs details.

Same time, how much accurate?

If you have 2 MCU boards sending data at same time to a third one, just use 2 separate bus with an IO pin from receiver to tell 'send now'.

For example, use RS232 (USART) from each MCU to receiving party. Then the receiving party will use GPIO falling edge to say 'give me data'.

This will generate from each STM32 an EXTI interrupt and the RS232 can be enabled to send data out. The 'same time' will be at few microsecond accuracy... 

Understanding the real need in the application will help to guide to a more suitable answer.

Posted on December 19, 2016 at 05:55

Thank you sir.