<?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>Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37266/unable-to-connect-bond-to-nrf52810-using-nrfconnect</link><description>Hi, I have been developing on the nRF52832. I am now in the process of moving to the nRF52810. 
 
 I am using the SDK v15. 
 I have commented out the DEVELOP_IN_NRF52832 define in the pca10040e Makefile. 
 
 It seems to be working OK. I can see the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Aug 2018 09:52:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37266/unable-to-connect-bond-to-nrf52810-using-nrfconnect" /><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143899?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 09:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a3bf6bf-4690-406d-9709-3bdb36767a99</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;My device works!&lt;/p&gt;
&lt;p&gt;I changed the SoftDevice calibration timer interval from:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_CTIV&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;To:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_CTIV&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;16&lt;/span&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: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143851?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:417c1a5f-46f7-4471-8258-10ec7dcf1682</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Strange, I don&amp;#39;t see any relevant differences with your approach compared to what I did. Are you testing with a &amp;quot;clean&amp;quot; SDK copy, or is it possible that there are other changes in your code base? Attached is the code I used here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-cc3aadc9e7014586816db35ad1be7c34/nRF5_5F00_SDK_5F00_15.0.0_5F00_52810_5F00_hts.zip"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_15.0.0_5F00_52810_5F00_hts.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143702?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 10:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1920ce65-c4d9-45e1-a094-edcb617b66af</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;I have done the following steps.&lt;/p&gt;
&lt;p&gt;1. Downloaded sdk v15&lt;br /&gt;2. Point toolchain to gcc folder&lt;br /&gt;3. Commented out buttons_leds_init(&amp;amp;erase_bonds); &lt;br /&gt; -&amp;gt; And removed the -Werror flag to hide the unused function warning&lt;br /&gt;4. Commented out the two DDEVELOP_IN_NRF52832 flags in the Makefile&lt;br /&gt;5. Made these changes to the sdk_config&lt;br /&gt; -&amp;gt; Set CLOCK_CONFIG_LF_SRC to RC&lt;br /&gt; -&amp;gt; Set NRFX_CLOCK_CONFIG_LF_SRC to RC&lt;br /&gt; -&amp;gt; Set NRF_SDH_CLOCK_LF_SRC to NRF_CLOCK_LF_SRC_RC&lt;br /&gt; -&amp;gt; Set NRF_SDH_CLOCK_LF_ACCURACY to NRF_CLOCK_LF_ACCURACY_500_PPM&lt;/p&gt;
&lt;p&gt;Then I did the following&lt;/p&gt;
&lt;p&gt;make clean&lt;br /&gt;make erase&lt;br /&gt;make flash_softdevice&lt;br /&gt;make flash&lt;/p&gt;
&lt;p&gt;I am still having issues. Is there something I am missing. There must be some reason why your hex file works perfectly. Can you think of what other step I should do?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143613?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 14:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72d16c6f-37aa-4a06-8888-1c0ed11f497c</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Hmm, when I commented out the buttons_led_init(&amp;amp;erase_bonds) the device didn&amp;#39;t even advertise. Perhaps I will try that again just in case.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I might send a copy of my pin out when I get the chance. I haven&amp;#39;t changed any default pins from the downloaded sdk.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I have re-flashed your .hex a number of times and it works perfectly every time. Perhaps the sdk_config is different? I can send copy of my sdk_config if you think that might help?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143606?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 14:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f49032a0-b37c-4d1a-a5c2-b48b74fc29f9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I just commented out&amp;nbsp;buttons_leds_init(&amp;amp;erase_bonds); in main so that the IOs did not get initialized. Meant to type RCOSC (RC oscillator).&lt;/p&gt;
&lt;p&gt;So it appears that the problem might be related to the pinout, or have you changed the default pins already?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143571?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 12:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459103ff-8b28-4c8c-9fe0-11a8d965376d</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;I tried using the RC oscillator (using the&amp;nbsp;sdk_config tool). This did not change anything.&lt;br /&gt;&lt;br /&gt;Your hex works perfectly on my hardware, I am able to connect without any issues!&lt;/p&gt;
&lt;p&gt;I re-downloaded the sdk v15 and commented out the&amp;nbsp;&lt;span&gt;DEVELOP_IN_NRF52832 define. Then I flashed the example without any modifications. I&amp;nbsp;had the same issues on my nrf52810.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Perhaps this is an issue with my LEDs and Buttons or maybe the RSOSC. What is the RSOSC and how do I enable it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What did you do to disable the Buttons and LEDs?&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: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143506?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 08:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c740bb31-95cc-4298-a592-4ffcd2111d54</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I tried the&amp;nbsp;&lt;span&gt;ble_peripheral/bls_app_hts from SDK 15.0.0 on 52810 without&amp;nbsp;DEVELOP_IN_NRF52832, and did not experience the connection problem. Maybe this could be HW related. Are you using an external crystal for the low frequency&amp;nbsp;clock? In that case, could you try to use the internal RC oscillator? Inaccurate frequency may explain why the phone fails to connect.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is the .hex file I used for test (LEDs and Buttons disabled and RSOSC enabled):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52810_5F00_hts_5F00_w_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../nrf52810_5F00_hts_5F00_w_5F00_softdevice.hex&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143494?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 07:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6c01bc9-b92c-44df-8b44-a93ba7f7c960</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;Yes,&amp;nbsp;&lt;span&gt;DEVELOP_IN_NRF52832&amp;nbsp; is only being used in system_nrf52810.c&lt;br /&gt;&lt;br /&gt;If It helps, I am have code that is using the saadc.&lt;br /&gt;&lt;br /&gt;To be clear, the nrf52810 can advertise correctly. But It hangs when trying to connect. See the picture below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am currently developing from the ble_peripheral/bls_app_hts example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8233.nrf.jpg" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143479?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 06:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d779b2d2-6c4c-4eb9-bc9f-d94ebb5ce6d9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Looks like you are using the correct flags at least. Just to confirm, the exact same application .hex (without&amp;nbsp;DEVELOP_IN_NRF52832)&amp;nbsp;and s112 runs fine on the 52832)? Could you search through your project to see if&amp;nbsp;DEVELOP_IN_NRF52832 is being used other places in your code (not just system_nrf52810.c)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143460?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 02:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0095125f-4e86-41d6-9946-644ae4fe1298</guid><dc:creator>mredp</dc:creator><description>&lt;p&gt;I used the s132 soft device originally, however, when I flash the nrf52832 with the s112 soft device it works fine aswell.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this the part of the Makefile that your after?&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Libraries common to all targets
LIB_FILES += \

