RSS
Sort by » date activity ▼ answers views votes

75 questions

Tagged
  • x
27
views
no
votes
1
answer
Last activity 2018-01-19 11:31:36 +0200 by Torbjørn Øvrebekk

BLE Advert Extensions Example

Hi

Is there an example in the SDK or anywhere that displays the use of LE Advert Extensions? I have been browsing softdevice v6.0.0-6.alpha and I came across the structure ble_gap_cfg_adv_config_t; however, this is not used anywhere ... (more)

162
views
1
vote
2
answers
Last activity 2018-01-14 19:49:34 +0200 by shibshab

MTU negotiations

The product I am working on is in the same paradigm that your youtube example of the 52840 DK is flying on the drone.

Scenario: The client (mobile app) is driving down the road and communicating with a stay put ... (more)

53
views
1
vote
1
answer
Last activity 2018-01-09 14:11:29 +0200 by Jørgen Holmefjord flag of Norway

FDS leaves a "hole" in flash?

Hi,

I have seen some curious behavior with the FDS module. I'm using nRF5SDK 14.2.0 with s140_nrf52840_5.0.0-2.alpha, with FreeRTOS. In short: In some cases it seems that doing writes/updates that collide somehow will ... (more)

159
views
no
votes
1
answer
Last activity 2018-01-05 21:16:11 +0100 by Chitrang Talaviya

How many max SPI slave sensor I can connect with Nrf52840 via SPIM

Hello Folks,

I am using PCA 10056 Eval board. I am using SPIM0 to connect 5 slave sensors. The Chip select is done by the UART Tx pin. So If I send 0x01 over UARt then the sensor- 1 will ... (more)

23
views
no
votes
no
answers
Last activity 2017-12-21 13:01:04 +0100 by kbb64

lesc no display or button

what is the proper way to spoof the lesc bonding and passkey button press when there is no button or display on the device?

