tmc2660: Use bus.py helper code for spi

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-11-18 18:18:25 -05:00
parent 1c71ea27e0
commit 9ba94ded9e
3 changed files with 25 additions and 48 deletions

View File

@@ -745,14 +745,14 @@
# The pin corresponding to the TMC2660 chip select line. This pin
# will be set to low at the start of SPI messages and set to high
# after the message transfer completes. This parameter must be provided.
#bus:
# Select the SPI bus the TMC2660 stepper driver is connected to. This
# depends on the physical connections on your board, as well as the
# SPI implementation of your particular microcontroller. This parameter
# must be provided.
#freq: 2000000
#spi_bus:
# Select the SPI bus the TMC2660 stepper driver is connected to.
# This depends on the physical connections on your board, as well as
# the SPI implementation of your particular micro-controller. The
# default is bus 0.
#spi_speed: 2000000
# SPI bus frequency used to communicate with the TMC2660 stepper
# driver. the default is 2000000.
# driver. The default is 2000000.
#microsteps:
# The number of microsteps to configure the driver to use. Valid
# values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must