<?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>Configuring UART1 from Scratch in Zephyr (Beginner Here)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116227/configuring-uart1-from-scratch-in-zephyr-beginner-here</link><description>Hey everyone! 
 I’m working on a project using Zephyr with an nRF5340 board and trying to configure UART1 completely from scratch. Most tutorials I’ve found only cover UART0 (usually preconfigured as the console), but I’d like to set up UART1 for independent</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2024 08:27:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116227/configuring-uart1-from-scratch-in-zephyr-beginner-here" /><item><title>RE: Configuring UART1 from Scratch in Zephyr (Beginner Here)</title><link>https://devzone.nordicsemi.com/thread/510040?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 08:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01066eb1-6780-4e6a-a4d7-08c175cbc7f8</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Glad to hear that!&lt;/p&gt;
[quote user="Anassoumi"]connecting the nordic board to another mcu , but i noticed that the data being received is out of sync , even thought the configuration matches like baudrate etc .[/quote]
&lt;p&gt;Could you supply some images, logs and preferably have a look at the transport with a logic analyzer as well?&lt;/p&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: Configuring UART1 from Scratch in Zephyr (Beginner Here)</title><link>https://devzone.nordicsemi.com/thread/509992?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 22:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cce04704-c89d-4147-83c5-e97163dd5f6e</guid><dc:creator>Anassoumi</dc:creator><description>&lt;p&gt;Thanks for your reply Andreas , I have managed to enable the uart1 via the device tree (thanks to your tutorials suggestion) ,the only issue ihave is that i&amp;#39;m connecting the nordic board to another mcu , but i noticed that the data being received is out of sync , even thought the configuration matches like baudrate etc .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring UART1 from Scratch in Zephyr (Beginner Here)</title><link>https://devzone.nordicsemi.com/thread/509917?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 14:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a7e180-6760-416c-9f1a-f30702b256c4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You&amp;#39;re right in that most demos cover only UART0 and not UART1.&amp;nbsp;&lt;/p&gt;
[quote user=""]One thing I find confusing is that, after loading a basic example like Blinky, the start addresses for &lt;code&gt;UART1&lt;/code&gt; and &lt;code&gt;I2C&lt;/code&gt; seem to overlap&amp;nbsp; ??&amp;nbsp;[/quote]
&lt;p&gt;If both instances (i2c and uart1) use the same hardware when out of the box you will have to disable the i2c device in overlay for your project.&lt;/p&gt;
&lt;p&gt;Do you get any build warnings or errors when attempting to build? If so, what does it say?&lt;/p&gt;
&lt;p&gt;FYI both&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/&lt;/a&gt;&amp;nbsp;are good resources when getting started with nRF Connect SDK and Zephyr RTOS&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>