# 5,181 questions

Tagged
• x
10
views
no
no

## Problem on dfu_init

I have two boards, one is official demo board, the other I make PCB board.

I down the open-mesh source code form github.sdk version is 8.1,open mesh stack version is 0.8.7

Question, official board I ... (more)

65
views
no
3

## can i program nrf51822 bt module using uart

Hi,

I am facing some problem with openocd and stlink connection.

I saw some dve. boards having USB<->serial converter on board for programming (i guess).

So, i got following board.

36
views
1
vote
2

## flash nrf51822 using openocd giving error

Hi, I have install openocd on ubuntu. but i after running next line

openocd -f interface/stlink-v2.cfg cfg -f target/nrf51_stlink.tcl


i got these error.

Runtime Error: embedded:startup.tcl:47: Can't find target/nrf51_stlink.tcl
in ...
(more)

29
views
2
1

## GPIOTE interrupt count

Hi

I am using nRF51822 (pca10001).I am unable to discover my device. I used the ble_app_template_s130_pca10028 as my base and added the code for gpiote handler as following.

static void gpiote_event_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)

{

int32_t count = 0;
count ...
(more)

23
views
1
vote
1

## Precision of TIMER1

Hi there,

I'm using nrf51822 timer1 as the timer for some time-critical task, and I'd like to ask two questions about it:

1. What's the precision of Timer1 if the internal 256K clock is used?

2. If some instructions ...

(more)

5
views
no
no

## ADC / PPI: SDK v11.0.0 works but v12.2.0 does not

I was building my own custom application that connects a nrf_drv_timer to an ADC start trigger using PPI on an nRF51822 and I could not get it to work. I asked a previous question about it here. This is a ... (more)

16
views
no
no

## Gazell host with multiple devices

I'm new to Gazell, so please excuse the simplicity of my question, but I just seem to be missing something.

I have an application where I will be using one host with two devices. When the host receives a ... (more)

36
views
no
no

## How to log data in Hexadecimal format over nRF Toolbox(UART) android application

Hi,

I'm working on accelerometer + BLE application. My current configurations are nrf51822 and LIS3dh accelerometer chip, Protocol TWI, Softdevice 110, BLE service type is ble_nus_init_t, Android application is UART sub app in nRF Toolbox. At this stage, I can ... (more)

48
views
no
2

## nRF8001, nRF51422 or nRF51822

Hi,

It's my first post here so let introduce myself : I'm a 25 y.o. French electronics engineer and hobbyist. I also like skating (inline skates and ice skates) mainly slalom, jumps, speed run, street ride... And I ... (more)

19
views
1
vote
1

## Reject when whitelist empty

Is there a way to reject requests when the whitelist is empty? I support clearing out the whitelist, but after clearing out the whitelist I would still like to reject connection requests. Is there a way I can do this ... (more)

31
views
1
vote
1

## csr 4.0 dongle on windows

using mbed uartservice on micro:bit. connects fine to nordic toolbox uart on ipad is it possible to connect to puTTY or similar on windows using csr 4.0 ble dongle.? win7, win10 (or ubuntu) available. tried a lot of ... (more)

25
views
no
1

## How to improve the communication distance with Gazell?

My gazell configuration is as follows:

#define PIPE_NUM                    0
#define TIMESLOT_PERIOD             2000
#define TIMESLOT_PER_CHANNEL        2
#define CHANNEL_TABLE_SIZE          1
#define CHANNEL_TABLE               {18}
#define SYNC_LIFETIME           (3 * CHANNEL_TABLE_SIZE * TIMESLOT_PER_CHANNEL)
#define MAX_TX_ATTEMPTS             3
#define TX_POWER            NRF_GZLL_TX_POWER_4_DBM
#define TX_DATARATE         NRF_GZLL_DATARATE_1MBIT


frames per ... (more)

31
views
no
no

## 51822 esb datarate 250kpbs cann't work!!

(void)nrf_esb_init(NRF_ESB_MODE_PRX);
//nrf_esb_set_output_power(NRF_ESB_OUTPUT_POWER_0_DBM);
nrf_esb_set_channel(18);//2400+18
nrf_esb_set_crc_length(NRF_ESB_CRC_LENGTH_2_BYTE);
nrf_esb_set_datarate(NRF_ESB_DATARATE_250_KBPS);
(void)nrf_esb_enable();


when i set datarate NRF_ESB_DATARATE_1_MBPS or NRF_ESB_DATARATE_2_MBPS it was work,but when i set datarate NRF_ESB_DATARATE_250_KBPS it wasn ... (more)

24
views
1
vote
1

## Unable to connect with IoT SDK dns example

I have followed instructions at the link below to setup a Raspberry Pi 3 as a 6lowPAN router, and am trying to run the dns example from nRF5 IoT SDK 0.9.x on an nRF52-DK:

66
views
no
no

## how write sd card file in nrf51288

in my case sdk10.0.0 and I can not update sdk. please help me to write sd card. if file system not possible ,please explain how to write raw data like sensor value 1000 time in a SD card ... (more)

81
views
3
1

## zigbee and BLE in the same board

Hello,

I want to make a device that use a Zigbee SoC and a nRF51822 for BLE, and I want to make it in the same board, that imply to have two antennas in the board.

I was wondering if ... (more)

88
views
1
vote
1

## How to Read MPU9150 Sensor values in keil ?

Hi,I'm using mpu9150 imu sensor with nRF51822 EK kit, i want read that sensor values i.e acceleration, gravity, yaw,pitch,roll values in keil ide ,how i can do that? Can any one please help me. Thanks in advance.

50
views
no
2

## How i can get sensor values in tera term without connecting to any mobile app ? [closed]

Hi,i'm using the nRF51822 with the IMU 9150 sensor, i'm using the https://github.com/Martinsbl/nrf5-mpu... git repo for my sensor. while i try to read the values of sensor in Tera Term it will shows ... (more)

25
views
no
no

## Nordic SDK: PWM duty cycle of 0 on LED

I am using PWM on a BLE Nano using Nordic SDK. I was having problems with the PWM and decided I would set the duty cycle to 0 to see if the program was working right:

#include <stdbool.h>
#include ...
(more)

942
views
6
3

## Using Clang and the S110 (issues with supervisor calls to the SoftDevice)

Hi everyone,

I've been experimenting compiling my project with Clang and have run into some issues with the supervisor calls and their wrapper in nrf_svc.h.

Without optimizations, the calls seem to work fine. See the following asm generated ... (more)

11
views
no
no

## Need help with openocd and stlink

Hi,

I configured openOCD and gcc compiler. But i got following error. i gave following command on terminal.

i created one file that is manual.cfg and contain in that file as follows.

 #nRF52832 Target
source [find interface/stlink-v2.cfg ...
(more)

1k
views
1
vote
3

## ARM DS-5 CS development tools for NRF51822

Hi,

Can I use ARM DS-5 CS (http://ds.arm.com/ds-5-community-edit...) + JLink for nrf51822 development?

Thank you Richard

27
views
no
1

## The hex files cannot be merged since there are conflicts

Hi, I am trying to merge two hex files and the command prompt says there are conflicts. Could it be a problem of size of each file?

121
views
3
2

## Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0

Hi, in the current project I'm working on, I need to develop an Eddystone beacon with UID and TLM frames configured by default. Based on the experimental_eddystone example, there is only one slot (slot 0) for configuring a default ... (more)

30
views
no
1

## app_fifo wrapping problem

The app_fifo support e.g. in SDK 12.1.0, appears to have a serious problem when the read_pos/write_pos values wrap. i.e. when the fifo has been used over a period of time, regardless of the configured fifo ... (more)

42
views
no
1

## Glucose Service(Central) [closed]

s130, nRF5_SDK_12.1.0_0d23e2a, SoftDevice 8_9_0.

I want to use the Central Glucose Service, how do i modify the "ble_central/ble_app_hrs_c" example code?

int main(void) { bool erase_bonds;

// Initialize.
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, NULL);

uart_init();
buttons_leds_init(&erase_bonds);
ble_stack_init();
peer_manager_init(erase_bonds);
if ...
(more)

61
views
no
1

## Pstorage and flash crash

Hi Nordic team,

This problem bothers me for a very long time. I cannot find the root cause. I used nRF51822 IC. It uses SDK11 with softdevice S130 and bootloader (but I use it as a peropheral). I used pstorage ... (more)

35
views
no
1

## ADC + PPI + Timer on the nRF51822 polling too fast

I have the following ADC code: https://bitbucket.org/snippets/robert...

I have been trying for the past few days to get this code to just perform a single ADC scan, on five channels, once every 100ms.

It seems like ... (more)

63
views
1
vote
1

## Is it possible to continuously log data to flash memory?

I'm not sure if this question has been asked here before, but I couldnt find an existing answer...

I know that flash memory only has a relatively limited number of write / erase cycles.

For the nRF51 this is 20 ... (more)

48
views
no
1

## Power modes in nrf51822

HI,

Which are the main characteristics of the different power down modes (sleep, deepsleep, power down, deep power down and deep power down(PHY off))?

#### Statistics

• Total users: 16311
• Latest user: tristanubnt
• Resolved questions: 8512
• Total questions: 19842

## Recent blog posts

• ### nRF52840 long range demo

Posted 2017-02-14 12:46:03 by Ole Bauck
• ### Setup and Running the OpenMesh DFU on the nRF52 DK v2.0

Posted 2017-02-06 22:33:25 by martindavidb
• ### New NFC feature on nRF52 Series: Read/write capable Type 4 Tag NFC library in nRF5 SDK.

Posted 2017-02-02 10:31:31 by Pär H
• ### Simple Application-level Authentication

Posted 2017-01-30 12:34:01 by Daniel Veilleux
• ### WIZnet's BLE to TCP Gateway

Posted 2017-02-01 01:12:03 by Mason Lee

## Recent questions

• ### nrf connect indicate subscribe

Posted 2017-02-20 03:43:55 by Jackson
• ### Buttonless DFU - Transfer Succeeds, but no BLE device available after

Posted 2017-02-20 02:53:04 by TFETT
• ### can i program nrf51822 bt module using uart

Posted 2017-02-19 12:15:29 by phob
• ### Radio can not work inside timeslot handler

Posted 2017-02-19 11:48:10 by JiachengWang
• ### nRF52840 USB power ???

Posted 2017-02-19 11:20:18 by Roger Clark