<?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 do I configure UART? Send data from nRF52832 to QUECTEL module by using &amp;quot;ZEPHYR&amp;quot; SDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44187/how-do-i-configure-uart-send-data-from-nrf52832-to-quectel-module-by-using-zephyr-sdk</link><description>Hi all, 
 I am using nRF82532 board. This board TX,RX(P0.06,p.0.08) pins connected with QUECTEL module in ZEPHYR sdk platform . Please forgive me for these basic doubts. 
 1. If I need to send some command from my nRF52832 board to QUECTEL module through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Mar 2019 10:13:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44187/how-do-i-configure-uart-send-data-from-nrf52832-to-quectel-module-by-using-zephyr-sdk" /><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/174491?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 10:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8413d7f-62e3-4011-a41f-a57bf51f5d42</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jarz"&gt;Jakub Rzeszutko&lt;/a&gt;&amp;nbsp;has already answered above about Zephyr.&lt;/p&gt;
&lt;p&gt;See also your other threads on this topic:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44237/sample-code-for-send-data-with-nrf52832-uart-by-using-zephyr-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44237/sample-code-for-send-data-with-nrf52832-uart-by-using-zephyr-sdk&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44249/how-to-send-data-from-nrf52832-dk-board-to-sim-module-throught-uart-using-zephyr-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44249/how-to-send-data-from-nrf52832-dk-board-to-sim-module-throught-uart-using-zephyr-sdk&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For further details about Zephyr, you need to study the Zephyr &lt;strong&gt;documentation&lt;/strong&gt; ...&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/1.13.0/boards/arm/nrf52_pca10040/doc/nrf52_pca10040.html"&gt;https://docs.zephyrproject.org/1.13.0/boards/arm/nrf52_pca10040/doc/nrf52_pca10040.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/pdf/nwp_029.pdf"&gt;http://infocenter.nordicsemi.com/pdf/nwp_029.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/1.13.0/introduction/introducing_zephyr.html"&gt;https://docs.zephyrproject.org/1.13.0/introduction/introducing_zephyr.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/1.13.0/getting_started/getting_started.html"&gt;https://docs.zephyrproject.org/1.13.0/getting_started/getting_started.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/1.13.0/application/index.html"&gt;https://docs.zephyrproject.org/1.13.0/application/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/174440?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 06:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c0e083-db0c-4325-86ed-5831fbe7306f</guid><dc:creator>ram</dc:creator><description>&lt;p&gt;Is it available code for uart data send receiving code by using zephyr API&amp;#39;s?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/174225?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 11:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce147d2e-e8bf-4b39-b7a6-671fa697b673</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You read the &lt;strong&gt;Product Specification&lt;/strong&gt;, which describes the UART and all its registers, and you work from there.&lt;/p&gt;
&lt;p&gt;Zephyr is open-source, so you can look at how they do it.&lt;/p&gt;
&lt;p&gt;The source code of the Nordic SDK is provided - so, again,&amp;nbsp;&lt;span&gt;you can look at how they do it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Various 3rd parties have published other code for working with Nordic parts; as well as a standard internet search (eg, google), a search at &lt;strong&gt;GitHub&lt;/strong&gt; is a good way to find source code ...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/174138?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 06:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff943da5-432d-43dd-b2f8-d4bb51d638e9</guid><dc:creator>ram</dc:creator><description>&lt;p&gt;How do register configure of uart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173540?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 15:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1558f8d3-7906-453a-a4c2-ad7f1f84fe6c</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/master/boards/arm/nrf52_pca10040/nrf52_pca10040.dts#L90"&gt;github.com/.../nrf52_pca10040.dts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Lines 94, 95.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;By default they are set to tx = 6, rx = 8&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173535?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 15:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b8ee7a0-96d4-47c3-a33c-657a0183d2e4</guid><dc:creator>ram</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do i configure the Tx,Rx pins.And how to send the data through these pins?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173449?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 11:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:420908a3-e9c5-406a-9f70-cb1226556492</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;1. Generate hello world example: zephyr/samples/hello_world&lt;/p&gt;
&lt;p&gt;2. edit main.c file. It shall look like that:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/*                                                                                                                      
  * Copyright (c) 2012-2014 Wind River Systems, Inc.                                                                     
  *                                                                                                                      
  * SPDX-License-Identifier: Apache-2.0                                                                                  
  */                                                                                                                     
                                                                                                                         
 #include &amp;lt;zephyr.h&amp;gt;                                                                                                     
 #include &amp;lt;misc/printk.h&amp;gt;                                                                                                
 #include &amp;lt;uart.h&amp;gt;                                                                                                       
                                                                                                                         
 void main(void)                                                                                                         
 {                                                                                                                       
         struct device *dev =                                                                                            
                 device_get_binding(DT_UART_CONSOLE_ON_DEV_NAME);                                                        
         printk(&amp;quot;Hello World! %s\n&amp;quot;, CONFIG_BOARD);                                                                      
                                                                                                                         
         uart_poll_out(dev, &amp;#39;A&amp;#39;); // this is how you poll out raw data via uart                                          
                                                                                                                         
 }             &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173437?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 10:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e306f896-196a-427f-b35a-44815f161afb</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Continued:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44237/sample-code-for-send-data-with-nrf52832-uart-by-using-zephyr-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44237/sample-code-for-send-data-with-nrf52832-uart-by-using-zephyr-sdk&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173373?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 06:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dad1239-9416-4f9c-a50d-8a7bd1819417</guid><dc:creator>ram</dc:creator><description>&lt;p&gt;Hi Sir,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am using Nordic DK board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173312?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 18:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac6a9b5a-bd80-4639-9ec4-ceb60a8a5ede</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What board do you use? Nordic DK or custom?&lt;/p&gt;
&lt;p&gt;UART is configured basing on:&lt;/p&gt;
&lt;p&gt;1. board&amp;#39;s device tree - this is where you define PINs, baudrate and peripheral (UART/UARTE - using compatible)&lt;/p&gt;
&lt;p&gt;2. Kconfig - this is where you select driver (UART or UARTE). You need to ensure that peripheral in DT (device tree) and selected driver are consistent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. prj.conf file - this is where you say that your project is willing to use UART feature.&lt;/p&gt;
&lt;p&gt;Next when you are in the main function all is ready and initialized. UART API is located in the file:&lt;/p&gt;
&lt;p&gt;zephyr\include\uart.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I configure UART? Send data from nRF52832 to QUECTEL module by using "ZEPHYR" SDK?</title><link>https://devzone.nordicsemi.com/thread/173280?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 14:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbebb47-5150-4dcb-a9ff-b732d171255f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you looked at the examples in the SDK ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/examples_hw_peripheral_devices"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/examples_hw_peripheral_devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As always, the way to start this kind of project is to get the UART talking to a terminal on a PC&lt;/p&gt;
&lt;p&gt;Once you have that working, then - and only then - move on to getting it to work with the Quectel.&lt;/p&gt;
&lt;p&gt;Similarly, you should also familiarise yourself with the Quectel by using it with&amp;nbsp;&lt;span&gt;&amp;nbsp;a terminal on a PC&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>