<?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>Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67224/data-is-not-getting-received-in-nus_data_handler</link><description>Hi, 
 
 I have created an eclipse based makefile project for nrf51802 module. 
 The sdk version that i am using is 12.3.0, and softdevice S130 . 
 Taking reference of ble_app_uart example i have advertised my device and i have connected with nrf android</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Oct 2020 10:10:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67224/data-is-not-getting-received-in-nus_data_handler" /><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/277084?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 10:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebee92c9-d59e-4dac-aef0-475aa06726a7</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;&lt;span&gt;FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000&lt;/span&gt;&lt;br /&gt;&lt;span&gt;RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x2018&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;using these only Edvan.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/277053?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 08:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71b92206-6c79-4f15-bd03-fb2b0c80639c</guid><dc:creator>Edvin</dc:creator><description>[quote user="swetha Paladugu"]Have you tried flashing the pre-compiled code on your nrf51802 device?[/quote]
&lt;p&gt;&amp;nbsp;I tried flashing it on the nRF51 DK, and it works without modifications there (both the precompiled&amp;nbsp;ble_app_hrs_freertos_pca10028_s130.hex and the armgcc generated application together with the softdevice).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that the nrf51802 only has 16KB RAM. Make sure that your memory settings are correct. In the ble_app_hrs_freertos project, that would be the ble_app_freertos_gcc_nrf51.ld file. By default, it says:&lt;/p&gt;
&lt;p&gt;FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000&lt;br /&gt; RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018&lt;/p&gt;
&lt;p&gt;But the length of the RAM is only 0x4000, so try setting:&lt;/p&gt;
&lt;p&gt;FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000&lt;br /&gt; RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x2018&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how that translates to Eclipse, unfortunately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/277013?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 05:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21d6d596-8b61-4999-93bf-11ac7d3c6017</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;It crashed from&amp;nbsp;vPortStartFirstTask(); in&amp;nbsp;vTaskStartScheduler();&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1603774769360v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/277009?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 04:40:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41e15b58-9686-4995-8978-447287e3223d</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;Edvan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried flashing the pre-compiled code on your nrf51802 device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276843?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 11:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:399ef672-5ba1-49f8-8e8a-c246c9551d0e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;You can&amp;#39;t use a 45KHz LFXTAL. 16 or 32 KHz only. Try to use that instead.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276581?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 09:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a83cf076-787f-4c77-b609-df59bf51511e</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;Our module is connected to 45KHz external Low frequency crystal oscillator.. So what should be set in&amp;nbsp;CLOCK_CONFIG_XTAL_FREQ macro in sdk_config.h?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1603443694563v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276571?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401bf808-f675-4f49-b4ce-1eaf6ce8a3cf</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;i have already commented the&amp;nbsp;&lt;span&gt;bsp_init() and everything related to buttons..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No it is not coming to that breakpoint in error handler..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276568?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:893367bd-eb19-4001-8dba-4e0f183392b2</guid><dc:creator>Edvin</dc:creator><description>[quote user="swetha Paladugu"]Irrespective of ide, the precompiled hex should work.. [/quote]
&lt;p&gt;&amp;nbsp;I agree that the precompiled hex files should work irrespective of IDEs, but not irrespective of HW. What are the buttons and LED pins connected to? Try to comment out the bsp_init() function.&lt;/p&gt;
&lt;p&gt;I see you have DEBUG in your preprocessor definitions (CFLAGS). Try to set a breakpoint on line 76 in app_error.c. Is that hit?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/*lint -save -e14 */
void app_error_handler(ret_code_t error_code, uint32_t line_num, const uint8_t * p_file_name)
{
    error_info_t error_info =
    {
        .line_num    = line_num,
        .p_file_name = p_file_name,
        .err_code    = error_code,
    };
    app_error_fault_handler(NRF_FAULT_ID_SDK_ERROR, 0, (uint32_t)(&amp;amp;error_info));    // &amp;lt;-- Breakpoint here

    UNUSED_VARIABLE(error_info);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can try the 51 DK on Monday, but I am working from home now, and I don&amp;#39;t have a 51 DK plugged into my computer (remote desktop).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276562?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:05:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a42e348-8668-478f-b403-e06d0b5c00fc</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;For the previous project RAM address was wrong. After i changed them, it started advertising... Other than that nothing..&lt;/p&gt;
&lt;p&gt;Can you please flash the precompiled hex of freertos example in nrf51802 module and check if it is advertising for you?&lt;/p&gt;
&lt;p&gt;Irrespective of ide, the precompiled hex should work.. but its not happening.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276559?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bcf759f-72d8-4607-8156-f9a50b8d7229</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know why it isn&amp;#39;t working. What changes did you do when the previous project didn&amp;#39;t work, and I suggested the clock config changes? We don&amp;#39;t support Eclipse, so if the issue is related to that I don&amp;#39;t know what the issue may be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276554?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 07:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c184c5-d8c7-4666-b540-76ead76f2605</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/linker_5F00_cfg.ld"&gt;devzone.nordicsemi.com/.../linker_5F00_cfg.ld&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4405.FreeRTOSConfig.h"&gt;devzone.nordicsemi.com/.../4405.FreeRTOSConfig.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/32653.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../32653.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attaching my project files for reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Makefile defines:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;# Libraries common to all targets&lt;br /&gt;LIB_FILES += \&lt;/p&gt;
&lt;p&gt;# C flags common to all targets&lt;br /&gt;CFLAGS += -D__STACK_SIZE=2048&lt;br /&gt;CFLAGS += -D__HEAP_SIZE=1024&lt;br /&gt;CFLAGS += -DBOARD_PCA10028&lt;br /&gt;CFLAGS += -DSOFTDEVICE_PRESENT&lt;br /&gt;CFLAGS += -DNRF51&lt;br /&gt;CFLAGS += -DS130&lt;br /&gt;CFLAGS += -DFREERTOS&lt;br /&gt;CFLAGS += -DBLE_STACK_SUPPORT_REQD&lt;br /&gt;CFLAGS += -DSWI_DISABLE0&lt;br /&gt;CFLAGS += -DNRF51802&lt;br /&gt;CFLAGS += -DDEBUG&lt;br /&gt;CFLAGS += -DNRF_SD_BLE_API_VERSION=2&lt;br /&gt;CFLAGS += -mcpu=cortex-m0&lt;br /&gt;CFLAGS += -mthumb -mabi=aapcs&lt;br /&gt;CFLAGS += -Wall -Werror -O0 -g3&lt;br /&gt;CFLAGS += -mfloat-abi=soft&lt;br /&gt;# keep every function in separate section, this allows linker to discard unused ones&lt;br /&gt;CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing&lt;br /&gt;CFLAGS += -fno-builtin --short-enums&lt;/p&gt;
&lt;p&gt;# C++ flags common to all targets&lt;br /&gt;CXXFLAGS += \&lt;/p&gt;
&lt;p&gt;# Assembler flags common to all targets&lt;br /&gt;ASMFLAGS += -x assembler-with-cpp&lt;br /&gt;ASMFLAGS += -D__STACK_SIZE=2048&lt;br /&gt;ASMFLAGS += -D__HEAP_SIZE=1024&lt;br /&gt;ASMFLAGS += -DBOARD_PCA10028&lt;br /&gt;ASMFLAGS += -DSOFTDEVICE_PRESENT&lt;br /&gt;ASMFLAGS += -DNRF51&lt;br /&gt;ASMFLAGS += -DS130&lt;br /&gt;ASMFLAGS += -DBLE_STACK_SUPPORT_REQD&lt;br /&gt;#ASMFLAGS += -DSWI_DISABLE0&lt;br /&gt;ASMFLAGS += -DNRF51802&lt;br /&gt;ASMFLAGS += -DNRF_SD_BLE_API_VERSION=2&lt;/p&gt;
&lt;p&gt;# Linker flags&lt;br /&gt;LDFLAGS += -mthumb -mabi=aapcs -L $(TEMPLATE_PATH) -T$(LINKER_SCRIPT)&lt;br /&gt;LDFLAGS += -mcpu=cortex-m0&lt;br /&gt;# let linker to dump unused sections&lt;br /&gt;LDFLAGS += -Wl,--gc-sections&lt;br /&gt;# use newlib in nano version&lt;br /&gt;LDFLAGS += --specs=nano.specs -lc -lnosys&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276551?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 07:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b30964-1c76-448e-b2ec-e2ca474261e7</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1603438622950v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From scheduler it goes to unknown state, there are no other breakpoints in the code&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1603438721123v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276547?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 07:24:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c9cd17-92d0-4811-b219-b198b64a402d</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;yes it is coming to main&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276538?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 06:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9004a6-092b-458b-8eb5-59a02eb5fc28</guid><dc:creator>Edvin</dc:creator><description>[quote user="swetha Paladugu"]i am not using SES.. i am using eclipse...[/quote]
&lt;p&gt;&amp;nbsp;Ah. That&amp;#39;s right.&lt;/p&gt;
&lt;p&gt;Is the main() function reached at all?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276528?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 05:26:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a49814-8415-4ae7-a278-208312951239</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;i am not using SES.. i am using eclipse...&lt;/p&gt;
&lt;p&gt;I kept a breakpoint in ble_stack_thread(), and it never reaches there..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276501?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 18:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fc6fe0f-4776-4a0a-8bf5-dac191572259</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you using SES? What backend do you use?&lt;/p&gt;
&lt;p&gt;If it is SES and RTT backend, set the&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED to 0 in sdk_config.h.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276488?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 15:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419ee6e8-f6ef-40d1-ac5c-dfb7315b268e</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;I am not able to get logs on console even after enabling NRF_LOG_ENABLE to 1 in sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276475?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 14:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77e31ae-f9a9-4317-99a8-bc99be4dcd5a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Sorry. I don&amp;#39;t always check the case history before answering a ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t tell whats wrong based only on the fact that the precompiled .hex file doesn&amp;#39;t work. Can you please try to compile the project and run it and see if the log says anything?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276462?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 13:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1877e443-34c0-456c-989d-d0a248c10a10</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;Hi Edvan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In my previous ticket when i said device didnt advertise, then also you suggested the same.. But without changing anything to LFCLK, it was advertising after flashing softdevice and properly configuring RAM and flash addresses.&lt;/p&gt;
&lt;p&gt;Now again you are suggesting to check this.&lt;/p&gt;
&lt;p&gt;If there was no LFCLK connected to nrf51 module, it is obvious that my device wouldn&amp;#39;t have worked with ble_app_uart code.&lt;/p&gt;
&lt;p&gt;Now the issue is again with the freertos example code.&lt;/p&gt;
&lt;p&gt;can you please explain?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276451?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 12:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8ab9de-18cf-41fa-b3f0-3746dcdc75a1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Your module probably doesn&amp;#39;t have an LFXTAL. You need to compile the project to match your hardware. Change the LFCLK settings in sdk_config.h.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CLOCK_CONFIG_LF_SRC 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and in pca10028.h (or the equivalent file you are using), you need to change the clock settings:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
                                 .rc_ctiv       = 16,                                \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/276397?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 09:53:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad2707f-c8a2-470b-94b5-06d18c8c9df1</guid><dc:creator>swetha Paladugu</dc:creator><description>&lt;p&gt;Hi Edvan,&lt;/p&gt;
&lt;p&gt;log messages are not displaying on console... that is the reason i have removed logging..&lt;/p&gt;
&lt;p&gt;After i changed nus characteristics i was able to transmit and receive data with app not through nus_data_handler but some other handler..&lt;/p&gt;
&lt;p&gt;This issue is solved but now i have another issue.&lt;/p&gt;
&lt;p&gt;I want to use freertos in my project so firstly i am running the pre-compiled hex file in the below path and observed that device is not advertising.&lt;/p&gt;
&lt;p&gt;nRF5SDK\examples\ble_peripheral\ble_app_hrs_freertos\hex&lt;/p&gt;
&lt;p&gt;Can you help here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Swetha.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data is not getting received in nus_data_handler</title><link>https://devzone.nordicsemi.com/thread/275361?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 12:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8b9f6ec-f58f-4145-b1bf-0cbd51c607cc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What is the difference between &amp;quot;My_project.zip&amp;quot; and &amp;quot;Keybox.zip&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As mentioned in your other ticket, we don&amp;#39;t support Eclipse or Truestudio, so what I do is that I try to use your main.c in the ble_app_uart project.&lt;/p&gt;
&lt;p&gt;So the first thing I needed to change was to add the nrf_queue.c file to the project, since I don&amp;#39;t use the same project file as you do.&lt;/p&gt;
&lt;p&gt;The second thing I needed to do was to change the RAM settings, because&amp;nbsp;softdevice_enable() returned 4.&lt;/p&gt;
&lt;p&gt;I had to set RAM start/origin = 0x20003388 and size =&amp;nbsp;&amp;nbsp;0xCC78.&lt;/p&gt;
&lt;p&gt;Did you change your RAM settings?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After those changes, I got an interrupt when I used nRF Connect for Desktop to write to the UART rx service:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3264.pastedimage1602852130431v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If that doesn&amp;#39;t happen in your case, try to debug and see what happens. Does the application crash? I don&amp;#39;t have any possibility to help you with projects in formats that we don&amp;#39;t support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does it work if you use the&amp;nbsp;&lt;strong&gt;UNMODIFIED&lt;/strong&gt; ble_app_uart example from the SDK? you can try to port it to your IDE, but I see that you have also done a lot of changes to the main.c file, and you have removed all the logging from main.c. Is there any reason for this? Can you try to do this from scratch with an unmodified SDK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>