{"action":"created","issue":{"url":"https://api.github.com/repos/tehn/aleph/issues/89","repository_url":"https://api.github.com/repos/tehn/aleph","labels_url":"https://api.github.com/repos/tehn/aleph/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/tehn/aleph/issues/89/comments","events_url":"https://api.github.com/repos/tehn/aleph/issues/89/events","html_url":"https://github.com/tehn/aleph/issues/89","id":22616923,"number":89,"title":"i2c handler","user":{"login":"tehn","id":246896,"avatar_url":"https://avatars.githubusercontent.com/u/246896?v=3","gravatar_id":"","url":"https://api.github.com/users/tehn","html_url":"https://github.com/tehn","followers_url":"https://api.github.com/users/tehn/followers","following_url":"https://api.github.com/users/tehn/following{/other_user}","gists_url":"https://api.github.com/users/tehn/gists{/gist_id}","starred_url":"https://api.github.com/users/tehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehn/subscriptions","organizations_url":"https://api.github.com/users/tehn/orgs","repos_url":"https://api.github.com/users/tehn/repos","events_url":"https://api.github.com/users/tehn/events{/privacy}","received_events_url":"https://api.github.com/users/tehn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tehn/aleph/labels/%23avr32-os","name":"#avr32-os","color":"ee00ff"},{"url":"https://api.github.com/repos/tehn/aleph/labels/FEATURES","name":"FEATURES","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"tehn","id":246896,"avatar_url":"https://avatars.githubusercontent.com/u/246896?v=3","gravatar_id":"","url":"https://api.github.com/users/tehn","html_url":"https://github.com/tehn","followers_url":"https://api.github.com/users/tehn/followers","following_url":"https://api.github.com/users/tehn/following{/other_user}","gists_url":"https://api.github.com/users/tehn/gists{/gist_id}","starred_url":"https://api.github.com/users/tehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehn/subscriptions","organizations_url":"https://api.github.com/users/tehn/orgs","repos_url":"https://api.github.com/users/tehn/repos","events_url":"https://api.github.com/users/tehn/events{/privacy}","received_events_url":"https://api.github.com/users/tehn/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2013-11-13T19:48:11Z","updated_at":"2016-05-11T09:03:41Z","closed_at":null,"body":"get i2c receive into the handler system"},"comment":{"url":"https://api.github.com/repos/tehn/aleph/issues/comments/218402559","html_url":"https://github.com/tehn/aleph/issues/89#issuecomment-218402559","issue_url":"https://api.github.com/repos/tehn/aleph/issues/89","id":218402559,"user":{"login":"electropourlaction","id":6450877,"avatar_url":"https://avatars.githubusercontent.com/u/6450877?v=3","gravatar_id":"","url":"https://api.github.com/users/electropourlaction","html_url":"https://github.com/electropourlaction","followers_url":"https://api.github.com/users/electropourlaction/followers","following_url":"https://api.github.com/users/electropourlaction/following{/other_user}","gists_url":"https://api.github.com/users/electropourlaction/gists{/gist_id}","starred_url":"https://api.github.com/users/electropourlaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electropourlaction/subscriptions","organizations_url":"https://api.github.com/users/electropourlaction/orgs","repos_url":"https://api.github.com/users/electropourlaction/repos","events_url":"https://api.github.com/users/electropourlaction/events{/privacy}","received_events_url":"https://api.github.com/users/electropourlaction/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T09:03:41Z","updated_at":"2016-05-11T09:03:41Z","body":"walked into some trouble, happy to get any ideas/input\r\n\r\nI'm setting up an i2c where avr32 as master is transmitting to an stm32 as slave, managing to send one message and I can verify that the data in the first message is written, so all good, until a second message is sent, then I get the error message on the avr32 TWI_RECEIVE_NACK (-5), and meanwhile on the stm32 I get stuck in the i2c interrupt. as it looks the av32 is trying to setup a second write but gets a NAK in return, so the second message is not sent.\r\n\r\nwent thru the registers on the stm32 before and after the error, found some differences, but I have not been able to write to these registers after the jam, not sure what that implies.\r\n\r\nCR1_ACK: set before the error, and cleared after\r\nCR2_ITERREN, ITEVTEN, ITBUFEN (interrupt related registers): set before, cleared after\r\n\r\ntrying to figure out on which end I should solve this as I'm continuing to dig into i2c register tables!\r\n"}}