<?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>PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19207/pa-lna-in-a-serialized-application</link><description>Hi, 
 I am currently working with two nrf52 boards in a serialized configuration.
I wanted to add the PA and LNA pin toogle on the connectivity chip.
As the gpio can&amp;#39;t be configured from the application chip, I did a little work around to allow the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2017 09:23:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19207/pa-lna-in-a-serialized-application" /><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74402?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 09:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a509925d-b484-4bcc-ac8c-2bc849306096</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Yes, I changed the GPIOTE channel as well. It works fine with the 6W spi serialization, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74401?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 09:18:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51a6486a-522f-4f40-8bcf-22c1f89be767</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You should also check the GPIOTE channel used. Updated the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74403?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 09:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f872d7a-dd27-4337-af06-701bfcbaa900</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Thank you for your answer.
I used the SDK API to alloc a ppi channel in &lt;code&gt;pa_lna_init(...)&lt;/code&gt;.
The problem was that the serialization use a predefined channel for the READY signal.
This ppi channel isn&amp;#39;t tracked by the ppi module and this same ppi channel is re-allocated when using the API functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74400?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 15:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0d821d9-739b-45d2-8ae2-55c9266f0c5d</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The problem is probably with the PPI channel used. SPI 6W serialization use channel 0 for the READY signal:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SER_PHY_SPI_PPI_RDY_CH                  0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Which is the same used in the &lt;code&gt;pa_lna_init(..)&lt;/code&gt; function in the &lt;a href="https://devzone.nordicsemi.com/blogs/831/pa-lna-support-in-s132/"&gt;blogpost&lt;/a&gt;. Change the PPI channel used for the RDY line or the PPI channels used in &lt;code&gt;pa_lna_init(..)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You should also not use the same GPIOTE channel. Channel 0 is used for the READY signal in SPI 6W serialization:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SER_PHY_SPI_GPIOTE_RDY_CH               0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Which is the same used in the &lt;code&gt;pa_lna_init(..)&lt;/code&gt; function in the blogpost.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74399?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856ddd66-855a-4bf5-bfb5-6c3ec175f601</guid><dc:creator>vincenttardy</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am facing to the same issue. When I use serialization configuration with SPI 5W, everything is OK but when I use the SPI 6W configuration, the application doesn&amp;#39;t work anymore. It seems that the NRF52 connectivity board is KO.
Could you please provide us an example in order to fix this issue?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74397?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 10:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d002411-1502-413b-9a7b-afd388f30ade</guid><dc:creator>Romain</dc:creator><description>&lt;p&gt;Thank you for your answer.
I forgot to tell you that I already made the change for the return value of &lt;code&gt;pa_lna_init&lt;/code&gt;. The 5W spi implementation works perfectly with it.
In the standart spi implementation, the call to &lt;code&gt;sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &amp;amp;opt);&lt;/code&gt;, in the function &lt;code&gt;pa_lna_init(..)&lt;/code&gt; makes the connectivity chip to stop and the call never returns.
I don&amp;#39;t see why the differences between the 5W spi and the standart spi could lead to this problem.
Do you have any example with PA and LNA pin activated on the connectivity chip in a serialized application using the standart spi transport ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Romain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PA LNA in a serialized application</title><link>https://devzone.nordicsemi.com/thread/74398?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 15:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5639aa0-bf6b-4791-ae0b-126499022525</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The main difference is the lack of a RDY signal line on the 5W SPI, but I don&amp;#39;t see how that is causing problems.&lt;/p&gt;
&lt;p&gt;If you have not changed &lt;code&gt;pa_lna_init(..)&lt;/code&gt; it is not returning any value, so sd_err_code may be something other than 0 as it is not initialized (it will be whatever is on the stack). You should change &lt;code&gt;pa_lna_init(..)&lt;/code&gt; to return the error code returned from the &lt;code&gt;sd_ble_opt_set(..)&lt;/code&gt; function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>