• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with the communication of the RS485 interface
#10
Well I have another proposal that maybe could help.

The Raspbian OS can be configured to switch the two Raspberry Pi CPU integrated UARTs. By default the full featured UART is confgured to drive the Bluetooth (/dev/ttyAMA0) connection and the second one called mini UART (/dev/ttyS0) to be available for any other purpose.

But this function can be switched using the "dtoverlay=miniuart-bt" in the config.txt start file of Raspbian as described here https://github.com/raspberrypi/linux/blo...ays/README for the latest kernel 4.19.x. So I don't know if balena OS can switch the two UARTs too. After switching you can use /dev/ttyAMA0 to drive the BCM14 and 15 pins. Maybe this works better. A drawback could be that then you are no longer able to use the bluetooth function of the CPU.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: Problems with the communication of the RS485 interface - by Armin@netPI - April-28th-2020, 02:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NPIX-RS485 with auto direction control now available Armin@netPI 11 8,682 May-15th-2020, 10:46 PM
Last Post: EnergyKonnex
  connecting Mitsubishi via RS485 COswald 11 8,659 January-14th-2020, 10:58 AM
Last Post: Armin@netPI
  Dual RS485 Ports primmer 2 3,138 September-25th-2019, 09:43 AM
Last Post: primmer
  Is there a demand for a RS422 interface? Armin@netPI 0 1,768 April-29th-2019, 10:58 AM
Last Post: Armin@netPI
  Communication between BCM2837 and netX51 on netPI RTE 3 Armin@netPI 0 2,061 December-3rd-2017, 01:19 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)