<?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>When to TX and when to RX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37247/when-to-tx-and-when-to-rx</link><description>I am evaluating a front end module by skyworks 66111 output power is ~14dBm. The FEM requires that logic dictate when to transmit and when to receive. When CRX, pin 17, is low and CTX, pin 19 is high, the device is transmitting. In the opposite configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Feb 2022 16:10:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37247/when-to-tx-and-when-to-rx" /><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/351893?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 16:10:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6de2ef7d-6065-4b0f-8f9d-ecb77bf8e616</guid><dc:creator>Denna</dc:creator><description>&lt;p&gt;Thank you very much Vidar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/351817?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 13:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b09448a-1a5e-4901-988b-60fa09c4c617</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Starbuck,&lt;/p&gt;
&lt;p&gt;Attached below are the Altium files for the PCA10084 design. Let me know if you need these exported to Gerber or similar. Also, this is a fairly old design, and I&amp;#39;m not sure if we have performed any regulatory testing with it. Once you have finalized the design, you can create a new private support ticket if you want us to review it. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10084.zip"&gt;devzone.nordicsemi.com/.../pca10084.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/351637?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 19:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:293ff15f-8880-4ace-8ded-23fd14a66356</guid><dc:creator>Denna</dc:creator><description>&lt;p&gt;Hi Jay,&lt;/p&gt;
&lt;p&gt;We are in the same boat as Cai.&amp;nbsp; I.E. we are also developing a custom board that includes an nRF52840 with SKY66112.&amp;nbsp; Can you send me the PCA10084 design files so that we can copy the RF layout?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Starbuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/194760?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 07:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c020446-466d-43ad-9da4-ba7274931e0f</guid><dc:creator>phantomgz</dc:creator><description>&lt;p&gt;Hi Jay.&lt;/p&gt;
&lt;p&gt;I developing a custom board of nrf52840 with SKY66112, could you send me the pca10084 design file, I can copy the RF&amp;nbsp; layout exactly same with pca10084.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Cai.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/143359?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 12:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d6fac14-f590-45ee-a9b3-0008174a9741</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try the configuration below, it should work, but haven&amp;#39;t tested&amp;nbsp;with&amp;nbsp;an actual FEM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;nrf_drv_ppi.h&amp;quot;
#include &amp;quot;nrf_drv_gpiote.h&amp;quot;


#define  CTX_PIN             //
#define  CRX_PIN             //

#define  FEM_CPS             //
#define  FEM_CHL             // 
#define  FEM_CSD             //


