Draft: Enable ARB/RAM-mode on Urukuls in SUServo
Description
this creates a common code base for ramps and ARBs between UrukulChannel and SUServoChannel via a mixin (better ideas welcome!).
First attempts are made to enable RAM mode for ARB on SUServoChannel. This is not trivial since direct communication with the AD9910s is not by default possible. However, by setting the nu_mask register (see here) in the Urukul CPLD makes the AD9910 registers available directly. This is also used in the SUServo Init to initially configure the DSSes. Here the idea would be to toggle these bits to enable RAM operation and toggle them back when the Servo should take over again. However, so far I was not successful.
Type of change
Please delete options that are not relevant.
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to not work as expected) -
This change requires a documentation update
Checklist:
-
I have performed a self-review of my code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation