Lines Matching +full:13 +full:- +full:14
1 .. zephyr:code-sample:: gptp
3 :relevant-api: gptp ptp_time
5 Enable gPTP support and monitor functionality using net-shell.
12 queues) and setup VLANs (if enabled). The net-shell is also enabled so that
29 embedded device like NXP FRDM-K64F, Nucleo-H743-ZI, Nucleo-H745ZI-Q,
30 Nucleo-F767ZI or Atmel SAM-E70 Xplained. Note that gPTP is only supported for
36 .. zephyr-app-commands::
37 :zephyr-app: samples/net/gptp
42 The net-shell command "**net gptp**" will print out general gPTP information.
52 :zephyr_file:`samples/net/vlan/vlan-setup-linux.sh` provides a script that can be
55 the ``net-setup.sh`` will create VLAN setup automatically with this command:
57 .. code-block:: console
59 ./net-setup.sh -c zeth-vlan.conf
70 .. code-block:: console
76 .. code-block:: console
85 as the default value 800 is too low if you run the gPTP in FRDM-K64F.
90 .. code-block:: console
92 sudo ./gptp enp0s25 -F gptp_cfg.ini
100 .. code-block:: console
102 INFO : GPTP [13:01:14:837] gPTP starting
103 INFO : GPTP [13:01:14:838] priority1 = 248
104 INFO : GPTP [13:01:14:838] announceReceiptTimeout: 3
105 INFO : GPTP [13:01:14:838] syncReceiptTimeout: 3
106 INFO : GPTP [13:01:14:838] LINKSPEED_100MB - PHY delay
108 INFO : GPTP [13:01:14:838] LINKSPEED_1G - PHY delay
110 INFO : GPTP [13:01:14:838] neighborPropDelayThresh: 10000
111 INFO : GPTP [13:01:14:838] syncReceiptThreshold: 8
112 ERROR : GPTP [13:01:14:838] Using clock device: /dev/ptp0
113 STATUS : GPTP [13:01:14:838] Starting PDelay
114 STATUS : GPTP [13:01:14:838] Link Speed: 1000000 kb/sec
115 STATUS : GPTP [13:01:14:871] AsCapable: Enabled
116 …STATUS : GPTP [13:01:16:497] New Grandmaster "3C:97:0E:FF:FE:23:F2:32" (previous "00:00:00:00:00…
117 STATUS : GPTP [13:01:16:497] Switching to Master
121 .. code-block:: console
123 STATUS : GPTP [13:01:25:965] AsCapable: Enabled
134 .. code-block:: console
140 .. code-block:: console
142 sudo ./ptp4l -2 -f gPTP-zephyr.cfg -i zeth -m -q -l 6 -S
144 Use the ``default.cfg`` as a base, copy it to ``gPTP-zephyr.cfg``, and modify
155 You need to enable the ports in the net-tools. If the number of ports is set
159 .. code-block:: console
161 sudo ./net-setup.sh -c zeth0-gptp.conf -i zeth0 start
162 sudo ./net-setup.sh -c zeth1-gptp.conf -i zeth1 start
168 .. code-block:: console
171 sudo ./ptp4l -2 -f gPTP-zephyr.cfg -m -q -l 6 -S -i zeth0
172 sudo ./ptp4l -2 -f gPTP-zephyr.cfg -m -q -l 6 -S -i zeth1
176 .. zephyr-app-commands::
177 :zephyr-app: samples/net/gptp
184 .. code-block:: console
186 build/zephyr/zephyr.exe -attach_uart