Sort by » date activity ▼ answers views votes

# 63 questions

Tagged
• x
22
views
no
1

## Update I2C Master read size

As a I2C master, I need to be able to read some data from a slave device the length of which I do not know beforehand. First byte I receive from slave is a packet type and usually packet size ... (more)

75
views
no
1

## fatal error when I power system off

I try to turn off the system with sd_power_system_off()

// Go to system-off mode (this function will not return; wakeup will cause a reset).
err_code = sd_power_system_off();
SEGGER_RTT_printf(0, "sd_power_system_off(). err_code: %#04x\n" ,err_code);
APP_ERROR_CHECK(err_code);


But in the RTT Viewer (debugging ... (more)

68
views
no
1

## NRF ERROR DATA SIZE in from sd_ble_evt_get in softdevice_handler.c [closed]

Hi,

I am trying to increase MTU size for transfers and it works up to a size of about 72. After that I get an error.

Thanks to Sigurd I now know that it is when calling sd_ble_evt_get() in nrf_sdk ... (more)

77
views
no
1

## Add Buttonless DFU service to my Application Code

Hello,

I need to add firmware update process via air to my NRF 51822 device that runs application code on stack 12.2. How can i achieve this?

1) Do i need to add buttonless DFU library (from Experimental_Buttonless_DFU example ... (more)

35
views
no
1

## Can't I connect to device that hasn't been discovered yet?? (but with Address)

Can't I connect to device that hasn't been discovered yet??

I'm trying to connect one device(A) to another device(B) which ADDRESS is known but never discovered yet.

The reason why it isn't discovered is ... (more)

32
views
no
no

## GPIOTE Library makes my Board Brick?? (J-Link is not Found)

GPIOTE Library makes my Board(nRF51422-QFAC) Brick??

I just build my nRF51422 Board, and It's pretty working well before I've used GPIOTE Library.

Before using GPIOTE Library, I've used GPIOTE Driver, And It works pretty well. (But ... (more)

40
views
no
1

## Can nRF51 be BLE connected while it's on sleep mode? (connected by other device as Peripheral mode)

Can nRF51 be BLE connected while it's on sleep mode? (connected by other device as Peripheral mode)

I thought, to be connected as peripheral mode, It must be advertising itself to be connected, because after a little bit of ... (more)

84
views
no
1

## FDS error in FDS_VIRTUAL_PAGE_SIZE 1024 ?? (NRF51)

FDS error in FDS_VIRTUAL_PAGE_SIZE 1024 ?? (NRF51)

https://github.com/hubuhubu/nRF52-fds...

If I use FDS_VIRTUAL_PAGES 3, FDS_VIRTUAL_PAGE_SIZE 1024, then there comes FDS_ERR_BUSY. DO I HAVE TO GIVE DELAY BETWEEN fds_register fds_init??

(I'd like to save about 3KB size Structure ... (more)

87
views
1
vote
1

## SES: SDK12.2.0: undefined reference to __SRAM_segment_end__

Earlier (couple of months) I was working on the examples/peripheral/ppi example in SDK12.2.0. I converted the Keil project inside pca10028/blank/arm5_no_packs to a Segger Embedded Studio project and made it run. Project file here. However ... (more)

71
views
no
1

## Set a name in ble_app_beacon example in Nordic SDK 12.2.0 ?

Hi, I want to advertise the beacon with its name visible using the ble_app_beacon example but not able to understand how to proceed. With this, I am not getting how can I Reduce the manufacturer specific data in this Example code.

103
views
no
no

## App stuck on "DfuTarg" when trying buttonless DFU

Hi everyone,

I'm using SDK 12.2 on nRF51822. Trying to get the buttonless dfu app example to work. Here's what I do:

Compile buttonless dfu app.

Generate settings:

nrfutil settings generate --family NRF51 --application nrf51422_xxac.hex --application-version ... (more)

46
views
no
no

## Updating a display from events

I built my project on ble_app_uart peripheral example from SDK 12.2 and have added a display (Sharp LS044Q7DH01) using nRF52 as a SPI master to communicate. I think I have DMA enabled but I am not sure (...)

This is ... (more)

284
views
1
vote
1

## how to implement Whitelist in SDK12.2.0 [closed]

Hi, I test Whitelist function in the example ble_app_hids_keyboard_pca10040_s132 using SDK12.2.0. I donnot understand the code in "case BLE_ADV_EVT_WHITELIST_REQUEST:" located in function on_adv_evt(). Following is my question:

1.I guess I should add my ble address in "whitelist_addrs ... (more)

169
views
no
1

## cannot bond in the example ble_app_hrs_pca10040_s132(nrf52832)

Hi,

I use ble_app_hrs_s132 project for experiment on bonding function. The version of SDK is v12.2.0. It seems that this example has all the conditions the bonding function needs according to the document. Following is all the step ... (more)

66
views
2
2

## How Can I limit Gatt Data bytes that I write? (Not With Zero-Fill)

I created an characteristic that has MAX_Length = 20 Bytes characteristic.

And When I'm trying to write less than 20bytes on this Characteristic, It Always send with 20Bytes with Zero filled data bytes.

For example, I'd like to write ... (more)

167
views
1
vote
1

## Can I run the ble_app_uart example code from nRF5_SDK_12 with S130 on nRF51822QFAAH0? [closed]

Story Short: When trying to run the ble_app_uart example on a custom board with a nRF51822QFAAH0 chip, the code faults and resets at the point in tries to call sd_softdevice_enable.

What are the prerequisites for running the examples of the ... (more)

91
views
no
1

## I2S timing

Hi,

I am currently testing a DAC with I2S input supplied by the nRF52832. But unfortunately no signal is coming out from the DAC, furthermore when reading the error registers on the DAC through i2c I get a clock error ... (more)

54
views
no
1

## Example experimental_ble_app_blinky what wrong?

I use NRF51822_xxaa, sdk12.2, arm_gcc 4.9_2015q3 when i flash hex file experimental_ble_app_blinky_pca10028_s130.hex from C:\NRF\SDK_12.2.0\examples\ble_peripheral\experimental_ble_app_blinky\hex folder then it works fine (i can discover ble device and led blinked when i ... (more)

124
views
no
1

## SAADC always busy, error 17, cannot calibrate

I've looked through and tried many examples on getting my SAADC to produce a temperature offset. About a month ago I had the SAADC working really well with a wheatstone bridge pressure sensor. It used a single channel differential ... (more)

24
views
no
1

## SDK 12.2 - Build error in sdk_resources.h when included from C++

Issue when using SDK 12.2 which needs to be fixed in SDK:

sdk_resources.h will not build when included from C++.

This is because start extern "C" {" is placed in wrong place within #define ESB_PRESENT. It should be moved ... (more)

140
views
4
1

## nrf52 advertising multiple services

Hi,

Similar questions have already been posted but they don't seem to fit to my problem...

Basically I want to advertise 3 primary services, starting from the 'experimental_ble_app_blinky' example: the already provided lbs service and two new ones. For ... (more)

299
views
no
1

## Can i send more than 20 bytes in BLE 4.0?

I tested a 23byte data transition in iPhone 5s with Softdevice 3.1.0, sdk12.2 . it is ok. I know that iphone 5s is ble 4.0.

So I thought it would be possible on Android(Galaxy tab s ... (more)

76
views
1
vote
1

## SDK 12.2 build errors using BDS

Using SDK 12.2 and BDS plugin version 1.2.2 Module nrf52832_xxaa

• Copied plugin output to nRF5_SDK_12.2.0/examples/ble_peripheral/experimental_bluetoothds_template/
• cd pca10040/s132/armgcc/
• make

Compiling file: softdevice_handler.c

../../../service_if.c:5:24: fatal error: app_trace.h ... (more)

60
views
no
1

## Changes in NFC Type 4 library from SDK 12.2 to SDK 13?

I see in the SDK 13.0.0 release notes that the NFC type 4 library was updated to "production ready", but I couldn't find a summary of the changes made to the NFC Type 4 library.

We're ... (more)

127
views
2
2

## Identifying beacons with 128 bit UUID

Hi,

I am working on a project where I have 4 advertising beacons which will have to trigger some functions in the central side when it gets the advertising data. Now I am currently working on the central(ble_app_uart) side ... (more)

151
views
2
no

## nRF52 dk issues with bonding PM_EVT_CONN_SEC_FAILED is called every time [closed]

Hi

i am trying to connect ble_app_proximity with ios (10.0.2), but every time it is generating PM_EVT_CONN_SEC_FAILED for pm_evt_handler with sdk 12.2.0

i need to implement whitelist functionality once device is connected.

Thanks

223
views
2
1

## Sharp Memory LCD LS044Q7DH01

Edit: The code posted below works on the 96x96 3V(LS013B4DN04) variant of the display, I still have no idea why it doesn't work on LS044Q7DH01, but I'm guessing it doesnt have much to do with the nordic ... (more)

209
views
2
1

## How to use sd_rand_application ?? or use Random number with NRF51 ?

I've tried to use stdlib's random generate function.

and as usally all of the basic C language's random generate functions does, I've used srand with Seed based random. (And also, used with time(null) argument like ... (more)

157
views
1
vote
1

## nRF UART driver initialization

Hello, i'm trying to use nRF UART driver (nrf_drv_uart) to implement a high level UART manager. I followed indications on SDK documentation but it doesn't work and i think that is a problem of initialization.

Configuration: nRF52832 - SDK ... (more)

206
views
no
2

## Change tick value of timer compare event [closed]

Hello,

I'm using TIMER1 to generate a timer compare event. I connect the event with the sample task of the saadc like in the saadc example from the SDK. Everything works fine.

But now I want to change the ... (more)

#### Statistics

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

## Recent blog posts

• ### 6 Things to Know about Bluetooth Beacons

Posted 2017-09-22 08:27:00 by Rose Martin
• ### Creating a Keil project for a Bluetooth Mesh example

Posted 2017-09-19 12:08:11 by Kristian Skordal
• ### Using millis() like in Arduino.

Posted 2017-09-18 11:58:04 by schef
• ### Flashing nRF5x firmware using any dumb terminal program via standard serial COM port

Posted 2017-09-18 03:53:40 by Nguyen Hoan Hoang
• ### How to Debug the nRF52 Interrupts — Useful Tips

Posted 2017-09-13 15:15:22 by Yaniv Nis

## Recent questions

• ### GPIO port input in low power mode

Posted 2017-09-24 20:25:18 by michael
• ### Any nRF52840 examples for BLE Mesh?

Posted 2017-09-24 17:06:24 by aszka
• ### Can not find Nordic dongle from my application

Posted 2017-09-24 14:23:37 by ofer
• ### Can’t program BT832 Module using NRF52-DK

Posted 2017-09-24 10:47:56 by Alexey
• ### Is there any Dc offset on nRF52840 RF port ?

Posted 2017-09-24 09:43:40 by Artak