<?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>GPIO Control for GPS / LTE Antenna Feed Switching</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110716/gpio-control-for-gps-lte-antenna-feed-switching</link><description>Hey! 
 Looking for guidance on controlling a non-COEX0 GPIO pin for antenna feed selection. I need to control a SPDT RF switch to switch between LTE and RF feeds, but this switch is connected to standard GPIO pin. 
 I&amp;#39;m planning to move this to one of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Apr 2024 12:38:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110716/gpio-control-for-gps-lte-antenna-feed-switching" /><item><title>RE: GPIO Control for GPS / LTE Antenna Feed Switching</title><link>https://devzone.nordicsemi.com/thread/481282?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 12:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a988f701-f604-4abc-ae73-a0b1e2414daa</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Forest,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is possible, please do the following changes in&amp;nbsp;nrf\lib\location\method_gnss.c,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1) Control GPIO to&amp;nbsp;&lt;/span&gt;switch to GNSS before calling&amp;nbsp;nrf_modem_gnss_start.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)&amp;nbsp;Control GPIO to&amp;nbsp;switch to LTE after&amp;nbsp;calling nrf_modem_gnss_stop.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can compare the target GPIO and&amp;nbsp;COEX0 to make sure they have the same behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>