<?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 a simple LED blink program</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19557/how-to-make-a-simple-led-blink-program</link><description>Hello Everyone 
 I am really new to everything here, i just got nRF 52832 board, 
 Can anyone please tell me the step-by- step method on how to make a program in keil uVision. 
 Any help will be greatly appreciated. 
 thanks in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 May 2017 13:14:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19557/how-to-make-a-simple-led-blink-program" /><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76038?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 13:14:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20464c48-9f97-4677-a35f-ea29515d7c06</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi t,&lt;/p&gt;
&lt;p&gt;In order to blink the led in the blinky example, the pin that is connect to the led is set high(VDD voltage) and low(0 voltage). By default the example changes between high and low state every 500ms. If you have more questions please create &lt;a href="https://devzone.nordicsemi.com/questions/ask/"&gt;new question&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76039?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 12:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc34085-a9c8-4977-a148-1ecf96f93072</guid><dc:creator>t</dc:creator><description>&lt;p&gt;can anyone explain how led is blinking ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76062?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 09:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd161e5d-75a2-4c36-8ef1-6aecdf58d9f8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;For beginners I would recommend using the pwm library, since it’s not as complicated as the pwm driver.&lt;/p&gt;
&lt;p&gt;There is a good example in &lt;code&gt;SDK_folder\examples\peripheral\pwm_library&lt;/code&gt;. The period will depend on the frequency(frequency = 1 /period). If you look at the example, the period is configured using &lt;code&gt;APP_PWM_DEFAULT_CONFIG_2CH()&lt;/code&gt; / &lt;code&gt;APP_PWM_DEFAULT_CONFIG_1CH()&lt;/code&gt;. The duty cycle is set using the function &lt;code&gt;app_pwm_channel_duty_set()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76054?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 09:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92c3829-58e3-4876-acf6-abda285ff712</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;i know i have been asking you a lot of questions, but please help me as i am new and want to learn and implement on nr52.
i got to know from other posts that using the pwm_driver is recommended as nrf52 has an inbuilt pwm hardware. But which parameters to modify in the code to change the DUTY_CYCLE, Total_Cycle period, Pwm frquency as in the code there are parmeters which i found like the following--&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;typedef struct
{
uint16_t channel_0; ///&amp;lt; Duty cycle value for channel 0.
uint16_t channel_1; ///&amp;lt; Duty cycle value for channel 1.
uint16_t channel_2; ///&amp;lt; Duty cycle value for channel 2.
uint16_t channel_3; ///&amp;lt; Duty cycle value for channel 3.
} nrf_pwm_values_individual_t;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;typedef enum
{
NRF_PWM_CLK_16MHz  = PWM_PRESCALER_PRESCALER_DIV_1,  ///&amp;lt; 16 MHz / 1 = 16 MHz.
NRF_PWM_CLK_8MHz   = PWM_PRESCALER_PRESCALER_DIV_2,  ///&amp;lt; 16 MHz / 2 = 8 MHz.
NRF_PWM_CLK_4MHz   = PWM_PRESCALER_PRESCALER_DIV_4,  ///&amp;lt; 16 MHz / 4 = 4 MHz.
NRF_PWM_CLK_2MHz   = PWM_PRESCALER_PRESCALER_DIV_8,  ///&amp;lt; 16 MHz / 8 = 2 MHz.
NRF_PWM_CLK_1MHz   = PWM_PRESCALER_PRESCALER_DIV_16, ///&amp;lt; 16 MHz / 16 = 1 MHz.
NRF_PWM_CLK_500kHz = PWM_PRESCALER_PRESCALER_DIV_32, ///&amp;lt; 16 MHz / 32 = 500 kHz.
NRF_PWM_CLK_250kHz = PWM_PRESCALER_PRESCALER_DIV_64, ///&amp;lt; 16 MHz / 64 = 250 kHz.
NRF_PWM_CLK_125kHz = PWM_PRESCALER_PRESCALER_DIV_128 ///&amp;lt; 16 MHz / 128 = 125 kHz.
} nrf_pwm_clk_t;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76053?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 13:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac74f66e-a5e8-40c6-823e-67fb94a39e6a</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;thanks for your reply, i will try changing that in the code, also i want to implement a simple pwm generator where i can give just 3 inputs, one for DUTY CYCLE, one for TOTAL CYCLE PERIOD VALUE, and one for PWM frequency.
The example codes for pwm_library and pwm_driver are really lengthy/long including there header files and functions. Can i somehow implement a simple small pwm program on nrf52 as on other devices like PIC, AVR or 8051.&lt;br /&gt;
thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76055?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 13:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:288503dd-690b-4ab6-96bd-94c8ac728d38</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The UART toolbox app interpret the values as characters/string, so you have to convert the numbers to char/string if you want them displayed &amp;quot;correctly&amp;quot; in the app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76061?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 10:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dacd8996-65e7-4bd8-9a54-e9eb3c297b35</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;on sdk11, its working but in the UART on nrf toolbox app on my phone it is receiving random garbage values via bluetooth, although on my pc in uart terminal , its showing the correct values. how to solve this?
thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76060?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 10:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02a8e0a9-29e7-4380-ae7f-ffc68fa7260b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;That example uses SDK 11, so you have to download SDK11 instead of SDK12.2. Then make sure that the folder &lt;code&gt;&amp;quot;ble_app_uart__saadc_timer_driven__scan_mode&amp;quot;&lt;/code&gt; is placed in the folder &lt;code&gt;&amp;quot;SDK_11_FOLDER\examples\ble_peripheral&amp;quot;&lt;/code&gt;. I.e &lt;code&gt;&amp;quot;SDK_11_FOLDER\examples\ble_peripheral\ble_app_uart__saadc_timer_driven__scan_mode&amp;quot;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76059?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 10:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6dd4103-f8d9-403d-938b-8ae04ec5d95b</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;i tried this example given on this thread(     &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples/blob/master/ble_app_uart__saadc_timer_driven__scan_mode/main.c"&gt;github.com/.../main.c&lt;/a&gt;                      )                 for ble+saadc, but i don&amp;#39;t know why it gives the following error -&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;compiling ble_nus.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\ble\ble_services\ble_nus\ble_nus.c&amp;quot;: No such file or directory
............\components\ble\ble_services\ble_nus\ble_nus.c: 0 warnings, 1 error
compiling bsp.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..........\bsp\bsp.c&amp;quot;: No such file or directory
..........\bsp\bsp.c: 0 warnings, 1 error
compiling ble_advdata.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\ble\common\ble_advdata.c&amp;quot;: No such file or directory
............\components\ble\common\ble_advdata.c: 0 warnings, 1 error
compiling ble_advertising.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\ble\ble_advertising\ble_advertising.c&amp;quot;: No such file or directory
............\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error
compiling main.c...
......\main.c(28): error:  #5: cannot open source input file &amp;quot;nordic_common.h&amp;quot;: No such file or directory
#include &amp;quot;nordic_common.h&amp;quot;
......\main.c: 0 warnings, 1 error
compiling bsp_btn_ble.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..........\bsp\bsp_btn_ble.c&amp;quot;: No such file or directory
..........\bsp\bsp_btn_ble.c: 0 warnings, 1 error
compiling ble_conn_params.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\ble\common\ble_conn_params.c&amp;quot;: No such file or directory
............\components\ble\common\ble_conn_params.c: 0 warnings, 1 error
compiling nrf_drv_uart.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\uart\nrf_drv_uart.c&amp;quot;: No such file or directory
............\components\drivers_nrf\uart\nrf_drv_uart.c: 0 warnings, 1 error
compiling ble_srv_common.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\ble\common\ble_srv_common.c&amp;quot;: No such file or directory
............\components\ble\common\ble_srv_common.c: 0 warnings, 1 error
compiling pstorage.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\pstorage\pstorage.c&amp;quot;: No such file or directory
............\components\drivers_nrf\pstorage\pstorage.c: 0 warnings, 1 error
compiling nrf_drv_common.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\common\nrf_drv_common.c&amp;quot;: No such file or directory
............\components\drivers_nrf\common\nrf_drv_common.c: 0 warnings, 1 error
compiling nrf_drv_gpiote.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c&amp;quot;: No such file or directory
............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error
compiling nrf_delay.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\delay\nrf_delay.c&amp;quot;: No such file or directory
............\components\drivers_nrf\delay\nrf_delay.c: 0 warnings, 1 error
compiling app_uart_fifo.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\uart\app_uart_fifo.c&amp;quot;: No such file or directory
............\components\libraries\uart\app_uart_fifo.c: 0 warnings, 1 error
compiling nrf_drv_ppi.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\ppi\nrf_drv_ppi.c&amp;quot;: No such file or directory
............\components\drivers_nrf\ppi\nrf_drv_ppi.c: 0 warnings, 1 error
compiling app_button.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\button\app_button.c&amp;quot;: No such file or directory
............\components\libraries\button\app_button.c: 0 warnings, 1 error
compiling nrf_drv_timer.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\timer\nrf_drv_timer.c&amp;quot;: No such file or directory
............\components\drivers_nrf\timer\nrf_drv_timer.c: 0 warnings, 1 error
compiling app_error.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\util\app_error.c&amp;quot;: No such file or directory
............\components\libraries\util\app_error.c: 0 warnings, 1 error
compiling app_error_weak.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\util\app_error_weak.c&amp;quot;: No such file or directory
............\components\libraries\util\app_error_weak.c: 0 warnings, 1 error
compiling nrf_saadc.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\hal\nrf_saadc.c&amp;quot;: No such file or directory
............\components\drivers_nrf\hal\nrf_saadc.c: 0 warnings, 1 error
compiling nrf_drv_saadc.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\saadc\nrf_drv_saadc.c&amp;quot;: No such file or directory
............\components\drivers_nrf\saadc\nrf_drv_saadc.c: 0 warnings, 1 error
compiling app_fifo.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\fifo\app_fifo.c&amp;quot;: No such file or directory
............\components\libraries\fifo\app_fifo.c: 0 warnings, 1 error
compiling app_timer.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\timer\app_timer.c&amp;quot;: No such file or directory
............\components\libraries\timer\app_timer.c: 0 warnings, 1 error
compiling fstorage.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\fstorage\fstorage.c&amp;quot;: No such file or directory
............\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error
compiling retarget.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\uart\retarget.c&amp;quot;: No such file or directory
............\components\libraries\uart\retarget.c: 0 warnings, 1 error
compiling app_util_platform.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\util\app_util_platform.c&amp;quot;: No such file or directory
............\components\libraries\util\app_util_platform.c: 0 warnings, 1 error
compiling nrf_assert.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\util\nrf_assert.c&amp;quot;: No such file or directory
............\components\libraries\util\nrf_assert.c: 0 warnings, 1 error
compiling nrf_log.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\libraries\util\nrf_log.c&amp;quot;: No such file or directory
............\components\libraries\util\nrf_log.c: 0 warnings, 1 error
compiling RTT_Syscalls_KEIL.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\external\segger_rtt\RTT_Syscalls_KEIL.c&amp;quot;: No such file or directory
............\external\segger_rtt\RTT_Syscalls_KEIL.c: 0 warnings, 1 error
compiling SEGGER_RTT.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\external\segger_rtt\SEGGER_RTT.c&amp;quot;: No such file or directory
............\external\segger_rtt\SEGGER_RTT.c: 0 warnings, 1 error
compiling SEGGER_RTT_printf.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\external\segger_rtt\SEGGER_RTT_printf.c&amp;quot;: No such file or directory
............\external\segger_rtt\SEGGER_RTT_printf.c: 0 warnings, 1 error
compiling softdevice_handler.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\softdevice\common\softdevice_handler\softdevice_handler.c&amp;quot;: No such file or directory
............\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error
assembling arm_startup_nrf52.s...
compiling system_nrf52.c...
&amp;quot;._build\nrf52832_xxaa_s132.axf&amp;quot; - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02&lt;/p&gt;
&lt;hr /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76058?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 09:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aac8ff1-ae13-436e-806f-e70537993d2f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you want to do SAADC with BLE, I recommend starting with the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_nus_eval.html?cp=4_0_1_4_2_2_18"&gt;ble_app_uart example&lt;/a&gt;, and add SAADC to that example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76057?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 09:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dd97ff7-72cb-4954-b8c6-36cd9e823664</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Modify &lt;code&gt;uint32_t ticks = nrf_drv_timer_ms_to_ticks(&amp;amp;m_timer, 400);&lt;/code&gt; to increase the sampling interval. Default compare event time is 400ms. Adjust #define SAMPLES_IN_BUFFER 5, for how many samples for each event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76056?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 09:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:689324b5-fd02-48ab-83c4-373be62d1726</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;And how to adjust the flash settings in keil so that the code doesn&amp;#39;t overlasps with softdevice address? As i want to transmit the data of saadc via BLE (as then i need to use a softdevice for bluetooth but saadc example doesn&amp;#39;t supports softdevice).&lt;/p&gt;
&lt;p&gt;thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76052?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 17:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af8bd512-18e0-44a7-ac43-8120822d61a5</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;In SAADC , how to change the sampling frequency? which code to modify and where?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76051?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 14:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07733958-15a2-438c-8323-7c3ef31963a7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The blank examples are set-up to flash the application code(your code in Keil) to the bottom of the flash-region, while the s132 examples are set-up to flash the application code on top of where the SoftDevice code is(The SoftDevice is always placed on the bottom of the flash-region).  See &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.sds%2Fdita%2Fsoftdevices%2Fs130%2Fsd_mgr%2Fmem_isolation_runtime_protection.html&amp;amp;cp=2_3_0_0_4_3&amp;amp;anchor=mem_isolation_runtime_protection__fig_ih1_lcl_qr"&gt;this figure&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you want to flash “blank” examples together with the SoftDevice, you must adjust the flash settings in Keil, so that you don’t try to flash your application code where the SoftDevice code is (then you get Flash download failed error.).&lt;/p&gt;
&lt;p&gt;For ADC, take a look at the SAADC example in the SDK: &lt;code&gt;examples\peripheral\saadc&lt;/code&gt;. Here AIN0 is used(pin P0.02). This example is already set-up to output the value on a terminal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76050?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 13:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e567077e-745d-483d-a469-2441d52e6069</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;thanks , yes it works if i erase the softdevice but what is the reason for that? a softdevice was even used in a blinky software which doesn&amp;#39;t uses any wireless technology , but why it is not used in pwm? i thought it was only there for using wireless services.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Also if i want to use the ADC, how can i modify the example code to get an output on the terminal if i give a sample analog  value on the AnalogIN.&lt;/p&gt;
&lt;p&gt;thanks for all your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76049?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 16:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dbfac1a-6add-4f20-89b0-216b5aacc0e3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;For projects/examples located in &amp;quot;blank folder&amp;quot;, e.g. pca10040\blank, you should not use SoftDevice. You only need the S132 SoftDevice in the projects located in a “pca10040\s132” folder. E.g. the pwm example does not use the SoftDevice, and is thefore loacted in a &amp;quot;blank&amp;quot; folder:
examples\peripheral\pwm_library\pca10040\ &lt;strong&gt;blank&lt;/strong&gt; \arm5_no_packs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76048?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 15:27:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ceaaf7c-d346-418e-b6eb-fe3720e9ce3c</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;i had already loaded the softdevice s132 via command line in the beginning when i tried the blinky example, which is still working, and it still shows an option for flash softdevice in drop down menue besides LOAD,&lt;/p&gt;
&lt;p&gt;however, when i try to run the pwm example, it does&amp;#39;nt shows any flash_132 softdevice option in the drop down menu.&lt;/p&gt;
&lt;p&gt;How to load softdevice from keil for each example i try?
in the tutorial it says to do the following but it doesn&amp;#39;t works&lt;/p&gt;
&lt;p&gt;To program the SoftDevice using an example project in Keil, perform the following steps:&lt;/p&gt;
&lt;p&gt;.
Instead of the default target, select the target to flash the SoftDevice, for example, flash_s132_nrf52_1.0.0-3.alpha_softdevice.
Click Options for Target.
Select the Debug pane and click the Settings button for the J-Link / J-TRACE Cortex.
Select  J-Link / J-Trace Adapter corresponding to the serial number that is printed on your device.
Click OK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76043?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 13:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd27e7c-ef61-4bf0-b5c3-00a91dc115e8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Have you loaded the SoftDevice?  If you try to overwrite the SoftDevice, this can cause the Flash Download failed message. Try to erase the chip, and then flash the application.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/group__nrf__gpio.html?cp=4_0_1_6_6_7"&gt;Here&lt;/a&gt; is the GPIO functions. Configure the gpio pin as output, using nrf_gpio_cfg_output() and use nrf_gpio_pin_set() to set the pin high, and nrf_gpio_pin_clear() to set the pin low.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76042?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 13:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:137ecd2f-ca0a-475c-8161-f40f1d983d42</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;thanks but&lt;/p&gt;
&lt;p&gt;when i try to flash this example , it says&lt;/p&gt;
&lt;p&gt;Error: Flash Download Failed - &amp;quot;Cortex - M4&amp;quot;&lt;/p&gt;
&lt;p&gt;How to solve this?&lt;/p&gt;
&lt;p&gt;Also please just let me know which command to use to configure any GPIO pin as a output and then set/reset it so that i can use the above logic to generate a square wave on any choosen gpio pin.&lt;/p&gt;
&lt;p&gt;thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76045?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 12:40:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9867558c-7ddf-47ec-ae53-f31d85bb2b71</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;For PWM I strongly recommend to use either the PWM library or the PWM driver. Take a look at the PWM library example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SDK_FOLDER\examples\peripheral\pwm_library\pca10040\blank\arm5_no_packs
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76044?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 12:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70898389-e9f6-4e2a-81c1-2ba486b2a3ac</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;i have been able to blink led with the following code, but how to use this code to generate a PWM on any other GPIO pins than the 4 LED pins given. which command to be used for setting a pin low or high?&lt;/p&gt;
&lt;p&gt;include &amp;lt;stdbool.h&amp;gt;&lt;/p&gt;
&lt;p&gt;include &amp;lt;stdint.h&amp;gt;&lt;/p&gt;
&lt;p&gt;include &amp;quot;nrf_delay.h&amp;quot;&lt;/p&gt;
&lt;p&gt;include &amp;quot;bsp.h&amp;quot; /for gpio and led declrtn/&lt;/p&gt;
&lt;p&gt;include &amp;quot;nrf.h&amp;quot;&lt;/p&gt;
&lt;p&gt;include &amp;quot;system_nrf52.h&amp;quot;&lt;/p&gt;
&lt;p&gt;define ENABLE_SWD 1&lt;/p&gt;
&lt;p&gt;static const uint8_t leds_list[LEDS_NUMBER] = { 9, 7, LED_1, LED_4 };&lt;/p&gt;
&lt;p&gt;int main(void) { /* Configure LED-pins as outputs. */ LEDS_CONFIGURE(LEDS_MASK); int i=0;&lt;/p&gt;
&lt;p&gt;while(true) { while(i&amp;lt;500)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;                         // Start LED here
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nrf_gpio_pin_clear(LED_3);&lt;/p&gt;
&lt;p&gt;nrf_delay_ms(1000);&lt;/p&gt;
&lt;p&gt;nrf_gpio_pin_set(LED_3);&lt;/p&gt;
&lt;p&gt;nrf_delay_ms(1000);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;                        i++;

                    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;} }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76047?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 11:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:094d4f68-6f97-4728-8aa3-c6edb599061f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;In that case I would recommend starting with the template project:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SDK_Folder\examples\peripheral\template_project\pca10040\blank\arm5_no_packs
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can find example on how to use the GPIO peripheral directly &lt;a href="https://github.com/andenore/NordicSnippets/blob/master/examples/gpio_toggle/main.c"&gt;here&lt;/a&gt;. Pin 17 is the LED1 on the Development kit(DK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76046?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 11:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b50ec168-63ea-43e9-9c1d-bf71e843c747</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;thanks for your reply,&lt;/p&gt;
&lt;p&gt;i used the blinky program  and i saw that it uses built in library functions but what if i want to create a program from scratch or the beginning without using any built in function, by coding in C to just set and reset a pin on nrf52832 after a delay?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76041?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 09:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd7f8bfd-552f-43bf-b4ba-ce3c8b75f347</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Use the Keil project in the folder&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\peripheral\blinky\pca10040\blank\arm5_no_packs
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to make a simple LED blink program</title><link>https://devzone.nordicsemi.com/thread/76040?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 09:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a09e66d-351e-4f78-a2f5-60716d017f43</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/gpio_example.html?cp=4_0_1_4_5_1"&gt;blinky example&lt;/a&gt; in the SDK.
Its located in the folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\peripheral\blinky
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can download the SDK 12.2 &lt;a href="https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v12.x.x/nRF5_SDK_12.2.0_f012efa.zip"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>