<?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>Accessing cellular modem via nrf52840dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110554/accessing-cellular-modem-via-nrf52840dk</link><description>Hi, I am using nrf52840dk along with Quectel BG95 module with the sample &amp;quot;cellular modem&amp;quot; 
 Can i able to use the bg95 driver for nrf52840?? 
 When i tried to build it for the nrf52840dk, i got the following kconfig warnings 
 
 but i have set the status</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Apr 2024 05:58:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110554/accessing-cellular-modem-via-nrf52840dk" /><item><title>RE: Accessing cellular modem via nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/480798?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 05:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd154669-d6e9-4d50-8e74-f6d23bd54de6</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m afraid I can&amp;#39;t provide any help on the BG9x, as this is not our device. I suggest reading through the documentation and reaching out to the &lt;a href="https://discord.com/invite/Ck7jw53nU2"&gt;Zephyr community on Discord&lt;/a&gt;. Perhaps the &lt;a href="https://www.nordicsemi.com/Products/nRF9160"&gt;nRF9160 would be a good match&lt;/a&gt;?&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: Accessing cellular modem via nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/480765?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 18:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc8b153-d016-4bf6-84d8-86ef5dfd3bfe</guid><dc:creator>vicky_76</dc:creator><description>&lt;p&gt;Hey, thanks !&lt;/p&gt;
&lt;p&gt;i just got confused between bg9x and cellular_modem driver&lt;/p&gt;
&lt;p&gt;now i have changed my project towards the bg9x driver files,&lt;/p&gt;
&lt;p&gt;im able to build the project with my module inside uart node, and all the setup commands in the driver got executed fine,&lt;/p&gt;
&lt;p&gt;now, how can i able to access the driver api functions, like sending a tcp??&lt;/p&gt;
&lt;p&gt;i see all the functions are in the &amp;quot;socket_op_vtable&amp;quot; struct, and that is being configured as modem socket.&lt;/p&gt;
&lt;p&gt;is there any guide to look out for to get to know about accessing these sockets??&lt;/p&gt;
&lt;p&gt;Kindly guide me through this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing cellular modem via nrf52840dk</title><link>https://devzone.nordicsemi.com/thread/480489?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2024 13:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44fa768-102c-4807-a845-8054ccec303c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/zephyr/samples/net/cellular_modem/README.html"&gt;Cellular modem sample&lt;/a&gt;, it configures the dts differently from yours. Did you follow the same steps as it does?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/dts-v1/;

/ {
        aliases {
                modem = &amp;amp;modem;
        };
};

&amp;amp;usart2 {
        pinctrl-0 = &amp;lt;&amp;amp;usart2_tx_pa2 &amp;amp;usart2_rx_pa3 &amp;amp;usart2_rts_pa1 &amp;amp;usart2_cts_pa0&amp;gt;;
        pinctrl-names = &amp;quot;default&amp;quot;;
        current-speed = &amp;lt;115200&amp;gt;;
        hw-flow-control;
        status = &amp;quot;okay&amp;quot;;

        modem: modem {
                compatible = &amp;quot;quectel,bg9x&amp;quot;;
                mdm-power-gpios = &amp;lt;&amp;amp;gpioe 2 GPIO_ACTIVE_HIGH&amp;gt;;
                mdm-reset-gpios = &amp;lt;&amp;amp;gpioe 3 GPIO_ACTIVE_HIGH&amp;gt;;
                status = &amp;quot;okay&amp;quot;;
        };
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, the GSM Modem sample (zephyr/samples/net/gsm_modem/) configures the BG95 in the following way:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* BG95 */
&amp;amp;usart2 {
	pinctrl-0 = &amp;lt;&amp;amp;usart2_tx_pa2 &amp;amp;usart2_rx_pa3 &amp;amp;usart2_rts_pa1 &amp;amp;usart2_cts_pa0&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	hw-flow-control;

	dmas = &amp;lt;&amp;amp;gpdma1 0 27 STM32_DMA_PERIPH_TX
		&amp;amp;gpdma1 1 26 STM32_DMA_PERIPH_RX&amp;gt;;
	dma-names = &amp;quot;tx&amp;quot;, &amp;quot;rx&amp;quot;;

	status = &amp;quot;okay&amp;quot;;

	modem: modem {
		compatible = &amp;quot;zephyr,gsm-ppp&amp;quot;;
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Did you add the dts to nrf52840dk_nrf52840.overlay?&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></channel></rss>