Mohsen Alizadeh Noghani
2018-10-28 12:07:50 UTC
Hello everyone.
In the rtai_rtdm_dc example, there is a choice of syncing the master's
clock to the reference slave, instead of the other way around.
The algorithm is basically implemented in three functions, *system_time_ns*,
*sync_distributed_clocks, *and *update_master_clock.*
There are many variables (both global and local) used in those functions.
Which one shows the difference between the slave's and the master's clock?
I'm looking for something similar to resgister 0x92c, which could be read
in case of syncing the slave 0's clock to the master's.
Best,
Mohsen
In the rtai_rtdm_dc example, there is a choice of syncing the master's
clock to the reference slave, instead of the other way around.
The algorithm is basically implemented in three functions, *system_time_ns*,
*sync_distributed_clocks, *and *update_master_clock.*
There are many variables (both global and local) used in those functions.
Which one shows the difference between the slave's and the master's clock?
I'm looking for something similar to resgister 0x92c, which could be read
in case of syncing the slave 0's clock to the master's.
Best,
Mohsen