RSS
Sort by » date activity ▼ answers views votes

405 questions

Tagged
  • x
25
views
no
votes
1
answer
Last activity 2017-11-17 15:25:47 +0200 by Bjørn Kvaale

Timer Prescaler - SDK Config

I am using nrf52832 with softdevice s132 v3.0.0, sdk 12.2.0 and FDS.

I am using sdk_config.h to configure various modules in my project.

Earlier config: Using Timer1, Timer2 with TIMER_DEFAULT_CONFIG_FREQUENCY = 4 Timer1 = controls main state ... (more)

44
views
no
votes
2
answers
Last activity 2017-11-17 09:14:40 +0200 by alexbutel

IOS sustainable BT connection with application in background

Hi,

We face an issue since some days, i hope you will be able to help us.

We try to keep a BT connection between in nrf51822 chip and an IOS application put in background. But after a while the ... (more)

31
views
no
votes
2
answers
Last activity 2017-11-16 18:06:02 +0200 by Ben

nRF52832, STM32 Central w/ Serialization not scanning [closed]

I'm trying to implement a BLE Central device on an STM32 using Serialization to connect with an nRF52-DK board; I've previously gotten a BLE Peripheral working on the same setup (in this case I'm not trying to ... (more)

29
views
no
votes
1
answer
Last activity 2017-11-16 12:53:20 +0200 by Aryan flag of Norway

FreeRTOS thread runs only 12 times and twice when debugging

Hi,

I'm using nrf52 dev board on sdk version 14.0 with GCC compiler. I modified the hrs freertos example to add a simple thread with same priority as of logger thread. The new thread will just print a ... (more)

19
views
no
votes
no
answers
Last activity 2017-11-15 22:13:10 +0200 by rms

Porting Project from SDK12.2 to SDK14.1, SAADC issue

I had the following setup, two app_timers triggering blocking SAADC reads in the callback functions

app_timer 1000ms triggering 1 Blocking SAADC read (For battery service, default Bluetooth SIG battery service)

ret_code_t err_code;
nrf_saadc_value_t  data_buffer = 0;

nrf_saadc_channel_config_t  channel_config1 =
    NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN4);

err_code ...
(more)

91
views
no
votes
no
answers
Last activity 2017-11-13 22:09:35 +0200 by bryanhsieh

SD Write Problem

Hi Everyone,

I am trying to record data from ADC to a SD card every 500ms using nrf52832. I am following the fatfs example. Before I had a problem whereby every approximately 10s I would lose a few samples from ... (more)

87
views
no
votes
no
answers
Last activity 2017-11-08 16:14:47 +0200 by Petter Myhre flag of Norway

Unable to enable the softdevice on custom board.

Hi,

I'm using a nrf52 custom board based out of the telit bluemod s42. I'm trying to port the ble_app_uart example of the SDK14 onto the custom board. The code seems to be getting stuck at the function ... (more)

30
views
no
votes
no
answers
Last activity 2017-11-08 15:42:37 +0200 by Jørgen Holmefjord flag of Norway

52832 saadc Multi-channel acquisition

HI, When I use the SAADC example, I found that the data collected during the simultaneous 8-channel acquisition has abnormal data on both channels。

I've ported the SAADC program to it :nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10040\s132 ... (more)

32
views
no
votes
1
answer
Last activity 2017-11-08 15:11:08 +0200 by samer

running arm-none-eabi-dgb on nRF52 with soft device

Hi,

I'm trying to run the gdb on the nRF52 with softdevice s132 and in the begining it runs ok but after some time when I run (gdb) list I get: "Line number 435 out of range; main.c ... (more)

25
views
no
votes
no
answers
Last activity 2017-11-06 12:16:29 +0200 by ndarkness

Why does my scan with whitelist fail?

HEllo,

I am trying to set up a whitelist advertising and scanning, and while the advertising seems to go fine, I am getting an APP_ERROR:ERROR:Fatal on my central while scanning. Why is this happening? Should I set something ... (more)

19
views
no
votes
no
answers
Last activity 2017-10-31 15:41:59 +0200 by ndarkness

Why does my softdevice reset on aap_event_wait?

Hello,

I have been seen some resets on my softdevice v3(SDK12.2) that I am unable to understand,I am using the FPU as well as pheripherial as SPI, I have set up SystemView and I get the following ... (more)

