<?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>52832 PA /LNA  GPIOTE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95568/52832-pa-lna-gpiote</link><description>static void nordic_pa_lna_assist(uint32_t gpio_pa_pin, uint32_t gpio_lna_pin) { ret_code_t err_code; 
 static const uint32_t gpio_toggle_ch = 0; static const uint32_t ppi_set_ch = 0; static const uint32_t ppi_clr_ch = 1; // Configure SoftDevice PA/LNA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jan 2023 02:02:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95568/52832-pa-lna-gpiote" /><item><title>RE: 52832 PA /LNA  GPIOTE</title><link>https://devzone.nordicsemi.com/thread/404436?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 02:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207fcf9a-2785-4b59-b33b-9589c263446c</guid><dc:creator>Trump</dc:creator><description>&lt;p&gt;Thank you for your answer. I have solved this problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PA /LNA  GPIOTE</title><link>https://devzone.nordicsemi.com/thread/404246?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 09:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7908e24-fef1-428c-949f-927a9f2b51f3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you got this code snippet from &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/pa-lna-support-in-s132"&gt;this old blog post&lt;/a&gt;. It demonstrates the basics, but it is up to you to pick an available GPIOTE channel and two available PPI channels. As you get an issue with GPIOTE after including this, you are using overlapping GPIOTE channels. The GPIOTE driver will automatically pick channels from 0, so I suggest using the last GPIOTE channel, by setting&amp;nbsp;gpio_toggle_ch to 7 (instead of 0).&lt;/p&gt;
&lt;p&gt;If you also have problems with PPI you can pick different channels there. If you use the PPI driver to allocate PPI channels in your application (directly or via SDK libraries), you can use that to allcoate free channels fro this porpose as well using &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__drv__ppi.html#gaa578cb1db37039bbe1a1caa5e3f45411"&gt;nrf_drv_ppi_channel_alloc()&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>