# 20,786 questions

36
views
1
vote
1

## Preserving application data with growing bootloader

Application data is stored just before the bootloader. If I do a DFU upgrade with a larger bootloader than the one currently flashed, is this taken care of? That is, is the application data copied to the area just before ... (more)

25
views
no
no

## SEGGER_RTT_printf is not working

hello there, i am using sdk11, i am using uart example. i am using nrf51 dk SEGGER_RTT_WriteString is working. but SEGGER_RTT_printf is not working.main.c

i have seen this link https://devzone.nordicsemi.com/questi...

43
views
3
1

## button power dissipation [closed]

hello everyone:

i use interrupt to handle button.and when i init it,the power is increase about 200uA. i think the interrupt will not increase the power

void gpiote_event_handler(uint32_t event_pins_low_to_high, uint32_t event_pins_high_to_low)
{
//  SEGGER_RTT_printf(0,"GPIO interrupt ---\r\n ...
(more)

22
views
no
no

## nRF52 idle current in timeslot

Hi,

I have an application running on a nRF52832, roughly based on the OpenMesh (https://github.com/NordicSemiconducto...) code with respect to the timeslot API usage. In one test I disabled the RADIO and HF crystal and looked at the ... (more)

25
views
no
1

## want nrf51822 software setup for keil mdk5

i am using keil mdk5 and i want to use nrf51822.please tell me which software i need for this and which sdk i have to download for this.i am currently troubling with doing this.also tell what is ... (more)

43
views
2
2

## How to place constants at know address?

Hello,

when I was working on MSP430 I used to place the firmware version constant at a known address in flash so that it can be verified which firmware version is flashed without running the application, just by reading the ... (more)

40
views
no
1

## Did nrf52840 or nrf52832 support new feature in BLUETOOTH5,like (1)LE Extend ADV?(2)LE Periodic Advertising Create sync? (3)LE Coded PHY support 1M/2M ,coded?(4)Aod??

hi, I want to use BLUETOOTH for Position Service, Did nrf52840 or nrf52832 support new feature in BLUETOOTH5? like (1)LE Extend ADV?(2)LE Periodic Advertising Create sync? (3)LE Coded PHY support 1M/2M ,coded?(4)Aod??

Could ... (more)

20
views
no
1

## Can I program customized nrf51822 based board without dk?

Hello, I am developing customized board based on nrf51822. So can I program this board without using development kit? If yes than how?

Thanks, Shailav

22
views
no
1

## UART not working in nRF52832 as an observer role only.

I am using a nRF52832 which act as an observer role only and what is observe it send observed data to another device over UART.

When i turn off scanning and just run UART it works properly but when scanning ... (more)

23
views
no
1

## Return error on app_uart_put() when app_fifo_get() fails

Is there any reason why no error is returned when app_fifo_get() fails in app_uart_put() (SDK 12.0.0). Couldn't the lines below:

             if (app_fifo_get(&m_tx_fifo, tx_buffer) == NRF_SUCCESS)
{
err_code = nrf_drv_uart_tx(&app_uart_inst, tx_buffer, 1);
}
}
}
return err_code;


