RSS
Sort by » date activity ▼ answers views votes

# 812 questions

Tagged
• x
48
views
1
vote
1
answer

## Is it possible to set hopIncrement for nrf52832

Hi,

I'm wondering if it's possible to set hopIncrement (Core4.2 Vol6 PartB 4.5.8.2) to a specific value (not random), like 5, in current SoftDeivce. Also, if that's possible, can I set it to ... (more)

18
views
no
votes
no
answers

## nrf52 DFU package with SD+BL+APPS fails to reconnect on iOS nrfToolbox after updating SD+BL

We're seeing an issue where a dfu package containing SD+BL+Apps gets stuck on iOS nrfToolbox during DFU process after it updated the first part 1/2, which is BL+SD. The same dfu package works on the ... (more)

30
views
1
vote
no
answers

## 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)

43
views
no
votes
1
answer

## state-machine RTC synchronization with softdevice

Hi,

I’m working on a device that requires to enable the softdevice when connecting with a smartphone via Bluetooth and disable it when acquiring data from an analog source.

In order to do this I have created a simple ... (more)

31
views
no
votes
no
answers

## In the MPU6050 module, when the ACC, GYRO data update, INT pin can not produce interrupt signal

NRF52832 S132 MPU6050 TWI

I want to finish the function:

1. When the ACC, GYRO data update, the INT pin to generate an interrupt, and then in the P026 pin configuration falling edge trigger GPIOTE interrupt,and then read the ACC ...
(more)

98
views
no
votes
2
answers

## Flashing Bootloader + Application via J-link

Hi, I am using SDK 11 , nRF52 DK . IAR 7.5 In current implementation I am flashing a sofdevice s132 and the bootloader by the nrfjprog.exe but if I am flashing the app this way it is not starts ... (more)

12
views
no
votes
no
answers

## On the mpu6050 module, the configuration Data y Ready interrupt is not successful [closed]

NRF52832 S132 MPU6050 TWI
I want to finish the function:
1. When the ACC, GYRO data update, the INT pin to generate an interrupt, and then in the P026 pin configuration falling edge trigger GPIOTE interrupt,and then read the ...
(more)

31
views
no
votes
no
answers

## SDK13 BDS error in bds_uint8_array_decode?

Hello,

I am just using the SDK13 on the nRF52832 together with the experimental BDS example (I modified it to the point where it seems to be working fine so far).

Now when using uint8-array as data-type for a writeable ... (more)

41
views
no
votes
1
answer

## How to enable and use RTC0, RTC1, and RTC2 -- nRF52832

I am currently using nRF52832 with SDK v11.0.0 and S132 v2.0.0. I'd like to enable either RTC2 or RTC0 as a dedicated counter for the keeping track of time (LFCLK). RTC1 is already designated for ... (more)

60
views
no
votes
1
answer

## NRF_ERROR_BUSY from characteristics discovery due to MTU exchange

My problem seems to be related to this unsolved question.

I've making a central application to connect to my peripheral but I'm having a hard time getting the service discovery to work. My central code is based on ... (more)

45
views
no
votes
no
answers

## 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)

26
views
no
votes
1
answer

## Unique Characteristics for each peripheral using Multiperipheral SD

I am developing an application in which my device will have multiple android phones connected to it. Currently I have it working with one peripheral and after having upgraded to SDK13, I am looking at adding more peripherals.

My device ... (more)

25
views
no
votes
no
answers

## SPI MOSI default high? NRF SDK 12.2.0

I am attempting to interface a Winbond flash device with the NRF52. The datasheet does not specify the idle state of MOSI when reading from the device. However, I cannot make the flash chip work with the NRF52. In the ... (more)

68
views
no
votes
2
answers

## NRF52 S123 QDEC sample period - SDK 12.2.0

I am developing an application which involves control of a brushed DC motor with a quadrature encoder. According to this post, in SDK 12.2.0 - which I am using - it is possible to set the sample period to 128 ... (more)

61
views
no
votes
1
answer

## [NRF52] Internal Clock without Crystal

Hi,

I had a problem with my NRF52 chips. I'm using one BL652 (Laird) with SoftDevice s132 (4.0.2) and a standalone nRF52832 also with the same SoftDevice. I was trying to Communicate them via UART. The BL652 ... (more)

46
views
no
votes
1
answer

## 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)

66
views
1
vote
1
answer

## Minimum GPIOTE "low accuracy" pulse width

