<?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>Using PPI with Zboss zigbee stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96361/using-ppi-with-zboss-zigbee-stack</link><description>Hi, 
 In my project I make use of the PPI to connect the comparator with the counter (timer). But as soon as I enable the zigbee stack, especially when invoking the zboss_main_loop_iteration() in the main loop, it looks like the PPI connection is not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Feb 2023 13:28:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96361/using-ppi-with-zboss-zigbee-stack" /><item><title>RE: Using PPI with Zboss zigbee stack</title><link>https://devzone.nordicsemi.com/thread/409364?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 13:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61274825-2094-412a-aace-39cdc11f5aa4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you enable the PPI channels in your application before or after initializing the Zigbee stack?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if all channels are used by the 802.15.4 driver in all states, the channel may not be used at the point where you tested. You can see how the channels are used in the &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/v1.10.0/src/nrf_802154_peripherals_nrf52.h"&gt;driver source&lt;/a&gt;. There is also a &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/v1.10.0/src/nrf_802154_peripherals_nrf52.h#L352"&gt;define&lt;/a&gt; you can use to mask out the used channels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using PPI with Zboss zigbee stack</title><link>https://devzone.nordicsemi.com/thread/408817?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 10:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08362b65-8330-4315-8ad8-cce7cfb60c7a</guid><dc:creator>Gueston</dc:creator><description>&lt;p&gt;By the way: I discovered when I add for instance 0x1F as a mask to the NRF_PPI_CHANNELS_USED, I read in the log that it uses PPI channel 10. Then it works, but according to that list the zigbee stack is using PPI 0-12, so how can PPI channel 10 work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using PPI with Zboss zigbee stack</title><link>https://devzone.nordicsemi.com/thread/408653?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 15:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18a03b4-13d0-47a6-a115-ba4eebc958a2</guid><dc:creator>Gueston</dc:creator><description>&lt;p&gt;Adding that awareness indeed solved the problem. Shouldn&amp;#39;t this be added by default?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using PPI with Zboss zigbee stack</title><link>https://devzone.nordicsemi.com/thread/408357?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d52dd7c-3af1-4622-86ce-41680ce8fd68</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The PPI 0-5 channels are only used by the 802.15.4 radio driver if &lt;a href="https://github.com/NordicSemiconductor/nRF-IEEE-802.15.4-radio-driver/blob/v1.10.0/src/nrf_802154_debug.h#L74-L79"&gt;debugging of radio events on GPIOs&lt;/a&gt; are enabled (by&amp;nbsp;&lt;span&gt;ENABLE_DEBUG_GPIO symbol). As far as I know, this is not enabled by default in the Zboss stack. It should therefor be ok to use the PPI channels for other purposes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m not sure if the nrfx_ppi driver is aware of the PPI channels used by Zigbee stack, I could not find any sources in the SDK that specify channels used by this stack (we have defines for the Softdevice and ESB/Gazell protocols). You can add awareness of the PPI channels used by Zigbee stack by modifying sdk_resources.h to include PPI channel mask for used channels in&amp;nbsp;NRF_PPI_CHANNELS_USED define.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>