# 24,451 questions

4
views
no
no

## getting incorrect output using the timer_example_timer_mode example

My goal is to generate the clock signal of some particular frequency. I am using nrf51822 DK and used the timer example code from github: https://github.com/NordicSemiconducto.... With timer prescalar set to 0 , the output frequency should be ... (more)

11
views
no
1

## How to get softdevice state in my application

I'd like to get the current connection state eg:

result = get_connection_state()

if(result == BLE_GAP_EVT_CONNECTED) doSomthing();

Is there such a function available ?

thanks,

5
views
no
no

## Sampo S1 simple "read, notify" protocol/bytestream example

I would like to utilize six Sampo S1 readers (yes, I only read for now, I know they can do much more) to count people entering and leaving a conference.

I am looking for the correct byte sequence to send ... (more)

23
views
no
2

Hi,

I'm trying to add Openthread support to my project, which is based on ATT_MTU_Throughput example. I followed the tutorial in infocenter, but I still have some problems in linking stage:

20
views
no
1

## Mesh SDK 0.9.1 on PCA10028 - Light Control Demo - Hard Fault

After flashing light control server or client app on PCA10028 app crashes with HARD FAULT.

Steps how I built the app:

ble_mesh_v0.9.1-Alpha>mkdir build
ble_mesh_v0 ...
(more)

7
views
no
no

## nRF Cloud Gateway Error connecting gateway

Hello,

I'm trying to setup a nRF Cloud Bluetooth gateway using my PC (with openSuse 42.2 64bits and rRF Connect v2.1.0 + nRF Cloud Gateway v0.9.7) and a nRF52 DK and I'm facing some ... (more)

15
views
no
1

## wakeup from any of 10 buttons

hello,

my custom hardware includes 10 buttons connected to 10 GPIOs of a nRF52832. The nRF52 is placed in low power or eventually system OFF all the time, waiting for a pin state change on any of the 10 buttons ... (more)

11
views
no
no

## nrf52 GPIO sink & source current

Hi, I'm contemplating ways to drive a small RGB LED matrix with the nrf52832 in a really space-tight project. Ideally without any external components. I'ts maybe around 40 RGBs (5x8 grid, 120 individual LEDs to drive).

Charlieplexing would ... (more)

9
views
no
no

## how to run the experiment nrf52-ble-image-transfer-demo?

Hello dear community !!! I have long wanted to try the nordic chips. I took nrf52840 -preview dk and arducam. I'm still not very familiar with working with the nordic chips. But I wanted something impressive!)). So I decided to ... (more)

20
views
no
1

## ble_gap_data_length_params_t range

Hi

We are trying to port our app from softdevice v3.0.0 to softdevice v5.0.0. We note that the data length and bandwidth configuration procedure has changed drastically, including the introduction of the sd_ble_gap_data_length_update() function. My question ... (more)

10
views
no
no

## low_power_pwm with Frequency 4Khz

hello i am using the nrf52840.

how i can set the 4Khz frequency in low_power_pwm.

low_power_pwm_config_t have period parameters. which value i need to assign to generate the 4Khz Siganl.

before i used the APP_PWM which is much more easy ... (more)

29
views
no
no

## sdk14 ble_app_uart not working

I am evaluating the sdk14 ble_app_uart example. I am able to run this code and connect to this uart service but do not see messages get passed to the uart pin. Only when I power cycle the nrf, then it ... (more)

10
views
no
no

## Reading services and characteristics with nrf connect

I am looking at a Bosch GLM50C and when i connect with nrf connect on IOS I can only see device information and a custom service, on android I can also see the generic access service, but when I use ... (more)

53
views
no
1

## ble_cfg.gap_cfg.role_count_cfg.central_sec_count clarification

I'm trying to reduce the RAM requirements of the softdevice for my application and am looking at some of the options in ble_cfg_t.

What does ble_cfg.gap_cfg.role_count_cfg.central_sec_count actually do?

documentation states

