<?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>PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113816/pins-of-nrf5340-are-used-by-ble-stack-nrfconnect-v2-4-2</link><description>Please let us know which PINs of nrf5340 are used by BLE stack and which pins are used by peripherals like UART0 and UART1? We are converting our code from nrf connect V 1.9.1 to V 2.4.2 and are stuck with it. 
 we have see this thread https://devzone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Aug 2024 12:46:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113816/pins-of-nrf5340-are-used-by-ble-stack-nrfconnect-v2-4-2" /><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/499638?ContentTypeID=1</link><pubDate>Sat, 24 Aug 2024 12:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0c9fd5-a8af-4034-b50f-2eea77e1b3d4</guid><dc:creator>TonySingh</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Okay. So we have shifted to V2.6.1 as we need NCS support. The code is getting compiled. We need to set the Pins correctly to make it work. Team is&amp;nbsp;working for that. We shall come back to you in a day or two.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/499489?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 08:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad55829-9351-4e6a-9d0e-62e044c8593f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
&lt;p&gt;I should mention that the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.7.0.html#ide_and_tool_support"&gt;support for NCS 2.7.0 in VSC is experimental&lt;/a&gt;. If you have modified the dts files using the extension with NCS 2.7 that might be a potential issue. If you just left it the way it was in 2.4.2 I guess that should be fine. Though pinctrl and any major changes between NCS versions 1.9 and 2.4.2 can still be an issue.&lt;/p&gt;
[quote user="TonySingh"] The errors are in 2.7.0 (i forgot to mention it in previous response).[/quote]
&lt;p&gt;So would it be correct to say that there was&amp;nbsp;no errors in 2.4.2, but after switching to 2.7.0 you got these issues?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/499341?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 09:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:351a48c5-0e28-4d1c-876e-1440e26d5183</guid><dc:creator>TonySingh</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/113816/pins-of-nrf5340-are-used-by-ble-stack-nrfconnect-v2-4-2/499318"]What is this warning here saying? I believe something should pop-up if you hover over it.[/quote]
&lt;p&gt;below are the warnings&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/warning_5F00_1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/warning_5F00_2.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;hr /&gt;[quote userid="103347" url="~/f/nordic-q-a/113816/pins-of-nrf5340-are-used-by-ble-stack-nrfconnect-v2-4-2/499318"]Have you made any changes to the dts after moving to NCS&amp;nbsp;&lt;span&gt;V2.4.2, or is it currently the way you left it in 1.9?&lt;/span&gt;[/quote]
&lt;p&gt;We have made changes to overlay as 1.9.1 wasn&amp;#39;t working. Furthermore, also &lt;strong&gt;installed latest 2.7.0 SDK and using it&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;(not using 2.4.2). The errors are in 2.7.0 (i forgot to mention it in previous response).&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Attaching the the updated overlay for reference.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6131.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay"&gt;devzone.nordicsemi.com/.../6131.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kindly let me know if you need any futher informaition.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/499318?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 08:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02f8e5e0-785b-487a-b470-f2f3152abec0</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;What is this warning here saying? I believe something should pop-up if you hover over it.&lt;/p&gt;
&lt;p&gt;Have you made any changes to the dts after moving to NCS&amp;nbsp;&lt;span&gt;V2.4.2, or is it currently the way you left it in 1.9?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/499295?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 06:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe685abb-1215-4027-92a4-f34e5529def0</guid><dc:creator>TonySingh</dc:creator><description>&lt;p&gt;I have modified the pins as per our schematic as can be seen below.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1724306602895v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;However, while I am now observing bus fault error as can be seen in below error log video. I never observed such issue before.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Error_5F00_bus_5F00_fault.mp4"&gt;devzone.nordicsemi.com/.../Error_5F00_bus_5F00_fault.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/498863?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 13:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b4d7dc-9f0c-4e61-b1c0-f9220a68841d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hmm I might be misunderstanding you here.&lt;/p&gt;
&lt;p&gt;Having a look at the DK device tree using the Device Tree action I can see this overview of the SoC the way it is currently configured.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1724073361989v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is one way to see what pins are configured to uart, though this is just for the DK, which happened to be the board I am using and configuring. Check if what you have on your side matches what you need it to do.&lt;/p&gt;
&lt;p&gt;If your issues started after converting from&amp;nbsp;&lt;span&gt;V1.9.1 to V2.4.2&amp;nbsp;I believe the issue is rather related to pinctrl (ie. just modifying your dts file a bit).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/498785?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 10:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3f3f38-f0b2-471e-b591-d57addefd69e</guid><dc:creator>TonySingh</dc:creator><description>&lt;p&gt;&lt;span&gt;:&amp;quot;There are some that are by default used by UART0 and UART1&amp;quot;&lt;br /&gt;Which are these pins?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/MCU_5F00_PCB_2D00_5.pdf"&gt;devzone.nordicsemi.com/.../MCU_5F00_PCB_2D00_5.pdf&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do we need to change any of the Pins we are using here?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/497764?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 09:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbc51e80-af5c-4560-937f-93153c9a2f1e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Vivek, I hope you&amp;#39;ve had a good week-end.&lt;/p&gt;
[quote user=""]Please let us know which PINs of nrf5340 are used by BLE stack and which pins are used by peripherals like UART0 and UART1?&lt;br /&gt;We are converting our code from nrf connect V 1.9.1 to V 2.4.2 and are stuck with it.[/quote]
&lt;p&gt;I am not sure if I understand the issue. I do not think any pins are used by the BLE stack per se. There are some that are by default used by UART0 and UART1, though they can also be moved in case you want to use these pins for something else. To see that is currently being used, you can have a look at the generated devicetree file, or have a look at it using a GUI with the device tree &amp;#39;action&amp;#39; in VSC.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1723455793509v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In case the issue is that you have a difficulty setting pins in NCS 2.4.2 as compared to 1.9.1, it might be that you need to update the application to use &amp;#39;&lt;span&gt;pin control&amp;#39; in device tree, like it was mentioned in the thread you linked to.&amp;nbsp;&lt;/span&gt;For more on pins, and how to change what they are used for, have a look at &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;the fundementals course&lt;/a&gt;. It also goes over how to use pin control.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PINs of nrf5340 are used by BLE stack nrfconnect V2.4.2</title><link>https://devzone.nordicsemi.com/thread/497699?ContentTypeID=1</link><pubDate>Sun, 11 Aug 2024 13:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b3c1735-c1c6-4c5f-80b1-a7881a41e4c4</guid><dc:creator>TonySingh</dc:creator><description>&lt;p&gt;The GPIOs are not getting activated when using zephyr. However using the nordic code, we can use them. What may be the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>