Hello all,
I want to have Modbus/RS485 communication from F28069m to PC.
I am using TMDSHVMTRINSPIN and TMDSCNCD28069MISO.
I have USB-to-RS485 Converter connected to my PC.
1. What is the way to connect this converter to my device (TMDSHVMTRINSPIN and TMDSCNCD28069MISO)?
I tried to connect directly TX and RX (GPIO29 and GPIO28) and GPIO42 as TXEN to SP485, and then the output A and /B from SP485 to A and /B of USB-to-RS485 Converter, but the receive interrupt has never occurred when PC (my Modbus software, also Hyperterminal) sent message.
Briefly, the connection is like the figure below.
When I used COM port from FTDI of TMDSHVMTRINSPIN, the receiver interrupt occured and the results were fine (I could see input registers in my Modbus software in PC when I sent Modbus command Read Input Registers).
2. Actually, is it possible to connect TX and RX (GPIO28 and GPIO29) from TMDSCNCD28069MISO to have communication with USB-to-RS485 Converter?
Or
is it because GPIO28 and GPIO29 are already connected to FTDI of TMDSHVMTRINSPIN, so it can not be used for this purpose, and I need to connect SP485 to another pins?
Or
Is the hardware connection wrong?
However, I used similar connection for another microcontroler (not TI) and it worked well so I don't know what the difference is in TI microcontroller.
I also have checked USB-to-RS485 Converter with another device and it worked well.
Thank you in advanced!
Best regards,
Maria