cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H723 RS-485

Grozea.Ion
Associate II

Hi,

I am trying to create a reliable communication in a noisy environment using RS-485 between 2 STM32 boards, one with STM32F302 that is receiving data from several sensors, performs some calculations and then send the data to a STM32H723 Board.

 

On both MCU I have set the UART in RS-485 mode. The Rx, Tx, De are connected to a TXS0104E level shifter and then to ST485EBDR Transceiver.

 

In the initialization code (for both boards) of the UART the DE pin is also initialized, however I was not able to find where the pin is set high or low to transmitting or receiving.

 

Did I missed anything, or I have to manually set the pin state when transmitting or receiving?

 

Thank you.

 

0 REPLIES 0