RSS
Sort by » date activity comments

233 blog posts

0
comments
by Radosław Koppel

FreeRTOS threads preview with J-Link, GDB/Eclipse

Short note how to make FreeRTOS program debugging with eclipse little simpler.

If you are looking the information how to configure the whole environment see this post: https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/

What we get out of the box

Most low power applications stays most of the timer in idle. Ideally it would be tickless-idle. The problem begins if our program behaves strangely and we would like to stop it and check what is going on.

Lets get blinky_freertos example. Run it and halt just in random moment. Until you are very lucky you would stop somewhere in...

4
comments
by John Leonard

Taking a deeper dive into Bluetooth 5

image description

The first in a series of blogs that will help educate on what is most important about Bluetooth 5 and take you deeper into the details of how it works and how you can benefit most from using it.

Taking Bluetooth further, faster

Bluetooth 5 has been with us for a few months now and is proving to be as exciting in the world of Bluetooth developers we talk to as it was to us when the specification was proposed. With its core additions of considerably longer range (x4), doubled throughput and improved broadcasting bandwidth, it is no exaggeration to...

0
comments
by Håvard

Logging enabled by default in SDK Bluetooth examples

Several users have pointed out a sudden flash size increase in some of our Bluetooth examples. We decided to write a quick post here to describe the reason for this and explain how to decrease the size of the examples.

The reason for the size increase is that we added our logging module to the examples in question. Simply disable the module to decrease the size again. Logging can be turned on or off in sdk_config.h. This header file is included in all BLE examples. Remember that you can edit sdk_config using the configuration wizard.

Some examples use logging...

0
comments
by Daniel Veilleux

Monitor Mode Debugging with J-Link and GDB/Eclipse

The biggest pain point when debugging an application on the nRF51 series is the inability to set breakpoints while the SoftDevice is active without triggering an assert. Although a workaround exists that allows the debugging process to limp along for a short amount of time after the SoftDevice complains, using breakpoints with the nRF51 is inevitably a disruptive process.

Thankfully, the nRF52 series includes support for a neat feature called Monitor Mode Debugging. When this feature is enabled, the processor will trigger a specific interrupt handler (DebugMon_Handler) instead of halting when a breakpoint is reached. This DebugMon_Handler then spins and...

2
comments
by Hung Bui

Getting started with Nordic's Secure DFU bootloader, a step by step guide

Content of this blog based on the documentation of BLE Secure DFU example and Bootloader module library in our SDK. Here we provide you with step by step introduction to make it easier to follow and test Secure DFU.

The Secure DFU is the new DFU bootloader provided from nRF 5 SDK v12. The old bootloader in SDKv11 and earlier is called Legacy DFU. Secure DFU is not backward compatible with Legacy DFU.


What you would need to prepare before we start:

  1. Up to date nRF5 SDK (minimum SDK v12)

  2. Python with pip installed. See here if you don't...

9
comments
by Ole Bauck

Throughput and long range demo

The new Bluetooth 5 specification promises twice the speed and 4 times the range. Doubling the speed is achieved by increasing the on-air datarate to 2Mbps, while quadrupling the range is achieved by lowering the bitrate to increase the sensitivity of the receiver. We at Nordic have made a demo showing these features with our newest SoftDevice(s) and specifically our newest chip, the nRF52840. It was showcased at CES 2017 in January.

Here is a more in depth description of the demo.

The demo is based on the ATT_MTU throughput example in SDK 13.0.0-1.alpha, which allows...

1
comment
by Olivier

From Nordic UART Service to MicroPython using PolyMCU and Gattlib

PolyMCU is an Open Source Framework which has been designed to be as flexible as possible: host OS independent (support Linux, Windows, MacOS), support any toolchain (GCC, LLVM), any RTOS (ARM RTX, FreeRTOS), any micro-controller vendor SDK (Nordic Semiconductor, NXP, Freescale, ST). The framework is based on Cmake.

