We are trying to get an Andino-X1 with an RS-485 extension working, but the serial port doesn’t show up.
The Andino is a Raspberry Pi 3 Model B+
We use Resin OS 2.12.6+rev1
Their Github page explains what to do:
I’ve added the necessary dtoverlay configuration in the resin io dashboard:
I also checked the /boot/config.txt on the microSD card on my PC and the values are set as required:
... dtoverlay=spi0-cs,cs0_pin=8,cs1_pin=12 dtoverlay=sc16is752-spi0,int_pin=7 dtparam=spi=on ...
But unfortunately I can’t see the /dev/ttySC0 and /dev/ttySC1 neither on the host nor in my container (using docker-compose).
I’m not familiar with device tree overlays, but I can find the sc16is752 in the layer configuration, but it seems as if it was for spi1 (the spi0-cs is available, so that shouldn’t be the problem). What does that mean? The Raspberry Pi 3 only has SPI0 connected to the header (see here). Where can I see if a device overlay was successfully loaded?
BTW: it worked just fine using Raspbian on the same hardware. So this must be related to Resin.