<?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 Power Problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48575/usbd-and-802-15-4-power-problem</link><description>I previously tried combining USBD CDC ACM with 802.15.4 under Softdevice, and this did not work. 
 Now I try combining examples/peripheral/peripheral/usbd_cdc_acm with the 802.15.4 stack and NO Softdevice. The result is a compilation error. There appears</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 16 Jun 2019 23:06:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48575/usbd-and-802-15-4-power-problem" /><item><title>RE: USBD and 802.15.4 Power Problem</title><link>https://devzone.nordicsemi.com/thread/193043?ContentTypeID=1</link><pubDate>Sun, 16 Jun 2019 23:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee075991-e33f-47d9-8996-24266caf1de4</guid><dc:creator>Ted Herman</dc:creator><description>&lt;p&gt;Yes, I am using the driver from GitHub. The previous examples for 802.15.4 I had used were working with&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a title="nrf_802154_clock_nodrv.c" href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/master/src/platform/clock/nrf_802154_clock_nodrv.c"&gt;nrf_802154_clock_nodrv.c&lt;/a&gt;, so I used that as the clock source. I mistakenly thought that using&amp;nbsp;&amp;nbsp;&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;required Softdevice. So I tried your suggestion to use this SDK clock source, and without Softdevice but with USBD following the CDC ACM peripherals/ example. While initially this failed, some experiments changing values in config/sdk_config.h finally got things to work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will consider this case closed, since the app now can send and receive 802.15.4 messages as well as send and receive using the USB interface. The initialization part of USB is a bit strange - there appears to be a first phase where the protocol fails (port open, port close) and then a later phase where everything works properly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you Andreas for this suggestion.&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 Power Problem</title><link>https://devzone.nordicsemi.com/thread/192828?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 06:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d8c8f1a-e8b0-497e-9c4f-a8d87d86d8c1</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Looks like you&amp;#39;re using the 802.15.4 driver from GitHub, correct?&lt;/p&gt;
&lt;p&gt;This 802.15.4 driver needs an abstraction for the &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/tree/master/src/platform/clock"&gt;clock driver&lt;/a&gt;, and by the look of your output log it seems that you are using &lt;span&gt;&lt;a title="nrf_802154_clock_nodrv.c" href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/master/src/platform/clock/nrf_802154_clock_nodrv.c"&gt;nrf_802154_clock_nodrv.c&lt;/a&gt;&lt;/span&gt;, which should be used when there is no SDK around. Can you use &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; instead? It should work fine with the SDK and the USB example.&lt;/p&gt;
&lt;p&gt;More details on this topic can be found &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/wiki/Source-files-and-defines#platform-abstraction-examples"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also noticed you have another case with another person on our team, I have not read that case but maybe this information can be used to solve that case as well?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>