I have a device with a programmable output pulse width for its data ready signal. I need to be able to reliable receive the pulse so I don't miss any interrupts, and I'd like to do that in ... (more)

89
views
no
votes
2
answers

## 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)

52
views
no
votes
2
answers

## nRF52832 SPI tagging for multi-channel ADC?

Hi,

I have successfully connected an MCP3004 to the nRF52832 and can assign the ADC channel 0 output to a characteristic value. Works beautifully.

However, there are three other channels I want to use on the ADC for other sensors ... (more)

45
views
no
votes
1
answer

## L2CAP example on nRF52

Hi!

Is there any example app where I can find how to use L2CAP protocol on nRF52 series? Apple introduced L2CAP in iOS 11 and I want to give it a try but I can't see any examples in SDK.

43
views
1
vote
1
answer

## How can i know Major/Minor version of Soft device

I need to upgrade my soft device from "s132_nrf52_2.0.1_softdevice" to "s132_nrf52_4.0.2_softdevice". As i am migrating from SDk11 to SDK13.

While migration i found out there are few limitation. As shown in below image i:e both ... (more)

31
views
no
votes
1
answer

## encryption is it enabled with the ble_app_uart_s132_pca10040.uvprojx ?

Hello,

I'm working on a software we've made starting from the "ble_app_uart_s132_pca10040.uvprojx" source code. My "main" (procedure fct) is in the for (;;) of the void main(void) and it receives its values from nus_data_handler() and send them ... (more)

29
views
2
votes
1
answer

## 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)

117
views
4
votes
2
answers

## BLE_GATTS_EVT_WRITE not fired when writing to CCCD as BLE_GATT_OP_WRITE_CMD (S132)

Hi, I've been suffering with detection of writing to cccd to enable notifications. The S132 (nRF5_SDK_13.0.0_04a0bfd + s132_nrf52_4.0.2_softdevice) never fires BLE_GATTS_EVT_WRITE event to indicate that the peer wrote to cccd.

From whatever reason the softdevice does ... (more)

136
views
no
votes
2
answers

## BLE indication question

Hi,

I am trying to use the indication to transfer data from NRF52832 device to host. when the indication transfer was comfirmed by host, then we can receive the event @BLE_GATTS_EVT_HVC, but, if the host did not receive the indication ... (more)

56
views
1
vote
2
answers

## maximal notification size in s132

Looking at the ble_nus service, I see that the SoftDevice allows notifications to be more than 20 bytes long:

uint32_t ble_nus_string_send(ble_nus_t * p_nus, uint8_t * p_string, uint16_t length)
{
ble_gatts_hvx_params_t hvx_params;

...

if (length > BLE_NUS_MAX_DATA_LEN)   // 155 bytes
{
return NRF_ERROR_INVALID_PARAM;
}

...

hvx_params.type   = BLE_GATT_HVX_NOTIFICATION;

return ...
(more)

45
views
no
votes
1
answer

## SAADC on SDK12.3

I've recently migrated from SDK11 to SDK12.3 to take advantage of the low power option. However I still am having weird issues with power consumption. I have a feature which enabled ADC measurement. When this feature gets turned ... (more)

110
views
1
vote
1
answer

## nrfjprog --family nRF52 --eraseall ERROR

Hello,

I am trying to start nrf52832, when i try to program S132, i stuck in the first step. i am following the tutorial: https://devzone.nordicsemi.com/tutori...

here is my information and errors:

C:\Users\Administrator>nrfjprog --version ...
(more)

45
views
no
votes
1
answer

## Increase memory for S132 on SDK13?

We recently moved from SDK11 to SDK13. We run out of memory when adding custom services & chars to the S132 v4.0 softdevice. Increasing the app start address in the linker file just causes the app to crash.

How do ... (more)

30
views
no
votes
no
answers

## Using FreeRTOS, RTC and Softdevice?

Just a general resource question. The Softdevice uses RTC0, FreeRTOS (by coded default) uses RTC1. So in order for the SDK ble_conn_params.c to run properly I have to link app_timer_freertos.c to the Makefile.

This leaves RTC2 available for ... (more)

#### Statistics

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

or sign up

## 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
• ### How to use micro-ecc without loading micro_ecc_lib_nrf52.lib?

Posted 2017-06-25 11:14:42 by Eric
• ### NRF24L01+ Minimum order quantity

Posted 2017-06-25 10:14:55 by tabrown
• ### Can I use MDBT40 with ATMEGA328 ?

Posted 2017-06-25 09:59:42 by sai