Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TimingDriftSync Class Reference
Inherits mbed_host_tests::BaseHostTest.
Detailed Description
This works as master-slave fashion 1) Device says its booted up and ready to run the test, wait for host to respond 2) Host sends the message to get the device current time i.e base time # # * # * | #<---* DUT<- base_time | - round_trip_base_time ------ # * | | # * - | # - | # | | # | | # | - measurement_stretch | - nominal_time # | | # | | # - | # * - | # * | | #<---* DUT <-final_time | - round_trip_final_time------ # * | # * - # # # As we increase the measurement_stretch, the error because of transport delay diminishes. # The values of measurement_stretch is propotional to round_trip_base_time(transport delays) # by factor time_measurement_multiplier.This multiplier is used is 80 to tolerate 2 sec of # transport delay and test time ~ 180 secs # # Failure in timing can occur if we are ticking too fast or we are ticking too slow, hence we have # min_range and max_range. if we cross on either side tests would be marked fail. The range is a function of # tolerance/acceptable drift currently its 5%. #
Definition at line 22 of file timing_drift_auto.py.
Generated on Tue Jul 12 2022 13:33:26 by
