Time Slave Behavior of Automotive Ethernet Time Synchronization

Publisher:绿意盎然Latest update time:2023-08-25 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Time Slave Behavior

In the gPTP network, the node that acts as a Time Slave has the following message processing flow:


If EthTSynHardwareTimestampSupport is set to TRUE, the TimeSlave node can obtain the timestamp of the SYNC message received through the function EthTSyn_RxIndication;

TimeSlave can configure the parameter EthTSynGlobalTimeFollowUpTimeout to implement timeout monitoring of Follow_Up messages after receiving SYNC messages. Once a timeout occurs, the current time synchronization will fail and the system will wait for the next new time synchronization sequence.

If EthTSynHardwareTimestampSupport is set to TRUE, after the TimeSlave node receives a valid Follow_Up message, if the difference between the local time and the global time sent by Follow_Up exceeds EthTSynTimeHardwareCorrectionThreshold, then the function EthIf_SetCorrectionTime needs to be called to reset the local time.

If EthTSynHardwareTimestampSupport is set to FALSE, the Time Slave needs to calculate the global time and then use the function StbM_BusSetGlobalTime to achieve time synchronization;

In order to help you better use the EthTsync module, Xiao T has compiled the commonly used function interfaces and functional descriptions of the vehicle-mounted Ethernet time synchronization module, as shown in Figure 18 below:

picture


Reference address:Time Slave Behavior of Automotive Ethernet Time Synchronization

Previous article:AutoSAR architecture and its operation on multi-core automotive MCUs
Next article:Behavior of Time Master in Automotive Ethernet Time Synchronization

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号