• Humberto Jimenez's avatar
    n3xx: Change init() procedure to reduce configuration time · 9fc4b029
    Humberto Jimenez authored
    Previously, the init() procedure of the n3xx class passed either
    the user-provided or the default clock_source and time_source values
    to initialize the clocking configuration.
    When the user did not provide these parameters, the default values
    were assigned, overriding whatever configuration the device was
    previously initialized with. Therefore, a dboard reinit was forced
    when the currently configured state of the N3xx device did not match
    the default configuration (i.e. internal sources).
    
    Now, the init() procedure still provides the clock_source and
    time_source values; but, if the user does not provide the
    parameters, the previously used values are assigned (i.e.
    self._clock_source and/or self._time_source).
    By the time MPM runs this n3xx init() procedure for the first time,
    both self._clock_source and self._time_source have been initialized
    with the default internal values anyways in the
    _init_ref_clock_and_time() procedure.
    
    This change prevents additional, unnecessary calls to the
    set_sync_source() procedure, which ultimately causes a daughterboard
    reinitialization when either a new clock or time source is requested.
    9fc4b029
Name
Last commit
Last update
.github Loading commit data...
firmware Loading commit data...
fpga-src @ 494ae8bb Loading commit data...
host Loading commit data...
images Loading commit data...
mpm Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGELOG Loading commit data...
CODING.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...