<?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>how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69725/how-to-make-nrf51822-central-to-transmit-the-status-of-a-pin</link><description>I have: nrf51822 bluetooth module, STlink V2, Keil, segger studio, nrf51 sdk and softdevice files. 
 I have achieved making the led blink at a ble peripheral device by nordic connect app via this link https://www.youtube.com/watch?v=_-d2d6Vc3lg&amp;amp;list=WL&amp;amp;index</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Dec 2020 14:23:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69725/how-to-make-nrf51822-central-to-transmit-the-status-of-a-pin" /><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/287056?ContentTypeID=1</link><pubDate>Thu, 31 Dec 2020 14:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda25b8d-c297-4955-af40-ecbd687e4a47</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;Finally I am able to do the LED blink from central to peripheral and vice versa. Its working. Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/287055?ContentTypeID=1</link><pubDate>Thu, 31 Dec 2020 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:664ae8d7-c364-4635-ac3a-2531879936d9</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;First of all I&amp;#39;d like to thank you for your support and being patient with me. Also, A very happy new year to you. I wish good luck and blessings for you and your loved ones.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286650?ContentTypeID=1</link><pubDate>Mon, 28 Dec 2020 08:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be1ce084-6a02-4015-9350-62640332f2ce</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="Muphy"]I think bec master is connected to it now and that is why no its not coming in app scan.[/quote]
