RSS
Sort by » date activity ▼ answers views votes

5,181 questions

Tagged
  • x
10
views
no
votes
no
answers
Last activity 2017-02-20 02:43:26 +0100 by hengyongchao

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
votes
3
answers
Last activity 2017-02-20 00:02:10 +0100 by Roger Clark

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.

image description

36
views
1
vote
2
answers
Last activity 2017-02-19 23:53:14 +0100 by Yurii G

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
votes
1
answer
Last activity 2017-02-19 08:07:03 +0100 by karthik

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
answer
Last activity 2017-02-19 03:08:34 +0100 by RK flag of Singapore

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
votes
no
answers
Last activity 2017-02-19 00:01:00 +0100 by Robert Massaioli

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
votes
no
answers
Last activity 2017-02-18 21:10:11 +0100 by JimInCA

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
votes
no
answers
Last activity 2017-02-18 12:46:28 +0100 by HarshD

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
votes
2
answers
Last activity 2017-02-17 15:58:24 +0100 by loic.jacquinot

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
answer
Last activity 2017-02-17 15:12:32 +0100 by Definitely Confused

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
answer
Last activity 2017-02-17 14:21:26 +0100 by Kristin flag of Norway

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
votes
1
answer
Last activity 2017-02-17 13:53:05 +0100 by Dandingzz

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

Payload size: 22bytes

frames per ... (more)

31
views
no
votes
no
answers
Last activity 2017-02-17 12:29:05 +0100 by Hung Bui

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_base_address_length(NRF_ESB_BASE_ADDRESS_LENGTH_4B);
        nrf_esb_set_address_prefix_byte(0,0x55);
        nrf_esb_set_base_address_0(0x3412BBAA);
        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
answer
Last activity 2017-02-17 10:02:52 +0100 by Mahesh Venkitachalam flag of India

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:

http://infocenter.nordicsemi.com ... (more)

66
views
no
votes
no
answers
Last activity 2017-02-17 09:43:20 +0100 by saifur

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
votes
1
answer
Last activity 2017-02-17 07:15:56 +0100 by Johan

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
answer
Last activity 2017-02-17 05:41:25 +0100 by satish

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
votes
2
answers
Last activity 2017-02-17 05:27:26 +0100 by satish

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
votes
no
answers
Last activity 2017-02-17 00:10:59 +0100 by tyler

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
votes
3
answers
Last activity 2017-02-16 20:03:12 +0100 by Nikolaus Wittenstein

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
votes
no
answers
Last activity 2017-02-16 19:18:27 +0100 by phob

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
answers
Last activity 2017-02-16 17:02:05 +0100 by Nikolaus Wittenstein

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
votes
1
answer
Last activity 2017-02-16 16:45:10 +0100 by Jørn

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
votes
2
answers
Last activity 2017-02-16 15:41:23 +0100 by Gustavo Velasco-Hernández flag of Colombia

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
votes
1
answer
Last activity 2017-02-16 11:41:00 +0100 by Ole Bauck flag of Norway

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
votes
1
answer
Last activity 2017-02-16 11:20:12 +0100 by run_ar

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
votes
1
answer
Last activity 2017-02-16 07:20:20 +0100 by Ted

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
votes
1
answer
Last activity 2017-02-15 21:49:44 +0100 by Robert Massaioli

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
answer
Last activity 2017-02-15 11:42:26 +0100 by Bjørn Spockeli flag of Norway

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
votes
1
answer
Last activity 2017-02-15 10:13:32 +0100 by Bjørn Spockeli flag of Norway

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
  • Unanswered questions: 2249
  • Total questions: 19842

User menu

    or sign up

Recent questions