RSS
Sort by » date activity ▼ answers views votes

652 questions

Tagged
  • x
25
views
1
vote
1
answer
Last activity 2017-03-30 16:12:28 +0100 by Hung Bui

sd_ble_gattc_char_value_by_uuid_read - again [closed]

Hi

I'm fighting to read characteristics of my service with sd_ble_gattc_char_value_by_uuid_read. I'm using SD130 V2.0.1 and SDK11.

Here are some snippets from my central device. I register my custom 128bit UUID in the SD130 like so ... (more)

75
views
2
votes
2
answers
Last activity 2017-03-28 20:21:43 +0100 by mert

I am trying to program nrf51422 with softdevice but it gives me this error. what should I do? Should I change this memory allocation?

image description(/attachment/a19553b9bc11b942e3ae7f600ceedda2)

image description

image description

15
views
no
votes
1
answer
Last activity 2017-03-27 15:47:07 +0100 by Sigurd flag of Norway

error: #20: identifier "NRF_SPIS0" is undefined

Hi,

After configuring the nRF51422 as a SPIS slave 0, we get the following error when trying to create the slave instance:

static const nrf_drv_spis_t spis = NRF_DRV_SPIS_INSTANCE(SPIS0_INSTANCE_INDEX); /**< SPI instance. */

......\m_SPI_MIDI.c(39): error: #20: identifier "NRF_SPIS0" is undefined static ... (more)

50
views
1
vote
2
answers
Last activity 2017-03-27 09:16:31 +0100 by angel

Lower power in sleep of GPIO as outputs?

Hi Nordic,

In my application, I want to consume as less power as I can. In the initialization I have this functions:

static void utils_setup(void)
{
    APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, false);
}

