<?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 turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30902/how-to-turn-on-4-leds-in-ble-at-nrf52832</link><description>Hi, Everyone How to turn on 4 LEDs in BLE ? I am testing ble_app_uart on nrf52832 (softdevice s132). Try to blink the four LEDs on the board do. I have added to main() bsp_board_led_invert (BSP_BOARD_LED_2); bsp_board_led_invert (BSP_BOARD_LED_3); LED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Mar 2018 01:55:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30902/how-to-turn-on-4-leds-in-ble-at-nrf52832" /><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122533?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 01:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:163739b6-9c4d-4d71-a372-abede1cc68d2</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your kind and quick reply. I have a mistake in pin assignment. LED3 and 4 are well controlled.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122497?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 16:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f811f12-b531-4bee-8773-832c3e559f6b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you try configuring and toggling the LEDs manually using the GPIO abstraction functions, to check if there are some issues in the code or with the board?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;nrf_gpio.h&amp;quot;

#define BOARD_LED_3 19
#define BOARD_LED_4 20

nrf_gpio_cfg_output(BOARD_LED_3);
nrf_gpio_cfg_output(BOARD_LED_4);
nrf_gpio_pin_set(BOARD_LED_3);
nrf_gpio_pin_set(BOARD_LED_4);

while(1)
{
    nrf_delay_ms(1000);
    nrf_gpio_pin_toggle(BOARD_LED_3);
    nrf_gpio_pin_toggle(BOARD_LED_4);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122207?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 01:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a88279-c34a-4772-bd93-178b0cadebd3</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;SDK version is&amp;nbsp;nRF5_SDK_14.2.0_17b948a&lt;/p&gt;
&lt;p&gt;Board is PCA10040(nRF52830) no custom board&lt;/p&gt;
&lt;p&gt;SoftDevice is s132&lt;/p&gt;
&lt;p&gt;#define LEDS_NUMBER 4&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried the test by adding only the following sentence to main () in &amp;quot;examples\ble_peripheral\ble_app_uart&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;bsp_board_led_invert(BSP_BOARD_LED_0);&lt;/p&gt;
&lt;p&gt;&lt;span&gt;bsp_board_led_invert(BSP_BOARD_LED_1);&lt;br /&gt; bsp_board_led_invert(BSP_BOARD_LED_2); &lt;br /&gt; bsp_board_led_invert(BSP_BOARD_LED_3); &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The result is that only LED0 and LED1 blink&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LED2 and LED3 no action&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122162?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 15:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43969efd-b619-46b2-bcee-8f05f1573514</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What is the LEDS_NUMBER symbol set to in your &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/sdk_for_custom_boards.html?cp=4_0_0_1_5"&gt;board header file&lt;/a&gt;? Which SDK version are you using? Are you testing this on a nRF52-DK or some custom board? If custom board,&amp;nbsp;which GPIO are the LEDs connected to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122061?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 08:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c83f1f-621a-492f-b142-2c38571151fb</guid><dc:creator>alex kim</dc:creator><description>&lt;div class="g-section" id="gt-c"&gt;
&lt;div id="gt-form-c"&gt;
&lt;div id="gt-text-all"&gt;
&lt;div id="gt-main"&gt;
&lt;div id="gt-text-c"&gt;
&lt;div id="gt-text-top"&gt;
&lt;div class="g-unit" id="gt-res-c"&gt;
&lt;div id="gt-res-p"&gt;
&lt;div id="gt-res-data"&gt;
&lt;div id="gt-res-wrap"&gt;
&lt;div id="gt-res-content"&gt;
&lt;div class="trans-verified-button-large" id="gt-res-dir-ctr" dir="ltr"&gt;&lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span&gt;Thank you for your quick response.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="trans-verified-button-large" dir="ltr"&gt;&lt;span class="short_text" lang="en"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/main_5F00_ft.c"&gt;devzone.nordicsemi.com/.../main_5F00_ft.c&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on 4 LEDs in BLE at nrf52832?</title><link>https://devzone.nordicsemi.com/thread/122039?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 06:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3723932b-1cd4-4373-95f8-a62192feddcf</guid><dc:creator>rraa</dc:creator><description>&lt;p&gt;Because &amp;quot;Blinky&amp;quot; examples different work. when connect board LED 2 is turn on. But you want to turn on LED 2 and LED 3. You must&amp;nbsp; change some code block.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;bsp_board_led_invert (BSP_BOARD_LED_2);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;bsp_board_led_invert (BSP_BOARD_LED_3);&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;code lines it is not enough.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>