<?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>Provided example does not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97756/provided-example-does-not-work</link><description>Provided example does not work Hello, I am a nRF52810 soldered on our custom board, following the guides and the documentation I have created a custom_board.h file and I have adapted the corresponding Makefile and linker script to the need of the nRF52810</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2023 13:14:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97756/provided-example-does-not-work" /><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/417425?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 13:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8256c38-fd37-4245-9609-44bf317cb6ab</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Thank you for all of your answers, you can close the ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/417303?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43d972e-bec2-4cad-a234-e35ed47201ed</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Let me know if we can close this ticket or if you have any further questions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/417104?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 13:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02228a40-1ab2-4b9e-93d1-e0d1124aae67</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/417018?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 10:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7a6d91-9f96-4821-ba18-4ca52a841d48</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I tested the minimal_prj.conf myself and was able to reproduce this as well, so this is definitely a bug. You can either use the &amp;quot;standard&amp;quot; prj.conf to build and flash the project onto your board, or you can edit the prj_minimal.conf by increasing the CONFIG_MAIN_STACK_SIZE, as this apparently needs to be bigger than the set 640. If you set it to the default value of 1024 that is sufficient on my end at least. I have reported this bug internally and we&amp;#39;ll find a fix for it in a future release.&lt;/p&gt;
&lt;p&gt;Thank you for your vigilance!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/416631?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 16:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c8ab445-ac75-43b7-a55c-fb9f4cc4619b</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am having trouble using that example, the problem is that I do see output on UART but no bluetooth device from the nRF Connect app. So I have debugged the code a little and I see that there is a problem with the function &amp;quot;bt_enable&amp;quot; in the main program. The error it is giving me back is &amp;quot;-22&amp;quot; that means &amp;quot;Invalid argument&amp;quot;. For the prj configuration I used the &amp;quot;minimal&amp;quot; version proposed and I enabled the debug option in the build configuration. I do not know what to do since I have not modified the example. It seems that the problem is happening somewhere in the &amp;quot;settings_nvc.c&amp;quot; file. What do you suggest?&lt;/p&gt;
&lt;p&gt;Bye,&lt;/p&gt;
&lt;p&gt;Mattia Gianesini&lt;/p&gt;
&lt;p&gt;OS: Windows 11&lt;br /&gt;Jlink version:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.66a&lt;br /&gt;Nordic SDK:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2.0&lt;/p&gt;
&lt;p&gt;IDE: Visual Studio Code with the nRF Connect extension&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/416539?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 12:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20656ad2-f562-4fb2-bc34-27234632b3e3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;The peripheral_uart is able to transmit UART data over BLE to something like the nRF Connect for Android app as is. By connecting, and then enabling notifications for the UART service on the phone side you will be able to type in data on a terminal if the DK is connected to a computer, and receive this data on the phone. You can also write data from the phone to the nRF52 which can be forwarded to the terminal you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;Since you&amp;#39;re using a Laird board,&amp;nbsp;the data will only be output on the pins that is configured for the UART, so connecting it to I.E. the NXP µC should be fine. How the NXP µC handles the data is up to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/416360?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 17:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fc2dc45-6cb5-401d-8768-fe5dea409689</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I have looked through the examples you said but from what I have understand they are meant to be run between two boards, and that is okay, but about the UART connection we are confident that we can imple&lt;br /&gt;ment that on our own from the NXP uC.&lt;br /&gt;We are currently working on the latter task, forwarding the data from the UART to a bluetooth device and visualize some data on our custom app.&lt;br /&gt;We decided to share with you the scheme of our board, so you can see the schematic in the two pictures I have posted. Precisely the module name and version that we are using is the LAIRD 453-00006C&lt;br /&gt;We have achived a simple bluetooth connection to your app nRF Connect on a mobile device and with the example we did see a transfer of simple dummy numbers. To achieve that we used the minimal configuratio&lt;br /&gt;n and we see that modifying the example will not show more than 1 byte in your application.&lt;br /&gt;Some of our collegues said that they used the example of the old SDK &amp;quot;app_uart_fifo&amp;quot; as a base start to achieve our same goal. We got some questions for you:&lt;br /&gt;1. Which is the example that we need to use to transfer data from UART to BLE and finally to an android app ? We have looked through the &amp;quot;peripheral_uart&amp;quot; one but we are not sure that it is the one.&lt;br /&gt;2. Is there a maximum limit of bytes that can be send and recived from module from UART to BLE ?&lt;br /&gt;3. How can we test the sending of data ? Can our packets be seen on your app nRF Connect ?&lt;br /&gt;We are worried because we have urgency to delivery our products to clients and we still do not know if your module suit our needs. For us it is an important project since we will be shipping more than 2000&lt;br /&gt;products per year and we have a striced deadline where we need to ship our first prototypes.&lt;br /&gt;Thank you in advance, I hope I have been clear&lt;br /&gt;Mattia Gianesini&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nodoR10.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/416308?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 14:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a7149a5-4edc-4b0f-b585-1cca99e4ce06</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Both the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;Peripheral UART&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_uart/README.html"&gt;Central UART&lt;/a&gt; samples in the nRF Connect SDK should work as you explain here, where each end is connected to a UART terminal and they can send data between one another and print it out to a UART terminal.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/416094?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 16:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47675be6-c4dd-42ca-83c4-35b0509023e7</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;yes the oscillator is configured to use the internal RC one. I managed to finally made an example work, I see on the nRFConnect app the module and also it&amp;#39;s advertising data. But there is still one thing that I am missing, our purpose it is use the module as a bluetooth module through UART, So for testing purpose I would need to achieve this scheme of communication: terminal -&amp;gt; UART -&amp;gt; nRF52810 -&amp;gt; bluetooth, back and forth&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Untitled-Diagram.drawio.png" /&gt;&lt;/p&gt;
&lt;p&gt;But reading through the samples, there is not one that would work that way&lt;/p&gt;
&lt;p&gt;Mattia Gianesini&lt;/p&gt;
&lt;p&gt;OS: Windows 11&lt;br /&gt;Jlink version:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.66a&lt;br /&gt;Nordic SDK:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2.0&lt;/p&gt;
&lt;p&gt;IDE: Visual Studio Code with the nRF Connect extension&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/415983?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 11:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5719b5-68ed-4e57-b8be-de76a7d327c0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try setting&amp;nbsp;&lt;strong&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/a&gt;=y&lt;/strong&gt;&amp;nbsp;in your project&amp;#39;s Kconfig file in order to make sure the nRF52810 is using the internal RC oscillator instead. What is this &amp;quot;some output on the UART&amp;quot; you&amp;#39;re seeing exactly?&lt;/p&gt;
&lt;p&gt;I still think we should do a HW review of your custom board though. If you don&amp;#39;t want to share the HW files with the whole wide world, please let me know and I can set the case to Private mode so that only yourself and Nordic engineers will be able to see the files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/415763?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 14:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0140411-210d-49dd-b1cb-69e126f93e42</guid><dc:creator>mattia</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It has come to my attention that we are using the bluetooth module BL651 which uses the nRF52810. We do not use an external crystal. Today I have tried the example peripheral_hr with the new sdk (version 2.2.0) and I do see some output on the UART but still nothing about bluetooth connection.&lt;/p&gt;
&lt;p&gt;Sorry for the misunderstanding, Mattia Gianesini&lt;/p&gt;
&lt;p&gt;OS: Windows 11&lt;br /&gt;Jlink version:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.66a&lt;br /&gt;Nordic SDK:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.2.0&lt;/p&gt;
&lt;p&gt;IDE: Visual Studio Code with the nRF Connect extension&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provided example does not work</title><link>https://devzone.nordicsemi.com/thread/415676?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 11:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d268592-d760-4bff-9cf1-c9a9cd0ceae9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could we have a look at your schematic and PCB layout to do a HW review to make sure everything on your custom board is set up correctly? To me, this description screams that a crystal is not tuned or mounted correctly on your custom board. For instance, are you using the optional external 32.768kHz crystal in your design? And what load capacitance load are the crystal(s) you&amp;#39;re using rated to (should be CL in the crystal&amp;#39;s datasheets).&lt;/p&gt;
&lt;p&gt;Also, please confirm that you have followed the necessary steps to transfer a project to nRF52810 HW according to this user guide:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fnrf52810_user_guide.html&amp;amp;anchor=ug_52810_project"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fnrf52810_user_guide.html&amp;amp;anchor=ug_52810_project&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>