• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Driver for RS485 (netPI)
#2
Hello Lukas,

this indeed a typo in the link you referenced: https://www.netiot.shop/epages/es767660....s/1322.011.

An RS-485 interface alone can never ever be full-duplex. There is always just a single transmitter that is able to drive the RS-485 bus while all the others a listening. For me it seems that this text was copied 1:1 from the RS-232 module where full duplex is indeed supported. I will let this change today. I am sorry for this inconvenience.

A full duplex version would be indeed a pair of RS-485 interfaces usually named as RS-422 which we don't offer.

You analysed the RS-485 quite well and you looked to the schematics also. And there is indeed a pin that is switching the bus driver between transmit and receive mode and this pin needs to be controlled by the application. So today the only chance you have is to pull the GPIO before sending and to release it after sending. In the example we provided here https://github.com/HilscherAutomation/ne...npix-rs485 as a container we did that using a Node-RED application that takes control of the pin.

I agree that if you don't have any chance to intervene the serial stream and to take control of the GPIO, you can't get your application running since "nobody" is switching between transmit and receive mode. I also agree that in this case a driver is necessary. Just let me re-check the development team what they can do for us to provide such a driver.

I will be back to you.
Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Driver for RS485 (netPI) - by ArteLukas - June-5th-2019, 07:54 AM
RE: Driver for RS485 (netPI) - by Armin@netPI - June-5th-2019, 08:17 AM
RE: Driver for RS485 (netPI) - by Armin@netPI - June-6th-2019, 11:33 AM
RE: Driver for RS485 (netPI) - by Armin@netPI - June-7th-2019, 03:02 PM
RE: Driver for RS485 (netPI) - by Armin@netPI - June-7th-2019, 11:01 PM
RE: Driver for RS485 (netPI) - by Armin@netPI - June-25th-2019, 07:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NIOT-E-NPIX-RS485 LucioFiam 6 4,440 January-21st-2023, 05:20 PM
Last Post: Armin@netPI
  USB to RS485 convetrer MGharat 5 8,016 November-15th-2021, 02:37 PM
Last Post: patribenq
  netX linux driver Irina Grinberg 4 3,639 May-7th-2020, 01:33 PM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,955 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  [SOLVED] Usage of overlay driver adeeljsid 4 3,943 October-18th-2018, 10:13 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)