be replaced with

             if ((err_code ...
(more)

19
views
no
1

In another question a nordic employee replied to me in a comment with an image but I couldn't find the related function myself.

So how do you do that?

54
views
no
1

## How to debug with stdlib code around? Was: Code fails in snprintf, how to debug?

I am using an nrf51822 DK with a (so far) very simple code along:

main()
{
//... init I/O
run();
}

Inside run:

run()
{
uint32_t retval = NRF_SUCCESS;

// nrf_gpio_* calls to set up some GPIOs...
// Set up UART...

// VALUE_SIZE >2
snprintf(value, VALUE_SIZE ...
(more)

66
views
2
1

## analog output?

Hi,

I was wondering if the NRF52832 has any digital to analog converter (DAC). I can't find any references for it.

Thanks.

47
views
3
1

Hello.

We are building our project based on nRF52 chip and BLE beacon firmware. Do you know if we need to buy some MAC address range from "provider" or we can code some randomize address in this case? I´m ... (more)

25
views
no
no

## Query related to third party products

Hello, I am referring to this link https://www.nordicsemi.com/kor/node_1...

and I am referring to Xuntong PTR5518 11 15x15x2mm PCB China product on the link. Now I want to buy the same product from
https://www.aliexpress ...
(more)

51
views
no
1

## Softdevice halts at location 0x000008C4

Hi There,

We have an issue where our project crashes, but the app_error_fault_handler() callback is not being called to help identify the cause of the issue. We are using the following version of the Softdevice: s132_nrf52_3.0.0_softdevice.hex

Without ... (more)

24
views
no
no

## How to measure NR52840 CPU clock

Hi,

Can we route the CPU clock to any gpio pin to measure.?

38
views
1
vote
1

## BLE _becam can not probably upload application.hex while softdevice is uploaded

Hi I know i have just asked this question 2 days ago. and it works 2 days ago.

Thanks to Terje Schjelderup, he solved my last similar question, and kindly reply my problem. and it was solve

BUT my because ... (more)

23
views
2
1

## nrf52832 not being recognized by keil, Segger, nrfGo

Whenever I try to flash the device in keil, I get a no Jlink device found. I get a similar message when trying to connect to the device via Segger. nrfGo Studio just does not show the device.

The development ... (more)

42
views
no
no

## Can't access variable in IRQ Handler

Hi,

I'm getting familiar with my nRF52 DK (PCA 10040).

I stumbled on something when I was doing an application that toggles LED1 on every TIMER0 event (200ms). Here is my code

#include "stdint.h"
#include "nrf52.h"

//volatile ...
(more)

17
views
no
no

## Specifying connection parameter interval range in nRF Connect

Hi There -

I'm trying to test connection interval negotiation with a central by putting nRF Connect Desktop (Mac) in peripheral mode and requesting a connection parameter update. The issue is I'm trying to specify a range (min and ... (more)

65
views
2
2

## wierd float64_t vs. float32_t

Hi, I have wierd experience about using float32_t. This is my test:

When i use operations on float64_t i got:

0.0001s   MAIN:INFO:init_finished
0.0001s   MAIN:INFO:loop
0.5077s   MAIN:INFO:loop //timer interrupt
0.4978s   MAIN ...
(more)

52
views
no
2

## programming nRF52832 via SWD

I am trying to program an nRF52832 on an nRF52DK via the Debug in port (P18).

I am driving it with an STM32L073.

Should I put the nRF52832 into reset via the Debug in port before attempting to reset the ... (more)

54
views
no
2

## Problem with double-reset after flashing

Hello,

I am trying to get to the bottom of a double-reset-problem which I am facing, whenever I flash my software-program to the nRF52832 (1 for the flashing and 1 after a short startup).

Currently I am using a Windows ... (more)

40
views
no
1

## Using secure dfu without LOG (in release)

Hello,

I'm facing some problems when trying to migrate from secure dfu debug to release mode.

I set the nrf_log to use uart instead of rtt in both debug and release versions, when using debug, all process went ok ... (more)

96
views
2
1

## HMAC for 3KB flash data (3000bytes)

i have 3000 bytes of data placed in flash from 0x20000. i want to calculate hmac for the same data.First, can we calculate hmac for such huge data?If yes, then how can i calculate by using CRYS_HMAC() function?

36
views
no
1

## Calculating locations using RSSI values PCA10040

Hi,

Do you have any ready made example or can you give me guidance about the program in which the location is calucated based on RSSI values of the beacons.

Basically, I have 4 beacon kit and one NRF32.

What ... (more)

45
views
no
1

## Choosing sofdevice for nrf52

Hello,

I have a project that I want to transfer it from nrf51 to nrf52 (the changes are from nrf51822 to nrf52832). I followed the migration guide. And now it debugs so I can check the error statuse. The thing ... (more)

23
views
2
1

## BLE_HCI_CONN_TERMINATED_DUE_TO_MIC_FAILURE after re-connection

Hi,

I ported some SDK code into my device (SDK 10 adapted for S110v7x) where I can successfully Bond my device and use the Services I need (ANCS on my case). I have simplified the example to not use the ... (more)

25
views
1
vote
1

## static passkey s132

Hi,

I've allready read a lot about using a static passkey on the DevZone and I have tried tons of things, but I just can't get it to work.

What I want is to connect to my BLE ... (more)

#### Statistics

• Total users: 17051
• Latest user: Jaxon Clement
• Resolved questions: 8868
• Total questions: 20786

## Recent blog posts

• ### Getting started with Nordic's Secure DFU bootloader, a step by step guide

Posted 2017-03-20 17:13:52 by Hung Bui
• ### From Nordic UART Service to MicroPython using PolyMCU and Gattlib

Posted 2017-02-27 16:40:00 by Olivier
• ### Throughput and long range demo

Posted 2017-02-28 16:48:25 by Ole Bauck
• ### nRF52840 long range demo

Posted 2017-02-14 12:46:03 by Ole Bauck
• ### Setup and Running the OpenMesh DFU on the nRF52 DK v2.0

Posted 2017-02-06 22:33:25 by martindavidb

## Recent questions

• ### what kinds of flag Do I set, when I use sdk13 in keil-c debug mode

Posted 2017-03-24 10:41:29 by Vincent
• ### The peak current of nRF52832

Posted 2017-03-24 10:16:17 by Stanley
• ### multiple definition of `SPI1_TWI1_IRQHandler'

Posted 2017-03-24 10:03:43 by ashare
• ### Questions about BLE multirole LESC

Posted 2017-03-24 09:50:09 by Fabien Comte