RSS
Sort by » date activity ▼ answers views votes

1,451 questions

Tagged
  • x
36
views
no
votes
1
answer
Last activity 2017-06-24 07:49:28 +0200 by Herb W.

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
votes
1
answer
Last activity 2017-06-23 20:05:03 +0200 by endnode

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

dealing with nrf52 and trouble programming with Keil

57
views
no
votes
1
answer
Last activity 2017-06-23 02:12:34 +0200 by rct42 flag of New Zealand

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
answer
Last activity 2017-06-22 16:06:29 +0200 by Jørgen Holmefjord flag of Norway

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
answers
Last activity 2017-06-22 15:30:54 +0200 by Stigui

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
votes
1
answer
Last activity 2017-06-22 13:03:20 +0200 by Kristin flag of Norway

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:

  • Read Response received from descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 00-00

  • "Notifications ...

(more)

26
views
no
votes
no
answers
Last activity 2017-06-22 12:41:10 +0200 by bryanhsieh

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
votes
1
answer
Last activity 2017-06-21 23:41:29 +0200 by endnode

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
votes
1
answer
Last activity 2017-06-21 23:31:32 +0200 by endnode

Add UUID to blinky example

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

I want something like the heart rate sensor where its advertising BLE_Heart_rate_sensor. I'd like to make the blinky advertise BLE_blinky

26
views
-2
votes
1
answer
Last activity 2017-06-21 22:46:41 +0200 by Daniel Wang flag of Korea, Republic of

one wire library for nrf51822 keil

one wire library for nrf51822 keil for connected ds18b20 . tnx

9
views
-2
votes
no
answers
Last activity 2017-06-21 18:28:26 +0200 by morteza1994

one wire library for nrf51822 keil [closed]

one wire library for nrf51822 keil for connected ds18b20 .

36
views
1
vote
1
answer
Last activity 2017-06-21 15:48:19 +0200 by Rajat flag of India

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
votes
no
answers
Last activity 2017-06-21 10:55:46 +0200 by Petter Myhre flag of Norway

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
votes
1
answer
Last activity 2017-06-20 14:03:40 +0200 by stefano.luna

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
votes
1
answer
Last activity 2017-06-19 21:21:02 +0200 by Shreyas Shivalkar

ble hangs when UART initialized

I have reformatted the code I had added earlier.

Following is the sequence of code

uart_debug_init();

gap_params_init();
services_init();
advertising_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
votes
1
answer
Last activity 2017-06-19 15:02:34 +0200 by Kristin flag of Norway

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
votes
2
answers
Last activity 2017-06-19 10:29:29 +0200 by Kristin flag of Norway

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
answer
Last activity 2017-06-16 15:37:05 +0200 by Jørn flag of Norway

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
votes
1
answer
Last activity 2017-06-16 14:30:49 +0200 by Sigurd flag of Norway

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
answer
Last activity 2017-06-16 10:38:48 +0200 by Joakim Jakobsen flag of Norway

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
votes
1
answer
Last activity 2017-06-16 10:21:02 +0200 by kbb64

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
answer
Last activity 2017-06-16 09:12:20 +0200 by Kristin flag of Norway

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
votes
no
answers
Last activity 2017-06-16 07:53:28 +0200 by Fan Jiaming

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
votes
1
answer
Last activity 2017-06-15 20:45:57 +0200 by Mikhail

error, when compile keil project with NUS SDK13 nRF52

image description

ble_nus_c.c attached to project on a left side image description

path to inc file writed in a settings.

What should I do to fix this error?

Thanks.

37
views
no
votes
1
answer
Last activity 2017-06-15 14:22:29 +0200 by Francesca

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
votes
no
answers
Last activity 2017-06-15 10:40:31 +0200 by bryanhsieh

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
votes
1
answer
Last activity 2017-06-15 09:31:59 +0200 by Jørgen Holmefjord flag of Norway

Why is ble_cus.c not a header file

In this tutorial

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

There are two additional files added to the template project

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
votes
1
answer
Last activity 2017-06-15 03:24:05 +0200 by robinvice flag of United States

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
answer
Last activity 2017-06-15 02:26:28 +0200 by Carlos flag of Mexico

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
votes
no
answers
Last activity 2017-06-14 21:22:16 +0200 by MichaelNordicUser

Run command does not execute code up to breakpoint

I press the debug command for my program

image description

Then I press the run the command

image description

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
  • Unanswered questions: 2797
  • Total questions: 23073