@gloomyandy said in tmc5160 is very noisy on Mellow Fly Super8-Pro motherboard:
@wanwan The 5160's do tend to be louder then 2209s especially so when operating in spreadcycle mode. When you switched to 2209s did you also switch to stealthchop mode, that would certainly be quieter. You may want to try adjusting the motor current to see if that makes any difference to the sound levels you have. When I am next at my printer I will post the settings I'm using. Can you post a new M122 output after running the motors for a short while I'd just like to check a couple of things.
Adjusting the current from 1.8A to 1.2A has no effect. DUET2 WIFI is excellent!!!
M122
=== Diagnostics ===
RepRapFirmware for STM32H7 based Boards (super8pro_h723) version 3.5.1 (2024-04-20 00:29:50) running on STM32H723 (standalone mode)
Board ID: 320Y2-0W1KL-D2MVJ-6M1F8-8F6UU-70000
Used output buffers: 3 of 40 (35 max)
=== RTOS ===
Static ram: 46440
Dynamic ram: 103224 of which 768 recycled
Never used RAM 92664, free system stack 104 words
Tasks: NETWORK(2,nWait 7,9.2%,181) HEAT(3,nWait 1,0.0%,320) Move(4,nWait 6,2.1%,254) CanReceiv(6,nWait 1,0.0%,427) CanSender(5,nWait 7,0.0%,337) CanClock(7,delaying,0.0%,331) TMC22xx(4,nWait 6,0.8%,113) TMC51xx(4,delaying,3.0%,107) FSWRITE(2,nWait 4,0.0%,562) MAIN(1,running,84.9%,980) IDLE(0,ready,0.1%,30), total 100.0%
Owned mutexes: BITIO(TMC22xx)
=== Platform ===
Last reset 00:13:07 ago, cause: power on/off
Last software reset at 2024-05-09 01:21, reason: User, Gcodes spinning, available RAM 95976, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04454000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 45.4, current 46.4, max 46.4
Supply voltage: min 24.2, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/16/16, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: ok 5160, SG min 0, mspos 922, reads 556, writes 0
Driver 1: ok 5160, SG min 0, mspos 834, reads 556, writes 0
Driver 2: standstill 5160, SG min 0, mspos 808, reads 556, writes 0
Driver 3: standstill 2209, SG min 0, reads 14061, writes 0
Driver 4: ok 2209, SG min 0, reads 14061, writes 0
Driver 5: standstill 2209, SG min 6, reads 14061, writes 0
Driver 6: standstill 2209, SG min 0, reads 14060, writes 0
Driver 7: standstill 2209, SG min 0, reads 14061, writes 0
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Driver 12:
Driver 13:
Date/time: 2024-05-09 02:13:22
Slowest loop: 2.40ms; fastest: 0.04ms
=== Storage ===
Free file entries: 19
SD card 0 detected
SD card longest read time 0.4ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 19, maxWait 494ms, bed compensation in use: mesh, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 1.00
next step interrupt due in 32 ticks, disabled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 16088, completed 16072, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 2 is on, I-accum = 0.4
=== GCodes ===
Movement locks held by null, null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 3
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 2, axes/extruders owned 0x40000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 1780, received 0, lost 0, errs 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0 free buffers 50 (min 50), ts 989/0/0
Tx timeouts 0,0,989,0,0,791 last cancelled message type 0 dest 1
=== Network ===
Slowest loop: 20.14ms; fastest: 0.07ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0)
HTTP sessions: 1 of 8
Uploads/Errors: 0/0
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Bad header: 0/0
Firmware version 2.1.0
MAC address 54:43:b2:4a:2e:64
Module reset reason: Power up, Vcc 0.00, flash size 4194304, free heap 189192
WiFi IP address 192.168.3.2
Signal strength -34dBm, channel 11, mode 802.11n, reconnections 0
Clock register 00003043
Socket states: 0 0 0 0 0 0 0 0
M122
=== Diagnostics ===
RepRapFirmware for STM32H7 based Boards (super8pro_h723) version 3.5.1 (2024-04-20 00:29:50) running on STM32H723 (standalone mode)
Board ID: 320Y2-0W1KL-D2MVJ-6M1F8-8F6UU-70000
Used output buffers: 3 of 40 (35 max)
=== RTOS ===
Static ram: 46440
Dynamic ram: 103224 of which 768 recycled
Never used RAM 92664, free system stack 104 words
Tasks: NETWORK(2,nWait 7,9.2%,181) HEAT(3,nWait 6,0.0%,320) Move(4,nWait 6,1.9%,254) CanReceiv(6,nWait 1,0.0%,427) CanSender(5,nWait 7,0.0%,337) CanClock(7,delaying,0.0%,331) TMC22xx(4,nWait 6,0.8%,113) TMC51xx(4,delaying,3.0%,107) FSWRITE(2,nWait 4,0.0%,562) MAIN(1,running,85.0%,980) IDLE(0,ready,0.1%,30), total 100.0%
Owned mutexes: BITIO(TMC22xx)
=== Platform ===
Last reset 00:13:56 ago, cause: power on/off
Last software reset at 2024-05-09 01:21, reason: User, Gcodes spinning, available RAM 95976, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04454000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 46.3, current 46.6, max 46.6
Supply voltage: min 24.2, current 24.3, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/16/16, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: ok 5160, SG min 0, mspos 544, reads 48384, writes 0
Driver 1: ok 5160, SG min 0, mspos 149, reads 48384, writes 0
Driver 2: ok 5160, SG min 0, mspos 192, reads 48384, writes 0
Driver 3: standstill 2209, SG min 0, reads 3446, writes 0
Driver 4: ok 2209, SG min 0, reads 3446, writes 0
Driver 5: standstill 2209, SG min 6, reads 3446, writes 0
Driver 6: standstill 2209, SG min 0, reads 3447, writes 0
Driver 7: standstill 2209, SG min 0, reads 3447, writes 0
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Driver 12:
Driver 13:
Date/time: 2024-05-09 02:14:11
Slowest loop: 2.35ms; fastest: 0.04ms
=== Storage ===
Free file entries: 19
SD card 0 detected
SD card longest read time 0.5ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 19, maxWait 510ms, bed compensation in use: mesh, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 1.00
next step interrupt due in 13 ticks, disabled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 17482, completed 17422, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 2 is on, I-accum = 0.4
=== GCodes ===
Movement locks held by null, null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is doing "G1 X127.4 Y109.828" in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 1, axes/extruders owned 0x40000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 438, received 0, lost 0, errs 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0 free buffers 50 (min 50), ts 243/0/0
Tx timeouts 0,0,243,0,0,195 last cancelled message type 0 dest 1
=== Network ===
Slowest loop: 20.65ms; fastest: 0.07ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0)
HTTP sessions: 1 of 8
Uploads/Errors: 0/0
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Bad header: 0/0
Firmware version 2.1.0
MAC address 54:43:b2:4a:2e:64
Module reset reason: Power up, Vcc 0.00, flash size 4194304, free heap 188292
WiFi IP address 192.168.3.2
Signal strength -31dBm, channel 11, mode 802.11n, reconnections 0
Clock register 00003043
Socket states: 0 0 0 0 0 0 0 0```
code_text
M122
=== Diagnostics ===
RepRapFirmware for STM32H7 based Boards (super8pro_h723) version 3.5.1 (2024-04-20 00:29:50) running on STM32H723 (standalone mode)
Board ID: 320Y2-0W1KL-D2MVJ-6M1F8-8F6UU-70000
Used output buffers: 8 of 40 (35 max)
=== RTOS ===
Static ram: 46440
Dynamic ram: 103224 of which 768 recycled
Never used RAM 92664, free system stack 104 words
Tasks: NETWORK(2,nWait 7,9.2%,181) HEAT(3,nWait 1,0.0%,320) Move(4,nWait 6,2.0%,254) CanReceiv(6,nWait 1,0.0%,427) CanSender(5,nWait 7,0.0%,337) CanClock(7,delaying,0.0%,331) TMC22xx(4,nWait 6,0.8%,101) TMC51xx(4,delaying,3.0%,107) FSWRITE(2,nWait 4,0.0%,562) MAIN(1,running,85.0%,980) IDLE(0,ready,0.1%,30), total 100.0%
Owned mutexes: WiFi(NETWORK) BITIO(TMC22xx)
=== Platform ===
Last reset 00:17:50 ago, cause: power on/off
Last software reset at 2024-05-09 01:21, reason: User, Gcodes spinning, available RAM 95976, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04454000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 46.8, current 47.2, max 47.2
Supply voltage: min 24.2, current 24.3, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/16/16, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: ok 5160, SG min 0, mspos 613, reads 10152, writes 0
Driver 1: standstill 5160, SG min 0, mspos 8, reads 10152, writes 0
Driver 2: ok 5160, SG min 0, mspos 208, reads 10152, writes 0
Driver 3: standstill 2209, SG min 0, reads 10053, writes 0
Driver 4: ok 2209, SG min 0, reads 10053, writes 0
Driver 5: standstill 2209, SG min 6, reads 10054, writes 0
Driver 6: standstill 2209, SG min 0, reads 10053, writes 0
Driver 7: standstill 2209, SG min 0, reads 10053, writes 0
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Driver 12:
Driver 13:
Date/time: 2024-05-09 02:18:05
Slowest loop: 2.40ms; fastest: 0.04ms
=== Storage ===
Free file entries: 19
SD card 0 detected
SD card longest read time 0.4ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 19, maxWait 460ms, bed compensation in use: mesh, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 1.00
next step interrupt due in 18 ticks, disabled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 23999, completed 23939, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 2 is on, I-accum = 0.5
=== GCodes ===
Movement locks held by null, null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is doing "G1 X161.92 Y121.041 E.03524" in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 1, axes/extruders owned 0x40000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 1275, received 0, lost 0, errs 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0 free buffers 50 (min 50), ts 708/0/0
Tx timeouts 0,0,708,0,0,567 last cancelled message type 0 dest 1
=== Network ===
Slowest loop: 20.56ms; fastest: 0.07ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0)
HTTP sessions: 1 of 8
Uploads/Errors: 0/0
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Bad header: 0/0
Firmware version 2.1.0
MAC address 54:43:b2:4a:2e:64
Module reset reason: Power up, Vcc 0.00, flash size 4194304, free heap 184368
WiFi IP address 192.168.3.2
Signal strength -30dBm, channel 11, mode 802.11n, reconnections 0
Clock register 00003043
Socket states: 0 0 0 0 0 0 0 0