[time-nuts] Raspberry PI 3 NTP server with GPS time data.

Orin Eman orin.eman at gmail.com
Mon Apr 25 18:35:21 UTC 2016


On Sun, Apr 24, 2016 at 4:15 PM, Chris Albertson <albertson.chris at gmail.com>
wrote:

> Did you see the notice on the adafruit 2324 web page that reads "Does
> not work with the Pi 3 at this time".
>


I would assume that's because the Pi3 uses /dev/ttyAMA0 for Bluetooth.
Here is how to route ttyAMA0 back to the IO pins on the Pi3.  It is useful
information for any device trying to use ttyAMA0 on the Pi3.

Remove all references to ttyAMA0 from /boot/cmdline.txt (as on a Pi2)

To disable bluetooth:

systemctl disable hciuart
Add "dtoverlay=pi3-disable-bt" to /boot/config.txt

Finally, perhaps unnecessary, use raspi-config to disable login on the
serial port.  (Serial under Advanced Options.)

The above worked for me porting code that worked over ttyAMA0 on the Pi2 to
the Pi3.

It was a poor decision IMO to usurp ttyAMA0 for Bluetooth on the Pi3.  They
broke just about every device that uses serial IO out there.  By default,
they now route the IO pins to /dev/ttyS0 which is useless for most purposes
_as its baud rate depends on CPU core frequency, which is variable_!



More information about the Time-nuts_lists.febo.com mailing list