# 23,035 questions

3
views
no
no

## Missing closing brace in SDK13.0.0

Hello,

While porting a C++ application to SDK13.0.0, I ran into weird compiler errors, such as

error: #800: this declaration may not have extern "C" linkage

Found out nrf_ble_ancs_c.h was missing the extern "C" closing brace at ... (more)

no
views
no
no

## Clarify is_conn_params_ok() function

While investigating connection parameter handling, I noticed the following:

The is_conn_params_ok(ble_gap_conn_params_t * p_conn_params) function in ble_comm_params.c only compares the interval, not the slave latency or connection supervisory timeout. This has the effect of the peripheral accepting connection parameters with ... (more)

5
views
no
1

Hi.

I am using saadc example code or SDK V13 with the following requirements:

Voltage input up to 70mV,

Resolution: 50uV

So I did some modification to support the requirement:

Gain: 4,

Reference: internal,

Resolution: 14 bit.

But I have ... (more)

11
views
1
vote
1

## Enabling DC/DC mode on the NRF BEACON

Hi Nordic,

I am trying to enable the DC/DC converter on a PCA20006 rev 1.3.0. I am using the softDevice S130.

1. Using the sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE) function.

I tried to activate the DC/DC converter using the ... (more)

40
views
no
no

## Combining ble_app_gls and bootloader_secure project. [closed]

Hello, I want to combine ble_app_gls and bootloader_secure project. Can you suggest me how to add dfu functionality to ble_app_gls project? Thanks, Shailav

image- publickey.PNG

46
views
no
1

## Slow DFU speed

Hello,

yesterday I got a Thingy:52 device at an event held in Frankfurt/Germany. At home I've tested the DFU for the latest firmware and observed that the image was transfered at a very low speed. The image ... (more)

25
views
1
vote
1

## I want to use the nRF51-DK to communicate with my iPhone over bluetooth and be able to print results from an ADC channel on my phone so that I can monitor it.

How do I achieve this and is there an example in the SDK similar to this?

8
views
no
no

## S130 central disconnected immediately after connection to iOS peripheral

Dear developers, I am developing a scheme where the nRF51 (central role) connects to iOS device (peripheral roles). The nRF51 connects, performs the discovery procedure and interacts with desired characteristics.

