cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F051R8T6 as Modbus rtu Master with RS-485

Bhu_st
Associate

Hi,

I am using Stm32f0 as the modbus rtu MASTER, I have done setting up UART1 Rx and Tx for communication, I am sending the Master query to the Slave device (Simply Modbus Slave application) link https://www.simplymodbus.ca/download.htm. If I connect RX and Tx of mcu to USB to ttl converter then I am getting slave response but when I connect RS-485 to mcu and send a master query to slave then I'm not getting any response from a slave, attaching a code.

 

Please help me. Thanks in advance.

 

0 REPLIES 0