# 24 questions

Tagged
• x
222
views
3
1

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

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

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

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

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

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

## [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.

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
no

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

## 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
• Total questions: 23073

## Recent blog posts

• ### Nordic Developer Zone celebrates its 4th year of helping developers succeed - Celebrate with us and win a Nordic Thingy: 52’

Posted 2017-06-23 10:12:53 by John Leonard
• ### nRF52 Development with CLion

Posted 2017-06-22 09:50:54 by dansheme
• ### Simple GPIO driver example

Posted 2017-06-22 13:38:36 by Hans Elfberg
• ### What mom didn't tell you about ble_app_att_mtu_throughput on the nRF52840 evaluation board

Posted 2017-06-16 16:12:15 by George
• ### Introducing Nordic’s new software licensing schemes

Posted 2017-06-15 11:21:39 by Reidar Martin Svendsen

## Recent questions

• ### NRF51822 to NRF51822 Over the air update (DFU)

Posted 2017-06-25 16:25:45 by wogisha
• ### Advertising with device_name Vs whitelisting

Posted 2017-06-25 14:39:12 by raju