<?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>nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71849/nrf9160-coex0-not-asserting</link><description>Using: ncs v1.4.0, Modem FW v1.2.3, SES v5.10d 
 I have a custom nRF9160 board with code based on the Asset Tracker app. I have GPS triggering off of the accelerometer. GPS will start, but it would never find any satellites. I found that the COEX0 line</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Feb 2021 20:31:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71849/nrf9160-coex0-not-asserting" /><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295925?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 20:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1dcdc98-1a75-4969-bd1e-32109a736e98</guid><dc:creator>spline_pete</dc:creator><description>&lt;p&gt;I think I fixed it.&amp;nbsp; I enabled PSM earlier, in&amp;nbsp;modem_configure().&amp;nbsp; The PSM request no longer gives an error and when gps starts, COEX0 is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295913?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 16:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44862561-2681-4c06-8b8d-27a8acc990b3</guid><dc:creator>spline_pete</dc:creator><description>&lt;p&gt;It&amp;#39;s pretty much the stock AGPS sample, so&amp;nbsp;there&amp;#39;s no motion support - it just starts a GPS search right away and gets a fix in about 40 seconds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So it seems LTE vs GPS related.&amp;nbsp; What are the CONFIG settings to&amp;nbsp;ensure they will&amp;nbsp;both function, since this obviously works with the DK and Thingy91?&lt;/p&gt;
&lt;p&gt;I have this set in prj.conf:&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_GPS_CONTROL_PSM_ENABLE_ON_START=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But in the gps work call, it fails&amp;nbsp;lte_lc_psm_req(true):&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;err&amp;gt; gps_control: Error: PSM request failed, -5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295908?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 16:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee9ba1b9-ea49-4a0b-8e87-d7b4de9ba814</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="spline_pete"]If the motion trigger calls gps_control_start(0), then SUPL works, but GPS doesn&amp;#39;t.&amp;nbsp;If the motion trigger calls these:[/quote]
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="spline_pete"]then SUPL fails, but GPS does work.&amp;nbsp; If I run the AGPS sample, that works.[/quote]
&lt;p&gt;&amp;nbsp;Does this mean that the COEX0 line is asserting when using the AGPS sample and the modified motion trigger handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295897?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 15:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86fe66b2-077f-48e5-8e58-067a016f7fcc</guid><dc:creator>spline_pete</dc:creator><description>&lt;p&gt;From my prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# LTE link control&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_POWER_OPTIMIZATION_ENABLE=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LTE_LINK_CONTROL=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295896?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 15:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce39bd84-1bf0-4dd5-8c53-ccea7feb4e3d</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;I take it that you are using the LTE link control (lte_lc) library?&lt;/p&gt;
&lt;p&gt;Which network mode have you set in your prj.conf file?&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t set any, it will use LTE-M only by default. If you want GPS support, you must set either CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y or CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295686?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 16:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d4a8ee-02c9-4008-8185-b05a3ec1474b</guid><dc:creator>spline_pete</dc:creator><description>&lt;p&gt;GPS has worked before, pretty recently. I&amp;#39;m going through the older versions to see what changed.&amp;nbsp;&amp;nbsp;For bsdlib, I&amp;#39;m using the same calls from the asset tracker:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;handle_bsdlib_init_ret()&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;bsdlib_get_init_ret()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If the motion trigger calls gps_control_start(0), then SUPL works, but GPS doesn&amp;#39;t.&amp;nbsp;If the motion trigger calls these:&lt;br /&gt;&lt;br /&gt; &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;lte_lc_offline();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; lte_lc_system_mode_set(LTE_LC_SYSTEM_MODE_GPS);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; lte_lc_normal();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; gps_control_start(0);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;then SUPL fails, but GPS does work.&amp;nbsp; If I run the AGPS sample, that works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 COEX0 not asserting</title><link>https://devzone.nordicsemi.com/thread/295669?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 15:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aafb539-0602-457b-88ff-51fcd9a191ec</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Has it worked on your custom board before?&lt;/p&gt;
&lt;p&gt;What has changed since it worked? Your application only, NCS version, modem version, the custom board?&lt;/p&gt;
&lt;p&gt;Do you initialize bsdlib manually, or use the carrier_lib?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>