Author Topic: Strange driving of RS-485 transceiver  (Read 407 times)

0 Members and 1 Guest are viewing this topic.

Offline dobsonr741Topic starter

  • Frequent Contributor
  • **
  • Posts: 697
  • Country: us
Strange driving of RS-485 transceiver
« on: July 05, 2024, 01:03:31 am »
I found a strange way of hooking up an RS-485 transceiver in a slave peripheral I was reverse engineering.
Has anyone seen this before? The TX signal drives the enable pin, not the TX input. Why?

« Last Edit: July 05, 2024, 01:05:45 am by dobsonr741 »
 

Offline oPossum

  • Super Contributor
  • ***
  • Posts: 1447
  • Country: us
  • Very dangerous - may attack at any time
Re: Strange driving of RS-485 transceiver
« Reply #1 on: July 05, 2024, 01:09:08 am »
Collisions don't produce bus contention. Same as CAN bus.
 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1870
  • Country: au
Re: Strange driving of RS-485 transceiver
« Reply #2 on: July 05, 2024, 01:53:11 am »
I found a strange way of hooking up an RS-485 transceiver in a slave peripheral I was reverse engineering.
Has anyone seen this before? The TX signal drives the enable pin, not the TX input. Why?

Yes, this becomes CAN-like with almost open drain, but that needs care with non fail-safe BUS drivers.

Below is another slight variant, where TX drives DI and Inverted TX drives Enable, that has a couple of advantages.

The PNP in this case has a slower turn off than turn on, so the 485 driver pulses the line the reverse way, then floats.
This means you do not need the hassle of managing the Enable timing. It drives and auto-reverses.

Note also the BUS is pre biased, as the floating state has lower noise margin. The pulse time is enough to kick it over the threshold Schmitt.
It would be best suited to the skewed threshold / failsafe RS485 parts.

There are some RS485 parts that now have this 'auto-direction monostable' inbuilt. (THVD1406, THVD1426)



« Last Edit: July 05, 2024, 02:08:41 am by PCB.Wiz »
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15339
  • Country: fr
Re: Strange driving of RS-485 transceiver
« Reply #3 on: July 05, 2024, 02:03:04 am »
Yeah, it just makes the idle level (high) of the TX out as a "recessive" state. Yes, kinda like CAN. While probably some care must be taken, this is a very simple trick.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf