<?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>case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88886/case-about-nrf9160-uart0-uart1-uart2-uart3</link><description>Hi, 
 1. Please provide me with an example in which UART0, UART1, uart2, and uART3 are enabled 
 2. The sending and receiving rate of each UART must reach 1,000,000 baud rate 
 3. Each UART sends and receives a maximum of 2048 bytes 
 DK:PCA10090 
 SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 Jul 2022 01:59:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88886/case-about-nrf9160-uart0-uart1-uart2-uart3" /><item><title>RE: case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/thread/375172?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2022 01:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1df99707-0add-475f-aeb2-969fcf17be49</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;I solved the problem &lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_1" data-section="1" data-sentence="0" data-group="1-0"&gt;Need to modify: nrF9160Dk_nrf9160_ns.dts&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_1" data-section="1" data-sentence="0" data-group="1-0"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;/* Disable UART1, because it is used by default in TF-M */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/* &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;amp;uart1 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;disabled&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;*/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The following is the test code&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0068.nRF9160_5F00_uart_5F00_4.zip"&gt;devzone.nordicsemi.com/.../0068.nRF9160_5F00_uart_5F00_4.zip&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="2"&gt;&lt;span class="tgt color_text_1" data-section="2" data-sentence="0" data-group="2-0"&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/thread/375031?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 09:08:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33eaaece-45fd-4082-bdec-656573b82175</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;I need more information to understand what you are struggling with.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What is the default example?&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Did you flash the sample in &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2804.nRF9160_5F00_uart_5F00_4.zip"&gt;nRF9160_uart_4.zip&lt;/a&gt;&amp;nbsp;to a device and connect&amp;nbsp;the device to a terminal and check if you were able to toggle the board lights with a keyboard?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Do you get any error messages or logs when you try to add uart to your application? If so, please supply them&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/thread/374842?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 08:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f09598-390b-4e69-8ef5-fae80b8dd77b</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi AHaug,&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="0" data-group="0-0"&gt;I failed to increment UART1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_1" data-section="1" data-sentence="0" data-group="1-0"&gt;How do I add UART1 to the default example&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_1 pjm-tgt un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_1" data-section="1" data-sentence="0" data-group="1-0"&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/thread/374086?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 09:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40255ba9-cd14-4823-89d5-6b4961fbaed0</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p&gt;I used this example&amp;nbsp;fund_less5_exer1_solution as a template.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I make the following changes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_TFM_UART1_TXD_PIN=10&lt;br /&gt;CONFIG_TFM_UART1_RXD_PIN=11&lt;br /&gt;CONFIG_TFM_SECURE_UART1=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But UART1 did not take effect&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I modify UART1 to take effect&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF9160_5F00_uart_5F00_4.zip"&gt;devzone.nordicsemi.com/.../nRF9160_5F00_uart_5F00_4.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF9160 uart0 uart1 uart2 uart3</title><link>https://devzone.nordicsemi.com/thread/372143?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 12:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73596297-5857-4493-a1bd-7dc51f7ebe87</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Peter,&lt;br /&gt;&lt;br /&gt;We don&amp;#39;t have any samples that explains&amp;nbsp;&lt;em&gt;ONLY&lt;/em&gt; setting up UART, as our samples often illustrates multiple functionalities. But our nRF Connect SDK Fundamentals course&amp;nbsp;regarding&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/lessons/lesson-4-serial-communication-uart/"&gt;UART topic&lt;/a&gt;&amp;nbsp;which you may find&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/lessons/lesson-4-serial-communication-uart/"&gt;at our academy pages&lt;/a&gt;&amp;nbsp;explains how the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfx/drivers/uart/index.html?highlight=uart"&gt;UART driver&lt;/a&gt; works and how to customize the UART in device tree file. This together&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/lessons/lesson-2-reading-buttons-and-controlling-leds/"&gt;topic 2&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/topic/configuration-files/"&gt;topic 3&lt;/a&gt;&amp;nbsp;which gives you insight in how the devicetree and configuration files will allow you to enable all 4 UARTS.&lt;br /&gt;&lt;br /&gt;Additional resources is the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html?highlight=uart"&gt;central uart&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html?highlight=uart"&gt;peripheral uart&lt;/a&gt;&amp;nbsp;samples that illustrates how two devices uses the NUS Client to send data back and forth between a UART connection and a Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; LE connection, emulating a serial port over Bluetooth LE.&lt;br /&gt;&lt;br /&gt;Let me know if this clarifies things for you,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Kind regards&amp;nbsp;&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>