Questions tagged [nrf51]

The nRF51 Series is a family of highly flexible, multi-protocol, system-on-chip (SoC) devices for ultra-low power wireless applications from Nordic Semiconductor [1].

90 questions
0
votes
0 answers

Write commands in cmd with VB.net

I'm now starting to develop little programs using VB.net. I started with an App Windows Form. I would like to know some information about my microcontroller (such as MAC ADDRESS etc.). To know this information, I have to access its registers using…
0
votes
1 answer

nrf_mesh_init/nrf_mesh_node_config causing MESH ASSERT

I am testing out the Nordic Semi Bluetooth Mesh SDK 0.9.1 Alpha using the light control client/server example. The examples source code has not been modified. I have set up a nRF52 development kit as the client, and a nRF51 development kit as a…
zed
  • 3,180
  • 3
  • 27
  • 38
0
votes
1 answer

Enabling I2C interrupt within timer interrupt on nRF52 Arduino

I am writing a program for an nRF52 based board using the Redbear Arduino Library. Effectively treating my board as a BLE Nano 2. I have a timer that ticks every x milliseconds, for example 50ms. Inside that timer I would like to read data from an…
Steve
  • 61
  • 1
  • 2
  • 5
0
votes
1 answer

How to return BLE peripheral's connection status

I noticed that the method onConnectionStateChange() is not invariably invoked (or just not invoked on time) when a peripheral is non-manually disconnected like for example when the peripheral is powered off. Is there a way to get the connection…
the_prole
  • 8,275
  • 16
  • 78
  • 163
0
votes
1 answer

Does the BLE stack resend a packet if response is not received?

I was wondering If I need to wait for a response from the server that a command was executed before executing another command or if the BLE stack takes care of this under the hood so to speak. For example, I want to write to a characteristic and…
the_prole
  • 8,275
  • 16
  • 78
  • 163
0
votes
1 answer

Call stack window does not display local values

I'm running a debug session. I set a break point inside of function services_init on line 201. I ran the run up to break point command The processor pauses on line 201 as expected. However, the stack window only displays variables local to the…
the_prole
  • 8,275
  • 16
  • 78
  • 163
0
votes
0 answers

How to create a whitelist on the Central device (Bluetooth)

I want to create a whitelist on the Central device. Because there is a lot of peripheral devices around and I just want to connect one peripheral device. First I register the address of the central device to the peripheral device. When I work with a…
Purgoufr
  • 761
  • 14
  • 22
0
votes
1 answer

Control multiple BLE peripherals with one central

I am pretty new to IoT and BLE. What I want to achieve is to write on GATT characteristic of at least 100 peripheral devices simultaneously or in a very short period of time(i.e. less than 100ms). Currently my peripherals are Ble nano (nRF51822)…
Goris
  • 1
  • 1
0
votes
1 answer

NRF51 - iOS BLE advertising interval - Increase speed of connection

I am looking at speeding up the connection time between my iOS application and the peripheral. I have looked up Apples Documentation on the subject: https://developer.apple.com/library/content/qa/qa1931/_index.html Originally (prior to reading the…
0
votes
0 answers

how to remove gravity from real accelaration 3-axis?

I wanted to remove gravity from my 3-axis data, Please help me fixing it. mpu9250_read_accel(&AccValue); AX = ((AccValue.x *9800)/(16384)); AY = ((AccValue.y *9800)/(16384)); AZ = ((AccValue.z…
0
votes
1 answer

Low-power PWM library: PWM doesnt stop if low_power_pwm_stop is called from handler. Is this a bug?

I am using SDK 12.0.0. I am working with low_power_pwm_init() to initialise the pwm and I have passed a handler while initialising. I want to stop the pwm from the handler hence I am calling low_power_pwm_stop() from the handler. I observe that the…
Prasad Rane
  • 691
  • 8
  • 16
0
votes
1 answer

Arduino OpenOCD command works in IDE but not from CMD prompt. What am I missing? (NRF)

Arduino does the following successfully. But when I try it from the command line it fails. Why is that? C:\Users\???\AppData\Local\Arduino15\packages\sandeepmistry\tools\openocd\0.10.0-dev.nrf5/bin/openocd.exe -d2 -f interface/jlink.cfg -c…
Bertus Kruger
  • 1,345
  • 1
  • 19
  • 31
0
votes
1 answer

Nordic SDK printing to serial

I have an Arduino device that runs on the Nordic SDK (it's a Red Bear Lab BLE nano). I want to be able to do a serial print into GTKTerm to be able to debug what is going on in my code. To do this I have the following code: /* * Copyright (c)…
Tyler Hilbert
  • 2,107
  • 7
  • 35
  • 55
0
votes
1 answer

Nordic nRF51 DK nrf_esb_init() doesn't return

I am developing a concurrent BLE and Shockburst application on the nRF51 DK. First I tried to run Shockbust alone. It compiled and it was no problam to load it on the board. But when I run it, it doesn't work. I think I found the mistake, but I…
Robin
  • 21
  • 3
0
votes
1 answer

Undefined symbol while using Keil IDE

I am using Nordic nRF51-DK SDK_11 and the soft device s130. I encountered the following error while adding device manager. I'm using Keil compiler. ._build\nrf51422_xxac_s130.axf: Error: L6218E: Undefined symbol dm_init (referred from main.o).…
user6064424