RSS
Sort by » date activity ▼ answers views votes

61 questions

Tagged
  • x
217
views
1
vote
no
answers
Last activity 2017-09-19 11:10:32 +0200 by jack khan

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)

29
views
no
votes
no
answers
Last activity 2017-09-15 01:15:16 +0200 by x_mike

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)

28
views
no
votes
no
answers
Last activity 2017-09-06 18:23:03 +0200 by Cyril Fougeray

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)

42
views
1
vote
1
answer
Last activity 2017-09-04 17:13:21 +0200 by q

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)

121
views
no
votes
1
answer
Last activity 2017-08-24 16:58:34 +0200 by tellg flag of Norway

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)

61
views
1
vote
1
answer
Last activity 2017-08-11 15:20:34 +0200 by Terje Schjelderup flag of Norway

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)

45
views
1
vote
1
answer
Last activity 2017-08-11 14:31:32 +0200 by Andrzej Kuroś

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)

88
views
no
votes
1
answer
Last activity 2017-08-10 17:30:25 +0200 by Rodrigo Lorenzo Leal

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)

62
views
no
votes
no
answers
Last activity 2017-08-08 13:17:21 +0200 by q

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)

86
views
no
votes
2
answers
Last activity 2017-08-07 15:55:04 +0200 by Andrzej Kuroś

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)

60
views
no
votes
1
answer
Last activity 2017-08-07 15:45:15 +0200 by Andrzej Kuroś

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)

53
views
1
vote
1
answer
Last activity 2017-08-04 14:05:23 +0200 by Andy

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)

167
views
1
vote
1
answer
Last activity 2017-08-04 11:01:19 +0200 by Håkon Alseth

Call function from gdb at breakpoint? [closed]

Hi,

Is it possible to call an arbitrary function at a breakpoint in gdb on the nRF52? I know you can with normal gdb, but I haven't been able to make it work with the cross ARM version. Thanks ... (more)

39
views
2
votes
1
answer
Last activity 2017-08-04 09:01:13 +0200 by q

gap_ppcp_set invalid parameters [closed]

My call to sd_ble_gap_ppcp_set is returning NRF_ERROR_INVALID_PARAMETER.

I have the following connection interval settings:

#define MIN_CONN_INTERVAL                MSEC_TO_UNITS(500, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL                MSEC_TO_UNITS(1000, UNIT_1_25_MS)
#define SLAVE_LATENCY                    3
#define CONN_SUP_TIMEOUT                 MSEC_TO_UNITS(2000, UNIT_10_MS)

When initializing gap parameters in main.c, I ... (more)

99
views
1
vote
1
answer
Last activity 2017-08-03 20:04:41 +0200 by Spirit

Thingy Sound Service | SDK13+ | MAX_MTU_SIZE

Hello guys!

I'm trying to port the TSS service to one of my projects. This project is based on SDK13.1 while the Thingy is on SDK12.1

I have a lot of problems with a max MTU size ... (more)

62
views
no
votes
no
answers
Last activity 2017-08-02 10:00:04 +0200 by newtom

Possible bug in the ESB implementation (nrf_esb.c) up to SDK 13.1?

Hi,

I am using ESB in one of our current projects. I have two devices: one PTX (master) and one PRX (slave). The slave may want to send some data to the master from time to time, but it can ... (more)

55
views
no
votes
1
answer
Last activity 2017-08-01 16:23:20 +0200 by Bjørn Spockeli flag of Norway

UART Bootloader - migrating from SD11 to SDK13

Hello,

I've been using UART DFU feature quite extensively in one project which caused that I had to stick to SDK11 features (since bootloader relied on SD 132 2.0.0).

Recently, in SDK13 the UART DFU came back ... (more)

63
views
no
votes
no
answers
Last activity 2017-08-01 16:19:56 +0200 by q

Adding whitelist causes crash [closed]

I'm still learning about whitelisting, advertising, ect. My project originated as a copy of the ble_hrs example provided by nordic. I wanted to add the ble_cts_c service client to my project, so I began integrating the relevant parts from ... (more)

84
views
1
vote
2
answers
Last activity 2017-07-27 18:20:48 +0200 by Fabian

USB CDC ACM Example Single Write

Hello,