36
views
no
votes
no
answers
Last activity 2017-10-31 13:09:47 +0200 by ndarkness

Why may my nrf52832 reset saying `Reset due to wake up from System OFF`?

Hello,

I am having a weird reset behaviour with my nrf52832pca10040, SDK12.2 with softdevice v3.

I have connected an acc into the SPI interface through these pins

 #define ADXL362_SCK_PIN   14  //D3
  #define ADXL362_MOSI_PIN  15  //D4
  #define ADXL362_MISO_PIN  16  //D5 ...
(more)

55
views
no
votes
1
answer
Last activity 2017-10-31 09:05:04 +0200 by Jørgen Holmefjord flag of Norway

SPI Example Symbol cannot be resolved

I'm trying to set up SPI example from SDK12.3, but I get error at line 53 of main.c

static const nrf_drv_spi_t spi = NRF_DRV_SPI_INSTANCE(SPI_INSTANCE);

It's saying

Symbol "NRF_SPI0" could not be resolved

Symbol "SPI0_TWI0_IRQn" could not ... (more)

77
views
1
vote
1
answer
Last activity 2017-10-27 11:30:59 +0200 by Jørgen Holmefjord flag of Norway

Problems to manage SPI pins to communicate with the slave.

Hi to everyone!

I'm trying to use the nRF52832 board as master to use an external device (as slave) through SPI. I take the example peripheral/SPI to start to learn how to work with this. In the example ... (more)

59
views
6
votes
1
answer
Last activity 2017-10-27 09:53:24 +0200 by endnode

How can I read RESETREAS register using a softdevice?

Hello,

I would like to know how I can identify the reason for a reset in my device, I have read about the register NRF_POWER->RESETREAS but I don't know how to check it since I am using a ... (more)

45
views
no
votes
no
answers
Last activity 2017-10-25 01:20:13 +0200 by Usama Aftab

OnError is triggering in Nordic Android API during DFU

I am having problems implementing Device Firmware Update in Android. The specs of my development environment is:

  • Samsung Galaxy S7 Edge.
  • Nordic DFU API v1.5.1
  • Nordic SDK 12.0 on Peripheral.

I don't have any problem starting ... (more)

131
views
1
vote
1
answer
Last activity 2017-10-23 23:27:07 +0200 by Sal

read back protection puts tag to high current consumption

Hi, I am seeing an issue where after enabling read back protection (rbp) on NRF52 and using sdk 12.1 the tag goes to state where it drains a lot of current.

command used: nrfjprog -f NRF52 --rbp ALL

I ... (more)

113
views
no
votes
2
answers
Last activity 2017-10-19 15:20:13 +0200 by Hung Bui

Unit testing with Unity and SoftDevice

Hi,

I'm currently in the process of integrating unit testing into our firmware development process. I'm trying to execute on-target tests with the Unity test framework, using the Nordic-modified version provided in this post.

This has been working ... (more)

61
views
no
votes
no
answers
Last activity 2017-10-16 20:58:48 +0200 by Seth Foster

NRF_ERROR_INVALID_PARAMS with sd_ble_gap_data_length_update

I'm using nRF5_SDK_14.0.0_3bcc1f7 and SD132 v5.0.0. In response a DATA_LENGTH_UPDATE_REQUEST event, I'm calling sd_ble_gap_data_length_update as follows:

