RSS
Sort by » date activity ▼ answers views votes

317 questions

Tagged
  • x
76
views
1
vote
2
answers
Last activity 2017-09-23 12:09:46 +0200 by serzh

nRF52832 NRF_ERROR_BUSY from nrf_drv_twi_tx()

i used aplication twi_sensor form nRF5_SDK_12.3.0_d7731ad and i use s132.i conected mpu9060 every time get error on my terminl NRF_ERROR_BUSY.There is exemle of codemain.c and scren from terminal d324ssa42d3434234.png what i do wrong ... (more)

31
views
no
votes
1
answer
Last activity 2017-09-20 11:08:13 +0200 by Bjørn Spockeli flag of Norway

NRF_BREAKPOINT causes hard fault with ARM-GCC

I'm building a project for the nRF52832 using the NRF5-SDK version 14.0.0. I'm compiling using GCC 6.3.1 (arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437 ... (more)

45
views
no
votes
no
answers
Last activity 2017-09-20 06:56:10 +0200 by honest_trefor

Simple Thingy52 Firmware Change

Hey everyone,

I'm new to the Nordic/Thingy/Embedded world and was hoping I could get some hand holding to achieve a simple change.

I would like to change the Thingy sample project to display as "MyThingy" instead of ... (more)

60
views
4
votes
1
answer
Last activity 2017-09-19 13:53:00 +0200 by SørenHN flag of Denmark

Cannot compile softdevice files

I am trying to set up a project for the nRF51 by hand and by looking at the example code provided by Nordic.

I am using Softdevice 130 on a nRF51422 and the 12.0.1 SDK.

Right now i ... (more)

39
views
no
votes
1
answer
Last activity 2017-09-15 17:43:49 +0200 by Aurabindo

NRF5 SDK 14 GCC linking error

Hi,

For my new project, I copied the linker script and Makefile from examples/ble_peripheral/ble_app_uart/pca10040/s132/armgcc to a folder and changed the SDK dir and project dir accordingly.

When I run make, GCC successfully compiles all the ... (more)

67
views
no
votes
no
answers
Last activity 2017-09-14 13:57:40 +0200 by Dmitry

Using sections in serialization project

Hi,

We use NRF52832-based BLE module running serialization (SDK 14, softdevice 5.0.0) and STM32F407 MCU running application firmware on a custom board. The project is created in Eclipse and compiled using GCC. Also there is micro SD card ... (more)

76
views
1
vote
1
answer
Last activity 2017-09-14 12:09:45 +0200 by Martin Børs-Lind flag of Norway

Unit tests: how to mock nrf_drv_gpiote.h ? (_WIN32 prevents nrf.h to include my platform bitfield header)

Hello,

I'm using Ceedling, Unity + CMock to implement unit tests but I'm running into issues when it comes to mocking nrf_drv_gpiote.h.

I'm trying to test a file, call it foo.c, which includes nrf_drv_gpiote.h, therefore ... (more)

49
views
2
votes
1
answer
Last activity 2017-09-13 13:06:18 +0200 by Petter Myhre flag of Norway

Problem with ble_advertising_restart_without_whitelist

I have a problem using ble_advertising_restart_without_whitelist(). According to the documentation (as I understood) it should start advertising without whitelist even if a whitelist exists (hence it skips BLE_ADV_EVT_WHITELIST_REQUEST). In the next call of ble_advertising_start() advertising should use the whitelist again ... (more)

63
views
no
votes
1
answer
Last activity 2017-09-13 09:17:56 +0200 by Jørgen Holmefjord flag of Norway

ble app uart problems

hi i have a problem with ble app uart.i used nRF5_SDK_12.3.0_d7731ad and Eclipse Mars 2. I had build main.c in hex ble_app_uart\pca10040\s132 . And after that a maked mergehex with s132_nrf52_3.0.0_softdevice.hex.i ... (more)

61
views
no
votes
no
answers
Last activity 2017-09-09 20:06:27 +0200 by Roger flag of South Africa

External battery supply issue to DK

Hi,

I'm supplying a DK with an external battery source plugged into J6 (Li-Po) and the nRF power source switch set to VDD. When I flash the chip with one of the Openthread client examples, the DK operates normally ... (more)

38
views
no
votes
no
answers
Last activity 2017-09-07 23:34:01 +0200 by XploD

Micro-ecc library won't compile

Hi,

I'm trying to get BLE pairing example to work. I downloaded the missing micro-ecc library and I encountered this problem: https://github.com/kmackay/micro-ecc/...

So I've compiled this library with Bash on Ubuntu on Windows and ... (more)

30
views
no
votes
2
answers
Last activity 2017-09-07 09:43:36 +0200 by matthk

TWI SDA check for NACK

Hello, I want to use at the nRF52832 a temperature sensor TMP108 and an EEPROM via TWI bus which are connected to Pin 5 (SDA) and Pin 6 (SCL). I made a lot of time until understanding that at the ... (more)

30
views
no
votes
no
answers
Last activity 2017-09-06 15:55:37 +0200 by drahnr

linking fails with unrecognized emulation mode

Did somebody ever get the following error message:

/usr/lib/gcc/arm-none-eabi/7.1.0/../../../../arm-none-eabi/bin/ld: unrecognised emulation mode: cpu=cortex-m4 Supported emulations: armelf collect2: error: ld returned 1 exit status

The linker options are:

arm-none-eabi-gcc -Xlinker -Map ...
(more)

75
views
no
votes
2
answers
Last activity 2017-09-06 13:05:51 +0200 by tla22

Update packet info in radio_event_handler

I work with gcc on nordic nrf52 SDK13.0.0. I see the post: https://devzone.nordicsemi.com/questi...

But if I try to change the packet in the radio_event_handler in active state, with ble_advdata_set(), I got a HardFault_Handler() interrupt.

Why?

1k
views
5
votes
4
answers
Last activity 2017-09-04 20:09:34 +0200 by flodis

Wireless Printf using BLE UART

We are developing a custom ble service and profile however having printf makes our lives that much easier so we are trying to incorporate it purely for testing purposes.

The idea is to send debug messages to an Android device ... (more)

45
views
1
vote
1
answer
Last activity 2017-09-03 15:12:20 +0200 by sonnyz

GCC compile PWM problem

I'm following the tutorial Development with GCC and Eclipse, but have problem when use GCC to compile project that use PWM library.

I found that when compile the code with GNU "make" command, whenever I call app_pwm_disable(), the PWM ... (more)

87
views
no
votes
no
answers
Last activity 2017-09-02 07:41:19 +0200 by Roger flag of South Africa

S140 RAM allocation running ble_app_uart example

Hi All,

I'm busy exploring the ble_peripheral_uart example and ran into a couple of issues I don't fully understand. Upon flashing the S140 SoftDevice and application program to the nRF52840, the following is observed:
1.) The advertising LED ...
(more)

