PyTmcStepper 0.7.7__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytmcstepper-0.7.7/src/PyTmcStepper.egg-info → pytmcstepper-0.8.0}/PKG-INFO +7 -5
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/README.md +6 -4
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/setup.cfg +1 -1
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0/src/PyTmcStepper.egg-info}/PKG-INFO +7 -5
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/SOURCES.txt +4 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_gpio_board.py +542 -393
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_logger.py +12 -3
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_stallguard.py +153 -139
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_stepperdriver.py +18 -14
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/com/_tmc_com.py +8 -10
- pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi.py +101 -0
- pytmcstepper-0.7.7/src/tmc_driver/com/_tmc_com_spi.py → pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi_base.py +42 -70
- pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi_ftdi.py +67 -0
- pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_uart.py +116 -0
- pytmcstepper-0.7.7/src/tmc_driver/com/_tmc_com_uart.py → pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_uart_base.py +79 -106
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec.py +7 -1
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec_pin.py +53 -48
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec_toff.py +7 -4
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc.py +31 -24
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_dir.py +389 -383
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_pwm_dir.py +97 -96
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_reg.py +65 -61
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_vactual.py +6 -4
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc_reg.py +3 -7
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2209.py +8 -6
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_220x.py +14 -11
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2240.py +19 -16
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc_com_uart.py +1 -1
- pytmcstepper-0.8.0/tests/test_tmc_modules.py +62 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/LICENSE +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/pyproject.toml +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/dependency_links.txt +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/requires.txt +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/top_level.txt +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/__init__.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_exceptions.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_math.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/com/__init__.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/__init__.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/__init__.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/reg/__init__.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc2209_reg.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc220x_reg.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc224x_reg.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2208.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc2209.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc2240.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc_com_spi.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc_ec_pin.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc_math.py +0 -0
- {pytmcstepper-0.7.7 → pytmcstepper-0.8.0}/tests/test_tmc_move.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyTmcStepper
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: This is a Python libary to drive a stepper motor with a Trinamic stepper driver and a single board computer like a Raspberry Pi
|
|
5
5
|
Home-page: https://github.com/Chr157i4n/PyTmcStepper
|
|
6
6
|
Author: Christian Köhlke
|
|
@@ -98,6 +98,7 @@ gpiozero | RASPBERRY_PI5 | Pi5
|
|
|
98
98
|
Jetson.GPIO | NVIDIA_JETSON | Nvidia Jetson
|
|
99
99
|
pheriphery | LUCKFOX_PICO | Luckfox Pico
|
|
100
100
|
OPi.GPIO | ORANGE_PI | Orange Pi
|
|
101
|
+
pyftdi | - | Windows/Linux
|
|
101
102
|
|
|
102
103
|
Those libraries are needed for this library to work. You can either install the correct library yourself.
|
|
103
104
|
You can also install the needed GPIO library by specifing the Installation Parameter while installing this library:
|
|
@@ -149,10 +150,11 @@ Further methods of controlling the motion of a motor could be:
|
|
|
149
150
|
|
|
150
151
|
### Com
|
|
151
152
|
|
|
152
|
-
Com
|
|
153
|
-
--
|
|
154
|
-
UART
|
|
155
|
-
SPI
|
|
153
|
+
Com | Class | Driver | Notes
|
|
154
|
+
-- | -- | -- | --
|
|
155
|
+
UART | [TmcComUart](src/tmc_driver/com/_tmc_com_uart.py) | all | Communication via UART (RX, TX). See [Wiring](#uart)<br />[pyserial](https://pypi.org/project/pyserial) needs to be installed
|
|
156
|
+
SPI | [TmcComSpi](src/tmc_driver/com/_tmc_com_spi.py) | TMC2240 | Communication via SPI (MOSI, MISO, CLK, CS). See [Wiring](#spi)<br />[spidev](https://pypi.org/project/spidev) needs to be installed
|
|
157
|
+
SPI over FT232H | [TmcComSpiFtdi](src/tmc_driver/com/_tmc_com_spi_ftdi.py) | TMC2240 | Communication via SPI using a FT232H. This can be used on any OS.<br />[pyftdi](https://pypi.org/project/pyftdi) needs to be installed
|
|
156
158
|
|
|
157
159
|
## Wiring
|
|
158
160
|
|
|
@@ -67,6 +67,7 @@ gpiozero | RASPBERRY_PI5 | Pi5
|
|
|
67
67
|
Jetson.GPIO | NVIDIA_JETSON | Nvidia Jetson
|
|
68
68
|
pheriphery | LUCKFOX_PICO | Luckfox Pico
|
|
69
69
|
OPi.GPIO | ORANGE_PI | Orange Pi
|
|
70
|
+
pyftdi | - | Windows/Linux
|
|
70
71
|
|
|
71
72
|
Those libraries are needed for this library to work. You can either install the correct library yourself.
|
|
72
73
|
You can also install the needed GPIO library by specifing the Installation Parameter while installing this library:
|
|
@@ -118,10 +119,11 @@ Further methods of controlling the motion of a motor could be:
|
|
|
118
119
|
|
|
119
120
|
### Com
|
|
120
121
|
|
|
121
|
-
Com
|
|
122
|
-
--
|
|
123
|
-
UART
|
|
124
|
-
SPI
|
|
122
|
+
Com | Class | Driver | Notes
|
|
123
|
+
-- | -- | -- | --
|
|
124
|
+
UART | [TmcComUart](src/tmc_driver/com/_tmc_com_uart.py) | all | Communication via UART (RX, TX). See [Wiring](#uart)<br />[pyserial](https://pypi.org/project/pyserial) needs to be installed
|
|
125
|
+
SPI | [TmcComSpi](src/tmc_driver/com/_tmc_com_spi.py) | TMC2240 | Communication via SPI (MOSI, MISO, CLK, CS). See [Wiring](#spi)<br />[spidev](https://pypi.org/project/spidev) needs to be installed
|
|
126
|
+
SPI over FT232H | [TmcComSpiFtdi](src/tmc_driver/com/_tmc_com_spi_ftdi.py) | TMC2240 | Communication via SPI using a FT232H. This can be used on any OS.<br />[pyftdi](https://pypi.org/project/pyftdi) needs to be installed
|
|
125
127
|
|
|
126
128
|
## Wiring
|
|
127
129
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = PyTmcStepper
|
|
3
|
-
version = 0.
|
|
3
|
+
version = 0.8.0
|
|
4
4
|
author = Christian Köhlke
|
|
5
5
|
author_email = christian@koehlke.de
|
|
6
6
|
description = This is a Python libary to drive a stepper motor with a Trinamic stepper driver and a single board computer like a Raspberry Pi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyTmcStepper
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: This is a Python libary to drive a stepper motor with a Trinamic stepper driver and a single board computer like a Raspberry Pi
|
|
5
5
|
Home-page: https://github.com/Chr157i4n/PyTmcStepper
|
|
6
6
|
Author: Christian Köhlke
|
|
@@ -98,6 +98,7 @@ gpiozero | RASPBERRY_PI5 | Pi5
|
|
|
98
98
|
Jetson.GPIO | NVIDIA_JETSON | Nvidia Jetson
|
|
99
99
|
pheriphery | LUCKFOX_PICO | Luckfox Pico
|
|
100
100
|
OPi.GPIO | ORANGE_PI | Orange Pi
|
|
101
|
+
pyftdi | - | Windows/Linux
|
|
101
102
|
|
|
102
103
|
Those libraries are needed for this library to work. You can either install the correct library yourself.
|
|
103
104
|
You can also install the needed GPIO library by specifing the Installation Parameter while installing this library:
|
|
@@ -149,10 +150,11 @@ Further methods of controlling the motion of a motor could be:
|
|
|
149
150
|
|
|
150
151
|
### Com
|
|
151
152
|
|
|
152
|
-
Com
|
|
153
|
-
--
|
|
154
|
-
UART
|
|
155
|
-
SPI
|
|
153
|
+
Com | Class | Driver | Notes
|
|
154
|
+
-- | -- | -- | --
|
|
155
|
+
UART | [TmcComUart](src/tmc_driver/com/_tmc_com_uart.py) | all | Communication via UART (RX, TX). See [Wiring](#uart)<br />[pyserial](https://pypi.org/project/pyserial) needs to be installed
|
|
156
|
+
SPI | [TmcComSpi](src/tmc_driver/com/_tmc_com_spi.py) | TMC2240 | Communication via SPI (MOSI, MISO, CLK, CS). See [Wiring](#spi)<br />[spidev](https://pypi.org/project/spidev) needs to be installed
|
|
157
|
+
SPI over FT232H | [TmcComSpiFtdi](src/tmc_driver/com/_tmc_com_spi_ftdi.py) | TMC2240 | Communication via SPI using a FT232H. This can be used on any OS.<br />[pyftdi](https://pypi.org/project/pyftdi) needs to be installed
|
|
156
158
|
|
|
157
159
|
## Wiring
|
|
158
160
|
|
|
@@ -21,7 +21,10 @@ src/tmc_driver/tmc_2240.py
|
|
|
21
21
|
src/tmc_driver/com/__init__.py
|
|
22
22
|
src/tmc_driver/com/_tmc_com.py
|
|
23
23
|
src/tmc_driver/com/_tmc_com_spi.py
|
|
24
|
+
src/tmc_driver/com/_tmc_com_spi_base.py
|
|
25
|
+
src/tmc_driver/com/_tmc_com_spi_ftdi.py
|
|
24
26
|
src/tmc_driver/com/_tmc_com_uart.py
|
|
27
|
+
src/tmc_driver/com/_tmc_com_uart_base.py
|
|
25
28
|
src/tmc_driver/enable_control/__init__.py
|
|
26
29
|
src/tmc_driver/enable_control/_tmc_ec.py
|
|
27
30
|
src/tmc_driver/enable_control/_tmc_ec_pin.py
|
|
@@ -43,4 +46,5 @@ tests/test_tmc_com_spi.py
|
|
|
43
46
|
tests/test_tmc_com_uart.py
|
|
44
47
|
tests/test_tmc_ec_pin.py
|
|
45
48
|
tests/test_tmc_math.py
|
|
49
|
+
tests/test_tmc_modules.py
|
|
46
50
|
tests/test_tmc_move.py
|