2023-10-21 09:56 PM
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.