I don't have SSH access or a dedicated external monitor and keyboard for this raspberry pi, so I would prefer to have serial access, which I have working with a device-tree overlay. The thing is, I ALSO need a uart device to talk to an expansion board.

I just flashed the latest OS, 2017-03-02-raspbian-jessie-lite.img, and have been reading through tutorials on getting serial access, but not necessarily serial access WITH another serial port. I don't care about bluetooth at all and only require a moderate (115200 bps) baud rate.

How can I get serial console on /dev/ttyAMA0 and serial access to my other board on /dev/ttyS0?



  • Is the lack of ssh access due to the pi not being connected to the Internet? If so you could setup the pi as an access point and simply connect to the ap and ssh in that way. You could also open a console through Bluetooth. I believe an ap is probably the easiest, given you aren't using the wifi. – Brett Reinhard Mar 11 '17 at 1:31
  • Unless you are using the compute module you will need to bit bang to get extra serial ports or use a USB serial dongle. – joan Mar 11 '17 at 11:17

To use both serial ports you need to disable BlueTooth. Serial is also disabled by default on the Pi3.

See How-do-i-make-serial-work-on-the-raspberry-pi3

In fact I would recommend you use /dev/ttyS0 for console (which is the default, if you enable serial). This is a limited UART, designed for console. (You should use /dev/serial0 to refer to the default serial port, it is normally mapped to /dev/ttyS0.)

The fully featured UART is more flexible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.