we are using the USB CDC ACM Example to set up a USB connection between the computer and the nRF-Chip. By pressing Press Button 1 a bunch of test data will be sent to the terminal program (after a ... (more)

41
views
no
votes
1
answer
Last activity 2017-07-25 17:25:10 +0200 by Hung Bui

Bug in peer_data_storage.c in nRF5 SDK?

Hi,

I found a suspicious line of code.

SDK: nRF5 SDK 13.1.0 (7ca7556)

File: peer_data_storage.c

Function: pds_peer_data_read

At line number: 415

    if ((*p_buf_len) <= data_len_bytes)
    {
        memcpy(p_data->p_all_data, rec_flash.p_data, data_len_bytes);
    }

According to the comment above: "...check that ... (more)

38
views
1
vote
1
answer
Last activity 2017-07-24 14:41:47 +0200 by Kristin flag of Norway

Difference between ble parameter update functions

Could someone explain the difference between the following functions:

ble_conn_params_change_conn_params(ble_gap_conn_params_t *new_params) sd_ble_gap_conn_param_update(uint16_t conn_handle, ble_gap_conn_params_t const *p_conn_params)

My PCA10040 is operating as a peripheral. I'm trying to update the connection interval but have been unsuccessful thus far. Not ... (more)

51
views
1
vote
no
answers
Last activity 2017-07-20 13:28:35 +0200 by Andy

Best way to update a 32-bit word in flash - SDK13.1

Hi,

I want to store the CRC of the current firmware in the flash, for DFU purposes. Almost all of the threads I've seen so far reference the pstorage API but it's no longer supported since SDK12. There ... (more)

168
views
1
vote
1
answer
Last activity 2017-07-17 15:26:13 +0200 by Bjørn Spockeli flag of Norway

SDK13 Buttonless DFU Service doesnt change into Bootloader

Hi to everybody,

I am working with a custom board based on the nrf52832, while trying to integrate to my existing application the DFU functionality I am having problems when I try to change from app to bootloader through Buttonless ... (more)

144
views
1
vote
1
answer
Last activity 2017-07-16 16:48:07 +0200 by PB

Secure Serial DFU, app with UART stuck at bootloader [closed]

Hello,

I'm working on an UART application which uses experimental_bootloader_secure_serial bootloader. I've done a similar thing before with SDK-11 (though not a secure DFU) and after getting through building a secure bootloader, signing, etc. I was able to ... (more)

128
views
no
votes
no
answers
Last activity 2017-07-13 21:47:41 +0200 by Otavio Borges

SAADC low power SDKv13.0.0 and S132

Hello,

I'm currently developing an application on nrf52832 that'll use SAADC low power to fetch battery voltage level and report that value on BLE advertising data. I've adapt github example nFRF52-ADC-examples to the following:

#define REFERENCE_TO_MV     0 ...
(more)

47
views
1
vote
1
answer
Last activity 2017-07-06 16:35:00 +0200 by Andy

DFU - Copying application from Bank1 to Bank0? [closed]

Hello,

I'm currently experimenting with the dual-bank bootloader in SDK 13.1. According to the documentation, if the new application can be activated, it is copied from bank 1 to bank 0.

Where and when does this happen? I ... (more)

90
views
2
votes
1
answer
Last activity 2017-07-05 16:07:03 +0200 by Petter Myhre flag of Norway

Possible bug in the I2S driver (nrf_drv_i2s.c) up to SDK 13?

Hi,

when looking at nrf_drv_i2s.c in SDK v13.0.0, the description of nrf_drv_i2s_start() states that the parameter buffer_size is Size of the buffers (in 32-bit words).

I don't generally like mixing up size, length, count, and capacity ... (more)

85
views
3
votes
1
answer
Last activity 2017-07-04 14:28:21 +0200 by Vidar Berg

Peer manager flash write disabling

Hello,

i am writing an application which uses the SDK13 peer manager library for bonding. The Nordic chip is acting as a peripheral.

Is there an easy way to prevent the peer manager from saving every change to flash memory ... (more)

93
views
no
votes
1
answer
Last activity 2017-06-26 14:06:16 +0200 by Leila

SDK13 can not find sdk_config.h

Hi,

I am trying to add saadc sample code to ble_blinky sample code. But I faced a problem. It seems that the sdk_config.h file is not recognized by the sample code. and I got this errors:

"TIMER_DEFAULT_CONFIG_FREQUENCY" is undefined ... (more)

87
views
no
votes
1
answer
Last activity 2017-06-26 13:58:56 +0200 by Aleksander Nowakowski

nrf52 DFU package with SD+BL+APPS fails to reconnect on iOS nrfToolbox after updating SD+BL

We're seeing an issue where a dfu package containing SD+BL+Apps gets stuck on iOS nrfToolbox during DFU process after it updated the first part 1/2, which is BL+SD. The same dfu package works on the ... (more)

Statistics

  • Total users: 24465
  • Latest user: Odette Pemulwuy
  • Resolved questions: 10456
  • Unanswered questions: 3314
  • Total questions: 25472

User menu

    or sign up

Recent questions