April-28th-2020, 02:53 PM
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
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)