{"action":"created","issue":{"url":"https://api.github.com/repos/rs2k/raceflight/issues/15","labels_url":"https://api.github.com/repos/rs2k/raceflight/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rs2k/raceflight/issues/15/comments","events_url":"https://api.github.com/repos/rs2k/raceflight/issues/15/events","html_url":"https://github.com/rs2k/raceflight/pull/15","id":123841147,"number":15,"title":"AK8936 mag driver (update)","user":{"login":"MJ666","id":8107952,"avatar_url":"https://avatars.githubusercontent.com/u/8107952?v=3","gravatar_id":"","url":"https://api.github.com/users/MJ666","html_url":"https://github.com/MJ666","followers_url":"https://api.github.com/users/MJ666/followers","following_url":"https://api.github.com/users/MJ666/following{/other_user}","gists_url":"https://api.github.com/users/MJ666/gists{/gist_id}","starred_url":"https://api.github.com/users/MJ666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJ666/subscriptions","organizations_url":"https://api.github.com/users/MJ666/orgs","repos_url":"https://api.github.com/users/MJ666/repos","events_url":"https://api.github.com/users/MJ666/events{/privacy}","received_events_url":"https://api.github.com/users/MJ666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-25T00:30:28Z","updated_at":"2015-12-27T22:41:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rs2k/raceflight/pulls/15","html_url":"https://github.com/rs2k/raceflight/pull/15","diff_url":"https://github.com/rs2k/raceflight/pull/15.diff","patch_url":"https://github.com/rs2k/raceflight/pull/15.patch"},"body":"Had some wired behavior with my local GIT an need to recreate the PR wit some updated content.\r\n\r\n.Work in progress for now. If someone want to test and provide feedback.\r\n\r\nThe AK8936 mag looks to be working but interferes with the Gyro and ACC communication in my development environment. I have 100mm long cables between the development board and the sensor. I needed to do some special workarounds here (derived from latest MPU6000 driver changes). May be someone can test the driver on an Sparky2? I tested the same driver on an F3 prototype FC with MPU9250 connected via SPI and the results are much better even without this workarounds (verifympu6500writeregister()). The SPI bus communication is kind of weak here. Unfortunately the AK8963 mag in the MPU9250 is internally connected via I2C and the communication will be done via an MPU internal I2C master.\r\n\r\nNot yet ready for final merge. With \"set mag_hardware = 1\" in CLI will disable the driver and everything is going back to normal.\r\n"},"comment":{"url":"https://api.github.com/repos/rs2k/raceflight/issues/comments/167445647","html_url":"https://github.com/rs2k/raceflight/pull/15#issuecomment-167445647","issue_url":"https://api.github.com/repos/rs2k/raceflight/issues/15","id":167445647,"user":{"login":"MJ666","id":8107952,"avatar_url":"https://avatars.githubusercontent.com/u/8107952?v=3","gravatar_id":"","url":"https://api.github.com/users/MJ666","html_url":"https://github.com/MJ666","followers_url":"https://api.github.com/users/MJ666/followers","following_url":"https://api.github.com/users/MJ666/following{/other_user}","gists_url":"https://api.github.com/users/MJ666/gists{/gist_id}","starred_url":"https://api.github.com/users/MJ666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJ666/subscriptions","organizations_url":"https://api.github.com/users/MJ666/orgs","repos_url":"https://api.github.com/users/MJ666/repos","events_url":"https://api.github.com/users/MJ666/events{/privacy}","received_events_url":"https://api.github.com/users/MJ666/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T22:41:15Z","updated_at":"2015-12-27T22:41:15Z","body":"I'm actual using always the delay for the slave select and it does not make an real change. Need to do some more testing."}}