However, this only works for some iOS peers (some phones ... (more)

4
views
no
no

## I2C Big Buffer Send from Flash without delay

Hello i m searching for a method to send a big buffer with TWI to a slave. The Buffer is read from flash. because its a soundfile its needed to send the buffer without delay with a fixed time between ... (more)

22
views
1
vote
no

## s132 softdevice + example code not working

Hi, I’m having some troubles with example code : ble_app_uart_s132_pca10040. The code compile well in Keil and I can prog it in the nfr52 but it doesn’t run. When I check the code step by step in debug session ... (more)

34
views
no
1

## nRF52810 transmission distance

How to achieve the transmission distance of 100m with nRF52810 ?

44
views
no
no

## What should be the maximum size of a variable that we can use

Hi all, In my project I have a structure its length was about 2KB, I'm saving it as a static variable after using this I come across with a weird behavior from the board, Some times its hang up ... (more)

26
views
no
1

## state-machine RTC synchronization with softdevice

Hi,

I’m working on a device that requires to enable the softdevice when connecting with a smartphone via Bluetooth and disable it when acquiring data from an analog source.

In order to do this I have created a simple ... (more)

4
views
no
no

## nRF52840 HCI mode

Hi

Is it possible to use the nRF52840 in HCI mode ?

-- Prasanth

27
views
no
no

## In the MPU6050 module, when the ACC, GYRO data update, INT pin can not produce interrupt signal

NRF52832 S132 MPU6050 TWI

I want to finish the function:

1. When the ACC, GYRO data update, the INT pin to generate an interrupt, and then in the P026 pin configuration falling edge trigger GPIOTE interrupt,and then read the ACC ...
(more)

42
views
2
2

## How use usb data line without usb core

Hi, Nordic! We have connected gpio pins to usb data line pins for using usb or i2c in different times. But even if USB core disconnected, usb lines hinder for i2c lines. Is it possible connect usb d+ and d- to GPIO?

24
views
no
1

## Tutorial Characteristic Master example

Hi, I'm trying to notify the temperature value with Tutorial Characteristic Master example. But log shows me this rows when I try to read the Descriptor Client Characteristic Configuration:

(more)

34
views
no
1

## nRF environment coding suggestions

Dear all,

I am facing small problems, which I guess most of you faced at some moment.

I am trying to switch from working with ST microcontrollers to working with nRF52. Both of them are pretty similar, so that's ... (more)

16
views
no
no

## NFR52832 SPI Long Transfer Problem

To All,

From reading the datasheet I understand that nfr52832 spi can only send/receive up to 255 bytes at once. And to work around this a list method is used. Because I am writing/reading to a NAND flash ... (more)

39
views
1
vote
1

## nRF52840 ram_retention demo

Hello!

I'm trying to use the ram_retention in sdk 15 alpha to retain RAM in system off mode and do some power profiling.

The default code seems to retain 8 kB of RAM. copy and pasting the appended section ... (more)

7
views
no
no

## fs_erase couldn't erase flash on S140

Hi,

I'm using nRF5_SDK_13.0.0_04a0bfd on nRF52840.Basing on the ble_app_multilink_central example, I want to write some data to flash to save. So I use the fstorage. After calling the fs_init function, I erase the page which I ... (more)

19
views
no
1

## Can nRF52 SDK TWI master write a series of registers

I want to save precious CPU cycles by writing 40 i2c (TWI) registers in one shot. Can I somehow set up the TWI master to write 40 registers (each 16-byte address with 8-bit data)?

Further, can this be done for ... (more)

19
views
no
1

## The maximum length of pdu for a ble beacon.

What is the maximum length of pdu for ble advertisement? I have ported the example application of solar powered beacon without softdevice. I just wanted to know if it was possible to have payload length greater than 37 and if ... (more)

17
views
no
no

## Is it possible to set hopIncrement for nrf52832

Hi,

I'm wondering if it's possible to set hopIncrement to a specific value (not random), like 5, in current SoftDeivce. Also, if that's possible, can I set it to a value less than 5 despite the Core4 ... (more)

33
views
no
2

## How to active DEBUG feature for SDK13, nRF52840 on IAR?

Hi.

I am using saadc sample cod of SDK13. Changing some parameters based on the analog input, the example is sucking somewhere where I have not been able to find it.

Searching for a solution, I wanted to use DEBUG ... (more)

19
views
1
vote
1

## Is it possible to use pstorage after initializing it with the SD disabled? [closed]

For what I understand of the doc and this question it is possible to turn off the SD, turn it on later and then use the settings as normal.

Is it possible to turn on the SD, initialize pstorage, turn ... (more)

19
views
no
1

## I have problem with SDK13 wdt when central mode

SDK 13 nRF52, S132, central mode

code init:

void wdt_init (void) //Configure WDT.


{ uint32_t err_code; nrf_drv_wdt_config_t config = NRF_DRV_WDT_DEAFULT_CONFIG; err_code = nrf_drv_wdt_init(&config, wdt_event_handler); APP_ERROR_CHECK(err_code); err_code = nrf_drv_wdt_channel_alloc(&m_channel_id); APP_ERROR_CHECK(err_code); nrf_drv_wdt_enable(); }

while(1)
{
uint32_t err_code = sd_app_evt_wait ...
(more)

26
views
no
2

## twi, mpu650 + hmc5883l

HI, i m beginner in TWI with nrf52832. i want to write a bit in a registre of hmc5883l but i didnt succeed. what i want to do is :

tgis my own code ... (more)

44
views
no
1

## Where is the license file for Android nRF Connect

I don't speak English well

I can't found LICENSE file on the repository.

I guess its license is same as under this repository. https://github.com/NordicSemiconducto...

32
views
no
1

## nRF52 DK (pca10040) not seen by nrfjprog after IF update

After spending half a day on this solution, I found out it wasn't really a solution - it devolved back to the same issue after trying to connect - please advise!

Description of System: nRF52 DK Windows 10 pro PC

Description ... (more)

#### Statistics

• Total users: 22176
• Latest user: Tonia Hoolan
• Resolved questions: 9658
• Total questions: 23035

## Recent blog posts

• ### nRF52 Development with CLion

Posted 2017-06-22 09:50:54 by dansheme
• ### Simple GPIO driver example

Posted 2017-06-22 13:38:36 by Hans Elfberg
• ### What mom didn't tell you about ble_app_att_mtu_throughput on the nRF52840 evaluation board

Posted 2017-06-16 16:12:15 by George
• ### Introducing Nordic’s new software licensing schemes

Posted 2017-06-15 11:21:39 by Reidar Martin Svendsen
• ### Open source project for live monitoring and troubleshooting of IoT systems and networks (now supports nRF52832)

Posted 2017-06-13 15:20:07 by Yaniv Nis

## Recent questions

• ### Missing closing brace in SDK13.0.0

Posted 2017-06-22 17:45:31 by Vulpiculus
• ### Clarify is_conn_params_ok() function

Posted 2017-06-22 17:18:46 by aras
• ### Enabling DC/DC mode on the NRF BEACON

Posted 2017-06-22 16:20:58 by nugget
• ### How to config SAADC?

Posted 2017-06-22 16:11:44 by Leila
• ### S130 central disconnected immediately after connection to iOS peripheral

Posted 2017-06-22 15:42:49 by Adam Heinrich