You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the RTIC Monotonic Frequency is the maximum frequency at which RTIC tasks can be scheduled this currently limits the sample rate for the Driver header ADC since it is scheduled by RTIC. I set the RTIC Monotonic Frequency to 10_000 for now but there might be other repercussions and for higher rates this might require eg. using a Timer to trigger conversions.
The text was updated successfully, but these errors were encountered:
I would highly recommend looking in to using a timer to trigger driver sampling - it will be subject to far less jitter than RTIC tasks and would likely be simpler from a code perspective. This is what Stabilizer ADC sampling does as well, so you likely can model the driver ADC driver on the stabilizer ADC drivers
Because the RTIC Monotonic Frequency is the maximum frequency at which RTIC tasks can be scheduled this currently limits the sample rate for the Driver header ADC since it is scheduled by RTIC. I set the RTIC Monotonic Frequency to 10_000 for now but there might be other repercussions and for higher rates this might require eg. using a Timer to trigger conversions.
The text was updated successfully, but these errors were encountered: