4

just got my hands on the new CM3, flashed a fresh raspbian image on it and noticed ttyAMA0 is not there (it has been used for bluetooth since raspberry pi 3). the only way to get it back is to change /boot/config.txt and append the option dtoverlay=pi3-disable-bt and run systemctl disable hciuart. this will get you ttyAMA0 on rpi3 but it just doesn't work on the CM3. is there something more i need to do ? can it be because the CM3 doesn't have Bluetooth and somehow needs some patch or something ?

PS: i really need that serial port and the mini-uart doesn't work for me.

3
  • 1
    ttyAMA0 is an arbitrary name. Is it possible they use a different name?
    – PaulF8080
    Commented Jan 20, 2017 at 12:58
  • nope it's disabled
    – Tychus
    Commented Jan 20, 2017 at 13:19
  • The reason I asked is the name is different in some of the GPS tutorials.
    – PaulF8080
    Commented Jan 20, 2017 at 13:45

2 Answers 2

4

you can add

dtparam=uart0=on

to config.txt

https://www.raspberrypi.org/forums/viewtopic.php?t=141248&p=1100536

1

serial0 is link to ttyAMA0

In Raspbian Jessie (Lite) /dev/serial0 is a symlink to /dev/ttyAMA0. Serial0 now used in /boot/cmdline.txt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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