# 1,666 questions

Tagged
• x
67
views
no
1

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

201
views
no
no

## Question about setting ATT MTU size in S132 v4

Hello,

I find that some examples such as ble_app_uart uses a GATT_MAX_MTU_SIZE of 158, and it has initialization in function ble_stack_init().

// Configure the maximum ATT MTU.
memset(&ble_cfg, 0x00, sizeof(ble_cfg));
ble_cfg.conn_cfg.conn_cfg_tag                 = CONN_CFG_TAG;
ble_cfg.conn_cfg.params.gatt_conn_cfg.att_mtu ...
(more)

30
views
no
1

## wakeup from any of 10 buttons

hello,

my custom hardware includes 10 buttons connected to 10 GPIOs of a nRF52832. The nRF52 is placed in low power or eventually system OFF all the time, waiting for a pin state change on any of the 10 buttons ... (more)

17
views
no
no

## nrf52 GPIO sink & source current

Hi, I'm contemplating ways to drive a small RGB LED matrix with the nrf52832 in a really space-tight project. Ideally without any external components. I'ts maybe around 40 RGBs (5x8 grid, 120 individual LEDs to drive).

Charlieplexing would ... (more)

16
views
no
no

## Calling on_connect causes problems in SDK 14

Hi

I'm migrating to SDK14 currently. My program seems to hit an infinite loop (or something of the sort) after I call my_service_on_connect() from my_service_on_ble_evt. Here are the two functions:

