<?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>Question when starting evaluation nRF5340-PDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69316/question-when-starting-evaluation-nrf5340-pdk</link><description>I&amp;#39;ve been developing using nRF52840 using the nRF5 SDK. I have also been using FreeRTOS in my projects. 
 I recently received an nRF5340pdk to evaluate the nRF5340. I have some questions: 
 
 From reading the website, it appears that nRF5 SDK has been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Dec 2020 12:01:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69316/question-when-starting-evaluation-nrf5340-pdk" /><item><title>RE: Question when starting evaluation nRF5340-PDK</title><link>https://devzone.nordicsemi.com/thread/285604?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 12:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1abad5e8-c67e-4e8e-9aa0-2d09ad5470ca</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
[quote user="CktDesigner"]However, when compiled, and Debug-&amp;gt;Go is clicked, execution halts at line 455 of init.c with no particular error reported.&amp;nbsp;[/quote]
&lt;p&gt;After this step, press &amp;quot;Restart&amp;quot; (&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1608198037680v1.png" alt=" " /&gt;)&amp;nbsp;in the debug section, then &amp;quot;Go&amp;quot;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="CktDesigner"]1. What is the difference between the preview and production versions of nRF5340-(p)DK?[/quote]
&lt;p&gt;&amp;nbsp;The hardware version is different.&amp;nbsp;&lt;span&gt;There are differences (like more peripherals, different number of MPU regions, different size of flash regions in SPU) are between hardware version.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="CktDesigner"]2. Is there a link (that I have missed) that documents the SoC peripheral drivers/libraries for the nRF5340 under nRF Connect?&amp;nbsp; &amp;nbsp;In particular, I am using the TWI and SPI transaction managers and I2S drivers in my nRF52840 applications.[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t find the document like that either, but I will suggest the internal. This case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58966/is-there-any-sample-for-spi-based-on-nrf5340"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/58966/is-there-any-sample-for-spi-based-on-nrf5340&lt;/a&gt;&amp;nbsp;shows how to use SPI on nRF5340.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="CktDesigner"]3. Is the online documentation for nrfx v2.4.0 (in the Infocenter) still relevant for nRF Connect / Zephyr (I assume so)?&amp;nbsp; &amp;nbsp;Assuming so, are the libraries (such as TWI/SPI transaction managers) available under nRF5 SDK usable under SDK Connect/Zephyr?[/quote]
&lt;p&gt;&amp;nbsp;Check here:&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index-nrf.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index-nrf.html#&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="CktDesigner"]4. Is there a link that defines all of the CONFIG_* settings that can be populated in prj.conf?[/quote]
&lt;p&gt;See this doc&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="CktDesigner"]5. Is there a chart/link that cross-references which CONFIG_* settings are required for particular device drivers?&amp;nbsp; &amp;nbsp;For example, if I want to use TWI&amp;nbsp; (or TWIM) peripherals, which CONFIG_ settings are required/optional?[/quote]
&lt;p&gt;&amp;nbsp;You can take a look at this tutorial &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="CktDesigner"]6. Even after &amp;quot;rebuilding&amp;quot; a solution, often when I click Debug-&amp;gt;Go, the &amp;quot;Project out of date&amp;quot; dialog box appears.&amp;nbsp; &amp;nbsp;Is there some setting in SES that needs to change when using nRF Connect to avoid this?[/quote]
&lt;p&gt;&amp;nbsp;If you already rebuild the solution, you could ignore it and not build again.&amp;nbsp;&lt;/p&gt;
[quote user="CktDesigner"]So there seems to be an issue running some of these sample programs on the 0.8.0 version of the nRF5340-PDK.[/quote]
&lt;p&gt;Do you flash the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v2.4.99)" href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_rpmsg/README.html#bluetooth-hci-rpmsg-sample"&gt;&lt;span&gt;Bluetooth: HCI RPMsg&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample to the network core and&amp;nbsp;bluetooth/peripheral_hr sample to the application core?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you get the log from the terminal tool?&amp;nbsp;See&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#putty"&gt;&lt;span&gt;How to connect with PuTTY&lt;/span&gt;&lt;/a&gt;&amp;nbsp;for the required settings.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question when starting evaluation nRF5340-PDK</title><link>https://devzone.nordicsemi.com/thread/284632?ContentTypeID=1</link><pubDate>Sat, 12 Dec 2020 14:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e674802-ff3c-471b-996d-7751ad6048f3</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;One other thing...&amp;nbsp; &amp;nbsp; I tried the bluetooth/peripheral_hr sample and had the same issue.&amp;nbsp; &amp;nbsp;So I tried it on the nRF52840-DK board I had and it worked.&amp;nbsp; &amp;nbsp; So there seems to be an issue running some of these sample programs on the 0.8.0 version of the nRF5340-PDK.&lt;/p&gt;
&lt;p&gt;Since I&amp;#39;m using these as a primer on using the nRF5340 and Zephyr, I notice that Zephyr provides drivers for many peripherals (I2C, SPI, etc.) but these are also provided in the nrfx library from Nordic.&amp;nbsp; &amp;nbsp; Which set is recommended by Nordic (I assume that nrfx is more complete and will work better!)?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question when starting evaluation nRF5340-PDK</title><link>https://devzone.nordicsemi.com/thread/284623?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 23:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:995a2798-01e4-4af3-8e6d-3f7e6078fe8e</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thanks for your response!&lt;/p&gt;
&lt;p&gt;My nRF5340-PDK is version 0.8.0&lt;/p&gt;
&lt;p&gt;I deleted the project build directory for &amp;quot;Hello World&amp;quot; and re-created the project making sure to select nrf5340pdk_nrf5340_cpuappns as the target.&amp;nbsp; &amp;nbsp;I also edited the prj.conf file to include the statements you provided (and in the link you pointed to).&lt;/p&gt;
&lt;p&gt;However, when compiled, and Debug-&amp;gt;Go is clicked, execution halts at line 455 of init.c with no particular error reported.&amp;nbsp; &amp;nbsp;If I click the Run icon, it halts again at line 80 of fault_s.S&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not sure how to proceed...&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;A few additional questions:&lt;/p&gt;
&lt;p&gt;1. What is the difference between the preview and production versions of nRF5340-(p)DK?&amp;nbsp; Note that when I first powered on the board, it prompted me that new firmware was available (I assume for the debugger) and I allowed the download to occur.&amp;nbsp; &amp;nbsp;Is this OK?&amp;nbsp; &amp;nbsp; Are there physical differences in the board design?&lt;/p&gt;
&lt;p&gt;2. Is there a link (that I have missed) that documents the SoC peripheral drivers/libraries for the nRF5340 under nRF Connect?&amp;nbsp; &amp;nbsp;In particular, I am using the TWI and SPI transaction managers and I2S drivers in my nRF52840 applications.&lt;/p&gt;
&lt;p&gt;3. Is the online documentation for nrfx v2.4.0 (in the Infocenter) still relevant for nRF Connect / Zephyr (I assume so)?&amp;nbsp; &amp;nbsp;Assuming so, are the libraries (such as TWI/SPI transaction managers) available under nRF5 SDK usable under SDK Connect/Zephyr?&lt;/p&gt;
&lt;p&gt;4. Is there a link that defines all of the CONFIG_* settings that can be populated in prj.conf?&lt;/p&gt;
&lt;p&gt;5. Is there a chart/link that cross-references which CONFIG_* settings are required for particular device drivers?&amp;nbsp; &amp;nbsp;For example, if I want to use TWI&amp;nbsp; (or TWIM) peripherals, which CONFIG_ settings are required/optional?&amp;nbsp; (Even when using nRF5 SDK and sdk_config.h (with or without the CMSIS wizard) with the nRF52840, it is sometimes trial/error to figure out which settings are needed)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;6. Even after &amp;quot;rebuilding&amp;quot; a solution, often when I click Debug-&amp;gt;Go, the &amp;quot;Project out of date&amp;quot; dialog box appears.&amp;nbsp; &amp;nbsp;Is there some setting in SES that needs to change when using nRF Connect to avoid this?&lt;/p&gt;
&lt;p&gt;Many thanks!&lt;/p&gt;
&lt;p&gt;Ed Hepler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question when starting evaluation nRF5340-PDK</title><link>https://devzone.nordicsemi.com/thread/284446?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 08:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768b8a01-76e6-4685-9555-47ead4c16922</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;What is the HW version on the withe sticker of your PDK? Is it 0.8.0 or 0.9.0?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;nRF5340 is only supported by the n&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html#welcome-to-the-ncs"&gt;RF Connect SDK&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;See the explanation in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60766/freertos-on-nrf53/247063#247063"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;b. Refer to&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#how-to-use-rtt"&gt;how-to-use-rtt&lt;/a&gt;&amp;nbsp;to add the following to the&amp;nbsp;prj.conf under ncs\zephyr\samples\hello_world as:&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;c. Press reset.&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0763.pastedimage1607674358863v1.png" alt=" " /&gt; and go again. It will stop at main.c line 118 :&amp;nbsp;err = bt_enable(NULL);&lt;br /&gt;d. The application sample like&amp;nbsp;&lt;span&gt;peripheral hr only can run with&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf5340pdk_nrf5340_cpuapp or&amp;nbsp;&amp;nbsp;nrf5340pdk_nrf5340_cpuappns. If you want to run the sample with&amp;nbsp;nrf5340pdk_nrf5340_cpunet, please see&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#network-samples"&gt;network-sample&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>