Raspbian Jessie – Enable ttyAMA0

Posted on Updated on

I spent a bit of time trying to find out how to enable the gpio port /dev/ttyAMA0.

  1. In terminal
    sudo raspi-config
    
  2. Select 9 Advanced Options
  3. Select A7 Serial
  4. Select No for: Would you like a login shell to be accessible over serial?
  5. reboot
  6. Enable uart in /boot/config.txt
  7. reboot
  8. Done

to check tty:

dmesg | grep tty

Use command-line gpio util to check state of all pins

gpio readall
Advertisements

One thought on “Raspbian Jessie – Enable ttyAMA0

    Nextion Raspberry Pi UI « WeekEnd ProjecTS said:
    October 9, 2016 at 2:54 pm

    […] If RPI 2, read this post. […]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s