{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4763","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4763/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4763/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4763/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/4763","id":243400860,"number":4763,"title":"NucleoF446ze CAN Configuration bug","user":{"login":"mr63","id":13370923,"avatar_url":"https://avatars0.githubusercontent.com/u/13370923?v=4","gravatar_id":"","url":"https://api.github.com/users/mr63","html_url":"https://github.com/mr63","followers_url":"https://api.github.com/users/mr63/followers","following_url":"https://api.github.com/users/mr63/following{/other_user}","gists_url":"https://api.github.com/users/mr63/gists{/gist_id}","starred_url":"https://api.github.com/users/mr63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr63/subscriptions","organizations_url":"https://api.github.com/users/mr63/orgs","repos_url":"https://api.github.com/users/mr63/repos","events_url":"https://api.github.com/users/mr63/events{/privacy}","received_events_url":"https://api.github.com/users/mr63/received_events","type":"User","site_admin":false},"labels":[{"id":328051906,"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/devices:%20st","name":"devices: st","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-17T13:46:52Z","updated_at":"2017-07-21T14:33:11Z","closed_at":null,"body":"Note: This is just a template, so feel free to use/remove the unnecessary things\r\n\r\n### Description\r\n- Type: Bug \r\n- Priority: Blocker\r\n\r\n---------------------------------------------------------------\r\n## Bug\r\n\r\n**Target**\r\nNucleoF446ze \r\n\r\n**Toolchain:**\r\nARM\r\n\r\n**mbed-cli version:** \r\n   146:22da\r\n\r\n**Expected behavior**\r\nSet variation of CAN for sync.\r\n\r\n**Actual behavior**\r\nWhen value is set it is Masked out because of wrong bit mask and has no effect.  Leaving the variation to 0.\r\n**Steps to reproduce**\r\n\r\nTesting from one internal channel to another has no effect as they both use the same internal clk source and are always in sync.  You must connected to external CAN source and will see that most packets are not excepted.\r\n\r\nThe problem is found in the can_api.c File line 184\r\ninside of the can_speed function.\r\n\r\nwhen psjw is set it is masked out with the wrong mask value the mask value should be set to:\r\n0x03000000.\r\n\r\nThank You,\r\nMark\r\n\r\n\r\n\r\n-----------------------------------------------------------------\r\n\r\n## Question\r\n\r\n**How to?**\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/317017242","html_url":"https://github.com/ARMmbed/mbed-os/issues/4763#issuecomment-317017242","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4763","id":317017242,"user":{"login":"jeromecoutant","id":12710147,"avatar_url":"https://avatars2.githubusercontent.com/u/12710147?v=4","gravatar_id":"","url":"https://api.github.com/users/jeromecoutant","html_url":"https://github.com/jeromecoutant","followers_url":"https://api.github.com/users/jeromecoutant/followers","following_url":"https://api.github.com/users/jeromecoutant/following{/other_user}","gists_url":"https://api.github.com/users/jeromecoutant/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromecoutant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromecoutant/subscriptions","organizations_url":"https://api.github.com/users/jeromecoutant/orgs","repos_url":"https://api.github.com/users/jeromecoutant/repos","events_url":"https://api.github.com/users/jeromecoutant/events{/privacy}","received_events_url":"https://api.github.com/users/jeromecoutant/received_events","type":"User","site_admin":false},"created_at":"2017-07-21T14:33:11Z","updated_at":"2017-07-21T14:33:11Z","body":"Hi\r\nPlease, be free to send a pull request.\r\nThx\r\n"}}
{"actor":{"display_login":"jeromecoutant"}}