Re: Time sync in CAN
Shreyas Ravishankar <[email protected]> Thu, 22 Oct 2015 14:54:49 +0200
| Newsgroups | gmane.comp.hardware.bus.can |
|---|---|
| Message-ID | <CAOci+M3Sqxo2UhMCrW296KRpEh4TMFouAgiFFSqrfbjEbAtLgw@mail.gmail.com> |
I am trying to implement a quality of service policy such that old data is not forwarded to the application that is to set a life span. All the ECU's in the network which are providers or consumers are connected via CAN and all have to be synchronized to some master clock because there is a Publish/Subscribe pattern in the communication protocol. So all data sent and received should have timestamps and then after the time sync mechanism, I can compare current time with the timestamps and drop data when specified lifespan expires. Hope you understood. I saw a mechanism which sends SYNC and FollowUp messgaes to provide time sync but I need an implementation. Kindly let me know. On Oct 22, 2015 14:41, "heikki saha" <[email protected]> wrote: > Hello, > > Please refine, what do you mean with "time sync"? > > Best regards, > > -H > > Heikki Saha, CTO > M.Sc. Automation > Dr.Tech. Electronics > TK Engineering Oy > Mail address: P.O. box 810, FIN-65101 VAASA > Visit address: Yrittäjänkatu 17, FIN-65380 VAASA > +358 (0)50 588 6894 > [email protected] > http://www.tke.fi/ > http://www.canopen.fi/ > > ----- Original Message ----- > From: "Shreyas Ravishankar" <[email protected]> > To: [email protected] > Sent: Thursday, October 22, 2015 3:07:02 PM > Subject: [CANLIST] Time sync in CAN > > > > Hello, > > I am trying to implement time sync in CAN. Can anyone help me with the > implementation? > -- > Archives and useful links: http://groups.yahoo.com/group/CANbus > Subscribe and unsubscribe at www.vector.com/canlist/ > Report any problems to <[email protected]> >