RSS
Sort by » date activity ▼ answers views votes

1,666 questions

Tagged
  • x
67
views
no
votes
1
answer
Last activity 2017-08-17 09:26:55 +0200 by tellg flag of Norway

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
votes
no
answers
Last activity 2017-08-17 03:01:20 +0200 by strengthstrong

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
votes
1
answer
Last activity 2017-08-16 19:41:06 +0200 by John DeWitt flag of United States

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
votes
no
answers
Last activity 2017-08-16 19:04:24 +0200 by dingari

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
votes
no
answers
Last activity 2017-08-16 15:49:46 +0200 by q

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
votes
no
answers
Last activity 2017-08-16 15:47:51 +0200 by Yaniv Nis

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
votes
1
answer
Last activity 2017-08-16 15:36:21 +0200 by q

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
votes
1
answer
Last activity 2017-08-16 14:29:41 +0200 by Rick Chung

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
votes
1
answer
Last activity 2017-08-16 12:15:50 +0200 by endnode

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
votes
no
answers
Last activity 2017-08-16 10:19:57 +0200 by Radiohead

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
votes
no
answers
Last activity 2017-08-16 07:57:36 +0200 by awef

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
votes
1
answer
Last activity 2017-08-16 06:11:39 +0200 by RK flag of Singapore

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
votes
no
answers
Last activity 2017-08-16 02:24:54 +0200 by happykelvin

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
votes
1
answer
Last activity 2017-08-15 17:45:55 +0200 by gkovelman_tap

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
votes
1
answer
Last activity 2017-08-15 17:14:56 +0200 by stepik

BLE5 advData length

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
votes
no
answers
Last activity 2017-08-15 14:52:07 +0200 by Sam

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
votes
no
answers
Last activity 2017-08-15 13:51:29 +0200 by happykelvin

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
votes
no
answers
Last activity 2017-08-15 12:43:56 +0200 by happykelvin

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
answer
Last activity 2017-08-15 12:07:34 +0200 by endnode

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
votes
1
answer
Last activity 2017-08-15 11:21:44 +0200 by endnode

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
votes
no
answers
Last activity 2017-08-15 11:14:34 +0200 by ndarkness

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
votes
no
answers
Last activity 2017-08-15 11:11:15 +0200 by happykelvin

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
answers
Last activity 2017-08-15 11:00:58 +0200 by Eliot Stock flag of United Kingdom

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
votes
no
answers
Last activity 2017-08-15 09:31:28 +0200 by Remo

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?

2) Are the two consecutive TASK_CLR[n] and TASK_CLR[n ... (more)

26
views
no
votes
no
answers
Last activity 2017-08-15 07:59:28 +0200 by xhr0428

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
votes
no
answers
Last activity 2017-08-15 05:22:45 +0200 by Cooper

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
votes
3
answers
Last activity 2017-08-14 23:11:51 +0200 by jfDEVmoto

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
votes
1
answer
Last activity 2017-08-14 17:09:11 +0200 by Jørgen Holmefjord flag of Norway

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
votes
1
answer
Last activity 2017-08-14 14:24:24 +0200 by RK flag of Singapore

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
answer
Last activity 2017-08-14 12:46:07 +0200 by Jørgen Holmefjord flag of Norway

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
#define ADC_RES_10BIT                     1024   
#define ADC_PRE_SCALING_COMPENSATION      6   
ADC_RESULT_IN_MILLI_VOLTS(ADC_VALUE)\
        ((((ADC_VALUE ...
(more)

Statistics

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