WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Use GPS data with ts2phc so time transfers from GPS to NIC PHY #14

@geerlingguy

Description

@geerlingguy

Currently the configuration in #1 is using generic for the ptp0 clock source:

sudo ts2phc -c /dev/ptp0 -s generic -l 7 -m \
  --ts2phc.pin_index 2 \
  --ts2phc.extts_polarity both --ts2phc.pulsewidth 100000000

From ts2phc's documentation:

ts2phc.nmea_serialport, ts2phc.nmea_baudrate
Specifies the serial port and baudrate in bps for character device providing ToD information when using the nmea PPS signal source. Note that if the options, ts2phc.nmea_remote_host and ts2phc.nmea_remote_port, are both specified, then the given remote connection will be used in preference to the configured serial port. The default serial port is /dev/ttyS0. The default baudrate is 9600 bps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions