Skip to content

Configuring score::time for integration into a vendor ECU #309

Open

Description

@florianfueller

What

The software integrator of a vendor ECU project needs the possibility to configure different values in score::time.

Acceptance Criteria (DoD)

  • A configuration strategy is defined and documented, specifying build-time or runtime configuration
  • A complete inventory of configurable values is documented.
  • The chosen strategy is implemented for every value in the inventory

How

Configurable values derived from AoUs, requirements and code:

Configurable Value Reference (AoU ID / Requirement ID / Code)
Vehicle Time gPTP domain aou_req__feature_time__veh_domain_config
gPTP slave-port network interface aou_req__feature_time__veh_port_config
Local hardware clocks synchronized to Vehicle Time aou_req__feature_time__veh_hw_clock_config
Follow_Up receipt timeout aou_req__feature_time__veh_fup_tmo_config
Pdelay_Req transmission interval aou_req__feature_time__veh_pdelay_int_config
Peer-delay measurement discard threshold aou_req__feature_time__veh_pdelay_disc_config
Vehicle Time synchronization timeout period aou_req__feature_time__veh_timeout_config
Vehicle Time startup timeout period aou_req__feature_time__veh_start_tmo_config
Time-leap-to-future threshold aou_req__feature_time__veh_leap_fut_config
Time-leap-to-past threshold aou_req__feature_time__veh_leap_past_config
Time-leap debounce period after first synchronization aou_req__feature_time__veh_debounce_config
Shared consecutive-update count for healing time-leap indications aou_req__feature_time__veh_heal_count_config
Whether to evaluate the first synchronization update after a timeout for time leaps aou_req__feature_time__veh_leap_tmo_config
Absolute Time accuracy validity period aou_req__feature_time__abs_acc_period_config
Absolute Time security degradation period aou_req__feature_time__abs_sec_period_config
System Clock setting threshold: difference from Absolute Time aou_req__feature_time__sys_threshold_config
Minimum Absolute Time accuracy for setting the System Clock, expressed as an inaccuracy limit aou_req__feature_time__sys_min_acc_config
Minimum Absolute Time security level for setting the System Clock aou_req__feature_time__sys_min_sec_config
Vehicle Time synchronization precision bound: maximum permitted deviation from the Grand Master feat_req__time__vehicle_time_sync_prec
TimeDaemon IPC Cache-Line-Size score/time_daemon/src/ipc/core/shared_memory_handler.h:85
PTP poll period score/time_daemon/src/ptp_machine/shm/factory.cpp:22
ControlFlowDivider timeout score/time_daemon/src/application/timebase_handlers/score/vehicle_time/score_vehicle_timebase_handler.cpp:43
TimeDaemon IPC SHM name score/time_daemon/src/ipc/svt/config.h:26
TimeDaemon IPC SHM access control score/time_daemon/src/ipc/core/shared_memory_handler.h:131

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions