This post describes how you can get the ble_app_hrs_freertos example project running in Atollic TrueSTUDIO 8.0 on a pca10040 board. This is a managed make build, it does not rely on the makefile provided by Nordic. No Nordic source files are changed and it even uses the existing gcc linker files from Nordic.
1) Download and install Atollic 8.0
2) Download and unzip nRF_SDK_14.0.0_3bcc1f7.
3) Download the project zip file.
Just a quick post to say that we have ported the Adafruit GFX and SSD1306 libraries to nRF52832. Currently only I2C is supported.
The code can be found here:
Here it's seen working with our Bluey nRF52 development board. More information about Bluey here:
At Jumper we’re developing tools that increase the happiness levels of embedded software developers. Our main tool to date is the Jumper Emulator. As a part of the development process we’re required to use embedded debuggers to verify that our emulator is on par with the actual hardware. Our focus is on ARM Cortex M devices. The MCUs we’re debugging are the nRF52, STM32F4 and LPC1768.
An Embedded software debugging session can get quite frustrating. After testing several options, we’re happy to provide a summary of what we learned. Let us know if we missed something...
Bluetooth SIG has recently published a new standard, the Bluetooth mesh. The mesh capability is a significant update and enables radical new applications. This in turn means that there are significant changes, and many new concepts to learn for developers and product makers. Knowing the technology well is key if you want to succeed with mesh, or any technology for that matter.
It is futile to summarize mesh in a blog post, so the aim here is to give you a rough understanding of what Bluetooth mesh is designed for, some of the new concepts, and things that are important...
With nRF5 SDK v14.0.0, we have significantly refactored the Command Line Interface (CLI) module to make it more useful and user friendly.
The new CLI has the following features:
I would like to introduce simple source code that supporting NUS profile and pairing. Most of you will choose the proprietary profile to make your own application which is not provided by Bluetooth SIG. Since this reason Nordic is providing one example in SDK which it called to Nordic Uart Service. This profile simulates serial communication as SPP in classic Bluetooth. So you can implement your own packets on this profile simply. But unfortunately it does not support pairing method for secured and smooth BLE connection. So In this blog I want to give you simple example for referencing...
As you probably know having a build environment, you can replicate and deploy with ease has the potential to save a lot of R&D time. If you can also control its versioning so you would be able to "get back in time" for a build server that generated a specific source code version, it's something of great value for a project that has many deployed versions in the field.
I recently came across Rebuild (rbld.io). Rebuild is perfect for establishing build infrastructure for source code and was made for developers that want to release themselves from the...
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...
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...
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:
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.
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...
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.
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...
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.
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...
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:
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.
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:
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.
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...
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.
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:
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...