{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167","repository_url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver","labels_url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167/events","html_url":"https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167","id":376599150,"node_id":"MDU6SXNzdWUzNzY1OTkxNTA=","number":167,"title":"Application blocks in nrf_802154_init() functions","user":{"login":"Zhiyi-Zhang","id":10349944,"node_id":"MDQ6VXNlcjEwMzQ5OTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/10349944?v=4","gravatar_id":"","url":"https://api.github.com/users/Zhiyi-Zhang","html_url":"https://github.com/Zhiyi-Zhang","followers_url":"https://api.github.com/users/Zhiyi-Zhang/followers","following_url":"https://api.github.com/users/Zhiyi-Zhang/following{/other_user}","gists_url":"https://api.github.com/users/Zhiyi-Zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiyi-Zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiyi-Zhang/subscriptions","organizations_url":"https://api.github.com/users/Zhiyi-Zhang/orgs","repos_url":"https://api.github.com/users/Zhiyi-Zhang/repos","events_url":"https://api.github.com/users/Zhiyi-Zhang/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiyi-Zhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T22:43:05Z","updated_at":"2018-11-05T08:00:05Z","closed_at":null,"author_association":"NONE","body":"I tried the examples given on the wiki page, however, I met some issues in nrf_802154_init() functions.\r\nI found my program stops at this line:\r\n```\r\nnrf_802154_clock_init();\r\n```\r\n\r\nIf I comment this line out, then the program stops at this line:\r\n```\r\n nrf_802154_lp_timer_init();\r\n```\r\n\r\n**The environment:**\r\nI am using the source file nrf_802154_clock_nordrv.c,\r\nCompiling with -DNRF52840_XXAA\r\nand -DRAAL_SINGLE_PHY\r\n\r\n**Hardware:**\r\nnrf52840 DK\r\n\r\nAny ideas to help?"},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/comments/435784684","html_url":"https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167#issuecomment-435784684","issue_url":"https://api.github.com/repos/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/issues/167","id":435784684,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTc4NDY4NA==","user":{"login":"hubertmis","id":21953319,"node_id":"MDQ6VXNlcjIxOTUzMzE5","avatar_url":"https://avatars0.githubusercontent.com/u/21953319?v=4","gravatar_id":"","url":"https://api.github.com/users/hubertmis","html_url":"https://github.com/hubertmis","followers_url":"https://api.github.com/users/hubertmis/followers","following_url":"https://api.github.com/users/hubertmis/following{/other_user}","gists_url":"https://api.github.com/users/hubertmis/gists{/gist_id}","starred_url":"https://api.github.com/users/hubertmis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubertmis/subscriptions","organizations_url":"https://api.github.com/users/hubertmis/orgs","repos_url":"https://api.github.com/users/hubertmis/repos","events_url":"https://api.github.com/users/hubertmis/events{/privacy}","received_events_url":"https://api.github.com/users/hubertmis/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T08:00:05Z","updated_at":"2018-11-05T08:00:05Z","author_association":"COLLABORATOR","body":"Thanks for reporting this problem.\r\n`nrf_802154_lp_timer_init()` function hangs if the clock driver is not initialized, because it waits for the low-frequency clock here: https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/master/src/platform/lp_timer/nrf_802154_lp_timer_nodrv.c#L399 .\r\n\r\nI can't find any potential software issues in `nrf_802154_clock_init()` function (like endless loops or waiting for events). Have you tried other board to rule out hardware issue?"}}
{"actor":{"display_login":"hubertmis"}}