{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/10043","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/10043/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/10043/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/10043/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/10043","id":304098383,"number":10043,"title":"TMC2130 Software-SPI: driver-failure during print","user":{"login":"LichtiMC","id":18006112,"avatar_url":"https://avatars0.githubusercontent.com/u/18006112?v=4","gravatar_id":"","url":"https://api.github.com/users/LichtiMC","html_url":"https://github.com/LichtiMC","followers_url":"https://api.github.com/users/LichtiMC/followers","following_url":"https://api.github.com/users/LichtiMC/following{/other_user}","gists_url":"https://api.github.com/users/LichtiMC/gists{/gist_id}","starred_url":"https://api.github.com/users/LichtiMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LichtiMC/subscriptions","organizations_url":"https://api.github.com/users/LichtiMC/orgs","repos_url":"https://api.github.com/users/LichtiMC/repos","events_url":"https://api.github.com/users/LichtiMC/events{/privacy}","received_events_url":"https://api.github.com/users/LichtiMC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-10T19:41:30Z","updated_at":"2018-03-11T15:45:32Z","closed_at":null,"author_association":"NONE","body":"For testing purposes I have only fitted the X-axis with an TMC2130-driver.\r\n\r\nI'm using Arduino DUE SAM3X8E with SMART_RAMPS board, SPI is configured like this:\r\n```C++  \r\n  #define TMC_USE_SW_SPI\r\n  #define TMC_SW_MOSI       51\r\n  #define TMC_SW_MISO       50\r\n  #define TMC_SW_SCK        52\r\n```\r\nWith this configuration printing starts fine, but after a random time the tmc-driver fails and just stands still. I think I can rule out temperature problems as my H-Bot printer is using 400ma stepper motors. The tmc doesn't even get warm, the motors get warm to approximately 40 degrees:\r\n```C++\r\n  #define X_CURRENT          400  // rms current in mA. Multiply by 1.41 for peak current.\r\n  #define X_MICROSTEPS        16  // 0..256\r\n```\r\n\r\nThis happened with the 2 last prints:\r\n![image](https://user-images.githubusercontent.com/18006112/37246080-ed79fb8c-24a2-11e8-9818-306b40427445.png)\r\n\r\nCould this problem arise due to a bug in the software?\r\nHow could I debug the failure?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/372125040","html_url":"https://github.com/MarlinFirmware/Marlin/issues/10043#issuecomment-372125040","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/10043","id":372125040,"user":{"login":"8Roman8","id":28136411,"avatar_url":"https://avatars0.githubusercontent.com/u/28136411?v=4","gravatar_id":"","url":"https://api.github.com/users/8Roman8","html_url":"https://github.com/8Roman8","followers_url":"https://api.github.com/users/8Roman8/followers","following_url":"https://api.github.com/users/8Roman8/following{/other_user}","gists_url":"https://api.github.com/users/8Roman8/gists{/gist_id}","starred_url":"https://api.github.com/users/8Roman8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8Roman8/subscriptions","organizations_url":"https://api.github.com/users/8Roman8/orgs","repos_url":"https://api.github.com/users/8Roman8/repos","events_url":"https://api.github.com/users/8Roman8/events{/privacy}","received_events_url":"https://api.github.com/users/8Roman8/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T15:45:32Z","updated_at":"2018-03-11T15:45:32Z","author_association":"NONE","body":"Haveyou tired the standalone mode? Maybe this depends on the driver itselv? "}}
{"actor":{"display_login":"8Roman8"}}