/**< Number of SMP instances shared between ...

(more)

23
views
no
1

## Matching question between NRF52810 and NRF24LU1+

According to the NRF52810 datasheet ,The RADIO contains a 2.4 GHz radio receiver and a 2.4 GHz radio transmitter that is compatible withNordic's proprietary 1 Mbps and 2 Mbps radio modes in addition to 1 Mbps Bluetooth ... (more)

12
views
no
no

## Calling on_connect causes problems in SDK 14

Hi

I'm migrating to SDK14 currently. My program seems to hit an infinite loop (or something of the sort) after I call my_service_on_connect() from my_service_on_ble_evt. Here are the two functions:

void ble_my_service_on_ble_evt(ble_evt_t const *p_ble_evt, void *context) {
ble_my_service_t *p_my_service ...
(more)

12
views
no
no

## Have you used the IAR Simulator with nRF52?

Hi,

I'm trying to evaluate the IAR simulator, and I'm using it w/ nRF52 samples. Besides getting errors due to the errata and system init, I'm not sure what are the use cases for this simulator. If ... (more)

77
views
1
vote
2

## Bluetooth and USB at the same time on nRF52840

Hello,

Do you have a soft device that integrates both Bluetooth and USB on the nRF52840 ?

I want to program a firmware that uses both and I'm wondering if you have ready-to-use examples on that ?

Thanks

Benoît

12
views
no
1

## SDK14 ble_evt_t evt_ID [closed]

Hi

I'm migrating to SDK 14 and have my service's on_ble_evt() function registered. However, p_ble_evt->header.evt_id == 65535 (0xFFFF) for every evt, so I think I'm doing something wrong. Every connection cycle I get about five of ... (more)

16
views
no
1

## USBD_MSC Disk initialization failed after USB unplug with SDK14.0.0

In the example USBD_MSC of the SDK14.0.0, when the USB is unplug the disk initialization failed.

30
views
no
1

## nrf_drv_spi NRF_LOG_HEXDUMP_DEBUG too long

The NRF_LOG_HEXDUMP_DEBUG for rx and tx in nrf_drv_spi.c are logging data 4x the correct size because it take the sizeof of a pointer instead of the data pointed.

18
views
no
no

## NRF52 default TX\RX rampup time

Hi, I see that the nominal deafult rampup time is 140 us in NRF52. However, I'm measuring it with logic (via GPIO+PPI) and I get 129.4 us. Why there is such a difference?

Thanks.

23
views
no
1

## BLE Mesh SDK along with peripheral mode.

I want to change the light-control example given in mesh SDK such that instead of using buttons to trigger messages, I want to connect client with mobile and control servers through mobile. At beginning, I am trying with one client ... (more)

414
views
1
vote
3

## Multiple notify characteristics

Hi

I'm trying to create a custom ble service with 4 notify characteristics. Everything works with one characteristic, but when i add the other the DK hangs.

I'm using SDK11 with S130.

I made it work with two ... (more)

8
views
no
no

## [android]how to disconnect connection gracefully

hi, Nordic I'm using your nRF51-DK(PCA10028) board, on android, i disconnect connection by call BluetoothGatt.disconnect (https://developer.android.com/referen...), it's work fine on almost android phones, but on some ones (such as xiaomi4LTE ) we can ... (more)

12
views
no
no

## Can't flash PCA10040

Hi

I have a PCA10040 V1.1.0 that my company has been using to flash test code onto other nRF52832 chips (I don't know the details, but it has wires attached to the debug out). I'm trying ... (more)

35
views
no
2

## CCCD enabled when NO code for it exist

Using nrfConnect the one charactierisitc (128uuid) shows CCCD handle inabled on the nrfConnect (the 3 down arrows) The device structure shows a value for the cccd handle. But there is not a ble_gatts_attr_md_t cccd_md; structure in the char_add function. How ... (more)

63
views
no
no

## S140 return 0x13 error when call sd_ble_gap_data_length_update and the it reset

Hi,

I'm using nRF5_SDK_13.0 on nRF52840 based on ble_app_hrs_rscs_relay example. I use it to connect a bluetooth 4.0 device and it's ok now. Also I have a bluetooth 5.0 device which use long MTU packet ... (more)

19
views
no
no

## Event to Event offset time smaller then specs show

Hi!

I'm having a little trouble with my measurements. A little situation sketch:

I'm using two nRF51822 DK's who act as peripheral and connect to a nRF51 Dongle that acts as central. The peripherals use application code ... (more)

56
views
no
1

## How can I read micron memory using SPI protocol

Hello all,

I try to send a command to read device ID (0x9F) of a micron memory device (N25Q064A) using SPI protocol. I have the following hardware configuration :

NRF_SPI_CLK --> N25_CLOCK
NRF_SPI_MOSI --> N25_DQ0
N52_SPI_MISO <----------- N25_DQ1
N52_SPI_SS <----------- N25_SS


N25 is set in ... (more)

#### Statistics

• Total users: 23734
• Latest user: Iris Wilbur
• Resolved questions: 10095
• Total questions: 24455

## Recent blog posts

• ### ble_app_hrs_freertos running in Atollic TrueSTUDIO

Posted 2017-08-14 02:55:30 by jmag999
• ### OLED display support for nRF52832 (SSD1306, Adafruit GFX)

Posted 2017-08-11 08:21:31 by Mahesh Venkitachalam
• ### I tried 5 different debugger IDEs for nRF52 and STM32. Here are my results.

Posted 2017-08-09 10:56:19 by Jonathan
• ### Things you should know about Bluetooth mesh

Posted 2017-08-07 12:37:22 by Eirik Midttun
• ### Support pairing on NUS profile for Central and Peripheral

Posted 2017-08-01 08:42:41 by Eugene Yu

## Recent questions

• ### getting incorrect output using the timer_example_timer_mode example

Posted 2017-08-16 23:21:55 by Nikhil
• ### Sampo S1 simple "read, notify" protocol/bytestream example

Posted 2017-08-16 21:33:31 by Christian
• ### How to get softdevice state in my application

Posted 2017-08-16 20:54:24 by ypearson
• ### nRF Cloud Gateway Error connecting gateway

Posted 2017-08-16 20:05:14 by carlos carrizosa
• ### nrf52 GPIO sink & source current

Posted 2017-08-16 19:04:24 by dingari