RSS
Sort by » date activity comments

257 blog posts

2
comments
by Mahesh Venkitachalam

Flashing and Debugging nRF51/52 with a cheap blackmagic probe compatible SWD programmer

image description

When we built our Bluey nRF52 BLE dev board, we were looking for an inexpensive option for our users to upload code to bluey and debug it using ARM GDB. We then came across the blackmagic probe (BMP) project - an Open Source debugging tool for embedded microprocessors. It greatly simplifies the debugging and code uploading process using just ARM GDB - no need to run a GDB server or use an additional complex tool like openocd. Although the BMP hardware is excellent, it's bit beyond the budget of our target audience as an add-on programmer. But luckily, their firmware supports...

7
comments
by Pär H

Introducing nRF5 SDK for Mesh

The day after the Bluetooth SIG announced the 1.0 spec of the Bluetooth mesh we are happy to announce the nRF5 SDK for Mesh for our nRF51 and nRF52 Series SoCs. This first (v0.9.1) release is packed with new features and concepts for Bluetooth.

What is Bluetooth mesh? The mesh capability is a significant update and enables a radical new approach to making Bluetooth applications. With this update to Bluetooth, there are significant changes and many new concepts to learn for developers and product makers. From a holistic point of view, mesh enables Bluetooth to expand its...

2
comments
by Mohammad Afaneh

Bluetooth 5 Advertisements (Extended and Periodic Advertisements)

We’ve all seen the hype on 2x Speed, 4x Range, and 8x Advertising data increase capabilities in Bluetooth 5.

But what does this all mean?? How does it achieve all these improvements? Is it really possible to achieve all these simultaneously?? What about power consumption?

In this blog post (first in a series of posts on Bluetooth 5), I go through each of the new Bluetooth 5 features. Other topics covered include:

  • Overview of Bluetooth 5 and its major improvements
  • How Bluetooth 5 achieves higher speed and longer range
  • General overview of Bluetooth advertising
  • Types of Bluetooth 5 advertising...
0
comments
by Aleksander Nowakowski

nRF Connect macros (currently Android only)

Motivation

Very often, while working with Bluetooth LE devices, we encountered a problem having to repeat a sequence of operations to test or demonstrate some functionality. Writing a mobile app every time to show couple of buttons that interact with a device was costly and boring. A more generic and easy to use solution was required.

Automated tests

