cancel
Showing results for 
Search instead for 
Did you mean: 

UART communication between Raspberry Pi 4 and stm32f411re

suhfi
Senior

Hi, i want the communication between stm32f411re board and raspberry pi 4. i tried to do with uart2 through USB cable it is working fine. but sometimes it is not able to communicate properly. there is a delay while communicating sometimes. will i2c or spi communication works with USB cable to communicate. which is better and i want the one efficient to work as i want both ways communication.

11 REPLIES 11

@suhfi wrote:

Thank you for the replies, i did solve the problem.


Great - so, for the benefit of future readers, what was the problem?

Please describe how you solved it, and then mark that as the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Okay sure, the problem is with the delay in the communication of stm32 Nucleo board and raspberry pi through UART. but later i have understood that the delay is not with the communication but with the motors drivers and working of that. Thank you for your time.