The InES PTP v2 application runs out of the box without any configuration.

The application waits 10 seconds for an IP.
If nothing configured over UART, it generates a "random" IP (192.168.100.xx and every time the same).
(The IP can not be stored and will be lost after reset) 

UART parameters:
- Baud rate: 	115200
- Data:		8 bit
- Parity:	none
- Stop: 	1 bit
- Flow control:	none
- Local echo:	off


When up and running (on the display and over UART it says: "PTPv2 up and running") you 
can read and set different parameters over the UART by typing the following characters:
(this screen is shown when you type 'h')


 a <port> <interval>: Set log mean announce interval e.g. 'a 1 2'
 b <port> <interval>: Set log mean pdelay request interval e.g. 'b 1 2'
 c: Print current dataset
 d: Print default dataset
 e: <sec> <nsec>: Set time e.g. 'e 109 88'
 f: Print foreign datasets for all ports
 g: Print time properties dataset
 i <init_key>: Initialize PTP clock e.g. 'i 1'
 j: Toggle slave only flag
 k: Toggle two step clock flag
 n <s|r>: Save(s) current values to NVM or reset NVM e.g. 'n s'
 o: Print port dataset for all ports
 p: Print parent dataset
 r <port> <interval>: Set log mean delay request interval e.g. 'r 1 2'
 s <port> <interval>: Set log mean sync interval for a port e.g. 's 1 -1'
 t: Print current time
 v: Adjust verbose level, used for debugging e. g. 'v 1'
 w <port>: Display current v1 HW compatibility mode e.g. 'w 1'
 w <port> <on|off|auto>: Set v1 HW compatibility mode e.g. 'w 1 on'
 x <port>: Display current network protocol e.g. 'x 1'
 x <port> <udp|eth>: Change network protocol e.g. 'x 1 udp'
 y <port>: Display current delay mechanism e.g. 'y 1'
 y <port> <e2e|p2p>: Change delay mechanism e.g. 'y 1 p2p'
 z <priority> <value>: Set priority e.g. 'z 1 30'


On the top of the screen you see the current time (be aware that the refresh rate is not constant because the 
displaying task is the idle task)

On pin PWM0 as well as on LED1 you will find the PPS (pulse per second).
With the PPS you can monitor the synchronization accuracy to other PTP nodes.







