PyTmcStepper 0.7.8__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.
Files changed (51) hide show
  1. {pytmcstepper-0.7.8/src/PyTmcStepper.egg-info → pytmcstepper-0.8.0}/PKG-INFO +7 -5
  2. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/README.md +6 -4
  3. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/setup.cfg +1 -1
  4. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0/src/PyTmcStepper.egg-info}/PKG-INFO +7 -5
  5. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/SOURCES.txt +4 -0
  6. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_gpio_board.py +542 -403
  7. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_stallguard.py +153 -152
  8. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_stepperdriver.py +4 -3
  9. pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi.py +101 -0
  10. pytmcstepper-0.7.8/src/tmc_driver/com/_tmc_com_spi.py → pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi_base.py +40 -71
  11. pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_spi_ftdi.py +67 -0
  12. pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_uart.py +116 -0
  13. pytmcstepper-0.7.8/src/tmc_driver/com/_tmc_com_uart.py → pytmcstepper-0.8.0/src/tmc_driver/com/_tmc_com_uart_base.py +79 -109
  14. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec.py +4 -0
  15. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec_pin.py +53 -52
  16. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_dir.py +389 -388
  17. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_pwm_dir.py +97 -96
  18. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_step_reg.py +65 -64
  19. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_220x.py +8 -7
  20. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2240.py +7 -8
  21. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc_com_uart.py +1 -1
  22. pytmcstepper-0.8.0/tests/test_tmc_modules.py +62 -0
  23. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/LICENSE +0 -0
  24. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/pyproject.toml +0 -0
  25. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/dependency_links.txt +0 -0
  26. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/requires.txt +0 -0
  27. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/PyTmcStepper.egg-info/top_level.txt +0 -0
  28. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/__init__.py +0 -0
  29. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_exceptions.py +0 -0
  30. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_logger.py +0 -0
  31. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/_tmc_math.py +0 -0
  32. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/com/__init__.py +0 -0
  33. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/com/_tmc_com.py +0 -0
  34. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/__init__.py +0 -0
  35. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/enable_control/_tmc_ec_toff.py +0 -0
  36. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/__init__.py +0 -0
  37. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc.py +0 -0
  38. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/motion_control/_tmc_mc_vactual.py +0 -0
  39. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/reg/__init__.py +0 -0
  40. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc2209_reg.py +0 -0
  41. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc220x_reg.py +0 -0
  42. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc224x_reg.py +0 -0
  43. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/reg/_tmc_reg.py +0 -0
  44. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2208.py +0 -0
  45. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/src/tmc_driver/tmc_2209.py +0 -0
  46. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc2209.py +0 -0
  47. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc2240.py +0 -0
  48. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc_com_spi.py +0 -0
  49. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc_ec_pin.py +0 -0
  50. {pytmcstepper-0.7.8 → pytmcstepper-0.8.0}/tests/test_tmc_math.py +0 -0
  51. {pytmcstepper-0.7.8 → 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.7.8
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 | Class | Driver | Notes
153
- -- | -- | -- | --
154
- 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
155
- 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
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 | Class | Driver | Notes
122
- -- | -- | -- | --
123
- 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
124
- 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
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.7.8
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.7.8
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 | Class | Driver | Notes
153
- -- | -- | -- | --
154
- 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
155
- 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
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