<?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>BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65379/ble-mesh-examples-on-pca10059-buttons-cant-work</link><description>hi, 
 I have 2 PCA10056 and few PCA10059 for BLE mesh testing. 
 need to configure dongle as provisioner. 
 unable to configure mesh provisioner example(also other client server which use buttons ) for PCA10059 hardware 
 SDK used : nRF5_SDK_17.0.0_9d13099</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Sep 2020 06:18:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65379/ble-mesh-examples-on-pca10059-buttons-cant-work" /><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/269513?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 06:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:646e8c36-cbf2-4d7b-88c4-8f201906af22</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, thank you for the update. How are you flashing this project onto your Dongle? The Dongle uses a different bootloader from the nRF Mesh bootloader, which may cause issues if you are flashing a project onto the Dongle using the bootloader.&lt;/p&gt;
&lt;p&gt;Can you try flashing the project onto the Dongle using the debugger on one of your DKs to see if that helps? If this is also unsuccessful, I would like a picture of how you&amp;#39;ve set up the Dongle on your end (with breadboard and all).&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: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/269325?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 09:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e362202f-2f07-4ea3-9fed-9552e6254c7c</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi simonr,&lt;/p&gt;
&lt;p&gt;project compiles correctly&lt;/p&gt;
&lt;p&gt;led on dongle works ok.&lt;/p&gt;
&lt;p&gt;as the on board button&amp;nbsp; on pca100059 is on PORT 1.x ,&lt;/p&gt;
&lt;p&gt;I did not want to change the interrupt routines . so assign buttons to same PORT 0.x&amp;nbsp; but different io lines&lt;/p&gt;
&lt;p&gt;I did follow the dongle programming guide.&lt;/p&gt;
&lt;p&gt;I modified the example mesh provisioner to use pca10059 board header file &lt;strong&gt;pca10059.h&lt;/strong&gt; file ,&lt;/p&gt;
&lt;p&gt;Added the project define for pca10059 board to common preprocessor section.&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BOARD_PCA10059&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;I have also added the 10059 board to simple_hal.h file (/** Boards with user buttons */) define.&lt;/p&gt;
&lt;p&gt;If you need remote access to the development PC(teamviewer/anydesk) ,&lt;/p&gt;
&lt;p&gt;Please message me in private&amp;nbsp; to schedule accordingly !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/269282?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 07:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f53bda-2db3-43a0-b3e4-086dd7bf98d6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you edited your project to use the pca10059.h project file and not pca10056.h? Please take a look at our &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;Dongle programming tutorial&lt;/a&gt; to see how you edit a project for the PCA10059 board.&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: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/269195?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df119f9-a5ca-41ee-bead-93209ae50ba3</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi simonor,&lt;/p&gt;
&lt;p&gt;Thanks for the effort to look into the issue.&lt;/p&gt;
&lt;p&gt;as for as Dk this is the real issue as memory chip is connected.&lt;/p&gt;
&lt;p&gt;What about the same code when run on PCA10059 , which does not have the external memory connected .&lt;/p&gt;
&lt;p&gt;on checking the board header files of PCA10056/59 , yes the said pins are used for external memory for QSPI .&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PCA10056 board file has these&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define BSP_QSPI_SCK_PIN 19&lt;br /&gt;#define BSP_QSPI_CSN_PIN 17&lt;br /&gt;#define BSP_QSPI_IO0_PIN 20&lt;br /&gt;#define BSP_QSPI_IO1_PIN 21&lt;br /&gt;#define BSP_QSPI_IO2_PIN 22&lt;br /&gt;#define BSP_QSPI_IO3_PIN 23&lt;/p&gt;
&lt;p&gt;and thes are not defined in PCA10059&amp;nbsp; board file !,&lt;/p&gt;
&lt;p&gt;this should have generated a warning or error as undefined but the example does compile ok !.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;I did searched the&amp;nbsp;&lt;span&gt;BSP_QSPI_CSN_PIN&amp;nbsp; references in the provisioner example code could not find any files in the project .&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;can u quickly tell me where to look and disable them in the sdk/mesh-sdk so that we can quickly evaluate&amp;nbsp;the &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;mesh sensor-client/server on dk with dongle as provisioner. ( ordering another DK for us will take more time).&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Thanks and regards.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/269183?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34c3ca17-f004-4244-93c3-ac2885a87563</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;On the DK, pins P0.17 and P0.19-P0.23 are by default connected to the external memory, which is why you&amp;#39;re not able to use these pins as buttons on the DK. Please &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF52840_DK_User_Guide_v1.4.1.pdf"&gt;see the DK user guide&lt;/a&gt; to see how these can be used as regular GPIOs. Have you checked if the example you&amp;#39;re using have defined these pins as external memory pins as well? A conflict with multiple defines for these pins might be why you&amp;#39;re not able to use them as buttons in your Dongle either, and would explain why only P0.24 is working as a button for you. You can test with a logic analyzer to see if there is any activity on pins P0.17, 20, and 22 at all.&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: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/268905?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 09:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa79e71-ec7c-4519-81df-9a60dbfe56cd</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/mttrinh"&gt;Mttrinh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;It is the&amp;nbsp; same sample example ( provisioner ) for the mesh sdk 4.2.0, only buttons are changed to different port lines.&lt;/p&gt;
&lt;p&gt;all Mesh examples can be operated by in board buttons or through inputs from RTT interface when the debugger is connected.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I had connected DK board debugger to the dongle to check the provisioner code and it works from RTT inputs only the button dont work .&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as the button could not work , I tried the inputs (1,2,3,4) from the RTT interface.&lt;/p&gt;
&lt;p&gt;I once more request you to check the provisioner example code on DK or dongle h/w with buttons on the GPIO mentioned in the header files .&lt;/p&gt;
&lt;p&gt;Thanks and regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267896?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 15:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:585d6100-901b-4300-a6b4-7a8e509a4e1d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you provide me with a project that reproduces this issue on a DK?&lt;/p&gt;
[quote user=""]if i use RTT for inputs the provisioner work ok !. ( not possible to connect all Dongles to DK during testing )[/quote]
&lt;p&gt;What do you mean by this? Can you elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267496?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 15:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15679bef-538e-4a8e-800b-47a5e2de8f13</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi ,&lt;/p&gt;
&lt;p&gt;as poster and mentioned in the post earlier&amp;nbsp;&lt;/p&gt;
&lt;p&gt;added the board&amp;nbsp; define to&amp;nbsp;&lt;span&gt;BUTTON_BOARD in&amp;nbsp;&lt;/span&gt; simple hal&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define BUTTON_BOARD (defined(BOARD_PCA10040) || defined(BOARD_PCA10028) || defined(BOARD_PCA10056) || defined(BOARD_PCA10100) || defined(BOARD_PCA10059))&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for ur info&amp;nbsp; attaching the simple_hal files also.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/simple_5F00_hal.h"&gt;devzone.nordicsemi.com/.../simple_5F00_hal.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/simple_5F00_hal.c"&gt;devzone.nordicsemi.com/.../simple_5F00_hal.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope have&amp;nbsp; tried the scenario on the actual dongle board , you could use a short jumper wire instead if a button .&lt;/p&gt;
&lt;p&gt;thanks and&lt;/p&gt;
&lt;p&gt;Have a nice day&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267466?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 12:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a448b0f8-94fa-4747-a386-20e4caf28591</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Have you done any modifications to the simple_hal.c file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267409?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 09:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bae1c69-4cb8-4285-9d69-e200a2887a1d</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi ,&lt;/p&gt;
&lt;p&gt;attached files as requested&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10059.h"&gt;devzone.nordicsemi.com/.../pca10059.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267399?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 08:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3eb52d4-745b-403a-8a12-715dbbb56561</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have yo&lt;em&gt;u&lt;/em&gt; added:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BUTTONS_LIST { BUTTON_1, BUTTON_2, BUTTON_3, BUTTON_4 }

