Skip to content
JamesNewton edited this page Aug 20, 2018 · 50 revisions

Writes values to the FPGA / Gateware. The second parameter is written to the address of the FPGA specified by the first parameter. e.g. in DDE make_ins("w", 42, 64) writes the value 64 into the address 42 in the FPGA. If the address is ACCELERATION_MAXSPEED ( 5 ) then the maxSpeed and coupledAcceleration variables in DexRun will be updated.

Addr Function
5 ACCELERATION_MAXSPEED
42 COMMAND_REG
Bits:
1:CapCalibrateBase
2:CapCalibrateEnd
3:CapCalibratePivot
4: GoMove
5: SelectMoveChange
6: EnableLoop
7: AClrLoop
8: CAL_RUN
9: ResetMotorPosition
10: ResetForce
13-14: DiffAxisEnable
see cmd calc
79 PID? Timebase Divisor
80 Physics J123? Timebase Divisor
81 Physics J45? Timebase Divisor

Clone this wiki locally