<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>USBD and 802.15.4 hfclk conflict</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48473/usbd-and-802-15-4-hfclk-conflict</link><description>Hello, 
 I&amp;#39;m having difficulty with an app which combines USB (CDC ACM) and 802.15.4 using Softdevice (15.3). The issue appears to be related to hfclk, which is started to have RAAL active. Following the example (examples/peripheral/usbd_cdc_acm) the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2019 13:15:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48473/usbd-and-802-15-4-hfclk-conflict" /><item><title>RE: USBD and 802.15.4 hfclk conflict</title><link>https://devzone.nordicsemi.com/thread/193200?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 13:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf6ba975-93d3-444f-a359-ea8c3d578750</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Ted,&lt;/p&gt;
&lt;p&gt;Is your application (802.15.4+USB+Softdevice) working now? It was not so clear in your answer if you are still having trouble with this.&lt;/p&gt;
[quote user="Ted Herman"]I conjecture that the reason USB and BLE using Softdevice works is that BLE does not use the high-frequency clock.[/quote]
&lt;p&gt;I didn&amp;#39;t understood what you mean with this. You must use a source of HFCLK when using BLE, if not the radio will not work at all.&lt;/p&gt;
&lt;p&gt;Both the 802.15.4 and Softdevice, but also the USB will use the nrf clock drv, this is the same as the SDK driver, maybe this should have been explain more explicit on the &amp;quot;Handling high-frequency clock&amp;quot; section of the Multiprotocol document. &lt;/p&gt;
[quote user="Ted Herman"]Without Softdevice, there is no muiltiprotocol and no need for the arbiter.[/quote]
&lt;p&gt;The arbiter is for managing the radio. The high frecuency clock is managed by the nrf clk drv (nrf_802154_clock_sdk.c). &lt;/p&gt;
&lt;p&gt;Maybe attaching some logs will help us to have a better understanding of what is causing problems.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD and 802.15.4 hfclk conflict</title><link>https://devzone.nordicsemi.com/thread/193044?ContentTypeID=1</link><pubDate>Sun, 16 Jun 2019 23:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2739cf8-d909-4fcd-8b46-9ac8478e5268</guid><dc:creator>Ted Herman</dc:creator><description>&lt;p&gt;I did use&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a title="nrf_802154_clock_sdk.c" href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/master/src/platform/clock/nrf_802154_clock_sdk.c"&gt;nrf_802154_clock_sdk.c&lt;/a&gt;&amp;nbsp;when trying to combine USB and 802.15.4 with Softdevice. I conjecture that the reason USB and BLE using Softdevice works is that BLE does not use the high-frequency clock. However, 802.15.4 needs to use the high-frequency clock (hfclk) which is explained in the &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/wiki/Multiprotocol-support"&gt;arbiter&lt;/a&gt; section of the Multiprotocol document.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the case that Softdevice is not used, the combination of 802.15.4 and USB is possible, as I found in my latest reply to that other case. Without Softdevice, there is no muiltiprotocol and no need for the arbiter.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD and 802.15.4 hfclk conflict</title><link>https://devzone.nordicsemi.com/thread/192886?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 10:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:036e9ca2-8cc9-4411-adf6-2a728f2a4e89</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Ted,&lt;/p&gt;
&lt;p&gt;Sorry for the very late reply. You may be using the wrong clock driver, could you try to attach &lt;span&gt;&lt;a title="nrf_802154_clock_sdk.c" href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/master/src/platform/clock/nrf_802154_clock_sdk.c"&gt;nrf_802154_clock_sdk.c&lt;/a&gt;&lt;/span&gt; to your makefile and compile again? See also the answer from Andreas in the other case you have opened.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>