This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
subdevices [2023/12/06 14:34] – [Interrupt Multiplexer] ursgraf | subdevices [2023/12/19 12:57] – [DAC] ursgraf | ||
---|---|---|---|
Line 34: | Line 34: | ||
|0x28|4|value_1|r|no|channel 1: digitized input value| | |0x28|4|value_1|r|no|channel 1: digitized input value| | ||
|..|4|..|r/ | |..|4|..|r/ | ||
- | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. This subdevice uses a pin on the FPGA device for each channel. | + | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. This subdevice uses 3 to 4 pins for the SPI depending |
==== Subtypes ==== | ==== Subtypes ==== | ||
Currently there are three subtypes of this subdevice. The subtype information can be found in the '' | Currently there are three subtypes of this subdevice. The subtype information can be found in the '' | ||
Line 49: | Line 49: | ||
|0x28|4|value_1|r/ | |0x28|4|value_1|r/ | ||
|..|4|..|r/ | |..|4|..|r/ | ||
- | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. This subdevice uses a pin on the FPGA device for each channel. | + | The status register in the subheader is unused with this function. In the configuration register setting the bit 0 will reset the subdevice. This subdevice uses 5 pins. |
==== Subtypes ==== | ==== Subtypes ==== | ||
Currently there is one subtype of this subdevice. The subtype information can be found in the '' | Currently there is one subtype of this subdevice. The subtype information can be found in the '' | ||
Line 349: | Line 349: | ||
|0xnn+4|4|acc_1|r/ | |0xnn+4|4|acc_1|r/ | ||
|..|4|..|r/ | |..|4|..|r/ | ||
- | |0xoo|4|stepps_todo_0|r/ | + | |0xoo|4|dest_steps_0|r/ |
- | |0xoo+4|4|stepps_todo_1|r/ | + | |0xoo+4|4|dest_steps_1|r/ |
|..|4|..|r/ | |..|4|..|r/ | ||
- | |0xpp|4|stepps_done_0|r|no|motor 0: current position (number of steps)| | + | |0xpp|4|curr_steps_0|r|no|motor 0: current position (number of steps)| |
- | |0xpp+4|4|stepps_done_1|r|no|motor 1: current position (number of steps)| | + | |0xpp+4|4|curr_steps_1|r|no|motor 1: current position (number of steps)| |
|..|4|..|r|no|..| | |..|4|..|r|no|..| | ||
Line 364: | Line 364: | ||
* Two Phase: 1 => two phase operation, 0 => one phase operation. Only required in full step mode. | * Two Phase: 1 => two phase operation, 0 => one phase operation. Only required in full step mode. | ||
* Run Mode: 00 => free running, no holding torque, 01 => stepping mode, 10 => speed mode, 11 => reserved | * Run Mode: 00 => free running, no holding torque, 01 => stepping mode, 10 => speed mode, 11 => reserved | ||
- | * Start: if set to 1 the motor will start until stopped by a 0 or the number of steps is reached in stepping mode | + | * Start: if set to 1 the motor will start. Writing |
* Reset Step Counter: A ' | * Reset Step Counter: A ' | ||