# Optimization flags
OPT = -Os -g3
# Uncomment the line below to enable link time optimization
#OPT += -flto

# C flags common to all targets
CFLAGS += $(OPT)
CFLAGS += -DBOARD_PCA10040
CFLAGS += -DCONFIG_GPIO_AS_PINRESET
# CFLAGS += -DDEVELOP_IN_NRF52832
CFLAGS += -DFLOAT_ABI_SOFT
CFLAGS += -DNRF52810_XXAA
CFLAGS += -DNRF52_PAN_74
CFLAGS += -DNRF_SD_BLE_API_VERSION=6
CFLAGS += -DS112
CFLAGS += -DSOFTDEVICE_PRESENT
CFLAGS += -DSWI_DISABLE0
CFLAGS += -mcpu=cortex-m4
CFLAGS += -mthumb -mabi=aapcs
CFLAGS += -Wall -Werror
CFLAGS += -mfloat-abi=soft
# keep every function in a separate section, this allows linker to discard unused ones
CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
CFLAGS += -fno-builtin -fshort-enums

# C++ flags common to all targets
CXXFLAGS += $(OPT)

# Assembler flags common to all targets
ASMFLAGS += -g3
ASMFLAGS += -mcpu=cortex-m4
ASMFLAGS += -mthumb -mabi=aapcs
ASMFLAGS += -mfloat-abi=soft
ASMFLAGS += -DBOARD_PCA10040
ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET
# ASMFLAGS += -DDEVELOP_IN_NRF52832
ASMFLAGS += -DFLOAT_ABI_SOFT
ASMFLAGS += -DNRF52810_XXAA
ASMFLAGS += -DNRF52_PAN_74
ASMFLAGS += -DNRF_SD_BLE_API_VERSION=6
ASMFLAGS += -DS112
ASMFLAGS += -DSOFTDEVICE_PRESENT
ASMFLAGS += -DSWI_DISABLE0

# Linker flags
LDFLAGS += $(OPT)
LDFLAGS += -mthumb -mabi=aapcs -L$(SDK_ROOT)/modules/nrfx/mdk -T$(LINKER_SCRIPT)
LDFLAGS += -mcpu=cortex-m4
# let linker dump unused sections
LDFLAGS += -Wl,--gc-sections
# use newlib in nano version
LDFLAGS += --specs=nano.specs

nrf52810_xxaa: CFLAGS += -D__HEAP_SIZE=2048
nrf52810_xxaa: CFLAGS += -D__STACK_SIZE=2048
nrf52810_xxaa: ASMFLAGS += -D__HEAP_SIZE=2048
nrf52810_xxaa: ASMFLAGS += -D__STACK_SIZE=2048

# Add standard libraries at the very end of the linker input, after all objects
# that may need symbols provided by these libraries.
LIB_FILES += -lc -lnosys -lm


.PHONY: default help

# Default target - first one defined
default: nrf52810_xxaa&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect (bond) to nrf52810 using nrfConnect</title><link>https://devzone.nordicsemi.com/thread/143345?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 11:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a71e36fb-a879-4386-93c9-d4fe121ca10c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you developed your&amp;nbsp;application on the 52832, did you use the s132 or s112 softdevice? Also, can you provide a list of the defines you have in your Makefile? Reason I ask is that I wonder if the application might be using APIs not available in s112.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>