cancel
Showing results for 
Search instead for 
Did you mean: 

how to establish Communication between two stm32 board using uart.?

NASOK.1
Associate II

I'm using two stm32 board, one is stm32wb55-dk which is main board and another is stm32c011 which acts as companion board.I need to establish communication between both using uart to send from main board to companion.

connected tx of wb to rx of c0 and vice versa

2 REPLIES 2

Use a common ground, switch the RX / TX over, so TX-A goes to RX-B

Standard HAL_UART_Transmit() HAL_UART_Receive() should work.

Come up with a protocol you want to use.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Foued_KH
ST Employee

Hello @NASOK.1​ ,

I recommend you follow this wiki : Getting started with UART - stm32mcu.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.