# 690 questions

Tagged
• x
25
views
1
vote
1

## Unable to control GPIO pins in nRF51422

Hello, i am a beginner, i want to configure an LED to be connected on one of the GPIO pins, please help me with the code.

12
views
no
no

7
views
no
no

## Sniffer not showing up my device.

Hi, I am using radio with ppi to advertize packets as shown in the mainc file attached.mainc.txt Even after allocating the access address of Bluetooth on line 196 as set_address0(0x8E89BED6); and advertizing channel selected as 37 as ... (more)

45
views
1
vote
2

## Fstorage Queue Runs Full when Bluetooth Connected

I'm trying to store some values with fstorage. The store operations seem to be queued successfully, but never executed. I currently have this to test the behavior:

FS_REGISTER_CFG(fs_config_t fs_config) =
{
.callback  = fs_evt_handler, // Function for event callbacks.
.num_pages = 1,      // Number ...
(more)

24
views
no
1

## Using RTT viewer in SDK 12.2 SES

Can you please tell whether i follow the the entire tutorial as in the link or just the first step for SDK 12.2 SES. Even if i use the first step, i need the CMSIS wizard that uses Java ... (more)

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

21
views
no
no

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)

43
views
no
1

## How to enable radio interrupts using SDK?

mainc.txt

we can use INTENSET to enable certain events on the radio as in line 460 in mainc file attached. But how to enable this on the radio as a whole. I basically need a couple of events like ... (more)

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

40
views
1
vote
1

## What is 3UL compare time in RTC???

In example of peripheral RTC,

It compares time of 3UL.

BUT I've never heard about any measurement of UL... How can i transform it to second???

42
views
1
vote
1

## Is there any way that I can use more than 3 timer in nRF 51 ??

Is there any way that I can use more than 4 timer in nRF 51 ?? (four or more...)

I'm using Softdevice 130, so It uses Timer 0,

and I'm using RGB Sensor using PWM Library, and

Red and ... (more)

12k
views
5
6

## Why does my nRF51822 consume > 1 mA in sleep?

No matter what sleep mode I put my nRF51822 in (system on, idle, system-off), it seems that the base current is above 1 mA. Is this how it's supposed to be?

22
views
no
1

## IOS-nRF-toolbox failed to compile (Xcode ) [closed]

Hi,

IOS example code

How to import CorePlot correctly in Xcode? I always get this error message:

~/IOS-nRF-Toolbox-master/nRF Toolbox/HRS/NORHRMViewController.swift:11:8: No such module 'CorePlot'

There was few articles cover this issue, so I have to ... (more)

43
views
no
1

## iOSDFULibrary hang at discoverCharacteristics()

We're encountering a frequent but intermittent hang after handing off OTA DFU to iOSDFULibrary 3.1.0. In the happy case, the characteristics are discovered and DFU process proceeds normally:

[DFU] Discovering characteristics in DFU Service...
[DFU] peripheral.discoverCharacteristics ...
(more)

41
views
no
1

## DTM reports 0% PER even if antenna is removed

Hi

While using 2 nRF51422 dev boards and using the DTM software together with the DTM python example script the python program reports 0% PER even if I cut the antenna on one of the devices.

Shouldn't I get ... (more)

102
views
no
3

## time synchronization across different nodes in a mesh network, single hop as well as multi hop.

I am working on time synchronizations between different nodes in a mesh network. I have earlier worked on the radio and the ppi examples given. I wish to generate time stamps at each send and receive events between two different ... (more)

34
views
1
vote
1

## on_db_disc_evt, ble_db_discovery_evt_t may not be resetted?

I'm using NRF51422, s130, SDK v12.

And I'm working on a project that can connect concurrent peripheral and Central.

In this continuious connect and disconnect sequences, I need to reset all of my characteristic handler and re-set with ... (more)

79
views
no
2

## SDK12.3. Secure Bootloader : UART and ld config [closed]

Hi all

I'm working on a custom board using gcc and eclipse.

My primary problem is I'm fighting with the ld settings for the secure bootloader. I activated the RTT which led to a slightly larger HEX debug ... (more)