98
views
2
votes
3
answers
Last activity 2017-09-01 11:11:17 +0200 by Torsten Robitzki

How to get the reference of the SoC library API?

Hello,

We are currently migrating (or trying to...) from IAR Arm Embedded to Eclipse/GCC.

I'm trying to compile our project using gcc and eclipse. I followed this tutorial : https://devzone.nordicsemi.com/tutori...

I managed to build my ... (more)

145
views
1
vote
1
answer
Last activity 2017-08-29 10:54:12 +0200 by Hubert Mayer

bootloader_secure_serial resetting device when starting to write application image

He guys,

I'm currently trying to run the secure serial bootloader sample on our hardware which is based on the nrf52832, but the sample code resets the device when starting to write the application image. See Line 55: 0 ... (more)

37
views
1
vote
1
answer
Last activity 2017-08-25 20:39:50 +0200 by Keenan Wulff

App_timer causes main loop restart when started

I'm trying to implement a simple RTC timer into my project, and it seems like the app_timer module is the best way to do that, especially when using the Softdevice. I added the following code to my project in ... (more)

125
views
1
vote
3
answers
Last activity 2017-08-23 16:10:29 +0200 by VS60

GCC generated HEX not working (ble_app_uart)

Hi.

I am on compiling business now. Last days i tried to do GCC compiling and quite go well. But as always on last part i find an error.