static void softdevice_setup(void)
{
    uint32_t err_code;

    err_code = softdevice_ant_evt_handler_set(ant_evt_dispatch);
    APP_ERROR_CHECK ...
(more)

32
views
1
vote
1
answer
Last activity 2017-03-20 16:07:53 +0100 by Tgage

ESB Peripheral Question

I have set up some code using the ESB example in SDK v12.2.0 I and am able to transmit and receive packets between two nrf51 dongles, with no issues. However, when I program a custom PCB that has ... (more)

26
views
1
vote
1
answer
Last activity 2017-03-20 11:31:16 +0100 by Turbo J

ANT Slave events when master stops being present

Hi Nordic,

I am having problems knowing what exactly happens in the following situation:

I have a connection established between a master and a slave, and the master stops being present for whatever reason (channel is closed from master side ... (more)

16
views
1
vote
1
answer
Last activity 2017-03-16 18:11:21 +0100 by billt79

UART overrun issues and corruption

Hi,

Recently i have moved to a much newer version of the SDK and have replaced my uart driver with the new ones, from SDK 12.7. The uart is between two nRF51422s one with a softdevice running(s130), one ... (more)

5
views
no
votes
no
answers
Last activity 2017-03-16 06:50:44 +0200 by Fema

Use dcc pin to control LED on nrf51422 [closed]

Is there any sample code to use dcc pin to control LED on nrf51422 ?

thanks

112
views
no
votes
2
answers
Last activity 2017-03-15 16:08:23 +0100 by Tgage

NRF51 Dongle radio peripheral question

I have a question about using the "Radio" peripheral on the NR51422 Dongle development ki

I am putting together a fairly simple prototype device that needs to transmit a packet in one direction, from the NR51 dongle to another NR51 ... (more)

31
views
no
votes
1
answer
Last activity 2017-03-15 09:50:35 +0100 by Wojtek flag of Poland

Diferance between v9.0.0 & V12.2

Dear all

Currently we are using version 9.0.0 (nrf51422 family---> using for 51822 chip) & now we are trying to use 12.2 ("nRF5_SDK_12.2.0_f012efa.zip").

  1. Is there any difference? in both the versions (9.0.0 & 12 ...

(more)

37
views
1
vote
1
answer
Last activity 2017-03-10 11:48:09 +0100 by endnode

BLE Central Server multiple Peripheral Clients

I need to have a Central device physically connected (via UART) to a sensor. Data is collected from the sensor and sent to a number of Peripheral devices which use the data to perform a task.

So far I have ... (more)

29
views
1
vote
1
answer
Last activity 2017-03-10 11:14:07 +0100 by Petter Myhre flag of Norway

Slave TX - master RX asynchronous type ANT?

Dear Nordic,

I want to know if it is possible to send asynchronous data type from a slave node to a master node (master node would be in continuous scanning mode). Reading the ANT protocol specification I do not have ... (more)

75
views
2
votes
1
answer
Last activity 2017-03-09 08:07:09 +0100 by angel

Channel Search + Device Pairing Configuration

Hi Nordic,

EDIT: I am using nrf51422, with S210 v5.0.0. Everything that is below is referring to ANT protocol

I want to know if the thing that I am planning to do is possible and feasible or not ... (more)

31
views
no
votes
3
answers
Last activity 2017-03-08 00:38:10 +0100 by SG1

S130 V2 BlE examples not working

Hi ,

I am trying to use the new softdevice SD130 V2.0.0 and have not had any luck when using the most recent version of SD130. I ran the same application with SD130 V1.0.0 and the older ... (more)

86
views
no
votes
no
answers
Last activity 2017-03-07 11:21:25 +0100 by khosla

While building the beacon example in segger studio, it shows the error: invalid storage class for functions 'is diabled in debug needed', ' is_manual_peripheral_setup_needed', 'is_peripheral_domain_setup_needed in system_nrf51.c. How to fix this?

/* Copyright (c) 2012 ARM LIMITED * All rights reserved.


  • Redistribution and use in source and binary forms, with or without
  • modification, are permitted provided that the following conditions are met:

* * Redistributions of source code must retain the above copyright notice, this ...

(more)

32
views
no
votes
1
answer
Last activity 2017-03-07 10:42:14 +0100 by Jørgen Holmefjord flag of Norway

ANT and BLE concurrent problem with NRF51422

I want to use ANT and BLE concurrently.

  1. I found that there are no multiprotocol examples in SDK12 for NRF51422 (PCA10028). It only have example for NRF52832 (ble_ant_app_hrm). The softdevice for NRF51422 and NRF51822 are different. It is using S332 ...

(more)

839
views
8
votes
2
answers
Last activity 2017-02-28 10:38:36 +0100 by Martin Børs-Lind flag of Norway

Debugging NRF51422?? How can i use err_code to debug my nrf51422??

I'm a beginner, the question might be simple but its really important for me. where does this error codes get store?? How to make use of err_code and whats the best way to debug my application?

34
views
no
votes
1
answer
Last activity 2017-02-22 16:51:33 +0100 by Jørgen Holmefjord flag of Norway

how can i read an analog value from p0.1 using copper coap client?

I have set up a 6lowpan test environment and could control the led3 and led4. could u please provide me with a code to read value at p0.01. i want to connect a temperature sensor(TMP36) at this pin ... (more)

69
views
1
vote
1
answer
Last activity 2017-02-21 14:32:22 +0100 by Kapil Singh Rawat

fs_store data lost after power off

Hi

I'm using fs_storage function to read and write in flash memory. Value successfully stored in evt->store.p_data but after power off it value become 0

switch(evt->id)
    {
        case FS_EVT_STORE:
            if(result == FS_SUCCESS)
            {
                stored_data = evt->store.p_data ...
(more)

65
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)

46
views
no
votes
1
answer
Last activity 2017-02-14 13:01:42 +0100 by Ole Bauck flag of Norway

Bluetooth + long timeslot

Hi,

I want to use Timeslot API in order to gain uninterruptible period of time (1 second~) along with running Softdevice - just single one, not periodical.

I've changed connection parameters to include longer connection supervision timeout and slave latency ... (more)

87
views
no
votes
1
answer
Last activity 2017-02-11 02:55:20 +0100 by RK flag of Singapore

Do I need a Balun for very short range?

I'm using a 51422 for a very short range, fixed system. I will never need the chip to receive or be received from more than 5 meters away, and more often just 2-3 meters. On my custom PCB the ... (more)

109
views
no
votes
1
answer
Last activity 2017-02-10 14:28:28 +0100 by Stian flag of Norway

How to Read status of gpio(pin 12) whether it is high or low?

I am getting confused when using nrf_gpio_cfg_input(PIN_12,NRF_GPIO_PIN_PULLDOWN) should i keep it as NRF_GPIO_PIN_PULLDOWN,PULLUP or should i use NRF_GPIO_PIN_SENSE_HIGH. I want to connect a button to pin 12 and depending on whether it is high or low switch ... (more)

45
views
2
votes
1
answer
Last activity 2017-02-09 20:06:58 +0100 by angel

I2c + timer1 + timer2 + softdevice(S210)

Hi Nordic,

My application does the following:

  • Timer 2 takes care of controlling a shift register (CLK and DATA)
  • Timer 1 takes care of polling data from sensor via I2C, each 10ms
  • We are continuously sending and receiving data from ...
(more)

34
views
2
votes
1
answer
Last activity 2017-02-09 13:40:36 +0100 by Petter Myhre flag of Norway

How to properly monitor for BLE GAP disconnect event?

I'm working on a proximity beacon application using the nRF51 DK and a Nordic Beacon. The application basically has the nRF51 DK connect to the Beacon and monitor the RSSI. If the RSSI changes dramatically, execute a series of ... (more)

43
views
1
vote
1
answer
Last activity 2017-02-06 14:40:31 +0100 by Bjørn Spockeli flag of Norway

Can PCA10028 can be DFU Controller?

I'm wondering if it can be work as an DFU Controller (where sends zip Distribution Packet) not as an DFU Target.

I'm trying to make Each of the NRF51 Cores to be updated and make update each other ... (more)

75
views
no
votes
2
answers
Last activity 2017-02-05 00:36:02 +0100 by M

Can't run modified nrf51-DK example on custom board

Hi. I took the ble_central/experimental/ble_app_blinky_c example and modified it for my needs. It works on the nrf51-DK. Now I want to use it on a custom board with nrf51822qfab. I modified the Makefile in the following way:

changed ... (more)

72
views
no
votes
1
answer
Last activity 2017-02-03 10:44:06 +0100 by Kristin flag of Norway

Central role with high Bandwidth problem

Hi,

I am using a custom board with a nrf51422, SDK11, S130 v2.0.1 with central role.

I have made changes on the code to change from MID bandwidth to High. I added the following code to the ble_stack_init ... (more)

60
views
1
vote
1
answer
Last activity 2017-01-24 11:10:05 +0100 by Jørgen Holmefjord flag of Norway

What is NRF_P0 in the {SDK_PATH}/components/drivers_nrf/hal/nrf_gpio.h

I'm using Keil5 to compile example of SDK v12.2. And I'm trying to understand each of Source code to understand how each of it is consists of.

I opened an example "SDK/Examples/peripheral/blinky/pca10028". (I ... (more)

Statistics

  • Total users: 17572
  • Latest user: kelprowess
  • Resolved questions: 8934
  • Unanswered questions: 2419
  • Total questions: 21002

User menu

    or sign up

Recent questions