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

the Raspberry's "mini UART (UART1)" the RS485 module is connected to supports the function "AUTO_RTS". So in best case it should work like it is stated here: https://www.kksystems.com/rtscontrol. This means in turn the RTS signal should be asserted automatically when the "mini UART" is sending. It is de-asserted when the UART is finished sending. This would be exactly the function you need.

I am testing right now to start my local NPIX-RS485 module with BCM17 configured to no longer to work as SW controllable GPIO signal but as RTS signal instead and then to initialized the /dev/ttyS0 configured with parameter AUTO_RTS. If everything is fine then there is no need any longer to control RTS manually by software.

I keep you informed
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 3,986 January-21st-2023, 05:20 PM
Last Post: Armin@netPI
  USB to RS485 convetrer MGharat 5 7,659 November-15th-2021, 02:37 PM
Last Post: patribenq
  netX linux driver Irina Grinberg 4 3,469 May-7th-2020, 01:33 PM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,724 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  [SOLVED] Usage of overlay driver adeeljsid 4 3,785 October-18th-2018, 10:13 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)