ble_gap_data_length_params_t response = {
    .max_tx_octets = 73,
    .max_rx_octets = 73,
    .max_tx_time_us = BLE_GAP_DATA_LENGTH_AUTO,
    .max_rx_time_us = BLE_GAP_DATA_LENGTH_AUTO
};
ble_gap_data_length_limitation_t lims;
uint32_t err
    = sd_ble_gap_data_length_update(m_conn_handle, &response, &lims ...
(more)

52
views
no
votes
1
answer
Last activity 2017-10-16 15:00:35 +0100 by Hung Bui

timeslot extension never succeed

Hi,

I have a working scanner and manage to require timeslots with the below timings.

Interval 300ms, scan window 50ms, Timeslot length 10ms.

image description

But when i try to request timeslot extensions as low as 1ms it never works.

nrf_radio_signal_callback_return_param_t * ts_radio_callback ...
(more)

101
views
1
vote
2
answers
Last activity 2017-10-16 11:05:54 +0200 by Jørgen Holmefjord flag of Norway

How can I get rssi before I make a connection?

Hello ,

I can read the rssi value after the connection is established.

case BLE_GAP_EVT_CONNECTED:
            APPL_LOG("Connected to target\r\n");
            err_code = bsp_indication_set(BSP_INDICATE_CONNECTED);
            APP_ERROR_CHECK(err_code);

            m_ble_nus_c.conn_handle = p_ble_evt->evt.gap_evt.conn_handle;

            // start discovery of services. The NUS Client waits for ...
(more)

139
views
no
votes
1
answer
Last activity 2017-10-13 17:42:36 +0200 by sosse

SHT10 temperature and humidity sensor library for nRF52832

Hi,

I'm building a project with nRF52832 dev kit and the SHT10 temperature and humidity sensor, I'm searching for a library/example project of this sensor and the nRF52. So far I didn't find one, are you ... (more)

51
views
no
votes
no
answers
Last activity 2017-10-12 23:51:14 +0200 by Ben

nRF52832 and STM32 Serialization Build: Do I include the Soft-Device Handler?

I'm working on a project that will utilize the nRF52832 as the Host and Controller and an STM32F3 as the application using serialization.

I've included the nRF5 SDK V14 into my project and slowly been modifying includes and ... (more)

88
views
no
votes
1
answer
Last activity 2017-10-12 20:01:45 +0200 by Declan

Set RTC in nRF52832

My application is built using the nRF52832 device. The system must only be "active" between certain times (5am through to 9pm).

I am a newbie and have no idea how to set the RTC of the nRF52832. I could either ... (more)

309
views
no
votes
3
answers
Last activity 2017-10-11 14:09:08 +0200 by vikrant8051

nRF52 DK PCA10040 demo not work from GCC build

Hi, I got nRF52 DK PCA10040 device(s132) and follow the steps from https://devzone.nordicsemi.com/tutori... to use arm-none-eabi-gcc(version 5.4) to build examples like blinky. I can successfully built out hex file and flash to device ... (more)

88
views
no
votes
1
answer
Last activity 2017-10-09 13:04:09 +0200 by Petter Myhre flag of Norway

Function of ScanStart in Mesh SDK

How does scanstart serial command work in the Mesh SDK?

According to the documentation, it appears that the command lists out unprovisioned beacons. I get a success response but nothing seems to happen in my interactive terminal.

I am trying ... (more)

89
views
no
votes
no
answers
Last activity 2017-10-06 18:17:06 +0200 by Anesh

sd_ble_uuid_vs_add () returns err_code = 16 (#define NRF_ERROR_INVALID_ADDR (NRF_ERROR_BASE_NUM + 16) ///< Bad Memory Address)

Hi, I am using nRF52832 with S132 softdevice and SDK version 11. I am getting bad memory address error code.

err_code = sd_ble_uuid_vs_add (&base_uuid, &ble_service->uuid_type);
if (err_code != NRF_SUCCESS){
SEGGER_RTT_printf(0, "err_code: %d \n", err_code);
return err_code;
}

Can anybody help me ... (more)

52
views
no
votes
1
answer
Last activity 2017-10-06 14:54:00 +0200 by JB21

Why does central scan 2x longer when receiving advertisements?

using nRf52832 with S132 in central mode Scan-Interval= 3000 ms Scan-Window= 25 ms

Monitoring the current consumption I see a 25ms wide pulse, as expected. No advertiser is nearby, so no signal is received.

But as soon as an advertiser ... (more)

39
views
1
vote
1
answer
Last activity 2017-10-06 11:41:08 +0200 by Jørgen Holmefjord flag of Norway

Sending via NFC, after NFC Wake Up on SD132

Hello there,

my goal is to wake up via NFC from POWER_OFF Mode (sd_power_system_off). Then right after the nfc wake up sending some information (e.g. UUID) via the NFC module.

There seems to be a bunch of complications.

1 ... (more)

41
views
no
votes
1
answer
Last activity 2017-10-05 22:11:38 +0200 by endnode

mobile/ios application that allows to scan for BLE module nRF52840 ?

Do u have mobile/ios application that allows you to scan for Bluetooth low energy devices with nRF52840 and communicate with them? If not, how we can do it?

Statistics

  • Total users: 25326
  • Latest user: Lisa Cheyne
  • Resolved questions: 10973
  • Unanswered questions: 3681
  • Total questions: 27067