One of the major benefit of the framework is your firmware development is unified across the different development environment and MCU Vendor SDKs. image description

PolyMCU is not another framework that requires to rewrite completely your program to take advantage of its advantages. PolyMCU actually take advantage of the MCU Vendor SDK. If you...

3
comments
by Ole Bauck

nRF52840 long range demo

In December we published a video showing a long range test with the newly released nRF52840 chip. The video showed that the nRF52840 had excellent range, and is fully compatible with the new Long Range feature of the just released Bluetooth 5 specification. This blogpost will go into more details about how this test was done. Below is the video for those that have not seen it yet.

The setup consisted of two nRF52840 Preview Development kits, one transmitter (TX) and one receiver (RX). Both kits were connected to a GPS module using serial communication (UART). The DK on the...

0
comments
by martindavidb

Setup and Running the OpenMesh DFU on the nRF52 DK v2.0

Program the boards

  1. Connect all the boards to the PC

  2. cd to <install_directory>nRF51_ble_broadcast_mesh_0.8.7\nRF51\bootloader

  3. Open a command window in that directory

  4. Run .\pc-util\for_loop_batch_nRF52 this will program all the boards connected to the PC.

  5. Take 4 boards off and connect to a USB hub connected to a Charger Determine the COM port of the remaining board by going to Device Manager>Ports (COM & LPT)

image description

Use DFU over the air to program the boards.

  1. CD to <install_directory>nRF51_ble_broadcast_mesh_0.8.7\nRF51\bootloader

  2. Open a command window in this directory.

  3. Run <install directory for nrfutil>\pc-nrfutil\nrfutil dfu...

4
comments
by Pär H

New NFC feature on nRF52 Series: Read/write capable Type 4 Tag NFC library in nRF5 SDK.

The nRF52832 and nRF52840 devices have a built-in NFC radio which can be used for exposing data as a dynamic NFC tag (a tag with configurable data). This can be used as a standard tag type for storing a web link or a text, to launch apps on smartphones and tablets as well as for simple and secure BLE pairing (read more here). All these features are provided by the Type 2 Tag library in the nRF5 SDK. Starting from version 12.2 of the nRF5 SDK, we expanded the NFC software to support even more features. The new Type...

5
comments
by Mason Lee

WIZnet's BLE to TCP Gateway

Introduce

WIZnet would like to introduce a BLE to TCP solution which enables bluetooth devices to access cloud services such as Google, IBM, and Amazon without a smartphone. WIZnet created a low power IoT Gateway using W5500, WizFi310, and nRF52832. image description

With this gateway, the various data of BLE node can be received as BLE and converted into a desired internet protocol such as TCP, UDP, and MQTT; and then, transmit data to various cloud servers. Data transmitted from the node can be checked by a smartphone or PC. Conversely, if one inputs data on a smartphone or PC, it can...

1
comment
by Daniel Veilleux

Simple Application-level Authentication

Introduction

There is a use case that I've seen several times recently that I find interesting due to the fact that its security requirements aren't directly addressed by the Bluetooth Low Energy (BLE) standard. It goes something like this:

I have a BLE device that multiple users can interact with. Although most of the BLE characteristics should be open, one or more 'admin' characteristics should only be modifiable if the user has permissions to change them.

I will present a simple solution using the nRF52832 with the S132 SoftDevice.

Overview

The 128-bit AES ECB peripheral provides a secure...

18
comments
by Carles

nRF5x support within the Zephyr Project RTOS

image description

The Zephyr Project RTOS

The Zephyr Project RTOS is a recent effort by the Linux Foundation to provide the embedded world with a free, secure and fully-featured Real Time Operating System. It is designed from the ground up to be a modern, scalable, secure and responsive RTOS with a clear focus on IoT protocols and foundations. This open source RTOS is Apache 2.0 licensed and has a fully open development model

