RSS
Sort by » date activity ▼ answers views votes

24 questions

Tagged
  • x
222
views
3
votes
1
answer
Last activity 2017-06-21 02:36:09 +0200 by Paul

Secure DFU, how secure is it?

Hi,

We are expecting many of our devices to be in close proximity. How can we be certain that when a user initiates a buttonless DFU, that they are uploading to the correct device?

Could an attacker be listening for ... (more)

45
views
no
votes
no
answers
Last activity 2017-05-10 12:00:53 +0200 by abosch

GPIOTE_IRQHandler does not execute

Hi all,

I have some problems with GPIO Interrupts.

I'm using nrf52832, s132 and sdk 12.2

The error is totally random so I don't know why is generated. The case is I have 3 pins that I ... (more)

147
views
1
vote
2
answers
Last activity 2017-05-07 12:42:41 +0200 by Fredrik

Trouble with buttonless DFU - bootloader settings crc fails

Hi guys. I am struggling to get buttonless DFU to work in my owm application. I am using SDK12.2 with gcc on a pca10040 board with S132.

I have successfully followed this tutorial to get the buttonless DFU example ... (more)

39
views
1
vote
1
answer
Last activity 2017-05-04 22:44:24 +0200 by Turbo J

Freeze/Halt the SPI SCK line while still sending data on MOSI?

Bit of an odd question but Im dealing with a rather wonky SPI peripheral and its got me trying to sort some interesting questions due to its strange data protocol. Im using an NRF52 and on SDK12.2 with the ... (more)

247
views
no
votes
no
answers
Last activity 2017-04-26 02:01:55 +0200 by Darren Beckwith flag of Canada

TWI Infinate Loop

I asked the following question, TWI Stuck Bus Recovery, last week and got a great answer which I implemented. I tested my implementation by changing the device addresses to see if my system could detect the problem, report it and ... (more)

79
views
1
vote
1
answer
Last activity 2017-04-21 13:03:15 +0200 by Bjørn Spockeli flag of Norway

TWI Stuck Bus Recovery

What is the best method for attempting to recover from a stuck TWI bus after init?

I am currently initializing the TWI instance with .clear_bus_init=true but this only happens once during the init.

For example in the past we ... (more)

84
views
no
votes
1
answer
Last activity 2017-04-13 15:45:42 +0200 by Ben

[close]file can't connect when adding pwm to ble uart example

Hello everyone, I encounter a question. I follow below link to solve the issue.

https://devzone.nordicsemi.com/question/104118/adding-pwm-to-ble_template/

I've set the TIMER_ENABLE, TIMER0_ENABLE, TIMER1_ENABLE and APP_PWM_ENABLED from 0 to 1. And, I've added nrf_drv_ppi.c ... (more)

50
views
no
votes
no
answers
Last activity 2017-04-06 12:05:39 +0200 by abosch

error when writing more bytes than the "long char" buffer length

Hi all,

I have implemented a service with various "long char" characteristics. The buffer that I use to receive the data wrote to the "long char" characteristics is this:

#define CHAR_LENGTH_MAX 160
#define BUFF_SIZE       CEIL_DIV(CHAR_LENGTH_MAX,18)*24+2 

static ...
(more)

76
views
no
votes
no
answers
Last activity 2017-03-07 08:02:40 +0200 by mokincha

How to force word alignment? [closed]

I'm using SDK 12.2. The FDS operates on word-sized data. How can I ensure that my data structures are word aligned and multiples of the word size? E.g. if I'm trying to write a structure of ... (more)

42
views
no
votes
no
answers
Last activity 2017-03-06 11:09:05 +0200 by gauche70

How used fdataStorage with FreeRtos hts example

Hi, I try to use the example ble_peripheral -> blr_freertos -> ble_app_hrs_freertos and I add to the thread a fds_register() and fds_init(). Problem: In the call back function, fds_evt_hanfler, FDS_EVT_INIT flag is received but not FDS_EVT_WRITE after a writing operation and fs_sys_event_handler ... (more)

227
views
3
votes
1
answer
Last activity 2017-03-02 16:12:44 +0200 by Glenn

Bugs in SES 3.12 and consistently working guideline for SES+SDK+nRF52DK

Having spent numerous hours/days on trying to get the SDK12 examples running on my nRF52DK board with MacOS SES3.12, I in result wrote a basic guideline that in the end makes every example in the SDK work for ... (more)

41
views
no
votes
no
answers
Last activity 2017-02-22 16:54:36 +0200 by tyler

Updating from sdk 8.1 to 12.2: How to compile with terminal

