GPIO Serial connection questions

Hello All!

I have a program that runs on a Raspberry Pi 3 and uses some of the GPIO pins to make a serial connection.

In Raspbian I connect to this serial port on the /dev/ttyAMA0 device. To do this I am adding dtoverlay=pi3-disable-bt to /boot/config.txt and removing console=serial0,115200 from the /boot/cmdline.txt file.

Do I need to make any changes such as this on the balenaFin to also use GPIO pins in this way?

What is the orientation of the GPIO pins on the balenaFin as compared to the Pi - is it the same? (fairly certain it is)

Will the serial port device in Raspbian also be /dev/ttyAMA0 or something else like /dev/ttyS0?

I am also using hardware flow control on the serial connection. I am first using the rpirtscts program to do this on the Raspberry Pi and then the normal stty command. Do I also need to do something on the balenaFin like rpirtscts does?

Thank you so much in advance!

Hello @SurferLee,

  • Yes the GPIO header on the fin is the same as on a Pi
    To answer your other ques, Can you confirm which OS you are using with the balenaFin? are you using Raspbian or BalenaOS?
    • For the docs regarding serial interface using balenaOS, you can see here
      Thanks

Thanks for the reply.

We are using the raspbian fin full image (https://github.com/balena-os/pi-gen/releases/download/v0.1.0/image_Raspbian-Fin-full.zip)

Hi @SurferLee,

Did the doc regarding using the serial interface answer your questions?

John

@jtonello @SurferLee
Do you have anymore information on the subject, I’m currently stuck at the same problem.