What msg am I waiting for from the responder (both client and peripheral

SDK14.1 S140 on 840

46
views
no
votes
1
answer
Last activity 2017-12-20 09:46:07 +0100 by Jørgen Holmefjord flag of Norway

Inaccurate interrupt of timer in nrf52840 [closed]

I am working on nRF52840 Preview DK. I want to generate a square wave with accuracy of ON and OFF time = 1 microsecond using timer for driving stepper motor DRB8825.

I am using SDK version : nRF5_SDK_14.2.0_17b948a

I have ... (more)

78
views
3
votes
1
answer
Last activity 2017-12-20 05:53:57 +0100 by nikunj8086 flag of India

what is the maximum number of characteristics allowed in one service?

hi,

i am using Nordic thingy:52 with a nRF52840 with s140 softdevice to receive multiple characteristic data from thingy like thingy environment service have 6 characteristics, as of now i am able to receive all 6 characteristics data from ... (more)

91
views
no
votes
no
answers
Last activity 2017-12-18 15:33:12 +0200 by krnd

Maximum ATT MTU for BLE NUS

Hi,

What is the maximum ATT MTU size for the BLE NUS?

While programming my BLE NUS server application I constantly ran into the problem that my MTU and length updates cause NRF_ERROR_INVALID_PARAM errors. I solved it by setting the ... (more)

233
views
9
votes
2
answers
Last activity 2017-12-13 02:00:41 +0200 by MatthewKYEO

SEGGER Embedded Studio can't find softdevice binary

When I try to build and run any example from the nRF5 SDK, it can compile successfully. But when loading to the eval kit, it can't find the 's140_nrf52840_5.0.0-2_alpha_softdevice.hex'.

Error reported: Additional Load File[0] "../../../../../../components ...

(more)

56
views
no
votes
no
answers
Last activity 2017-12-12 16:13:13 +0200 by kbb64

multirole BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT errors

My setup: SDK14.0 (need to upgrade), using example multirole with 3 clients and 4 peripheral connections, along with mtu throughput added and lesc working and dual uart. (I need to add whitelisting also after I get past this problem ... (more)

68
views
no
votes
1
answer
Last activity 2017-12-10 18:13:20 +0100 by Ulrich Myhre flag of Norway

DHKey calculation

I am trying to understand the Passkey LESC pairing on S140 soft device using the latest SDK 14.0.2. The message sequence charts has a block "App starts DHKey calculation" and "App completes DHKey calculation". Where is this done ... (more)

38
views
1
vote
1
answer
Last activity 2017-12-07 13:46:19 +0200 by Jørgen Holmefjord flag of Norway

S140 6.0.0-6 alpha start address to make monitor debug mode work

Hello,

I'm trying to enable the monitor debug mode work with iar but I have some doubts about the address used in the EnableMonMode.mac macro provided in one of the blog here.

The address is "SetMonModeVTableAddr=0x1B000". I ... (more)

53
views
no
votes
1
answer
Last activity 2017-12-05 00:49:44 +0100 by mweger

Connections for nRF52 - SWD and VDD outputs

I am designing a custom board with nRF52840, powered by USB, no battery, using its internal LDOs to supply other peripherals with 3.3V

I have two questions about pins/outputs:

  1. Can I take the 3.3V from any of ...

(more)

40
views
no
votes
no
answers
Last activity 2017-12-04 11:07:07 +0200 by flyfe

failed to merge target specific data of a file

Hi everyone,

I'm trying to compile a ble_app_uart exemple using my own Makefile (The exemple compiles and works fine), but i got an error from the linker.

error: objects_application/main.o uses VFP register arguments, objects_application/TeepTrakApp52.out does ...
(more)

53
views
4
votes
2
answers
Last activity 2017-11-29 20:53:14 +0200 by endnode

Migration code from nrf51 using sdk 8.1.0 to nrf52 using 14.0.0

Hi everyone,

I'm trying to upgrade a functional code in a pca10028 board s110 with sdk 8.1.0 to a pca10056 board s140, I want to use the latest version (i.e. 14.0.0).

I wanted to ... (more)

151
views
no
votes
1
answer
Last activity 2017-11-29 13:04:25 +0200 by Petter Myhre flag of Norway

fstorage page info

I am attempting to integrate examples/peripheral/flash_fstorage into my project (SDK 14.1.0).

When calling nrf_fstorage_write I get NRF_ERROR_INVALID_LENGTH in response. I assume because I am only trying to write 20 bytes not ~2K. However, for some reason ... (more)

44
views
no
votes
no
answers
Last activity 2017-11-28 11:17:40 +0200 by nikunj8086 flag of India

how to receive multiple services data from NRF thingy52 to a nrf52840 central device ?

hi,

i doing a program to receive multiple service data from nrf thingy 52 to nrf52840 central device.

as of now i have implemented weather service, motion service and battery service, but i am only able to receive data of ... (more)

41
views
no
votes
1
answer
Last activity 2017-11-23 14:21:41 +0200 by Bjørn Spockeli flag of Norway

CRYS_ECDSA_Verify returns 0x00F00871 [SDK14]

I am trying to use the cryptocell in the bootloader (bootloader_secure_ble) for verifying dfu packages, but fails in signature verification for the same dfu package, same public key as I used with micro-ecc crypto library, where it works as it ... (more)

151
views
1
vote
1
answer
Last activity 2017-11-18 12:59:36 +0100 by Shiba Inu flag of United States

nRF52840 Template Project for USB and BLE

With SD140 v6.0.0.6 having been released, will an accompanying example project that demonstrates simultaneous use of BLE and USB be released? Will this be included in the next SDK or if one already exists, could someone post ... (more)

68
views
1
vote
1
answer
Last activity 2017-11-15 18:36:42 +0100 by Youssif

sd_flash_page_erase on nrf52840 takes a long time

Hi

We are seeing a significant delay in a flash-related operation on the nrf52840, specifically using the function sd_flash_page_erase() When we use that function to erase flash it takes up to 3 times longer on the nrf52840 than it does ... (more)

62
views
1
vote
1
answer
Last activity 2017-11-14 19:12:41 +0100 by Francois

Reply to read request with sd_ble_gatts_rw_authorize_reply(...) with data greater than 20 bytes

Hello,

This is my first time working on BLE and Nordic, so this might sound strange. I am trying to update data on the fly when the central requests char data.

I have been setting the is_defered_read bit in the ... (more)

45
views
no
votes
no
answers
Last activity 2017-11-14 16:03:08 +0100 by Jeff flag of United States

anyone having problem with the APP_TIMER in SDK14

When using the APP_TIMER in SDK14 I am having a problem with the application stopping. I was using the APP_TIMER to flash LEDs and watch for timeouts in SDK13. when porting the code to SDK14 I am having a problem ... (more)

91
views
no
votes
1
answer
Last activity 2017-11-08 13:15:49 +0100 by Petter Myhre flag of Norway

How to do a GATTC Characteristic Value Write WITH Response

Hi Nordic

Do you have a message sequence chart for how to do a Gatt Client Write with response? I can only find a GATTC Characteristic Value Write Without Response in the API docs.

The options BLE_GATT_OP_WRITE_REQ, BLE_GATT_OP_PREP_WRITE_REQ and BLE_GATT_OP_EXEC_WRITE_REQ ... (more)

29
views
no
votes
no
answers
Last activity 2017-10-31 22:42:06 +0100 by kbb64

advertising restart problemmultirole lesc

multirole lesc timeout issues

HW: 4 x nrf52840 DPK boards SW: 3 x PDK running ble_app_hrs 1 board running multirole, lesc, freertos w/ 4 task, mtu,

Reset multirole PDK w/ button 2 down (delete bonds) w/ all 3 peripheral board ... (more)

43
views
no
votes
no
answers
Last activity 2017-10-21 22:28:10 +0200 by rdecker

Connecting with nfc_ble_pair_lib

I am using the ble_app_hrs_nfc_pairing example (sdk 14.0.0) on my NRF52840 with the s140 soft device. I am able to bond with my phone (Android 8.0.0 Oreo) by tapping the sensor, and BLE_GAP_EVT_CONNECTED and BLE_GAP_EVT_CONN_SEC_UPDATE handlers ... (more)

103
views
1
vote
1
answer
Last activity 2017-10-18 09:41:49 +0100 by emdi

S110 & SDK9 -> S140 & SDK14, BLE Handler Register ploblem

Hi,

I had a difficult problem.

First, S110 & SDK9 ble_stack_init () is the source.

static void ble_stack_init(void)
{
    uint32_t err_code;

    // Initialize the SoftDevice handler module.
    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, NULL);

    #if defined(S110) || defined(S130) || defined(S310)
    // Enable BLE stack.
    ble_enable_params_t ble_enable_params;
    memset ...
(more)

86
views
no
votes
1
answer
Last activity 2017-10-17 12:44:16 +0100 by Hung Bui

Connection alive by empty data pdu instead of notifications

Hi,

Central nrf52840

peripheral nrf52840

adv. interval: 25ms

adv. timeout 180 seconds

connection interval (both min and max) 10ms

scan interval 50 ms

scan windows 25ms

scan timeout 0

connection supervision timeout 4s

My question is, when the central or ... (more)

116
views
1
vote
2
answers
Last activity 2017-10-11 14:35:05 +0200 by Martin Børs-Lind flag of Norway

Using S140 with nRF52840, UART example question

Hello, I have a problem.

For example, I am using UART, and I had trouble printing everything when I used "app_uart_put ()" continuously.

My source is simple.

int main (void)
{
   uart_init ();

   ...(syncopation)

   for (cnt = 0 ;; cnt ++)
   {
     app_uart_put ('A');
     app_uart_put (cnt);
     nrf_delay_ms ...
(more)

69
views
no
votes
no
answers
Last activity 2017-10-05 05:57:13 +0100 by supernovah

Fatal SD error writing to NRF_POWER->RAM[0].POWERSET

As the title specifies, on writing to the registers mentioned, I receive a Fatal error.

Here's the test code

void save_ram()
{
    __DSB();
    NRF_POWER->RAM[0].POWERSET = 0xFFFFFFFF; // All RAM[0]
    __DSB();
    __NOP();
}

Engineering errata mentions reading having to be ... (more)

167
views
2
votes
no
answers
Last activity 2017-09-25 17:28:43 +0200 by Nivetha flag of Netherlands

central stops receiving after sometime

Hi,

Central: nrf52840

peripheral: nrf52840

Connection interval (both min & max) = 10ms

ATT_MTU size: 52 bytes

Dle: 52+4 bytes

Connection event extension: enabled

Slave latency: 0

Connection supervision timeout: 4s

PHY: 1MBps

softdevice: 140

I'm transmitting 10 samples wrapped ... (more)

Statistics

  • Total users: 26289
  • Latest user: Malinda Buddicom
  • Resolved questions: 11535
  • Unanswered questions: 4019
  • Total questions: 28672