{"action":"created","issue":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/354","repository_url":"https://api.github.com/repos/KevinOConnor/klipper","labels_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/354/comments","events_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/354/events","html_url":"https://github.com/KevinOConnor/klipper/issues/354","id":325468834,"number":354,"title":"Unstable mcu frequency with atmega2560 and ramp 1.4","user":{"login":"RichardBsolut","id":1217900,"avatar_url":"https://avatars3.githubusercontent.com/u/1217900?v=4","gravatar_id":"","url":"https://api.github.com/users/RichardBsolut","html_url":"https://github.com/RichardBsolut","followers_url":"https://api.github.com/users/RichardBsolut/followers","following_url":"https://api.github.com/users/RichardBsolut/following{/other_user}","gists_url":"https://api.github.com/users/RichardBsolut/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardBsolut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardBsolut/subscriptions","organizations_url":"https://api.github.com/users/RichardBsolut/orgs","repos_url":"https://api.github.com/users/RichardBsolut/repos","events_url":"https://api.github.com/users/RichardBsolut/events{/privacy}","received_events_url":"https://api.github.com/users/RichardBsolut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-22T21:24:46Z","updated_at":"2018-05-23T10:49:30Z","closed_at":null,"author_association":"NONE","body":"I get random \"Lost communication with MCU\" and \"Timer too close\" error messages when trying to print something. While searching the logs I noticed that the mcu freq is constantly slowing down.\r\nThat's why I only plotted the frequency.\r\n\r\n![test](https://user-images.githubusercontent.com/1217900/40390583-08cea8cc-5e16-11e8-9506-33a27e1fe975.png)\r\n\r\nFirst, only usb is connected. red line usb disconnected and immediately reconnected. green line powered the 12v rail at the ramps board (draws ~20mA).\r\n\r\nCould this be the reason for my problem with the \"Lost communication with MCU\" / \"Timer too close\"?\r\nAny advice on how to get around it. Or anything else I can test?\r\n\r\n\r\n\r\n\r\n[log.file.log](https://github.com/KevinOConnor/klipper/files/2028602/log.file.log)\r\n"},"comment":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/comments/391304491","html_url":"https://github.com/KevinOConnor/klipper/issues/354#issuecomment-391304491","issue_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/354","id":391304491,"user":{"login":"RichardBsolut","id":1217900,"avatar_url":"https://avatars3.githubusercontent.com/u/1217900?v=4","gravatar_id":"","url":"https://api.github.com/users/RichardBsolut","html_url":"https://github.com/RichardBsolut","followers_url":"https://api.github.com/users/RichardBsolut/followers","following_url":"https://api.github.com/users/RichardBsolut/following{/other_user}","gists_url":"https://api.github.com/users/RichardBsolut/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardBsolut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardBsolut/subscriptions","organizations_url":"https://api.github.com/users/RichardBsolut/orgs","repos_url":"https://api.github.com/users/RichardBsolut/repos","events_url":"https://api.github.com/users/RichardBsolut/events{/privacy}","received_events_url":"https://api.github.com/users/RichardBsolut/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T10:49:29Z","updated_at":"2018-05-23T10:49:29Z","author_association":"NONE","body":"My question is more does klipper need such a stabile frequency to work? The plot above shows a ~1khz (1 ms) difference over 1 1/2 hour. Or may there is something else i need to look for.\r\n\r\n@cmock iam pretty sure its an crappy crystal. its the cheapest arduino mega board i could find from china. But i like the fan idea, i'm going to do another plot with fan tonight.\r\n"}}
{"actor":{"display_login":"RichardBsolut"}}