# 1,451 questions

Tagged
• x
36
views
no
1

## how do I change PWM port to 1 on example "low_power_pwm"

Hi, I have Design a new product based on the NRF52840 I am trying to get the lcd up and running so first thing is the pwm for the backlight. I am using pin 1.08 for the pwm. but ... (more)

8
views
no
1

## what should be the build setting for keil for nrf52 EVB?

dealing with nrf52 and trouble programming with Keil

57
views
no
1

## printf() in Keil over Debug / ITM / UART / RTT, nothing works

I've been trying to for two days. Using nrf52DK, SDK12, no SD, Keil5.

All I want is to get printf() to work over ITM/SW/Debug, I'd even accept RTT if I had to. I can't seem ... (more)

36
views
1
vote
1

## I want to use the nRF51-DK to communicate with my iPhone over bluetooth and be able to print results from an ADC channel on my phone so that I can monitor it.

How do I achieve this and is there an example in the SDK similar to this?

30
views
1
vote
no

## s132 softdevice + example code not working

Hi, I’m having some troubles with example code : ble_app_uart_s132_pca10040. The code compile well in Keil and I can prog it in the nfr52 but it doesn’t run. When I check the code step by step in debug session ... (more)

29
views
no
1

## Tutorial Characteristic Master example

Hi, I'm trying to notify the temperature value with Tutorial Characteristic Master example. But log shows me this rows when I try to read the Descriptor Client Characteristic Configuration:

(more)

26
views
no
no

## NFR52832 SPI Long Transfer Problem

To All,

From reading the datasheet I understand that nfr52832 spi can only send/receive up to 255 bytes at once. And to work around this a list method is used. Because I am writing/reading to a NAND flash ... (more)

38
views
no
1

## Difference in compiling from Keil or makefile

Hello everyone,

Currently we're writing a small program for the NRF52 (PCA10040), which has to communicate via SPI to an IMU (MPU-9250). The code is working correctly, because when my colleague compiles it using Keil everything is working as ... (more)

29
views
no
1

Hey, I'm just wondering how to add a UUID to the blinky example peripheral?

26
views
-2
1

## one wire library for nrf51822 keil

one wire library for nrf51822 keil for connected ds18b20 . tnx

9
views
-2
no

## one wire library for nrf51822 keil [closed]

one wire library for nrf51822 keil for connected ds18b20 .

36
views
1
vote
1

## MPU data in dynamic advertising packet

Hi friends...!

I want to put dynamically changing MPU data into the advertising packet. I am putting my accelerometer data into manufacturer specific data field of ble_advdata_t structure. but the problem is that the data is not changing with every ... (more)

45
views
no
no

## button init in Uart central

Hey,

I'm using a nrf52 with SDK11, s132, pca10040. I'm trying to connect the buttons on the DK with the Uart Central. I've been looking through tutorials and forums, but i found nothing. I know it sound ... (more)

57
views
3
1

## Migrate from Eclipse to Keil [closed]

Hello! I work with nRF52. I have a code developed in Eclipse Neon and I have to switch to Keil. I tried to create a new project from the template_project example found in the sdk13 by copying the main.c ... (more)

46
views
no
1

## ble hangs when UART initialized

Following is the sequence of code

uart_debug_init();

gap_params_init();
services_init();
conn_params_init();


Following is UART initialization code

