-
Notifications
You must be signed in to change notification settings - Fork 5
/
Nyoomies-TMC2209+Pico.cfg
140 lines (114 loc) · 3.23 KB
/
Nyoomies-TMC2209+Pico.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Nyoomies v5 ~ Config Rev 2B, 2024-05-10, TMC2209 w/ RP2040 MCU
[mcu nyoomies]
serial: # Fill me in!
# Make sure to change 'stepper_ABCD' per https://www.klipper3d.org/Config_Reference.html#stepper
# Name | Pico | STM32
# ======= Pins for SPI
# SCK | GPIO18 | PA5
# MOSI | GPIO19 | PA7
# MISO | GPIO16 | PA6
#
# On STM32, Pins are wired to HW SPI: 'SPI_BUS= SPI1'
# On RP2040, Pins are wired to HW SPI: 'SPI_BUS= SPI0'
#
# ======= Chipselect Pins
# M1 | GPIO4 | PA8
# M2 | GPIO9 | PB4
# M3 | GPIO28 | PB10
# M4 | GPIO17 | PC15
#
# Breaks out unused STM32 GPIO to header
# Plus one unused RP2040 pin
# ======= Expansion Port
# GPIO26 | PA1
# PA3 | PA2
# PA4 | PB9
# GND | 3V3
# ================================================ MOTOR 1
[stepper_ABCD]
enable_pin: !nyoomies:gpio0
dir_pin: nyoomies:gpio3
step_pin: nyoomies:gpio2
microsteps: 64
rotation_distance: 40
position_endstop: XX # \
position_min: XX # | Machine Specific
position_max: XXX # | Make sure to change me!
homing_speed: XX # /
# endstop_pin: tmc2209_stepper_ABCD:virtual_endstop
# endstop_pin: nyoomies:gpio1
[tmc2209 stepper_ABCD]
run_current: 0.8
stealthchop_threshold: 999999
uart_pin: nyoomies:gpio15
tx_pin: nyoomies:gpio14
uart_address: 0
#interpolate: false
# diag_pin: nyoomies:gpio1
# driver_SGTHRS: 255
# ================================================ MOTOR 2
[stepper_ABCD]
enable_pin: !nyoomies:gpio5
dir_pin: nyoomies:gpio8
step_pin: nyoomies:gpio7
microsteps: 64
rotation_distance: 40
position_endstop: XX # \
position_min: XX # | Machine Specific
position_max: XXX # | Make sure to change me!
homing_speed: XX # /
# endstop_pin: tmc2209_stepper_ABCD:virtual_endstop
# endstop_pin: nyoomies:gpio6
[tmc2209 stepper_ABCD]
run_current: 0.8
stealthchop_threshold: 999999
#interpolate: false
uart_pin: nyoomies:gpio15
tx_pin: nyoomies:gpio14
uart_address: 1
# diag_pin: nyoomies:gpio6
# driver_SGTHRS: 255
# ================================================ MOTOR 3
[stepper_ABCD]
enable_pin: !nyoomies:gpio10
dir_pin: nyoomies:gpio13
step_pin: nyoomies:gpio12
microsteps: 64
rotation_distance: 40
position_endstop: XX # \
position_min: XX # | Machine Specific
position_max: XXX # | Make sure to change me!
homing_speed: XX # /
# endstop_pin: tmc2209_stepper_ABCD:virtual_endstop
# endstop_pin: nyoomies:gpio11
[tmc2209 stepper_ABCD]
run_current: 0.8
stealthchop_threshold: 999999
uart_pin: nyoomies:gpio15
tx_pin: nyoomies:gpio14
uart_address: 2
#interpolate: false
# diag_pin: nyoomies:gpio11
# driver_SGTHRS: 255
# ================================================ MOTOR 4
[stepper_ABCD]
enable_pin: !nyoomies:gpio27
dir_pin: nyoomies:gpio20
step_pin: nyoomies:gpio22
microsteps: 64
rotation_distance: 40
position_endstop: XX # \
position_min: XX # | Machine Specific
position_max: XXX # | Make sure to change me!
homing_speed: XX # /
# endstop_pin: tmc2209_stepper_ABCD:virtual_endstop
# endstop_pin: nyoomies:gpio26
[tmc2209 stepper_ABCD]
run_current: 0.8
stealthchop_threshold: 999999
uart_pin: nyoomies:gpio15
tx_pin: nyoomies:gpio14
uart_address: 3
#interpolate: false
# diag_pin: nyoomies:gpio26
# driver_SGTHRS: 255