33 questions

Tagged
• x
55
views
2
1

[SDK] ANCS+BONDING > .allow_repairing (SDK12.2 to SDK14.2)

Hi team support,

Got a problem with project ANCS and more precisely with the bonding and the Flag "allow_repairing" which was false and set by myself to true. But on SDK14.2, regarding to this change, the expected behavior is ... (more)

141
views
2
2

[SDK] Switching our project from SDK12.2 to SDK14.0

Hello Nordic team,

I just post a message here to take the temperature, and your respective engineering opinions about that…

It's been a few months that I work on the development of our IOT and we have therefore chosen ... (more)

70
views
1
vote
1

Multiple SAADC channels with Multiple BLE Characteristics

I have 2 Channels with SAADC taking samples. They are configured to respond to BLE characteristics that have read and notify properties, each channel has its own characteristic it responds to.

For BLE characteristic notifications I setup a double buffer ... (more)

80
views
no
2

FDS - How can I write binary data to flash while receiving via BLE

Hi community,

for our application (nrf52832 / SDK 12.2) we need to store data received via BLE. The received data is a 25 kB binary blob which by design will be chopped in 20 B chunks to be sent and ... (more)

110
views
no
2

Flash FDS initialization failure

When the nRF52 micro-controller is programmed through batch file i.e. nrfjprog utility, the flash fds fails to initialize. Every time, flash fds initialization fails, I have code for soft_Reset.

Initialization fails 3 times and then Flash FDS initializes with ... (more)

92
views
no
1

nRF51822QFAB Flash and RAM settings. [closed]

Hello, I am using SDK 12.2.0 with s130_nrf51_2.0.1 softdevice and running ble_app_hrs example.

My FLASH and RAM settings are:

FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x5000 RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800

On compiling, I get following ... (more)

224
views
no
1

Hi all,

There are lots of posts on the devzone about adding DFU service to a custom application and they have been very helpful in getting to this point.

At this point, I have an application that works very well ... (more)

60
views
no
1

sdk12.2 dfu bondsharing

Hello,

I have implemented experimental DFU buttonless example with my application and able to do the firmware OTA via secure bootloader example using private and public keys. But once it enters into the bootloader mode from application via buttonless DFU ... (more)

89
views
no
1

Invalid Object on nRF51822 during DFU Secure Bootloader

Hello,

I am trying to implement DFU secure bootloader to do firmware update over the air for nrf51822.

1) I have followed the steps as per the blog https://devzone.nordicsemi.com/blogs/..., created private, public keys and ZIP file ... (more)

93
views
no
1

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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

234
views
1
vote
1

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)

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

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

Statistics

• Total users: 25622
• Latest user: Brenda Banuelos
• Resolved questions: 11225
• Total questions: 27707

Recent blog posts

• The world's smallest breakout board compatible BTLE module: Automate your curtains for less than \$90 with BluChip!

Posted 2017-12-07 09:10:36 by Jeevan Anga
• Join Jumper's free beta for a Virtual nRF52832 device to streamline your R&D process

Posted 2017-11-27 12:53:04 by Yaniv Nis

Posted 2017-11-27 11:08:04 by Mugelan
• Job Offer: nRF / Embedded Developer in Stuttgart, Germany

Posted 2017-11-20 11:46:20 by Marius Heil
• Estudando Projetos do SDK 10 para nRF5x com Eclipse Oxygen (Portuguese)

Posted 2017-11-12 00:08:55 by Carlos Delfino

Recent questions

• Do I need to define an Analog input as such in NRF52?

Posted 2017-12-11 15:43:09 by ndarkness
• FDS & fstorage extra information

Posted 2017-12-11 14:34:42 by Flinn92

Posted 2017-12-11 13:58:20 by ToasTer86
• How can I change radio frequency?

Posted 2017-12-11 13:56:17 by RoomBee
• having problem in services

Posted 2017-12-11 13:19:44 by karthikeyan