# 78 questions

Tagged
• x
19
views
no
1

## Previously bonded device disconnects.

I have an nrf52832 BLE HIDS device based, with the connection and peer handling code copied from the hids keyboard example, SDK13. I use Windows 10 as host. Setting up a connection works fine, but when I remove the device ... (more)

74
views
1
vote
2

## How large is the size peer manager uses?

I'm trying to determine DFU_APP_DATA_RESERVED and FDS_VIRTUAL_PAGES. According to this Q&A, DFU_APP_DATA_RESERVED must be the same FDS_VIRTUAL_PAGES, if FDS_VIRTUAL_PAGE_SIZE is 1024.

My application uses 11 pages, so 11+the size peer manager uses must be FDS_VIRTUAL_PAGES( and DFU_APP_DATA_RESERVED ... (more)

38
views
no
no

## fds data corrupted

Hello all,

My project based on NRF52832 SDK13 has some bug I trying to solve. Some users of my product very rarly faces with problem of constantly rebooting NRF52. After some investigations I'm revealed that the bond info sectors ... (more)

54
views
1
vote
no

## Update application from SD 2.0.1 to SD 4.0.2

Hello,

I have an application that has to be ported to the newer Softdevice version. I've already ported my application to the SDK 13 and tested it with the new Softdevice v4.0.2.

I found that topic where ... (more)

24
views
no
1

## saadc - switch channel on demand

I am using a nRF52 and I have to measure two voltages:

1) the first continuously

2) when a command is received, the second voltage have to be measured and then switch back to measure the first

I initialize the ... (more)

122
views
2
1

## Migrate bootloader from SDK 11 to SDK 13

Hello,

I have an application based on SDK 11 and Softdevice v2.0.0. Also there is a legacy bootloader from SDK 11 for performing DFU.

I am wondering whether it is possible to perform DFU of my devices in ... (more)

25
views
no
no

## secure bootloader doesn't proceed once it get "Write request too long" error.

Hi,

I'm checking whether SDK 13.0.0 secure bootloader dfu can proceed correctly with iOS DFU library if the process is interrupted because smartphone application is restarted, or ble connection is lost, and so on.

I have tried ... (more)

37
views
1
vote
1

## PWM driver - invert pin

Hi,

I'm using nRF PWM Driver and I didn't find the way, how to invert logic of PWM. I would like to reach this behaviour:

• If I set seq_value=0, I want to have PWM signal which is ...
(more)

63
views
1
vote
1

## Is it possible to add my mobile device to whitelist without pairing?

I´m currently developing ble peripheral application for the nRF52832 with SDK v13.0.0. I need to have a secure connection between the nrf and android or ios mobile device and i figured that whitelisting with the peer manager ... (more)

30
views
no
no

## Replacing bootloader through nrfjprog - Error: Single: Invalid Bank

I am trying to upload a bootloader to an nRF52832 chip. (This chip is on the ruuvitag and is programmed through their developer board).

I got the bootloader working on the DK but when I tried to upload it to ... (more)

113
views
no
2

## Unit testing with Unity and SoftDevice

Hi,

I'm currently in the process of integrating unit testing into our firmware development process. I'm trying to execute on-target tests with the Unity test framework, using the Nordic-modified version provided in this post.

This has been working ... (more)

96
views
no
1

## BLE_ERROR_GATTS_INVALID_ATTR_TYPE when sending notification with sd_ble_gatts_hvx()

Hello,

I've been all over the forum trying to solve my problem but I just couldn't find enough information.

I'm trying to set up notifications in my application, but I cannot get rid of the BLE_ERROR_GATTS_INVALID_ATTR_TYPE error ... (more)

39
views
no
1

Hello,

I implemented a function to add characteristics to a service, but I'm having a problem when I add notifiable characteristics. I pass a set of flags to my function, and when I set the NOTIFY bit, sd_ble_gatts_characteristic_add returns ... (more)

37
views
no
1

## nrf52832 crashes during soft device update

Hi,

I am writing a boot loader which does not need to use the soft device as the image is being transferred over an SPI interface.

I have merged the softdevice and my application code together to make a single ... (more)

104
views
no
1

## FDS GC seems not to work [closed]

Using SDK 13 FDS, I store 6468 byte, that is 1617 words, including FDS header. Of course this size is total. In detail in byte size, this size consists of

(12(header)+ 576) * 7
(12 + 774) * 1
(12 + 691) * 2 ...
(more)

57
views
no
1

## Secure Serial DFU SDK13 – DFU post validate complete indication

Greetings,

I have an application where the DFU of a NRF52 is performed by another microcontroller via a serial port. Once the DFU is complete, the microcontroller turns off the entire system (including the NRF52). The issue I am encountering ... (more)

40
views
no
no

## nrf_drv_twi_rx does not deliver the data seen at SDA

Hello, I have a strange behaviour in my project and can't find the cause: I have connected a TMP116 temperature sensor using TWI with SDA at P0.03 and SCL at P0.04 using internal Pull-Ups, 100 kHz clock ... (more)

214
views
3
1

## Bluetooth Development Studio with Nordic plugin for SDK 13

Any update on possible when Nordic can update the Plugin to support SDK13?

I was informed that the Nordic Semiconductor v1.2.2 plugin does not support SDK13.

Although I see there is a description under SDK13 that indicates it works. Here

292
views
1
vote
no

