• AVR Freaks

Helpful ReplyHot!Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip

Author
KevinHuang
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2019/08/29 08:13:33
  • Location: 0
  • Status: offline
2020/06/15 13:52:55 (permalink)
4.5 (2)

Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip

Hi expects,
 
My boss asked me to implement the PTP(Precision Time Protocol) in my project. After the research, I found that microchip's SAM E54 and SAM V71 would be the good potential solutions for my project.
However, I found out that there is no example nor document about how to use the PTP; also I studied the Harmony V3, no hint about how to add the PTP to the project.
 
Can any expert help me out? I appreciate your help!
 
Bests,
Kevin
#1
RISC
Super Member
  • Total Posts : 5778
  • Reward points : 0
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/06/15 14:41:48 (permalink)
0
Hi,
Maybe you can start with this : http://linuxptp.sourceforge.net
Regards
 
#2
KevinHuang
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2019/08/29 08:13:33
  • Location: 0
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/06/15 14:59:56 (permalink)
0
RISC
Hi,
Maybe you can start with this : http://linuxptp.sourceforge.net
Regards
 


Thank you RISC, I appreciate your help :)


Regards,
Kevin
#3
magnusbc
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/09/18 01:35:14
  • Location: 0
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/09/22 00:13:17 (permalink)
0
Hi Kevin,
 
I am trying to achieve something similar, have you had any luck with getting PTP to work?
#4
KevinHuang
Starting Member
  • Total Posts : 41
  • Reward points : 0
  • Joined: 2019/08/29 08:13:33
  • Location: 0
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/09/22 11:49:24 (permalink) ☄ Helpfulby magnusbc 2020/09/22 23:47:57
4 (1)
Hello magnusbc,
 
Unfortunately, the answer is No.
What I heard at 2 months ago was that " It does look like we're working on  a *prototype* version of IEEE1588v2 stack for the SAME70."
For that reason, I have to try to use the software PTP, which is barely enough for my application. But still there are some bugs related with the protocol I'm working on.
Good luck to you.
 
Regards,
Kevin
#5
domble
Super Member
  • Total Posts : 156
  • Reward points : 0
  • Joined: 2007/01/25 04:11:53
  • Location: UK
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/09/23 01:15:03 (permalink) ☄ Helpfulby magnusbc 2020/09/23 01:24:39
4 (1)
I've had to 'jump ship' to a Texas (ARM) processor as they had a PTP demo code for the chosen micro.  Turns out that the demo was only PTPv1 not PTPv2 so I've got fun trying to get PTPv2 (which Texas have code for but only on newer processors) to work on the (already designed) hardware.  Would have made my life much simpler if Microchip had a PTP module for Harmony!  Turns out that Microchip is not alone in trying their best to make documentation and sample code hard to find.
dom.
#6
magnusbc
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/09/18 01:35:14
  • Location: 0
  • Status: offline
Re: Need an example about the PTP (Precision Time Protocol, IEEE1588) for SAM chip 2020/09/23 01:25:51 (permalink)
5 (1)
Thanks for the information.
 
It's a real shame that microchip doesn't provide more information on this topic
 
Magnus
#7
Jump to:
© 2020 APG vNext Commercial Version 4.5