My process:

  1. Wrote code on keil. Compiled on GCC with MSYS ...
(more)

44
views
no
votes
1
answer
Last activity 2017-08-23 15:34:10 +0200 by Kamil Sroka

RTT logging with freeRTOS and nRF5 SDK for Thread

I am trying to test a combination of BLE central role, Thread with CoAP server and FreeRTOS on an nRF52840 using version 0.10.0 of nRF5-SDK-for-Thread.

I don't seem able to get RTT traces from any example based ... (more)

49
views
no
votes
1
answer
Last activity 2017-08-21 17:32:41 +0200 by Petter Myhre flag of Norway

Errorcode 13313 at sd_ble_gatts_hvx()

Hello, I would like to send an int32 value every 500ms and use for this the same procedure as it is shown in the heart-rate-example. The code for sending is:

// Send value if connected and notifying

if ((p_ad->conn_handle != BLE_CONN_HANDLE_INVALID ...
(more)

95
views
1
vote
no
answers
Last activity 2017-08-17 17:03:22 +0200 by Esteban Gutiérrez

Notifying characteristic value with 80 bytes each 20 ms gives me a BLE_HCI_CONNECTION_TIMEOUT in nRF-Connect

Hello,

I have a project in witch I want to send the data received from an Arduino by UART, this data has a size of a little bit less than 80 bytes, this data is received each 20 ms (a ... (more)

57
views
2
votes
2
answers
Last activity 2017-08-16 21:12:49 +0200 by Lukasz Duda flag of Poland

Problems with adding openthread to gcc BLE project

Hi,

I'm trying to add Openthread support to my project, which is based on ATT_MTU_Throughput example. I followed the tutorial in infocenter, but I still have some problems in linking stage:

image description

Thanks from advance for your help.

43
views
no
votes
1
answer
Last activity 2017-08-14 10:13:41 +0200 by endnode

Why do cflags have heap and stack size

I have inherited a project where the Makefile sets __HEAP_SIZE and __STACK_SIZE for both CFLAGS and ASMFLAGS:

CFLAGS += -D__STACK_SIZE=2048
CFLAGS += -D__HEAP_SIZE=0
ASMFLAGS += -D__STACK_SIZE=2048
ASMFLAGS += -D__HEAP_SIZE=0

Looking at samle Makefiles from the SDK I see the same ... (more)

165
views
1
vote
1
answer
Last activity 2017-08-08 11:27:07 +0200 by Hung Bui

SDK13 NRF_ERROR_NO_MEM at sd_ble_gatts_characteristic_add()

Hello, when starting a new project I took the nice Heart-Rate-Example which works fine at my PCA10040. Then I started to add services and characteristics by copying and adapting the HRS - I know that I will have to declare them ... (more)

59
views
no
votes
1
answer
Last activity 2017-08-03 13:59:09 +0200 by anasimtiaz

Buttonless DFU with GCC

Hi,

I seem to be stuck on a rather simple problem here which I am unable to figure out. I am using SDK 12.2 with PCA10040 board.

When I am compiling the experimental buttonless DFU example with gcc, the ... (more)

120
views
1
vote
1
answer
Last activity 2017-07-28 13:50:40 +0200 by emdi

Secure DFU, Should you use fstorage or nrf_dfu_flash

Within a buttonless DFU application should nrf_dfu_flash or fstorage be used to erase and write to flash?

SDK 13.0.0 - Soft device s132_nrf52_4.0.2_softdevice running on a nRF52832.

I want to store device specific information (like Serial Number ... (more)

41
views
1
vote
1
answer
Last activity 2017-07-24 16:03:25 +0200 by endnode

Debug nrf52DK using linux as host?

Hi There, I am Using Linux as host platform I'm able to successfully compile and download the example to the nrf52dk. But I didn't understand how to debug the example on nrf52dk. I searched on forum but i ... (more)

Statistics

  • Total users: 24451
  • Latest user: Crystal Cotter
  • Resolved questions: 10451
  • Unanswered questions: 3309
  • Total questions: 25466

User menu

    or sign up

Recent questions