&lt;p&gt;&amp;nbsp;Yes, this indicates that the central is establishing a connection with your peripheral.&lt;/p&gt;
[quote user="Muphy"]Can I connect the button directly to ground and VCC (3.3V) or connect a resistor in between?[/quote]
&lt;p&gt;&amp;nbsp;You can do it without a resistor in between. Have you updated the pinout to match your board (&lt;span&gt;&lt;a title="Using the SDK with other boards" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_for_custom_boards.html?cp=7_1_1_5"&gt;Using the SDK with other boards&lt;/a&gt;&lt;/span&gt;)? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286586?ContentTypeID=1</link><pubDate>Fri, 25 Dec 2020 05:33:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02122b3c-fb9f-4d73-ac3e-722a2f1c336b</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am able to run the peripheral code, and I can see the peripheral in the nordic_connect app. When I start the central, the peripheral goes off the screen (I think bec master is connected to it now and that is why no its not coming in app scan.)&lt;/p&gt;
&lt;p&gt;But there is not led glowing when I press the button at either side.&lt;/p&gt;
&lt;p&gt;Is there any code change needed in the Central part ?? Or I need to connect some extra resistors at the button (in the code the button is already internal pulled_up)? Can I connect the button directly to ground and VCC (3.3V) or connect a resistor in between?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286532?ContentTypeID=1</link><pubDate>Thu, 24 Dec 2020 04:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab34d83d-6298-48fe-871d-08a922c2bf9c</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;I am able to load he hex file of blinky project without any problem. but when I try to load the softdevice hex then it shows that error. (But if I am trying to flash softdevice using arduino then it is flashing but not with keil as I am getting the error above).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also what I did is, flashed the softdevice through Arduino IDE, and then flashed the softdevice and application using keil and its flashing. But if I try to flash the softdevice directly through keil, it is throwing the error mentioned above. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286488?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 14:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c37d72d-0792-4b58-8026-b6ab2d8c36eb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please check if the debugger settings are the same as the ones you use to program the application FW. Or are you not able to load the app FW either?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286487?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 14:41:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71cdaff8-e341-4f25-8147-895fd46c09c2</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;thank you.&lt;/p&gt;
&lt;p&gt;Load &amp;quot;..\\..\\..\\..\\..\\..\\components\\softdevice\\s130\\hex\\s130_nrf51_2.0.1_softdevice.hex&amp;quot; &lt;br /&gt;Internal command error&lt;br /&gt;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; Target DLL has been cancelled&lt;br /&gt;Flash Load finished at 20:07:36&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am able to load the hex file without softdevice. But not able to load the softdevice.hex.&lt;/p&gt;
&lt;p&gt;I tried saving the softdevice.hex&amp;nbsp; (which I downloaded separately) in the particular folder (read somewhere that it is bec sometimes the hex files becomes windows script file). I tried the settings in the&amp;nbsp; target.. but still can&amp;#39;t resolve it.&lt;/p&gt;
&lt;p&gt;Also the same error if I try Erase under Flash tab.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286475?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:44:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe3721d-6cd2-4dc0-9b28-b2e36cfc89e3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should keep the default ROM and RAM settings. The softdevice is distributed as precompiled and linked binary, and thus not affected by the linker settings used in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286468?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d75ecba-185c-4663-bf57-c807a7170ace</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;I tried the example shown but there is a problem it seems. When I am loading the softdevice and under the target there is some address for ROM and RAM. and when I am loading the blinky code the addressess remains same. Do I need to change them or it will take automatically. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286134?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 17:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b22dc10c-839e-4931-bce9-563e2aecf89a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;a) You don&amp;#39;t necessarily have to change the device type, but both nrf51422 and nrf51822 come in different memory variants, so make sure the memory layout in your project matches the amount of RAM and FLASH&amp;nbsp; available on your chip (&lt;span&gt;&lt;a title="nRF51822 IC revisions and variants" href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf51/COMP/nrf51/nRF51822_ic_revision_overview.html?cp=5_0_2"&gt;nRF51822 IC revisions and variants&lt;/a&gt;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;The SDK examples are configured for the nRF51x22_xx&lt;strong&gt;AC&lt;/strong&gt; variant, which has 256KB of flash and 32K of RAM.&lt;/p&gt;
&lt;p&gt;b) I don&amp;#39;t have any experience with ST linkV2 as J-link is what we officially support and recommend for development. However, you can find many threads here on the forum for programming with ST linkv2, so it seems like it should work.&lt;/p&gt;
&lt;p&gt;Also, please note that our nRF51 series is not recommended for new designs. If you are starting a new project, I would rather recommend you get one of the nRF52 dev kits (&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52-DK"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52-DK&lt;/a&gt; ). It has a on-board J-link debugger that you also can use to program nordic modules with (&lt;span&gt;&lt;a title="Debug output" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_debug_out.html?cp=4_0_4_7_9"&gt;Debug output&lt;/a&gt;&lt;/span&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286055?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 13:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:902091ad-2abf-4398-97c9-95c220cf37ec</guid><dc:creator>Muphy</dc:creator><description>&lt;p&gt;Thanks a lot. I just read it. It seems this is the one I am looking for and will experiment this and let you know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Two more things I&amp;#39;d like to know&lt;/p&gt;
&lt;p&gt;a) I am using nrf51822 softdevice and it seems in the SDK12, the project is by default for nrf51422. So just by changing target option device to nrf51822AA will be sufficient or do I need to change things in memory addresses.&lt;/p&gt;
&lt;p&gt;b) instead of J-link, if I use ST linkV2 will that be ok ??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I started off with a youtube video and it did with arduino library for peripheral and ST link so I purchased those only.&amp;nbsp; But I didn&amp;#39;t find any tutorial on how to make a ble central (so something like bluetooth remote.) It seems everyone is busy in making peripheral and controlling with phone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll run this and will update by tomorrow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make nrf51822 central  to transmit the status of a pin ?</title><link>https://devzone.nordicsemi.com/thread/286027?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 11:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e022c70-e9ee-4ecd-90b2-432b06d1a7ae</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Maybe you have seen it already, but we do have the &lt;span&gt;&lt;a title="Experimental: BLE Blinky Client Application Example" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/ble_sdk_app_blinky_c.html?cp=7_5_9_4_2_0_3"&gt;Experimental: BLE Blinky Client Application Example&lt;/a&gt;&lt;/span&gt; that seems to do exactly what you are asking.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>