1
\$\begingroup\$

I am trying to create a UART to isolated RS485 port to communicate over Modbus, both Tx and Rx LEDs are glowing together and I am getting checksum errors. The schematic is attached for reference. What could be the reason for the issue. Schematic PowerSupplyIsolated

\$\endgroup\$
1
  • \$\begingroup\$ We are getting lots of questions about similar really strange RS485 schematics lately - this is quite similar. Where are all these coming from? Is there some bad online source everyone decided to copy? For example why are there pull resistors and fuses on the differential lines and how does any of that make sense? \$\endgroup\$ Commented Feb 17 at 9:04

1 Answer 1

1
\$\begingroup\$

That's not even an RS-485 transmitter.

You are using it as a pseudo-CAN kind of interface, where you either send a 0 for dominant state or don't transmit anything for recessive state.

So if you think you made an isolated RS-485 transceiver, you did not make an RS-485 transceiver and the isolated transceiver is against RS-485 specs as there is the classic mistake of isolating the transceiver but leaving it floating without a proper common ground reference from the bus that other transceivers share.

So it's not compatible with ModBus. Also the bus bias resistors are not ModBus compliant.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Doesn't U8 which is a TPT7721F-SOAR act as an isolator? As far as I can tell from schematic the supplies are isolated. \$\endgroup\$ Commented Feb 16 at 19:05
  • \$\begingroup\$ @ChesterGillon Thanks, for some reason I did not see that chip as it was zoomed outside the screen. So of course it is isolated. However, we don't know from where the isolated 3V3B supply comes from, and the classic mistake of not providing the bus ground reference to an isolated transceiver is made. \$\endgroup\$ Commented Feb 16 at 20:36
  • \$\begingroup\$ Thanks for replying, I have added the power supply schematic as well, if that clarifies \$\endgroup\$ Commented Feb 17 at 5:07
  • \$\begingroup\$ @Praveen The isolation or supplies are not an issue. However it is not shown from where 5V and 5VB come from. \$\endgroup\$ Commented Feb 17 at 5:09
  • \$\begingroup\$ @Justme - 5V pin of a raspberry pi is connected to the VIN of BL0505LS-1W which has the VOUT of 5VB. Raspberry pi in-turn is powered by a USB Type-C 5V 2A power supply. Does this explains ? \$\endgroup\$ Commented Feb 17 at 6:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.