Sort by » date activity answers ▼ views votes

3,814 questions

44
views
no
no

Fail to handle interruption

Hello,

I've a problem with handling interruption on nrf51dk (SDK12.1.0). I set GPIOTE to handle interruption based on the example code "pin_change_int". I work with the gyroscope of a LSM9DS0 sensor who generate interruption after a specified ... (more)

1k
views
no
no

FreeRTOS with RTT

I am building the ble_app_hrs_freertos example code for a pca10040 dev board located in the SDK 12.2 at: nRF5_SDK_12.1.0_0d23e2a/examples/ble_peripheral/ble_app_hrs_freertos

I have the following 2 RTT macros define:

Makefile - NRF_LOG_USES_RTT=1 sdk_config.h - NRF_LOG_BACKEND_SERIAL_USES_RTT 1 ... (more)

54
views
no
no

Can't get UART Service Client demo to connect

I've spent the better part of a day trying to get the UART demo to work and I'm not having a lot of success. I did get it to connect and transmit data once - I think that happened ... (more)

136
views
no
no

GPIOTE nRF52 Problem SDK11

Hello,

I am working with the GPIO tasks and events feature on my nRF52832 DK. And I noticed some strange behaviour. I want that two Pins will toggle if some timer events occur. I initialize both pins (P0.18 and ... (more)

233
views
no
no

nRF51422 SPI disable/enable with softdevice

I have an issue with waking up SPI communication after sleep.

Befor I go to sleep I'm disabling SPI communication:

NRF_SPI0->ENABLE = 0;
NRF_SPI1->ENABLE = 0;


Handler function triggered by timer (which is responsible for wake-up) enabling SPI:

NRF_SPI0- ...
(more)

32
views
no
no

We can not find any example use timer in s130?

I think that if we use the ble through softdevice, and I cound not use the timer in others.

58
views
no
no

Consumption and clock

Hi would like to evaluate the consumption of my pcb in connected mode using a nRF51. For that I use the nordic excel tool : "APM_nRF51822_S110_v3 0c.xlsx". But I really don't know how to tune the two firsts gap ... (more)

85
views
1
vote
no

NRF51 pwm accuaracy

I'm using SDK 11 on my nrf51 chip. I'm trying to output a 120hz pwm but it doesn't seem to be producing at 120hz. I have a 120hz signal i'm trying to match and it blows ... (more)

143
views
no
no

peer_manager ios pair/bond

I have trouble making iOS to reconnect after a device firmware update: I assume the issue is due to flash being rewritten and so loosing information about the iOS peer. The iPhone try to reconnect and shows the pairing dialog ... (more)

40
views
no
no

How to deal with the flash when add a DFU service in nRF5 SDK V12.2

Hi,

I'm using nRF5_SDK_12.2.0_f012efa and s132_nrf52_3.0.0_softdevice. We want to do the OTA on it. Before I add a DFU service to make it switch to bootloader, I have use fs_init to write some data to ... (more)

88
views
no
no

SPI Slave problem with ANT NRF52832

Hi,

Raspberry (SPI Master) -> NRF52832 (SPI Slave)

The code below execute event_handler of SPI with NRF_DRV_SPIS_XFER_DONE type. But RX buffer is empty. All bytes are 0x00. I have verified the RXD->PTR address e all bytes in memory address are ... (more)

48
views
no
no

nRF52 migration crash at SVC_Handler with HAL_CM4.c

Hi,

We're trying to port and migrate our nRF51 SDK v8 (softdevice s110) codebase to nRF52 SDK v11 (softdevice s132), but we're seeing a crash occur (goes into HardFault handler, shows up as INVSTATE in UFSR register). Debugged ... (more)

112
views
no
no

Advertising current in nrf52832 increase-decrease at higher interval.

Currently I am facing strange issue in my project. Let me first highlight my set up. I am using the PCA10040 kit for development, keep multi-meter in series to measure current. Use"experimental_ble_app_eddystone" reference code of SDK 12.2.0 ... (more)

142
views
no
no

about the central example code (ble_app_hrs_c) Send data

s130, nRF5_SDK_12.1.0_0d23e2a, SoftDevice 8_9_0.

How to send data to Peripheral? Thanks.

306
views
no
no

How to use sd_ble_gatts_value_get() for obtaining data of length more than 1 byte

Basically I used below function for sending 1 byte of data with bluetooth and it is working completely fine.

static void test_service_on_ble_write(ble_os_t *p_service, ble_evt_t *p_ble_evt)
{
uint8_t data_buffer;
ble_gatts_value_t rx_data;
rx_data.len = 1;
rx_data.p_value = &data_buffer;

if(p_ble_evt->evt.gatts_evt ...
(more)

94
views
no
no

Using backtrace functionality in nrf52

I want to add backtrace functioanlity in nrf52. I am using functions given in below link: link text

But I am not getting library files for defining functions mentioned in backtracing function.

If you have any idea how I can ... (more)

125
views
3
no

SPI Prbolem , Clock dosen't work

Why the SPI clk doesn't work, i checked using an oscilloscope :/ I also don't get any SPI interrupt and no data change in the RX buffer although I have wired MISO and MOSI

void vSensor_eInitSensor_Exe()
{
/*Config SPI PINs ...
(more)

50
views
no
no

Updating from sdk 8.1 to 12.2: How to compile with terminal

I have a project (using a Ble Nano) that currently is running on Nordic SDK 8.1 but I want to update it to 12.2 . I currently use terminal to compile the project (I got the instructions for how ... (more)

73
views
no
no

NRF24L01+ can not REcieved NRF51822 ACK in ESB!!!?

i have a setup with one NRF24L01+ as PTX and one NRF51822 as PRX

my problem is that the data sended ok and ack sended to NRF24L01+(i assume that by NRF_ESB_EVENT_TX_SUCCESS) but NRF24L01+ does not recieve it and MAX_RT ... (more)

32
views
no
no

Hi!

We are trying a new module with NRF24l01+. We find a troublesome thing. On this video you can see the RF communication starts and stops with a broad-spectrum signal. This module has CE FCC and IC approval.

https://www ... (more)

354
views
1
vote
no

voice transmission using nrf52

Hi I am working on nrf52 kit. Can I transmit Voice using nrf52 to any other device? Can anyone Please suggest any algorithm.

61
views
no
no

I am using nrf52832 with sdk 13.0.0.-alpha.I only want to boot the application and jump to blinky project address.For that i am using secure dfu example code.I am using IAR embeed workbench Sequence for ... (more)

60
views
no
no

sd_ble_gatts_value_set returns NRF_ERROR_NOT_FOUND

Hello,

I am using the sd_ble_getts_value_set() function two times in a row on two different characteristics. Both characteristics are part of the same service. At the moment of usage, there is an open ble connection. My function call looks like ... (more)

757
views
no
no

How to print float values using SEGGER RTT

Hi, My question is similar to this https://devzone.nordicsemi.com/questi... but I can't get it to work.

I am using SEGGER_RTT_WriteString and sprintf for debugging, but I am not able to print a float value such as ... (more)

275
views
no
no

Firmware update (DFU) on NRF52

Hi,

just a simple question: I need to create an update over the air system with my nrf52 and I was wondering if transferring the new image to the chip requires especial UART communication or something like this? The reason ... (more)

132
views
no
no

Problem running MQTT with TLS on nRF52

Hello,

We are using Nordic SDK 11 MQTT adapted for TCP/IPv4(separate module) . It works fine without TLS. I added the flag "MQTT_TRANSPORT_SECURE" and made adaptations to the tls functions in mqtt_transport.c. I then went step-by-step through the ... (more)

82
views
no
no

ProximityDemo PCA10031

I'm having alot of issues testing the PCA10031 running the MasterEmulator ProxmityDemo Example. It will open the port fine to the dongle, but always fails to Start Discovery. Sometimes it will work after a power cycle, but generally fails ... (more)

115
views
1
vote
no

Windows 10 Code 10 during HoG enumeration - "Driver Error"

I've modified Nordic's "Nordic_Keyboard" sample to work with my custom board, just simple modifications to use custom_board.h rather than the default PC10028 configuration. The code builds and loads onto the device successfully.

However, I have problems pairing ... (more)

47
views
no
no

how to know whether the device is bonded already........?

Hai

i am using mbed to program my nrf5188. now i am using securityManager to implement a bonding between central and peripheral. now i need to know when a device is connected with my device is already bonded or not ... (more)

40
views
no
no

PC can not connect 51822 automatically

Hi all,

I try to develop a gamepad using 51822 by modifying the keyboard example code.The button works well after PC connecting the device the first time ,but when I power on 51822 the second time,PC can not ... (more)

Statistics

• Total users: 25687
• Latest user:
• Resolved questions: 11282
• Unanswered questions: 3823
• Total questions: 27855

Recent blog posts

• nrF52 Tutorial: ETM Instruction Trace with Keil MDK

Posted 2017-12-15 11:15:34 by Bob Boys
• One minute to understand BLE advertising data package

Posted 2017-12-15 07:30:51 by viewtool
• One minute to understand BLE connection data package

Posted 2017-12-15 07:10:49 by viewtool
• One minute to understand BLE MTU data package

Posted 2017-12-15 04:09:47 by viewtool
• Debugging on nrf52840 with GDB from CLI on linux

Posted 2017-12-14 14:02:03 by jfcamel

Recent questions

• Send multiple nus packages once

Posted 2017-12-16 11:11:00 by Jax VierMTech
• I can't get 4 channel PWM output

Posted 2017-12-16 07:38:24 by NRF CODER
• scan response packet in non connectable mode.

Posted 2017-12-16 07:07:09 by Rahul Sahu
• send and receive data over BLE

Posted 2017-12-16 06:15:23 by Rahul
• Unique access address BLE - uart ble example

Posted 2017-12-16 04:59:24 by Ali97