The goal here is to modify the encoder to support a triggering of the sensor, have it perform the acquisition and sampling, then assert a done signal once completed.
The encoder does not inherently support this interface.
The existing "trigger" is simply based on an active signal from the pwm (either pwm_carrier_low or pwm_carrier _high is high). When this occurs, the instantaneous updates are copied into a synced register. Now, this should happen as per the new "trigger" signal.
Once this is done, output a "done" signal.
The done signal will be sent to the soon-to-be implemented timing manager IP core, which also sends over the trigger signal.
Place any steps here after completion of #330.
[x] Support trigger input to trigger sampling
[x] Add "done" signal as an output when sampling is done
This is a sub-issue of #323.
The goal here is to modify the encoder to support a triggering of the sensor, have it perform the acquisition and sampling, then assert a done signal once completed.
The encoder does not inherently support this interface.
The existing "trigger" is simply based on an active signal from the pwm (either
pwm_carrier_low
orpwm_carrier _high
is high). When this occurs, the instantaneous updates are copied into a synced register. Now, this should happen as per the new "trigger" signal.Once this is done, output a "done" signal.
The done signal will be sent to the soon-to-be implemented timing manager IP core, which also sends over the trigger signal.
Place any steps here after completion of #330.