RSS
Sort by » date activity ▼ answers views votes

812 questions

Tagged
  • x
48
views
1
vote
1
answer
Last activity 2017-06-23 13:05:24 +0200 by Kristin flag of Norway

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
Last activity 2017-06-23 06:15:55 +0200 by Francis

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

43
views
no
votes
1
answer
Last activity 2017-06-22 14:45:51 +0200 by Frederik

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
Last activity 2017-06-22 13:27:39 +0200 by Jørn flag of Norway

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
Last activity 2017-06-22 09:23:16 +0200 by Taku

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
Last activity 2017-06-22 05:56:37 +0200 by Garen

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
Last activity 2017-06-21 14:13:10 +0200 by Marco Sterbik

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
Last activity 2017-06-21 11:01:27 +0200 by Kristin flag of Norway

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
Last activity 2017-06-21 10:59:01 +0200 by Rick flag of Netherlands

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

26
views
no
votes
1
answer
Last activity 2017-06-21 10:45:03 +0200 by Kristin flag of Norway

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
Last activity 2017-06-20 20:47:03 +0200 by Nick Bentzen

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
Last activity 2017-06-20 20:01:56 +0200 by Nick Bentzen

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
Last activity 2017-06-20 18:47:18 +0200 by AmbystomaLabs

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

66
views
1
vote
1
answer
Last activity 2017-06-19 14:57:28 +0200 by Kristin flag of Norway

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

52
views
no
votes
2
answers
Last activity 2017-06-19 09:59:05 +0200 by Jørgen Holmefjord flag of Norway

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
Last activity 2017-06-16 11:39:23 +0200 by Bjørn Spockeli flag of Norway

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
Last activity 2017-06-15 16:19:10 +0200 by endnode

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
Last activity 2017-06-15 14:13:38 +0200 by Kristin flag of Norway

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

117
views
4
votes
2
answers
Last activity 2017-06-14 17:10:03 +0200 by cp52

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
Last activity 2017-06-14 11:42:48 +0200 by Kristin flag of Norway

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
Last activity 2017-06-13 13:25:31 +0200 by endnode

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
Last activity 2017-06-13 08:32:02 +0200 by Jørgen Holmefjord flag of Norway

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
Last activity 2017-06-13 08:02:53 +0200 by simon

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
Last activity 2017-06-13 07:49:26 +0200 by mokincha

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
Last activity 2017-06-12 22:52:32 +0200 by Dave_couling

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