<?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>NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122021/nrf9151-replaces-nrf9160-lte-not-working-any-more</link><description>Greetings, 
 we developed a custom board with a NRF9160 last year to be used with NB-IoT (LTE-M as Fallback) to communicate over HTTPS with our Servers. Now this worked quite well and without any problems, every LTE Connection built up and established</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jun 2025 04:30:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122021/nrf9151-replaces-nrf9160-lte-not-working-any-more" /><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/540255?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2025 04:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94267dd1-4918-4211-b02a-947ded004d22</guid><dc:creator>AraNRF91</dc:creator><description>&lt;p&gt;so after a long try-and-error path, refactoring the modem lib and manual analysis of the traces&amp;nbsp; i got the NRF9151 working with LTE again:&lt;/p&gt;
&lt;p&gt;Make sure any AT search commands are off as at starting the lib mine tried to search for nearby towers and then when you use &amp;quot;CFUN=1&amp;quot; for full-conn and try to connect, the search param strictly prohibit the modem to connect to any cell. Therefore by (forcefully) disabling any search and then trying a reconnect, i finally got to re-attach my network successfull, with repeated and verified checks. And with CFUN=1 the CGATT ist automatically started, do not try to do both AT commands as those could conflict on the modem too. So in short:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;AT+CFUN=0       // Set functionality mode off to configure
AT+COPS=0       // Automatic operator selection
AT%XSYSTEMMODE=1,1,0,1      // Set system mode preferences
AT+CGDCONT &amp;lt;APN-Config&amp;gt;     // Set APN Config
AT+CGAUTH &amp;lt;username, password&amp;gt;      // if used pass auth data
AT+CPIN &amp;lt;pin&amp;gt;       // if used add SIM Pin
AT+CFUN=1       // activate the modem
loop {
  AT+CGATT        // loop this until connected and returns 1
  ...
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To verify your modem is ready and antenna and other hardware are intact and functioning, i used the &amp;quot;AT+COPS=?&amp;quot; to get a full list of all surrounding cell towers. Try that before digging too deep into the code while the hardware could be bogged.&lt;/p&gt;
&lt;p&gt;This was my &amp;quot;final frontier&amp;quot; for this problem. On the way i adjusted many more options and measurements which you can read through in this chat, in the problem description or the public Rust driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/540176?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 10:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4b3ebc-e35f-44e0-8507-88a632923627</guid><dc:creator>Hakon</dc:creator><description>[quote user="AraNRF91"]i gathered the modem trace as mtrace and the regarding full log again here:[/quote]
&lt;p&gt;Thanks, what modem firmware is this captured with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/539658?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 08:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c89e1c8-137b-48c7-a17b-3b1dabbd0476</guid><dc:creator>AraNRF91</dc:creator><description>&lt;p&gt;i gathered the modem trace as mtrace and the regarding full log again here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://aracomitservices-my.sharepoint.com/:u:/g/personal/robert_jeutter_aracom_de1/EZ3uiWbfQN5Iqsjbzgca3sMBcg3vRtfOhMHNPKigJACa0Q?e=MlOYHg"&gt;nrf9151_lte_example_nRF9160_xxAA_1750233445688_channel0.mtrace&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://aracomitservices-my.sharepoint.com/:t:/g/personal/robert_jeutter_aracom_de1/EVqRlR7LO5pHkgzDFl50c1oBdkhgWrOLm2ebW9X2m0r_Wg?e=NtpYI0"&gt;nrf9151_lte_example_nRF9160_xxAA_1750233445688_channel0.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;as i experimented further with the modem and AT commands i found, that using &amp;quot;AT+COPS=?&amp;quot; for searching operator cells nearby draws 6 times the usual current but while setting CFUN=1 and waiting for attach the modems power draw does not change in comparison to CFUN=0? Are there any other commands or functions to be activated to power on the modem for CFUN=1?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also while working on a improved lib with extended tracing and capability to extend the AT usage, we found that only very few already have a NRF9151, which is why approving and verifying is certainly very hard. We will get a nrf9151-DK to test on it in the next weeks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538378?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 09:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab64eba9-fdc1-4126-a458-df494d834b4c</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can you please provide a modem trace in the format .mtrace or .bin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538364?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 08:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd9289c-5dfc-4d4c-a16d-49cc3ef7a0d1</guid><dc:creator>AraNRF91</dc:creator><description>&lt;p&gt;i created a full log from starting the lte test application with setting up IPC and configuring everything for the modem to the whole &amp;quot;wait for lte connection&amp;quot; until the timeout after 60secs; it also includes the modem trace, marked with &amp;quot;modem trace:&amp;quot; as well as the libraries modem traces.&lt;/p&gt;
&lt;p&gt;As the log is too big for posting it here, i added it at &lt;a href="https://aracomitservices-my.sharepoint.com/:t:/g/personal/robert_jeutter_aracom_de1/EShNG2uG33ROsmeYVYwKfWwBCxNLv6ie0Cp6Pnw_WT3QnQ?e=OhvzEg"&gt;lte_standalone_nRF9160_xxAA_1749196801820_channel0.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538205?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 12:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7647f84-990b-4f9d-a2fc-27d3b2d62ffc</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;What should be included in the modem trace is everything from start to finish of a network search. We need to see what is happening when the modem is unable to find the network.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538204?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 12:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:264ada24-cba9-4b10-a211-bb3b6140e1ae</guid><dc:creator>AraNRF91</dc:creator><description>&lt;p&gt;that would be great. What should be included in the modem trace? i can toggle there trough various options in the lib&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538194?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 11:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:781f505b-1c81-4256-8111-1fd37eb619ec</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Okay, it is hard to say exactly why your modem does not connect. A lot of the changes are internal information and can not be shared publicly. If you can provide a modem trace, I will ask the modem team for assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538144?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 04:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e44532-5269-4ec2-aa8b-d2264a22bb3a</guid><dc:creator>AraNRF91</dc:creator><description>&lt;p&gt;Hello Hakon,&lt;/p&gt;
&lt;p&gt;thanks for your reply.&lt;/p&gt;
&lt;p&gt;The antenna/RF design was adjusted by our hardware engineer according to the documents provided with the nrf9151.&lt;/p&gt;
&lt;p&gt;And the list of changes from nrf9160 to nrf9151 to get it halfway working:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;UICR:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/// Ensures that the UICR registers that control the HF clock source
/// are properly initialized. On the nRF9151, the modem expects to use the internal oscillator,
/// so HFXOSRC must be 0. If the registers are erased or misconfigured, they are updated
/// and the system resets to apply changes.
let so = unsafe { read32(UICR_BASE + HFXOSRC_OFF) };
let co = unsafe { read32(UICR_BASE + HFXOCNT_OFF) };
let bad = so != 0 &amp;amp;&amp;amp; so != 0xFFFF_FFFF;
let erased_so = so == 0xFFFF_FFFF;
let erased_co = co == 0xFFFF_FFFF;

if bad || erased_so || erased_co {
    warn!(&amp;quot;Fixing UICR&amp;quot;);
    ... set UICR values&lt;/pre&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;set HfclkSource and LfclkSource to internal RC clock as it would otherwise look for a external RTC&lt;/li&gt;
&lt;li&gt;then comes initialising the modem and network
&lt;ul&gt;
&lt;li&gt;init IPC Mem at 0x2000_0000 and init modem and network driver with the embassy_net_nrf91::new lib&lt;/li&gt;
&lt;li&gt;spawn modem task for IPC and state management&lt;/li&gt;
&lt;li&gt;spawn net task for network I/O with default driver settings and 8 available sockets&lt;/li&gt;
&lt;li&gt;spawn control task to set APN+Pin&lt;/li&gt;
&lt;li&gt;getting some Modem/Sim Infos to verify connection (AT+CGMM, AT+CIMI, AT%XICCID)&lt;/li&gt;
&lt;li&gt;after that i call &amp;quot;wait_config_up&amp;quot; of the library, as this attaches the modem to the LTE network and then responds with a result if we get a connection with IP+DNS from the provider. At this point the nrf9151 runs eternally without any connection. the nrf9160 with the same setup and Sim gets one.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And changes done in the embassy_net_nrf91 lib:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;verifying SHMEM/SPU Region size at init for length be 8kb-aligned &amp;amp; greater 0 &amp;amp; in the lower 128kb of RAM&lt;/li&gt;
&lt;li&gt;adding a variable RX Control length and RX Data length. Those were hard written for 16b for the nrf9160 but with the nrf9151 we got 32b. Now the lib reads the lengths from the modem itselfs and uses the provided ones, either 16b or 32b&lt;/li&gt;
&lt;li&gt;adding trace logs for AT notifications of the modem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps in understanding the changes. One of the open questions is still if other things changed in the process? I worked trough the Modem logs, Documentation and nrf-modem-lib.c but could not identify any other related changes.&lt;/p&gt;
&lt;p&gt;Also i will clean up the provided patch today to make it easier to verify&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9151 replaces NRF9160: LTE not working any more</title><link>https://devzone.nordicsemi.com/thread/538117?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 16:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf71759c-e9c2-4fb8-94f5-0fe590497eb5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;there are a lot of changes from the nrf9160 to nrf9151. Have you checked the antenna/RF design? The nrf91x1 use a different modem firmware than nrf9160. You have not provided much information other than linking to a 3rd party Rust driver, so it would be nice if you could tell more about what you have done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>