<?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>How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123520/how-to-integrate-a-third-party-mcu-with-nrf9151-modem-slm-mode-with-lte-m-gnss</link><description>Hello, 
 I’m working on a project where I intend to integrate the nRF9151 as a standalone modem , communicating with my external MCU via UART using AT commands . 
 My goals include using the modem for: 
 
 
 LTE-M / NB-IoT 
 
 
 NTN (Satellite) 
 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Aug 2025 13:03:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123520/how-to-integrate-a-third-party-mcu-with-nrf9151-modem-slm-mode-with-lte-m-gnss" /><item><title>RE: How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/thread/546770?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 13:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7df019c8-f01e-4632-b70d-cb03bb43ceeb</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;No, you should be able to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/GNSS_AT_commands.html"&gt;use GNSS and get location by using the AT#XGPS command&lt;/a&gt;. The location is provided using an AT notification, e.g.&amp;nbsp;&lt;code&gt;#XGPS: 35.457576,139.625090,121.473785,22.199919,0.442868,0.000000,&amp;quot;2021-06-02 06:25:48&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/thread/546266?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 21:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d5e9013-8008-4bdd-99e4-0ce94b28492c</guid><dc:creator>dpio</dc:creator><description>&lt;p&gt;Thank you for the guidance,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;Øyvind&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/123520/how-to-integrate-a-third-party-mcu-with-nrf9151-modem-slm-mode-with-lte-m-gnss/546129"]In SLM we are generally using only one UART to communicate, but we are currently outputting our NMEA messages only to RTT traces.[/quote]
&lt;p&gt;Does this mean that even by switching and enabling the GNSS service (to receive NMEA messages or other protocol) with the &amp;#39;XSYSTEMMODE&amp;#39; / &amp;#39;AT+CFUN=&amp;#39; commands, I will not be able to switch between LTE-M and GNSS modes on the same UART channel, with nRF9151 as SLM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/thread/546129?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 07:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed566b4-8712-42fc-a11c-eed94b7b544b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are the answers I got from our experts internally&lt;/p&gt;
[quote user="eawpaiva"]1) Are there any limitations to using the nRF9151 as an SLM, working with LTE-M/NBIOT/GNSS (and NTN, in the future), on the same UART channel, with AT commands? I noticed in the commands “&lt;strong&gt;%XSYSTEMMODE&lt;/strong&gt;” and “&lt;strong&gt;+CFUN=&amp;lt;fun&amp;gt;&lt;/strong&gt;” that there is the possibility of more than one mode at the same time without affecting the other, but I would like to confirm if it is common to use the same UART channel for LTE-M and GNSS;[/quote]
&lt;p&gt;In SLM we are generally using only one UART to communicate, but we are currently outputting our NMEA messages only to RTT traces. There is also some preliminary implementation for allocating a separate CMUX channel for the NMEA messages, but that is likely missing development work. However, in future, we are likely moving to a direction that those would come with their own CMUX channel.&lt;/p&gt;
[quote user="eawpaiva"]2) I did not find in the documentation the recommended/required time to wait for a buffer or AT confirmation to be received. Only about the baud rate of the nRF9151 UART interface. Could you point me to it?[/quote]
&lt;p&gt;There seems to be no timing information available for different AT-commands. For example AT+CFUN=0 can be a long operation depending on the network state, so the amount of time for AT confirmation varies a lot. That said, you should always receive an AT confirmation, at least if you use hw-flow-control on the UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this answers your question.&lt;/p&gt;
&lt;p&gt;KInd regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/thread/545971?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 20:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aca16102-6404-4891-ba42-54b922703cd7</guid><dc:creator>dpio</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;Øyvind&lt;/a&gt;&amp;nbsp;!&lt;/p&gt;
&lt;p&gt;Other questions arose: &lt;br /&gt;1) Are there any limitations to using the nRF9151 as an SLM, working with LTE-M/NBIOT/GNSS (and NTN, in the future), on the same UART channel, with AT commands? I noticed in the commands &amp;ldquo;&lt;strong&gt;%XSYSTEMMODE&lt;/strong&gt;&amp;rdquo; and &amp;ldquo;&lt;strong&gt;+CFUN=&amp;lt;fun&amp;gt;&lt;/strong&gt;&amp;rdquo; that there is the possibility of more than one mode at the same time without affecting the other, but I would like to confirm if it is common to use the same UART channel for LTE-M and GNSS;&lt;br /&gt;2) I did not find in the documentation the recommended/required time to wait for a buffer or AT confirmation to be received. Only about the baud rate of the nRF9151 UART interface. Could you point me to it?&lt;/p&gt;
&lt;p&gt;I would like to confirm this to know if I will need to create different handlers and treatments in my firmware, since my application is using only one UART between the nRF9151 and my main MCU.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks in advance!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to integrate a Third-Party MCU with nRF9151 Modem (SLM Mode) with LTE-M/GNSS?</title><link>https://devzone.nordicsemi.com/thread/544946?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 13:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb715931-5887-405a-ab85-9ff7396de6e3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello there,&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;where I intend to integrate the &lt;strong&gt;nRF9151 as a standalone modem&lt;/strong&gt;, communicating with my external MCU via &lt;strong&gt;UART using AT commands&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, this should not be an issue. As you have already seen there is an application to use, the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/applications/serial_lte_modem/README.html"&gt;Serial LTE Modem (SLM)&lt;/a&gt; is&amp;nbsp;designed&lt;span&gt;&amp;nbsp;to emulate a stand-alone LTE modem on an nRF91 Series device. The application accepts both the modem-specific AT commands and proprietary AT commands.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;This would the best application to start with as a baseline.&lt;/p&gt;
[quote user=""]Also, is there a list or guide of &lt;strong&gt;recommended AT commands&lt;/strong&gt; (and sequences) that should be followed on the external MCU for basic operation (network registration, MQTT, GNSS, etc.)?[/quote]
&lt;p&gt;Yes, these are linked in the documentation for the SLM application (see link above) as well.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Modem-specific AT commands -&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands_nrf91x1/page/REF/at_commands/intro_nrf91x1.html"&gt;nRF91x1 AT Commands Reference Guide&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/intro_nrf9160.html"&gt;nRF9160 AT Commands Reference Guide&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Proprietary AT commands -&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/applications/serial_lte_modem/doc/AT_commands.html#slm-at-commands"&gt;&lt;span&gt;SLM-specific AT commands&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/samples/cellular/slm_shell/README.html"&gt;also a sample called SLM Shell&lt;/a&gt; which&amp;nbsp;&lt;span&gt;demonstrates how to send AT commands to modem using an external device.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]My goals include using the modem for:[/quote]
&lt;p&gt;&lt;span&gt;All of these should be supported in SLM, however, as the NTN functionality is still in the starting phase we cannot guarantee stable support yet. Have you been in contact with your sales representative regarding an NTN enabled nRF9151DK?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>