<?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>Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112910/bluetooth-wont-initialize-with-custom-board-based-on-nrf5340dk</link><description>Hello, 
 I am working on creating a custom board based off the nrf5340dk_nrf5340 board 
 
 I am following the tutorial here 
 https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/exercise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jul 2024 11:12:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112910/bluetooth-wont-initialize-with-custom-board-based-on-nrf5340dk" /><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/494759?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 11:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f058a31-e768-4b4d-af50-16d5c28113ed</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Great! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Right, what comes before the first underscore is the name of the board, and afterwards is the name of the SoC. Seemed to be some confusion there. Like in the example I posted below:&lt;/p&gt;
&lt;p&gt;&lt;img height="82" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8688.pastedimage1720775084473v4.png" width="707" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/board-definition/"&gt;The table from the DevAcademy course here might describe it better than I do.&lt;/a&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: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/494643?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 16:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38920e13-0e52-47a6-8f92-de3f6383a4b5</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;It looks like that did the trick! I am looking at the files provide and it looks like I messed up by renaming some of the files that were for the processor and not the dk?&lt;/p&gt;
&lt;p&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/pastedimage1721320139761v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/494632?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 15:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46a82621-435a-4568-a368-edb125163604</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Elfving, &lt;/p&gt;
&lt;p&gt;The assistance is greatly appreciated! Ill give it a go today and report back with what I see.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;-Chasen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/494596?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 13:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f99020f-83f7-4f4f-99e1-2439cab99e2c</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;This time I wasn&amp;#39;t that prompt unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this on your side?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2804.rxcb_5F00_nrf5340.7z"&gt;devzone.nordicsemi.com/.../2804.rxcb_5F00_nrf5340.7z&lt;/a&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: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493692?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 16:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbad051-d445-41f7-a574-10626c6e37cd</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you again for the prompt response!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I believe I do have trustzone enabled, looking at defconfig for both boards, the only difference is the board name&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:233px;max-width:548px;" height="233" src="https://devzone.nordicsemi.com/resized-image/__size/1096x466/__key/communityserver-discussions-components-files/4/pastedimage1720799420729v1.png" width="548" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As for the other typos you mentioned, may I ask which version of the SDK you are comparing the board file with, in the 2.5.3 I have those lines in nrf5340dk are the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:66px;max-width:1111px;" height="66" src="https://devzone.nordicsemi.com/resized-image/__size/2222x132/__key/communityserver-discussions-components-files/4/pastedimage1720800196040v5.png" width="1111" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:84px;max-width:672px;" height="84" src="https://devzone.nordicsemi.com/resized-image/__size/1344x168/__key/communityserver-discussions-components-files/4/pastedimage1720800171670v4.png" width="672" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have attached my nrf5340dk board file just as a sanity check.&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/nrf5340dk_5F00_nrf5340.7z"&gt;devzone.nordicsemi.com/.../nrf5340dk_5F00_nrf5340.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks again for the assistance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493632?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 12:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ed86388-7e0b-4acd-8ae7-3dba906bc431</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I see now that I was perhaps I was a bit too quick in my previous response. So your custom board is essentially a copy of the 53DK, but is the only difference here, so I guess we can rule out the SW from being the culprit.&lt;/p&gt;
&lt;p&gt;I assume you missed something when creating the custom board. Good thing you sent it to me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So comparing it to the 5340DK board files, it seems you missed a few files. I assume you&amp;#39;ve checked that those are okay to skip? And in rxcb_nrf5340_cpuapp.dts there seems to be a typo:&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/pastedimage1720774780119v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I see you are not enabling trustzone here but I guess that is fine.&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/pastedimage1720774897716v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here in rxcb_nrf5340_cpunet.dts there is another typo:&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/pastedimage1720775084473v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you try fixing these typos?&lt;/p&gt;
&lt;p&gt;Regards, and have a good week-end,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493515?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 19:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452442f5-1221-4ea8-8c8f-731fa68411a9</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Still no success, however I need to move onto other parts of my bringup. The problem seems pretty repeatable with the attached board, if you compile an example peripheral_lbs project with that custom board, you should see the issue. If anyone can point out what I am doing wrong, it would greatly be appreciated!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&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/rxcb_5F00_nrf5340.7z"&gt;devzone.nordicsemi.com/.../rxcb_5F00_nrf5340.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493508?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 18:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f86be4e5-7777-4472-a66c-f910eb624880</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;So it looks like I am seeing the failure at the same point in the code as this ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89475/nrf5340-dk-ble-examples-fail-to-initialize/425662"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/89475/nrf5340-dk-ble-examples-fail-to-initialize/425662&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;one person said I am poking through the prj.conf suggestions to see if it yields anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493487?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 15:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9adad115-3910-4aa0-9d08-194a0742e06e</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Elfving, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can confirm that the peripheral_lbs project runs on both my custom board and the nrf5340dk when compiled using the nrf5340_nrf5340_cpuapp_ns board selected in the build configuration. However, with my custom board selected, the bt will not initialize. My custom board files should be a direct copy with just names changed, however I am going to give it another go from the tutorial below. If you have any suggestions on how I could debug it further, it would greatly be appreciated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/exercise-2-5/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/topic/exercise-2-5/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493212?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 16:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e22cd9-38af-45bf-b611-e9d7fe62f7cf</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the quick response! I can certainly try, but to clarify the problem persists weather I deploy to my custom board or the nrf5340kd_nrf5340. When I compile my project for the nrf5340kd_nrf5340 board files, the Bluetooth works fine. However when I compile it for my custom board files(copied from nrf5340kd_nrf5340) I am seeing the errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try compiling a ble sample with my custom board files and see if I see any different behavior&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth wont initialize with custom board based on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/493165?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 12:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9fbf36b-c7f4-49da-9062-d3339d8dd2e0</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you try a default sample for BLE as well, just to make sure that there is nothing wrong with the custom board?&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></channel></rss>