// Initialize after ble_stack_init()
void fem_init(void)
{
   
    ret_code_t                      err_code;
    ble_opt_t                       opt;
    uint32_t                        gpiote_ch;
    nrf_ppi_channel_t               ppi_set_ch;
    nrf_ppi_channel_t               ppi_clr_ch; 
    nrf_drv_gpiote_out_config_t     config = GPIOTE_CONFIG_OUT_TASK_TOGGLE(false);
    
    /*Configure static pins*/
    nrf_gpio_pin_clear(FEM_CPS);
    nrf_gpio_cfg_output(FEM_CPS);
    
    nrf_gpio_pin_set(FEM_CHL);
    nrf_gpio_cfg_output(FEM_CHL);
    
    nrf_gpio_pin_set(FEM_CPS);
    nrf_gpio_cfg_output(FEM_CPS);


    /* Optional: use PPI and GPIOTE drivers to reserve channels for PA/LNA control. Not neccessary if application makes sure to not use same channels for other tasks*/
    err_code = nrf_drv_gpiote_init();
    if(err_code != NRF_ERROR_INVALID_STATE)
    {
        APP_ERROR_CHECK(err_code);
    }
    
    err_code = nrf_drv_ppi_init();
    if(err_code != NRF_ERROR_INVALID_STATE)
    {
        APP_ERROR_CHECK(err_code);
    }
    
    err_code = nrf_drv_ppi_channel_alloc(&amp;amp;ppi_set_ch);
    APP_ERROR_CHECK(err_code);
    
    err_code = nrf_drv_ppi_channel_alloc(&amp;amp;ppi_clr_ch);
    APP_ERROR_CHECK(err_code);
    
    err_code = nrf_drv_gpiote_out_init(CRX_PIN, &amp;amp;config);
    APP_ERROR_CHECK(err_code);
            
    gpiote_ch = nrf_drv_gpiote_out_task_addr_get(CRX_PIN); 
    
    //common PA/LNA config
    memset(&amp;amp;opt, 0, sizeof(ble_opt_t));
    opt.common_opt.pa_lna.gpiote_ch_id  = (gpiote_ch - NRF_GPIOTE_BASE) &amp;gt;&amp;gt; 2;   // GPIOTE channel used for radio pin toggling
    opt.common_opt.pa_lna.ppi_ch_id_clr = ppi_clr_ch;                           // PPI channel used for radio pin clearing
    opt.common_opt.pa_lna.ppi_ch_id_set = ppi_set_ch;                           // PPI channel used for radio pin setting
    
    // CTX pin control (PA config)

    opt.common_opt.pa_lna.pa_cfg.active_high = 1;                    // Set the pin to be active high
    opt.common_opt.pa_lna.pa_cfg.enable      = 1;                    // Enable toggling
    opt.common_opt.pa_lna.pa_cfg.gpio_pin    = CTX_PIN;              // The GPIO pin to toggle
    
    // CRX pin control (LNA config)
    
    opt.common_opt.pa_lna.lna_cfg.active_high  = 1;                      // Set the pin to be active high
    opt.common_opt.pa_lna.lna_cfg.enable       = 1;                      // Enable toggling
    opt.common_opt.pa_lna.lna_cfg.gpio_pin     = CRX_PIN;                // The GPIO pin to toggle    

    err_code = sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &amp;amp;opt);
    APP_ERROR_CHECK(err_code);    
    
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/143275?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 23:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e351db97-2542-446a-aefd-5f55929a9078</guid><dc:creator>Cy</dc:creator><description>&lt;p&gt;Yes, the hardware aspect of the FEM is in place, thank you! I am in need of some firmware guidance. I did look over the suggestions that have been offered, thank you! The SD is not what I would call well documented, but I do see that my request is quit feasible and that it is already in place, but how do I implement it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I scanned the SDK14.0 for LNA/PA pins and see that there is a structure within the ble.h file and has a typedef struct ble_pa_lna_cfg_t and that it can be configured for active high and low if defined it is enabled and that the gpio pin to be used is 6.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have both a CRX and CTX which would require two separate pins. I did not look through the examples to find any that utilize a FEM, but Jay seems to say there is none.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will continue to dig through the documents to find more clues!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/143274?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 21:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea077b1-17fd-4825-a0fb-f4b5ae66fc55</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10084_5F00_schematic_5F00_and_5F00_pcb.pdf"&gt;devzone.nordicsemi.com/.../pca10084_5F00_schematic_5F00_and_5F00_pcb.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp; look at the &lt;a href="http://infocenter.nordicsemi.com/pdf/S140_SDS_v1.1.pdf"&gt;S140 Softdevice specification&lt;/a&gt;.&amp;nbsp; Page 54, section 11.6 Power Amplifier and Low Noise Amplifier control&lt;/p&gt;
&lt;p&gt;configuration (PA/LNA)&amp;nbsp; You can also look in the&amp;nbsp; Soft device reference manual.&lt;/p&gt;
&lt;p&gt;Soft devcie&amp;nbsp; S140 does support it.&amp;nbsp; I cannot see any example in the&amp;nbsp; SDK to exercise the control lines.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have attached a&amp;nbsp; hardware design that was a project between Nordic and Skyworks on a SKY66112 FEM and the nRF52840.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have any further questions please let us know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jay Tyzzer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When to TX and when to RX</title><link>https://devzone.nordicsemi.com/thread/143272?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 20:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a59312b-2bc7-4bab-a57a-b3d85a0d551f</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;You just use pa lna assist in the SD. It is well documented in the SD reference manual.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/radio_notif/radio_notif_palna.html?cp=2_3_1_0_10_5"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/radio_notif/radio_notif_palna.html?cp=2_3_1_0_10_5&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>