Our first approach, the automated tests, allowed to prepare an XML script with sets of operations that were automatically performed producing a report as a result. Automated tests appeared in nRF Connect for Android (known back then as nRF Master Control Panel...

0
comments
by Krzysztof Loska

Unique Thread/Bluetooth multiprotocol solution with nRF5 SDK for Thread and nRF52840 SoC by Nordic

With the nRF52840, we released our first System-on-Chip (SoC) with a radio that is capable of running the IEEE 802.15.4 PHY, additionally to Bluetooth 5 (Bluetooth Low Energy), ANT+, and proprietary 2.4 GHz protocols. In March 2017, we released our first software solution running on top of the IEEE 802.15.4 PHY - nRF5 SDK for Thread in version 0.8.0, supporting the OpenThread stack.

Multiprotocol with nRF5 SDK for Thread

Since nRF52840 supports multiple radio protocols, applications running on this SoC can use several radio protocols. With the release of nRF5 SDK for Thread in...

2
comments
by eivinds

Nordic Thingy:52 node.js/Raspberry Pi demos

Our brilliant apps engineers continue to play around with our newly-launched Nordic Thingy:52. This time, Joakim has prepared a few Javascript demos using node.js and a Raspberry Pi.

The Thingy connects to the Raspberry Pi with Bluetooth and uses it as an internet gateway. The Raspberry Pi runs the node.js scripts. The provided examples, which you can download below the video, include:

  • An example where all environmental sensor data is pushed to an online Firebase database.
  • An IFTTT example, where data form the Thingy triggers actions online.
  • An internet radio streaming example, where internet radio is streamed...
3
comments
by Audun

An introduction to error handling in nRF5 projects

As you start developing with the nRF5 series chips, SoftDevices, and SDKs, it's very useful to learn how errors can be discovered (and preferrably recovered from). This can be detecting something as simple as using invalid parameters to a function, or discovering when an unexpected chain of events breaks your application.

Robust application design is a broad topic, beyond the scope of this blog post. This post is meant as an introduction to nRF-specific error handling, which is useful to understand when developing using Nordic SoftDevices and SDKs.

This blog post is split into two main parts:

  1. Error detection...
2
comments
by Yaniv Nis

Power Optimization — From 3 to 7 Months on a Single Charge

A case study on optimizing battery power consumption for CC2538 but can also apply for nRF52 based device - https://medium.com/jumperiot/power-optimization-from-3-to-7-months-on-a-single-charge-56de0c30f062.

0
comments
by Mahesh Venkitachalam

Bluey Beacon - Building a Nordic nRF52832 BLE IoT Sensor Beacon

image description

In this project, we’re going to build a BLE Beacon that transmits temperature, humidity and ambient light levels to a dashboard on the internet. Bluetooth Low Energy is a technology that was designed from the ground up to reduce power consumption. It’s common for BLE devices to keep going and going for months on a coin cell battery. A beacon is a typical example of such a device. All it does is wake up periodically, send data, and go back to sleep. There are different methods of connecting to a BLE device. In the case of the beacon...

54
comments
by Hung Bui

Segger Embedded Studio - A Cross Platform IDE

Download and Setup

Note: It is recommended, but not necessary, to use the most recent releases of the above software.

Importing a Keil uVision project

  • Open SEGGER Embedded Studio 3.10e
  • Select Tools -> Package Manager... and install the CMSIS-CORE Support Package

image description

  • Select File -> Import IAR EWARM / Keil MDK Project...
  • Navigate to your local nRF5 SDK and in NRF5_SDK/examples/ble_peripheral/ble_app_beacon/ select pca10040/s132/arm5_no_packs/ble_app_beacon_pca10040_s132.uvprojx
  • The Import Build Configuration window will pop-up...
5
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 nRF5 SDK v12. The old bootloader in SDKv11 and earlier is now 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...

0
comments
by Bence

nRF Connect v2.0 release

We are happy to announce that nRF Connect for desktop v2.0 has now been released, and is available for download on the nRF Connect product page.

Framework for desktop apps

As you may know, nRF Connect v1 was a Bluetooth low energy tool for development and experimentation. At Nordic Semiconductor we have lots of ideas for similar applications, so we decided to pull out the reusable parts of v1 into a framework for desktop apps. Key features of this framework:

  • Allows users to easily install, update, and launch apps
  • Allows developers to create new apps
  • Supports Windows, macOS, and...
5
comments
by eivinds

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

2
comments
by shibbs

Porting the OTA DFU to your Custom App (SDK 12 +)

How to implement the Nordic OTA protocol in your own phone App

This document is meant to be useful if you are implementing DFU updates within in your own smartphone app, and want to do it yourself, rather than rely on trying to turn nrf toolbox into a library that your app calls. In a previous app we did just that, but it was a nightmare, and the nrf toolbox has since changed its structure a lot, making it even harder to do this now.

Our app is a cross-platform javascript app, and in the past we had built our...

2
comments
by chrishansen

Introducing nRF Cloud. An IoT platform for your Nordic Semiconductor Bluetooth devices.

Connecting BLE devices to the IoT is becoming an essential requirement of many products, so to help you get your IoT project jump started, Nordic Semiconductor is launching a set of IoT developer tools. Currently the tools are in beta with a full release planned later this summer. Check it out at nrfcloud.com.

image description

As always, these IoT tools and the hosting of the IoT platform are provided for free for our developers. The code is also available on GitHub if you want to use nRF Cloud as a starter template for your own IoT service.

The first tool is...

11
comments
by John Leonard

Nordic Developer Zone celebrates its 4th year of helping developers succeed

Nordic Developer Zone - The Nordic developer’s best friend

The original goal of Nordic Developer zone was to create a resource for our customers that would complement direct Nordic technical support. It should simplify and help them with their design efforts. It should be a place where everyone can contribute, Nordicers and our customers and partners alike. It had a simple mantra – ‘Ask questions, share info, and be inspired’. As Nordic Developer Zone enters its 4th year, we can safely say it is achieving what we set out for it to do.

The ultimate Nordic FAQ resource

As of today...

0
comments
by Mohammad Afaneh

Designing your Bluetooth GATT: Custom Services and Characteristics [MIDI controller use case]

One thing I wish I had when I started developing for BLE is more blog posts that walk you step-by-step on how to tackle the different phases of the system design and implementation. One such phase is designing your Bluetooth GATT: Services and Characteristics.

I just published a new blog post tackling this phase. I lay out the step-by-step process for designing a custom GATT for a BLE MIDI controller using the nRF52 platform including the complete source code. The post covers the following:

  • Attribute Protocol (ATT) and the Generic Attribute Profile (GATT).
  • Profiles, Services, and Characteristics.
  • How to Design...
0
comments
by Hans Elfberg

Simple GPIO driver example

Introduction

This example shows a simple GPIO driver for seamless handling of the GPIO and GPIOTE peripherals of the nRF52 series. This example is particularly intended for developers who wish to develop their own driver. The code is available on GitHub at the following URL: https://github.com/NordicSemiconductor/nrf52-drv-gpio-example.

Keil GUI pointers

The figure below points out the important Keil GUI buttons for running this example.

image description

Steps to run the example

Follow these steps to run the example:

  1. Extract the 12.3.0 version of the SDK.
  2. Enter the nRF5_SDK_12.3.0_d7731ad\examples\peripheral directory.
  3. Clone the repo: git...
2
comments
by dansheme

nRF52 Development with CLion

image description

TL;DR

If you just want to navigate (without debugging) through the nRF5-SDK using CLion, follow the following steps. For debugging go to “Debugging the nRF52 with CLion” in the full post.

  1. (optional) Create a backup for your current nrf5-SDK directory
  2. cd into the root of the nrf5-SDK directory
  3. curl -s https://raw.githubusercontent.com/Jumperr-labs/nrf5-sdk-clion/master/nrf5-sdk-to-clion.sh | bash
  4. Open “./CMakeLists.txt” and uncomment the desired project’s path (you can uncomment multiple projects)
  5. From CLion, go to File → Open and choose the root directory of the nRF5-SDK.

The Full Story

While working on Jumper's µLogger, I...

0
comments
by Andreln

Bachelor's Project - The "Earthquake Machine"

The Earthquake Machine

This is a brief overview of our bachelor's project results. The bachelor's project is given by Nordic Semiconductor for students at NTNU. Our goal was to induce resonance in objects by making some sort of device which could be controlled with BLE.

All code, schematics and documentation can be found in this Github Repository. This is our first major programming project. If you're interested in knowing more about the project, or have constructive criticism of the code, please email me at andrenicolaysen@gmail.com.

The Earthquake Machine consists of two contraptions, the Resonator made...

1 2 3 ... 13 »

Tags