RSS
Sort by » date activity ▼ answers views votes

78 questions

Tagged
  • x
19
views
no
votes
1
answer
Last activity 2017-11-17 15:48:39 +0200 by Hung Bui

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
answers
Last activity 2017-11-16 14:38:26 +0200 by Petter Myhre flag of Norway

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
votes
no
answers
Last activity 2017-11-14 13:22:49 +0200 by Konstantin

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
answers
Last activity 2017-11-13 13:32:15 +0200 by Vladimir Petrigo

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
votes
1
answer
Last activity 2017-11-13 11:12:58 +0200 by Jørgen Holmefjord flag of Norway

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
votes
1
answer
Last activity 2017-11-11 00:45:42 +0200 by Bjørn Spockeli flag of Norway

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
votes
no
answers
Last activity 2017-11-07 02:54:42 +0200 by Haruki Kawakami

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
answer
Last activity 2017-10-27 14:53:14 +0200 by Michal L.

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
answer
Last activity 2017-10-27 12:34:53 +0200 by Hung Bui

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
votes
no
answers
Last activity 2017-10-27 00:29:39 +0200 by ishgum

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
votes
2
answers
Last activity 2017-10-19 15:20:13 +0200 by Hung Bui

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
votes
1
answer
Last activity 2017-10-18 14:18:05 +0200 by Andy

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
votes
1
answer
Last activity 2017-10-18 13:23:15 +0200 by Andy

sd_ble_gatts_characteristic_add invalid param when adding CCCD for notifications

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
votes
1
answer
Last activity 2017-10-13 21:54:13 +0200 by Turbo J

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
votes
1
answer
Last activity 2017-10-13 15:06:01 +0200 by emdi

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
votes
1
answer
Last activity 2017-10-10 16:39:49 +0200 by Hung Bui

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
votes
no
answers
Last activity 2017-10-06 14:32:01 +0200 by Martin Børs-Lind flag of Norway

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
votes
1
answer
Last activity 2017-10-02 13:42:38 +0100 by Sigurd flag of Norway

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
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)

53
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)

60
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)

49
views
1
vote
1
answer
Last activity 2017-09-04 17:13:21 +0100 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)

129
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)

76
views
1
vote
1
answer
Last activity 2017-08-11 15:20:34 +0100 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)

65
views
1
vote
1
answer
Last activity 2017-08-11 14:31:32 +0100 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)

123
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)

86
views
no
votes
no
answers
Last activity 2017-08-08 13:17:21 +0100 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)

108
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)

91
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)

86
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)

Statistics

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