void ble_my_service_on_ble_evt(ble_evt_t const *p_ble_evt, void *context) {
ble_my_service_t *p_my_service ...
(more)

16
views
no
no

## Have you used the IAR Simulator with nRF52?

Hi,

I'm trying to evaluate the IAR simulator, and I'm using it w/ nRF52 samples. Besides getting errors due to the errata and system init, I'm not sure what are the use cases for this simulator. If ... (more)

12
views
no
1

## SDK14 ble_evt_t evt_ID [closed]

Hi

I'm migrating to SDK 14 and have my service's on_ble_evt() function registered. However, p_ble_evt->header.evt_id == 65535 (0xFFFF) for every evt, so I think I'm doing something wrong. Every connection cycle I get about five of ... (more)

34
views
no
1

## BLE Mesh SDK along with peripheral mode.

I want to change the light-control example given in mesh SDK such that instead of using buttons to trigger messages, I want to connect client with mobile and control servers through mobile. At beginning, I am trying with one client ... (more)

28
views
no
1

## Role of Central's Tx Power in connection with Peripheral

How does the Tx power impact the scanning and connection with a peripheral?

In detail, say if the peripheral can advertise at a Tx power of 4, 0 or -4 dB, then will it depend on the central's maximum ... (more)

16
views
no
no

## nRF_LOG UART draws ~300uA

Hello All,

I'm trying to get my application based on a nRF52832 to use as less power as possible and I've noticed that when the nRF_LOG UART is enabled it draws around 300 micro amps in SYSTEM ON ... (more)

13
views
no
no

## Possible reasons for BLE suddenly not working?

I have a custom board that is running the NRF52832 from the Redbear MB-N2 Module.

Suddenly the board will not BLE advertise. I loaded the HRM example and that won't advertise either.

Then I loaded the same files on ... (more)

28
views
no
1

## BLE_ERROR_NO_TX_PACKETS

what is meaning of return value BLE_ERROR_NO_TX_PACKETS,when i use sd_ble_gatts_hvx() send data..

23
views
-2
no

## send data more fast [closed]

how to set the ble stack ,let the sd_ble_gatts_hvx() send data return more fast,now from i use sd_ble_gatts_hvx() to get the return (BLE_TX_COMPLETE) needed 300ms.

46
views
2
1

## SDK 14: secure buttonless DFU

I'm trying to integrate buttonless DFU with secure bootloader with bonds with the DFU. Using SDK 14 with SD 132 v5.0.0. Using projects: secure_dfu_ble, ble_app_hrs_freertos(modified with ble_app_buttonless_dfu)

Using the nRF connect for android, I can currently ... (more)

33
views
no
1

Hi,

I'm working with nRF52832 chip following the example "ble_app_beacon". I see the advertising packet is limited to 31 bytes only. However, I'd like to take an advantage of BLE 5 spec and increase the size to 255 ... (more)

22
views
no
no

## Restarting NFC emulation using Nordic library

I am using the Nordic NFC library and an NRF52832 to do ISO1443 communication with my phone. However I was noticing that the NFC lib stops sending back events when stopping and re-starting the emulation.

Below is what I am ... (more)

18
views
-1
no

## what facter will influence the speed of sending data [closed]

when use sd_ble_gatts_hvx() send data must need 300ms what facter will influence the speed of sending data ,please help me ,thank you very much

21
views
-1
no

## reduce send time [closed]

when i use sd_ble_gatts_hvx() send data , 300ms later the BLE_TX_COMPLETE is return ,why need so much time,how to reduce that time.

30
views
1
vote
1

## how to do to change the TX_BUFFER size

how many byte of the s132 ble_stack_TX_BUFFER size ,if i can change the size and how to do to change the TX_BUFFER size

24
views
-1
1

## quickly get BLE_EVT_TX_COPLETE

when i use sd_ble_gatts_hvx() send data to ble stack, after 300ms later ,i get the ble stack event BLE_EVT_TX_COPLETE , how i can reduce the time(300ms), let the data send out more fast，and quickly get BLE_EVT_TX_COPLETE , because we must ... (more)

33
views
2
no

## Can I configure GPIOTE to debug my signals?

Hello,

I am using nrf52832 DK and I would like to use the GPIOs port to debug a couple of signals that I genereate within the MCU.

So far I have configured my GPIOTE module like this (I am using ... (more)

18
views
-1
no

## accelerate send package [closed]

how i can send data 1500byte per second，use the sd_ble_gatts_hvx(). because i send the first package use sd_ble_gatts_hvx() and 300ms later i get the BLE_EVT_TX_COMPLETE, the i send the second package, i want to reduce the time(300ms),let ... (more)

80
views
1
vote
no

## SDK 14 migration: can't advertise. fstorage busy.

Hi there.

I recently migrated from SDK 13 to SDK 14.0.0 and followed the migration guide in detail. I've found that when I try to advertise, ble_advertising_start() will find that fstorage is in use and bail out ... (more)

19
views
no
no

## Errata 156 of nRF52832 Rev. 1

Hi all

I've two questions regarding errata 156:

1) Am I assuming right that, as long as I don't use WFI or WFE, this errata has not effect?

26
views
no
no

## Stop and restart APP_TIMER doesn't work with SDK12

I use an app_timer to periodically update sensor reading in my application. There is a characteristic used to change updating rate by stopping and restarting the app_timer:

app_timer_stop(m_our_char_timer_id);
app_timer_start(m_our_char_timer_id, APP_TIMER_TICKS(1000, APP_TIMER_PRESCALER), NULL); //1000ms


It works fine with ... (more)

32
views
no
no

## nRF5_SDK_14.0.0 NRF_SDH_BLE_GATT_MAX_MTU_SIZE issue

In "ble_app_hrs_freertos" project, I try to change NRF_SDH_BLE_GAP_EVENT_LENGTH to 320 and NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 247.

And when I try to connect to the nrf52832 by iPhone 5s, the nrf52832 crash.

But when I use "ble_app_hrs" project, the NRF_SDH_BLE_GAP_EVENT_LENGTH and NRF_SDH_BLE_GATT_MAX_MTU_SIZE setting ... (more)

301
views
2
3

## Segger Embedded Studio(Crossworks). Write data to UICR.

Hello. I am trying to port bootloader project from SDK to SES. But I do not know how to write data to UICR.

Steps what I've done:

1) My nRF52832_xAA_MemoryMap.xml looks like (I've added UICR section):

<code ... (more)

42
views
no
1

## Fast measurement of pF capacity nRF52832 - high ADC noise

Hi all,

I am using a BLE nano 2, which is based on the nRF52832. I am trying to measure small capacities of a few pF with this method: http://wordpress.codewrite.co.uk/pic/... And the BLE nano 2 ... (more)

32
views
-1
1

## one Thread use sd_ble_gatts_hvx() send many package

how to save a problem,if one Thread use sd_ble_gatts_hvx() send many package ,but i use vTaskDelay(50)( the freertos delay api ) when one package send ,then send another package . but
some packgae lost data .At the same time other ...
(more)

46
views
1
vote
1

## What is the right factor to convert voltate using SAADC?

Hello,

I am getting really confused when using te SAADC to convert the read values into voltages.

I have seen that the example ble_app_proximity() uses the following macro

#define ADC_REF_VOLTAGE_IN_MILLIVOLTS     600
((((ADC_VALUE ...
(more)

#### Statistics

• Total users: 23740
• Latest user: Gretta Fusco
• Resolved questions: 10097
• Total questions: 24462

## Recent blog posts

• ### ble_app_hrs_freertos running in Atollic TrueSTUDIO

Posted 2017-08-14 02:55:30 by jmag999
• ### OLED display support for nRF52832 (SSD1306, Adafruit GFX)

Posted 2017-08-11 08:21:31 by Mahesh Venkitachalam
• ### I tried 5 different debugger IDEs for nRF52 and STM32. Here are my results.

Posted 2017-08-09 10:56:19 by Jonathan
• ### Things you should know about Bluetooth mesh

Posted 2017-08-07 12:37:22 by Eirik Midttun
• ### Support pairing on NUS profile for Central and Peripheral

Posted 2017-08-01 08:42:41 by Eugene Yu

## Recent questions

• ### Disabling S132 Softdevice when running FreeRTOS

Posted 2017-08-17 08:41:35 by x_mike
• ### Where can I get example Mesh Network NRF52840?

Posted 2017-08-17 06:34:23 by MainOFF
• ### Can bootloader in SDK V11 boot into SDK V12/13/14 application

Posted 2017-08-17 06:29:13 by Roland
• ### Disable ACK at Receiver in Enhanced Shockburst

Posted 2017-08-17 06:12:06 by Alan
• ### SPI Communication problem between nRF51 DK and nRF52 DK

Posted 2017-08-17 05:53:11 by JungWon Kim