{"action":"created","issue":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/1736","repository_url":"https://api.github.com/repos/contiki-os/contiki","labels_url":"https://api.github.com/repos/contiki-os/contiki/issues/1736/labels{/name}","comments_url":"https://api.github.com/repos/contiki-os/contiki/issues/1736/comments","events_url":"https://api.github.com/repos/contiki-os/contiki/issues/1736/events","html_url":"https://github.com/contiki-os/contiki/issues/1736","id":161731762,"number":1736,"title":"CC26xx/CC13xx lpm wakeup scheduling issues","user":{"login":"bkozak-scanimetrics","id":12412857,"avatar_url":"https://avatars.githubusercontent.com/u/12412857?v=3","gravatar_id":"","url":"https://api.github.com/users/bkozak-scanimetrics","html_url":"https://github.com/bkozak-scanimetrics","followers_url":"https://api.github.com/users/bkozak-scanimetrics/followers","following_url":"https://api.github.com/users/bkozak-scanimetrics/following{/other_user}","gists_url":"https://api.github.com/users/bkozak-scanimetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/bkozak-scanimetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkozak-scanimetrics/subscriptions","organizations_url":"https://api.github.com/users/bkozak-scanimetrics/orgs","repos_url":"https://api.github.com/users/bkozak-scanimetrics/repos","events_url":"https://api.github.com/users/bkozak-scanimetrics/events{/privacy}","received_events_url":"https://api.github.com/users/bkozak-scanimetrics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contiki-os/contiki/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/contiki-os/contiki/labels/Platform%20/%20CPU%20/%20ARM%20/%20CC13xx-CC26xx","name":"Platform / CPU / ARM / CC13xx-CC26xx","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"g-oikonomou","id":705207,"avatar_url":"https://avatars.githubusercontent.com/u/705207?v=3","gravatar_id":"","url":"https://api.github.com/users/g-oikonomou","html_url":"https://github.com/g-oikonomou","followers_url":"https://api.github.com/users/g-oikonomou/followers","following_url":"https://api.github.com/users/g-oikonomou/following{/other_user}","gists_url":"https://api.github.com/users/g-oikonomou/gists{/gist_id}","starred_url":"https://api.github.com/users/g-oikonomou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-oikonomou/subscriptions","organizations_url":"https://api.github.com/users/g-oikonomou/orgs","repos_url":"https://api.github.com/users/g-oikonomou/repos","events_url":"https://api.github.com/users/g-oikonomou/events{/privacy}","received_events_url":"https://api.github.com/users/g-oikonomou/received_events","type":"User","site_admin":false},"assignees":[{"login":"g-oikonomou","id":705207,"avatar_url":"https://avatars.githubusercontent.com/u/705207?v=3","gravatar_id":"","url":"https://api.github.com/users/g-oikonomou","html_url":"https://github.com/g-oikonomou","followers_url":"https://api.github.com/users/g-oikonomou/followers","following_url":"https://api.github.com/users/g-oikonomou/following{/other_user}","gists_url":"https://api.github.com/users/g-oikonomou/gists{/gist_id}","starred_url":"https://api.github.com/users/g-oikonomou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-oikonomou/subscriptions","organizations_url":"https://api.github.com/users/g-oikonomou/orgs","repos_url":"https://api.github.com/users/g-oikonomou/repos","events_url":"https://api.github.com/users/g-oikonomou/events{/privacy}","received_events_url":"https://api.github.com/users/g-oikonomou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-06-22T16:45:36Z","updated_at":"2016-07-16T13:48:14Z","closed_at":"2016-07-16T13:48:14Z","body":"As first reported in the discussion on #1549, then later on #1709 by @niklas88 there is an issue in lpm.c with scheduling the RTC interrupt to wake in time for the next etimer.\r\n\r\nThe issue has three aspects:\r\n1. No interrupt is scheduled if no etimer is pending thus causing the MCU to wake on the next clock tick when it could have slept much longer.\r\n2. No interrupt is scheduled if the next-to-expire etimer is set at a point more than one second into the future from the time of the lpm switch.\r\n3. The MCU is limited to sleep for at most one second even when sleeping in deep sleep mode. Although we have to limit sleep time for ```LPM_MODE_SLEEP``` to prevent watchdog expiry, no such restriction exists for ```LPM_MODE_DEEP_SLEEP``` where the watchdog clock is off."},"comment":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/comments/233131189","html_url":"https://github.com/contiki-os/contiki/issues/1736#issuecomment-233131189","issue_url":"https://api.github.com/repos/contiki-os/contiki/issues/1736","id":233131189,"user":{"login":"g-oikonomou","id":705207,"avatar_url":"https://avatars.githubusercontent.com/u/705207?v=3","gravatar_id":"","url":"https://api.github.com/users/g-oikonomou","html_url":"https://github.com/g-oikonomou","followers_url":"https://api.github.com/users/g-oikonomou/followers","following_url":"https://api.github.com/users/g-oikonomou/following{/other_user}","gists_url":"https://api.github.com/users/g-oikonomou/gists{/gist_id}","starred_url":"https://api.github.com/users/g-oikonomou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-oikonomou/subscriptions","organizations_url":"https://api.github.com/users/g-oikonomou/orgs","repos_url":"https://api.github.com/users/g-oikonomou/repos","events_url":"https://api.github.com/users/g-oikonomou/events{/privacy}","received_events_url":"https://api.github.com/users/g-oikonomou/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T13:48:14Z","updated_at":"2016-07-16T13:48:14Z","body":"#1751 "}}
{"actor":{"display_login":"g-oikonomou"}}