37
views
2
1

## Expected PER while using DTM and 2 nRF-dev boards

Hi

I'm preparing for some tests and I'm wondering where I can find information about what the expected percentage error rate should be?

Right now with 2 nrf boards connected I get around 0-1% PER while testing every channel.

92
views
5
1

## Use BLE without GAP/GATT

I'm currently writing my thesis, and my goal is to establish a network protocol like IP. We need to transmit about 200kB of data between 2 or more nodes once every 10-30 minutes.

My current approach is to use ... (more)

83
views
1
vote
2

## Can nRF51422 or nRF51822 can be used as bluetooth device for Raspberry pi?

Can nRF51422 or nRF51822 can be used as bluetooth device for Raspberry pi?

As I can see on the terminal Linux, the hciconfig log says, raspberry pi 3's Bluetooth device is connected to board with UART Connection.

I'm ... (more)

31
views
no
1

## Unable to use Pstorage in my code

To @Hung Bui. Hello sir. I am new to NRF51 microcontrolers and I am trying to use Pstorage in my written code. I have noticed this post of your's:

I am using nrf51422 and and edited ble_app_uart example as ... (more)

56
views
no
2

## MSP430f169 SDK for nRF51422

I have a device the uses MSP430f169 and CC2500 RF controller for communication I need to replace the CC2500 RF controller with nRF51422 device. As I understand an nRF51422 SDK for MSP430 dows not exists. Can I get source of ... (more)

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

37
views
no
1

## How to enter directe test mode？

We use Nrf_studio to connect our board by uart to enter direct test mode. But an error occurs in serial connection.

I want to know， use our own project program is allowed ？ Or must program official dtm project can enter ... (more)

68
views
1
vote
1

## nRF51422 External Antenna Design

Issue: With my external antenna design, I get lower dbm than PCB antenna (nRF51DK) with same distance.

My external antenna design: -70dbm

nRF51DK: -40dbm

In this answer, you mentioned it's possible to use an external antenna for nRF51422.

I ... (more)

50
views
2
1

## In GATT Packet transfer, is there occurs any packet loss and retrial?

In GATT Packet transfer, is there occurs any packet loss and retrial?

I'm trying to connect about -90 Rssi dBm peripheral device with my nRF51-dk.

In this far range, does it may occur with packet loss in this far ... (more)

91
views
1
vote
1

We have done a custom PCB believing that we could use P0.0 as analog input. Now we kind of found out that we cannot, and will change the PCB design. Given that we already have some of them manufactured ... (more)

80
views
1
vote
1

## [nrf51-dk] Can I use both twi instances as well as an SPI instance?

I have a project where I need both TWI instances as well as an SPI instance to be used with sdcard and fatfs libraries. When I try to compile I get the error: SPI1_TWI1_IRQHandler if I have SPI1_ENABLED or SPI0_TWI0_IRQHandler ... (more)

85
views
no
1

## How to change the data type from integer to floating point so i can read floating ponit voltages on copper coap?

I have an iot/coap environment setup and i want to read input voltage connected to p0.01.I can read the input in terms of resolution(0-1023).I can convert this values to voltage(0-3).I want to read ... (more)

#### Statistics

• Total users: 22421
• Latest user: Emily McKean
• Resolved questions: 9682
• Total questions: 23161

## Recent blog posts

• ### Designing your Bluetooth GATT: Custom Services and Characteristics [MIDI controller use case]

Posted 2017-06-28 12:34:22 by Mohammad Afaneh
• ### Nordic Developer Zone celebrates its 4th year of helping developers succeed - Celebrate with us and win a Nordic Thingy: 52’

Posted 2017-06-23 10:12:53 by John Leonard
• ### nRF52 Development with CLion

Posted 2017-06-22 09:50:54 by dansheme
• ### Simple GPIO driver example

Posted 2017-06-22 13:38:36 by Hans Elfberg
• ### What mom didn't tell you about ble_app_att_mtu_throughput on the nRF52840 evaluation board

Posted 2017-06-16 16:12:15 by George

## Recent questions

Posted 2017-06-29 01:35:46 by naren0909