<?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>NRF 51822 softdevice programming and blinking LED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69712/nrf-51822-softdevice-programming-and-blinking-led</link><description>I have NRF51822 softdevice, STM link v2 for flashing, segger embedded studio and nrf SDK. I have seen some videos on youtube on how to flash nrf softdevice using ST link. The softdevice already has a code and after powering it, I can see it on nrf app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Dec 2020 13:15:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69712/nrf-51822-softdevice-programming-and-blinking-led" /><item><title>RE: NRF 51822 softdevice programming and blinking LED</title><link>https://devzone.nordicsemi.com/thread/286847?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2020 13:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64dee8fe-1596-4327-a2a2-c11db55dec78</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Firstly, when we talk about &amp;quot;Softdevice&amp;quot; in Nordic we refer to the RF firmware you need to flash in the microcontroller before your application in order to use the RF properties. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34519/what-is-a-soft-device"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34519/what-is-a-soft-device &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think you are asking about how to flash your nRF51822 chip/microcontroller with the Blinky example. For nRF51822 you need to use nRF5 SDK v12.3.0 which is the latest with support for nRF51822. This SDK has an experimental blinky example which you can find inside SDK_folder/examples/ble_peripheral/experimental_app_blinky/pca10028/s130&lt;/p&gt;
&lt;p&gt;If you open the source code of the example you will see that the LED used for blinking is defined as:&lt;/p&gt;
&lt;p&gt;#define BSP_BOARD_LED_2 2 &lt;/p&gt;
&lt;p&gt;LED 2 is defined in pca10028.h as pin P0.22&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// LEDs definitions for PCA10028
#define LEDS_NUMBER    4

#define LED_START      21
#define LED_1          21
#define LED_2          22
#define LED_3          23
#define LED_4          24
#define LED_STOP       24&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So try to connect you LED to P0.22 in the nRF51822.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>