I have a project (using a Ble Nano) that currently is running on Nordic SDK 8.1 but I want to update it to 12.2 . I currently use terminal to compile the project (I got the instructions for how ... (more)

70
views
2
votes
2
answers
Last activity 2017-02-21 15:19:25 +0200 by Mathias Vandel

SDK12.2 DFU OTA application doesn't start

Hi DevZone

I am trying to DFU OTA a PCA10040 using BLE Secure DFU Bootloader from SDK12.2.0.

I can succesfully transfer the image i have made with nrfutil to my DK, but the application doesn't start up ... (more)

162
views
2
votes
1
answer
Last activity 2017-02-17 10:36:55 +0200 by Bjørn Spockeli flag of Norway

Buttonless DFU Timeout

Hi,

What happens if a user initiates DFU but never continues the process of uploading an image, does the device sit in this mode indefinitely long?

How might we implement a timeout back to application if say, no image has ... (more)

94
views
1
vote
1
answer
Last activity 2017-02-14 11:06:17 +0200 by Bjørn Spockeli flag of Norway

start app after dfu uploading nrf52

Hi,

I'm using "bootloader secure" example from sdk 12.2 and I modify it for instead of use button to enter in DFU, use a value written in a memory position.

As in other bootloaders I used, for example ... (more)

53
views
1
vote
1
answer
Last activity 2017-02-09 17:28:37 +0200 by Elm

Upgrading a project from SDK8.1 to SDK 12.2

Hi!

I am in the process of upgrading a quite large project from SDK 8.1 to SDK 12.2. It uses the nRF52 DK, PCA10028. I still use the toolchain I stated with, including a Eclipse Kepler and GNU ... (more)

215
views
4
votes
1
answer
Last activity 2017-02-07 11:19:57 +0200 by Bjørn Spockeli flag of Norway

How to properly switch between UART pins and baud rates with nRF52 (UARTE)

Hey.

I have a GPS chip which uses 57600 baud for its rx pin, and 115200 baud for its TX pin. I need to switch between the two baud rates, and also some times connect to a third RX pin ... (more)

124
views
2
votes
2
answers
Last activity 2017-01-27 10:01:18 +0200 by Jørgen Holmefjord flag of Norway

Having issues adding drivers to a new project

I am trying to add the spi and twi drivers to the ble_app_template project, but I keep running into errors. I am using the SDK 12.2.0. How are we supposed to go about adding all of the files ... (more)

157
views
no
votes
1
answer
Last activity 2016-12-23 13:36:18 +0200 by Hung Bui

GPIO Port read/write SDK v12.2

I noticed that the GPIO port read and port write for SDK v12.2 changed to accommodate chips with more pins but I can't find much information about it. How do I use nrf_gpio_port_out_read() and nrf_gpio_port_out_write()? And how does ... (more)

235
views
4
votes
1
answer
Last activity 2016-12-19 17:58:45 +0200 by emdi

FDS wear-leveling not working

Hi

I've just done a few tests with the FDS system of the SDK12.2. My observation is, that the FDS doesn't properly use all assigned flash pages to reach a maximal lifetime.

I have a configuration with ... (more)

161
views
1
vote
1
answer
Last activity 2016-12-16 11:30:43 +0200 by Bjørn Spockeli flag of Norway

nRF52 SDK12.2 SPI master and AD7793

Howdy. I have some trouble when trying to communicate with AD7793 using SPI.

I used ble_app_uart example and combined it with the SPI master example and the general driver from analog. I set up SPI at 1Mhz, and I disabled ... (more)

370
views
3
votes
1
answer
Last activity 2016-12-15 13:55:03 +0200 by Bjørn Spockeli flag of Norway

SDK12.2 Secure DFU Timeout

I want to add a timeout to the secure DFU bootloader if I enter it from the application. I found this post here https://devzone.nordicsemi.com/questi... but unfortuately I can't use the WDT because my application is ... (more)

786
views
no
votes
2
answers
Last activity 2016-12-14 17:59:47 +0200 by Torbjørn Øvrebekk

Logger Module Config Question SDK12

I want to enable the Logger Module to have the high default severity of Error and then be able to enable lower level severities on an individual module for debugging. Is this possible with the current API?

86
views
no
votes
1
answer
Last activity 2016-12-08 04:13:43 +0200 by Darren Beckwith flag of Canada

SDK 12.2 FreeRTOS Build Errors

I am trying to update my project to SDK 12.2 which was released this week and I am getting a ton of compiler errors with the FreeRTOS source files. For example, I try an compile tasks.c and I ... (more)

Statistics

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