#define BSP_BUTTON_0   BUTTON_1
#define BSP_BUTTON_1   BUTTON_2
#define BSP_BUTTON_2   BUTTON_3
#define BSP_BUTTON_3   BUTTON_4&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to the pca10059.h file?&lt;/p&gt;
&lt;p&gt;If it doesn&amp;#39;t work, could you provide me with the pca10059.h file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267312?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 18:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:840028fd-16fe-43ce-94ee-3f0fdbe663b5</guid><dc:creator>AtomicDev</dc:creator><description>&lt;p&gt;hi Mittrinh,&lt;/p&gt;
&lt;p&gt;referred post is using different Port (P1) all together for buttons ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where as I had issue with same Port (P0)&amp;nbsp; but different pins !.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;somewhere in hal logic its getting missed !,&lt;/p&gt;
&lt;p&gt;Still&amp;nbsp; trying to get some thing to work as quick as possible for my team to check out he examples&amp;nbsp; with 2 dk and 3 dongles only at our disposal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks and Have a nice day !&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh examples on PCA10059 , buttons cant work !</title><link>https://devzone.nordicsemi.com/thread/267271?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 13:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9ca4126-7288-432b-a5b1-2d6e2888d077</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In regards to the button on the PCA10059, this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64776/button-not-work-in-light-switch-server-example-for-pca10059" rel="noopener noreferrer" target="_blank"&gt;post&lt;/a&gt;&amp;nbsp;might be helpful.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>