Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-04-14 12:53:05 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-04-14 12:53:05 +0300
commita61382ecb2132cfb82bd34e1c459ea2a2be96c44 (patch)
tree90049f4517e101ab1de6e5dbc4c72aafa79100f2 /src/Duet3Mini
parent4b680f48fa8bcb2e3eb08be48aaa35cbae3a9c65 (diff)
Increased TMC2209 transfer timeout on Mini5+
Diffstat (limited to 'src/Duet3Mini')
-rw-r--r--src/Duet3Mini/Pins_Duet3Mini.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Duet3Mini/Pins_Duet3Mini.h b/src/Duet3Mini/Pins_Duet3Mini.h
index 4fc0030b..b5833e69 100644
--- a/src/Duet3Mini/Pins_Duet3Mini.h
+++ b/src/Duet3Mini/Pins_Duet3Mini.h
@@ -207,7 +207,7 @@ constexpr Pin TMC22xxMuxPins[1] = { PortDPin(0) };
// To write a register we need to send 12 bytes and receive 8 bytes after a programmable delay. To read a register we send 4 bytes and receive 8 bytes after a programmable delay.
// In testing I found that 500kbaud was not reliable. Minimum baud rate is 9000.
constexpr uint32_t DriversBaudRate = 100000; // at 100kbaud a transfer may take up to 2ms
-constexpr uint32_t TransferTimeout = 5; // any transfer should complete within 5 ticks @ 1ms/tick
+constexpr uint32_t TransferTimeout = 6; // any transfer should complete within 6 ticks @ 1ms/tick. 5 wasn't quite enough.
constexpr uint32_t DefaultStandstillCurrentPercent = 75;
#if defined(DUET3MINI_V04)