Recently Nordic contributed ports to all of our Cortex-M based ICs (nRF51, nRF52832 and nRF52840) as well as a fully featured, open source BLE Controller (Link Layer + HCI...

7
comments
by Pär H

New power optimization tool called Otii that runs on the Power Profiler Kit.

It´s exciting to see that our friends at Sony Mobile Research and Incubation have released a desktop application called Otii, which supports our Power Profiler Kit. The beta version of the Otii application is cross platform and runs on Windows, Linux, and macOS. It is straight forward to install and use with the Power Profiler Kit connected through a regular USB cable.

With Otii you get a nice tool for finding out what parts of your software that is the cause for certain power consumption related behaviors. Besides all the perks of customizing your PPK measurements as in nRF6707-SW...

0
comments
by Jason

SwiftDuino

Uses Swift Language to run your Arduino project in your App via bluetooth.

https://www.facebook.com/ucxpresso.nrf/posts/1193211740761762

0
comments
by Ken L

Fast Production Screening based upon Bluetooth DTM

The challenge

As a product is getting into the production phase, the need of a fast and standalone screening facility on the production line arises. Here I'm introducing a production screening setup based on Bluetooth Direct Test Mode (DTM).

What a Production Screening is ... and is not ...

A production screening is a rapid screening process sorting out those units which are not functioning because of manufacturing issues, such as cold soldering, usage of incorrect materials, usage of bad materials, etc.

A production screening is NOT a functional test which correctness of the application functionality is verified. Functional tests must...

4
comments
by zelin

I am developing an open source sensor beacon board

I am developing an open source sensor beacon board named: YS-Beacon

which contains:

  • nRF52832
  • DAPLink - LPC11U35
  • 9-Axis Motion Sensor
  • Ambient Light Sensor、Proximity Sensor and 3D-Gesture Sensor with Built-in IR LED
  • Digital Pressure Sensor
  • Stereo Microphone
  • 256Mb SPI Flash
  • Battery Charging management

image description

image description

image description

What do you think about it?

3
comments
by Tony Wu

nRF52 Rocket: Part I – Introduction to Model Rocketry and its UX Problem

Official Launch Video

Welcome to this 2 or 3-part blog about the nRF52 Rocket, a BLE-enabled model rocket, which you’ve just seen soaring through the air in the video above. In the first part of blog, I will briefly introduce what model rocketry is and what are some of the motivations behind my work on a BLE-enabled model rocket during my fun and rewarding internship at Nordic Semiconductor.

Model rocketry is a popular and exhilarating hobby that has inspired many young (or the young-at-heart) makers, hackers, engineers and scientists through the fun, educational, and most importantly safe process of...

13
comments
by Hung Bui

What to keep in mind when developing your BLE Android app

BLE is native supported on Android from v4.3. It has been continuously improved as Android evolving. It's getting more and more complex with additional features. It's important that a Bluetooth app should work smoothly on all Android versions, from 4.3 to the latest one. One may find it's tricky to keep track of all the issues from earlier Android versions and the changes in BLE APIs of different API levels.

To help you with this, our app developers have provided a note, discussing about most important changes and added features on newer Android version 5...

9
comments
by David Edwin

Get started on PC Software for Mesh and Mesh DFU

nRF-connect-Mesh PC tool allows the user to demonstrate the nRF OpenMesh and the Mesh Device Firmware Update (DFU). The Mesh DFU will be used for nRF OpenMesh and the Bluetooth Mesh when it is made available. The nRF OpenMesh used is v0.8.7. The tool will be updated to support the Bluetooth Mesh when it is available.

image description

DFU quick start guide in the nRF OpenMesh repo

Tools Required

Hardware

Any one of the below x 2 or more, all of the same type is best during the evaluation

  • nRF51-DK
  • nRF51-Dongle
  • nRF52-DK
  • USB Wall Charger or USB battery pack (optional...
1 2 3 ... 12 »

User menu

    or sign up

Recent questions

Tags