## APP_UART_COMMUNICATION_ERROR

Hello, I have problem when trying to use non default pins for uart.

This is what i got:

UART:WARNING:Function: nrf_drv_uart_init, error code: NRF_SUCCESS.
UART:INFO:Transfer rx_len: 1.
UART:INFO:Function: nrf_drv_uart_rx_for_uarte, error code: NRF_SUCCESS.
UART:INFO:Transfer ...
(more)

53
views
no
no

## Central whitelists with peer manager under FreeRTOS

Hi Nordic,

I've built a ble app with a custom protocol, but am struggling with storing bonds, when running under freeRtos.

What I see:

• central app crashes (hardfault), when peer manager is passed a non empty white list (loaded ...
(more)

60
views
no
no

## iOS services caching, issue to update from SDK11 to 13

Hello,

We've stumbled upon a weird behavior on iOS making the smartphone unable to reconnect to our wireless device after a DFU from SDK11 to SDK13 (nRF52832): the notification subscription or char write makes the app crash. Once restarted ... (more)

49
views
1
vote
1

## Include multiple chunks in one fds record [closed]

I would like to include multiple p_chunks in one record. How do I do this? I've only seen examples with one chunk per record, but fds_record_t.data has a field called number_chunks. My uncertainty stems from the fact that ... (more)

129
views
no
1

## SDK13 BDS error in bds_uint8_array_decode?

Hello,

I am just using the SDK13 on the nRF52832 together with the experimental BDS example (I modified it to the point where it seems to be working fine so far).

Now when using uint8-array as data-type for a writeable ... (more)

76
views
1
vote
1

## ble_db_discovery_start INVALID_STATE [closed]

Hi

I am receiving INVALID_STATE (error code 8) from ble_db_discovery_start. According to documentation, this error can be returned "If this function is called without calling the ble_db_discovery_init, or without calling ble_db_discovery_evt_register." I am calling ble_db_discovery_init in my project, but not ... (more)

65
views
1
vote
1

## List of ble events? [closed]

Hi

I'm reading the debug output of ble_cts_c.c:

NRF_LOG_DEBUG("BLE event handler called with event 0x%x\r\n", p_ble_evt->header.evt_id);


However I can't find any list or enumeration that shows which event number corresponds with ... (more)

123
views
no
1

## FDS Data Corrupted

Hello, Nordic Forum!

I've been developing a wrapper library that uses the FDS to store my application data. I have 3 type of data to store: an array of 14 uint16_t, an array of 14 uint32_t and a structure ... (more)

86
views
no
no

## Major problems with cts_c [closed]

Hi

I'm having major problems implementing current time service client (cts_c). I've run ble_app_cts_c on my device and it works fine. I copied the relevant parts of the code into my own project, but I get the following ... (more)

108
views
no
2

## Speed up DB Discovery

Hi,

I have a device in the central role that connects to a device with a specific name. I then do a db_discovery_start to get the handles of two of the characteristics. However, it takes a while for the BLE_DB_DISCOVERY_COMPLETE ... (more)

91
views
no
1

## Long BLE Write Error

Hi,

I am trying to write 64 bytes to a characteristic as a client and am getting the error NRF_ERROR_DATA_SIZE. The infocenter is not very helpful at indicating where the issue of size may originate from. I control both the ... (more)

86
views
1
vote
1

## UART communication errors on initialization

Hello,

I'm having a lot of trouble debugging some errors on UART. I'm initializing the UART as follows:

void uart_init()
{
ret_code_t err_code;
const app_uart_comm_params_t comm_params =
{
UART_RX_PIN,
UART_TX_PIN,
0,
0,
APP_UART_FLOW_CONTROL_DISABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud115200
};

APP_UART_FIFO_INIT(&comm_params,
UART_RX_BUF_SIZE,
UART_TX_BUF_SIZE,
uart_error_handler,
APP_IRQ_PRIORITY_LOWEST ...
(more)

#### Statistics

• Total users: 25345
• Latest user: Elisabeth Richard
• Resolved questions: 10981
• Total questions: 27095

## Recent blog posts

• ### Estudando Projetos do SDK 10 para nRF5x com Eclipse Oxygen (Portuguese)

Posted 2017-11-12 00:08:55 by Carlos Delfino
• ### Configurando o Eclipse Oxygen para Desenvolvimento com nRF5x (Portuguese)

Posted 2017-11-10 21:15:47 by Carlos Delfino
• ### How to use Git for embedded software development

Posted 2017-11-06 13:21:55 by Yaniv Nis
• ### Thingy:52 based Weather Station

Posted 2017-10-29 22:31:15 by Krzysztof Szewczyk
• ### How to build continuous integration and delivery process for embedded SW development

Posted 2017-10-03 11:01:29 by Yaniv Nis

## Recent questions

• ### nRF51822 - S130 : how do I check timer2 is running or stop

Posted 2017-11-20 10:18:36 by CFF.K
• ### HardFault_Handler when I use WDT

Posted 2017-11-20 10:00:57 by abosch
• ### Communication between pca10040 and another device using UART

Posted 2017-11-20 09:55:59 by lirank
• ### How to access the RAM of nrf52832

Posted 2017-11-20 09:42:04 by 执剑写春秋
• ### Job Offer: nRF / Embedded Developer in Stuttgart, Germany

Posted 2017-11-20 09:40:23 by Marius Heil