uart_debug_init()
{
const app_uart_comm_params_t comm_params =
{
7, 8,
NULL,
NULL,
APP_UART_FLOW_CONTROL_DISABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud38400
};

APP_UART_FIFO_INIT(&comm_params,
UART_RX_BUF_SIZE,
UART_TX_BUF_SIZE ...
(more)

25
views
no
1

## Fstorage Queue Runs Full when Bluetooth Connected

I have an application that records sensor measurements as soon as a characteristic is set via BLE. I'm using fstorage to save these values. I noticed that the fstorage queue runs full when I stay connected via BLE after ... (more)

89
views
no
2

## Can not find the device

Hi,

I am working on a custom design for NRF52832. The schematic and pcb layout are as follows. However, it seems that I can not get the signal working correctly. Would you please take a look and give me some ... (more)

60
views
1
vote
1

## Propagating events to the application; what does it mean?

I arrived at step 8 in this tutorial

https://github.com/bjornspockeli/cust...

Now I'm supposed to propagate events to the application, for example connection state change events and read and write events.

I now have two questions

1 ...

(more)

35
views
no
1

## How to use RTT in bootloader project

Hi,I want to use RTT in bootloader project. First,i add all files(SEGGER_RTT.c ,SEGGER_RTT_printf.c,RTT_Syscalls_KEIL.c) to my bootloader project(Picture 1). Second,I add nrf_log.c to my bootloader project and define NRF_LOG_USES_RTT(Picture 2 ... (more)

42
views
1
vote
1

## NFR52832 BLE CUSTOM SERVICE

Hi,

I am trying to make an empty custom service by following this tutorial from Nordic https://devzone.nordicsemi.com/tutori.... However I am unable to get the service to show up in nfr-connect on my phone, I was wondering ... (more)

24
views
no
1

## SD132 v13 release attr_tab_size

porting from SDK13a on sd132 4.02 - had all services/char working on 13a

getting no mem error on SD4.02.

Old version sd132 5.0 ble_enable_params.common_enable_params.vs_uuid_count = 1; ble_enable_params.gatts_enable_params.attr_tab_size = 0x800; changed iram 1 to 0x200023E8, 0xDC18 ... (more)

23
views
1
vote
1

## Can I use Jlink OB in nRF51DK to program nRF52 based module?

Is it possible to use nRF51DK's JlinkOB to program nRF52 based module? if not is it possible by changing the firmware of JlinkOB?

30
views
no
no

## External Flash and QSPI Settings

I have tried to study the behavior of the QSPI and the external flash. I noticed that the QSPI_CONFIG_READOC and QSPI_CONFIG_WRITEOC settings in sdk_config.h cannot be set to use a higher data lines.

More specifically, the QSPI_CONFIG_READOC can only ... (more)

57
views
no
1

## error, when compile keil project with NUS SDK13 nRF52

ble_nus_c.c attached to project on a left side

path to inc file writed in a settings.

What should I do to fix this error?

Thanks.

37
views
no
1

## err_code = 0x07 after calling a timer start

Hi, I got an err_code = 0x00000007 after calling this function.

void system_timer_start(void)
{
uint32_t err_code;

err_code = app_timer_start(m_one_ms_timer_id, ONE_MILLISEC_TICKS, NULL);

if(err_code != NRF_SUCCESS)
{

}

APP_ERROR_CHECK(err_code);
}


m_one_ms_timer_id has been correctly initialized through this function

err_code = app_timer_create(&m_one_ms_timer_id,
APP_TIMER_MODE_REPEATED,
one_ms_timeout_handler);
APP_ERROR_CHECK(err_code ...
(more)

15
views
no
no

## Nordic NFR52832 Two Masters with FTDI SPI-USB Bridge [closed]

Hi all,

I am making a device which involves using nfr52832(PCA10040) to communicate with a NAND flash through spi to store data acquired from the ADC. After all the data has been stored, the device is then plugged into ... (more)

41
views
2
1

## Why is ble_cus.c not a header file

In this tutorial

https://github.com/bjornspockeli/cust...

ble_cus.c
ble_cus.h


I understand that ble_cus.h must be included as a header in both ble_cus.c and main.c ... (more)

29
views
2
1

## Make and call a C function

Using Keil MDK Lite v 5.22, writing code in C for nRF52, with SDK 12.

Example code works.

How does one declare a function, define it, and call it?

I've created a new module: myFunction.c and a ... (more)

32
views
1
vote
1

## From Where Is sprintf Being Loaded?

Hello,

I am successfully using the following code:

float f = 23.50
char buffer[10];
sprintf(buffer, "Float = %f\n", f);
SEGGER_RTT_WriteString(0, buffer);


I have two questions:

1) From where is the sprint function being loaded? My project is ... (more)

25
views
no
no

## Run command does not execute code up to breakpoint

I press the debug command for my program

Then I press the run the command

Here is the function of the run command

Continues executing the program until the next active breakpoint is reached.

However, my code is not running ... (more)

#### Statistics

• Total users: 22278
• Latest user: Camilla Samons
• Resolved questions: 9667
• Total questions: 23073

## Recent blog posts

• ### 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
• ### Introducing Nordic’s new software licensing schemes

Posted 2017-06-15 11:21:39 by Reidar Martin Svendsen

## Recent questions

• ### NRF51822 to NRF51822 Over the air update (DFU)

Posted 2017-06-25 16:25:45 by wogisha
• ### Advertising with device_name Vs whitelisting

Posted 2017-06-25 14:39:12 by raju