{"action":"created","issue":{"url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1758","labels_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1758/comments","events_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1758/events","html_url":"https://github.com/TauLabs/TauLabs/pull/1758","id":98115955,"number":1758,"title":"flight/PIOS: SPI speed enhancements for MPU6000 & MPU9250_SPI","user":{"login":"Trex4Git","id":9142182,"avatar_url":"https://avatars.githubusercontent.com/u/9142182?v=3","gravatar_id":"","url":"https://api.github.com/users/Trex4Git","html_url":"https://github.com/Trex4Git","followers_url":"https://api.github.com/users/Trex4Git/followers","following_url":"https://api.github.com/users/Trex4Git/following{/other_user}","gists_url":"https://api.github.com/users/Trex4Git/gists{/gist_id}","starred_url":"https://api.github.com/users/Trex4Git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trex4Git/subscriptions","organizations_url":"https://api.github.com/users/Trex4Git/orgs","repos_url":"https://api.github.com/users/Trex4Git/repos","events_url":"https://api.github.com/users/Trex4Git/events{/privacy}","received_events_url":"https://api.github.com/users/Trex4Git/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-30T08:50:03Z","updated_at":"2015-07-30T21:58:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TauLabs/TauLabs/pulls/1758","html_url":"https://github.com/TauLabs/TauLabs/pull/1758","diff_url":"https://github.com/TauLabs/TauLabs/pull/1758.diff","patch_url":"https://github.com/TauLabs/TauLabs/pull/1758.patch"},"body":"Enhancement for the SPI clock to speed up data transfer after the configuration is done.\r\nThe data register in MPU can be read up to 20MHz +-10%.\r\nFor F4 µC based FC (e.g. Quanton, Sparky 2) this should result in 21MHz SPI clock, for F1 based µC it should result in 18MHz.\r\n\r\nFirst tests on Quanton were successful.\r\nCC3D and Sparky 2 need testing.\r\n\r\nThis will also be included when the new sub-samlping / filter functionality is done and might get merged sometime: https://github.com/TauLabs/TauLabs/issues/1730\r\n\r\nBut it maybe helps also with other problems, and should reduce CPU load in general. So i extracted the enhancement from the other work (https://github.com/Trex4Git/TauLabs/commit/0a46d5748eec4fa38b504d7efc5420f2a525d277), to have a small PR with this enhancement already available.\r\n\r\nThe enhancement on CPU load can be seen in the table there: https://github.com/TauLabs/TauLabs/issues/1730#issuecomment-123429613\r\n\r\nWhen there is no interest yet, i can close this PR.\r\n"},"comment":{"url":"https://api.github.com/repos/TauLabs/TauLabs/issues/comments/126505019","html_url":"https://github.com/TauLabs/TauLabs/pull/1758#issuecomment-126505019","issue_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1758","id":126505019,"user":{"login":"jihlein","id":3869782,"avatar_url":"https://avatars.githubusercontent.com/u/3869782?v=3","gravatar_id":"","url":"https://api.github.com/users/jihlein","html_url":"https://github.com/jihlein","followers_url":"https://api.github.com/users/jihlein/followers","following_url":"https://api.github.com/users/jihlein/following{/other_user}","gists_url":"https://api.github.com/users/jihlein/gists{/gist_id}","starred_url":"https://api.github.com/users/jihlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihlein/subscriptions","organizations_url":"https://api.github.com/users/jihlein/orgs","repos_url":"https://api.github.com/users/jihlein/repos","events_url":"https://api.github.com/users/jihlein/events{/privacy}","received_events_url":"https://api.github.com/users/jihlein/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T21:58:38Z","updated_at":"2015-07-30T21:58:38Z","body":"It's within the +/- 10% spec, but I certainly can't argue that a lower clock speed gives more margin against parts that are just within spec. \r\n\r\n\r\n\r\n> On Jul 30, 2015, at 2:34 PM, Michael Lyle <notifications@github.com> wrote:\r\n> \r\n> I bet you could run it at 30MHz and it would usually work, too. But it's outside of specification and not a good idea, especially for something critical to keeping an aircraft in the air.\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> \r\n"}}