<?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>Creating nRF5340 project from scratch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67370/creating-nrf5340-project-from-scratch</link><description>Hello Nordic Support, 
 
 I am using nRF5340-PDK with Zephyr OS and nRF Connect SDK. Is there any way to create a new project with the nRF Connect SDK or is there any template project? 
 
 Thanks and best regards, 
 Duy Tran</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Oct 2020 12:29:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67370/creating-nrf5340-project-from-scratch" /><item><title>RE: Creating nRF5340 project from scratch</title><link>https://devzone.nordicsemi.com/thread/276184?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 12:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88afd65c-4ebd-45be-a817-b643b1d18e34</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Duy,&lt;/p&gt;
&lt;p&gt;Using peripherals depend a bit on which and how you want to use them. With UART for instance, you can refer to examples that use UART, for instance &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;Bluetooth: Peripheral UART&lt;/a&gt;. There you can see&amp;nbsp;that&amp;nbsp;CONFIG_SERIAL=y in prj.conf, and you can see how it is initialized and used in main.c. For USB there is a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/usb/usb_uart_bridge/README.html"&gt;USB-UART bridge sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that if you want to change pin configuration for instance, yo should create an overlay for your board. This is common for most peripherals regardless of how you use it, unless you use the nrfx drivers directly. You may find &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-3-0"&gt;nRF Connect SDK Tutorial - Part 3&lt;/a&gt;&amp;nbsp;useful for that.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating nRF5340 project from scratch</title><link>https://devzone.nordicsemi.com/thread/275999?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 15:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf7b63e0-d8b6-4d37-afcd-357f83f56008</guid><dc:creator>Duy</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;OK, then... These example are quite enough for me. Last question: So in case I want to add more functions like UART, QSPI, USB, do I have to modify or add more files? In side most of the project I see subprojects calling files in the &lt;strong&gt;modules&lt;/strong&gt; directory. If I want to enable some other peripherals, what should I do?&lt;/p&gt;
&lt;p&gt;Thanks and best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Duy Tran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating nRF5340 project from scratch</title><link>https://devzone.nordicsemi.com/thread/275943?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 13:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:263b5807-0a9d-474b-844e-449d1d0e720d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Duy,&lt;/p&gt;
&lt;p&gt;There are several sample projects that you can use as a starting point.&amp;nbsp;It often makes sense to start off with a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples.html"&gt;sample application&lt;/a&gt;&amp;nbsp;that is similar to what you want to make (for instance a Bluetooth peripheral sample if you are making a bluetooth peripheral). Note that most sample applications will work on the nRF5340 though they are not highlighted specifically for the nRF5340.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>