This documentation describes the use and initialization of the Serial Wire Debug Port (SWDP) interface when writing to or reading from Flash and SRAM of the nRF52832 Rev 1. See http://infocenter.nordicsemi.com/ for more information on the IC itself.
DISCLAIMER: Not all content of this document has been verified and hence there might be some errors and flaws in the descriptions/information that follows. Please confer with the official ARM documentation to verify the information as described here. This information is provided in order to help during the implementation of a SWD debugger, but the...
Nordic has recently contributed support for the 2Mbit/s PHY, part of the Bluetooth 5.0 specification, to the Zephyr Project RTOS.
The video below shows how to configure, build and test GATT data throughput on a nRF52840 SoC running Zephyr RTOS.
The throughput measured may vary depending on the environment, but the maximum throughput observed in this video is around 1398 Kbps. Feel free to try it out yourself and join us with feedback and contributions to the Open Source project.
Our initial blog post about the Zephyr Project, complete with instructions to set up a Zephyr environment to...
I realize that there are already multiple tutorials on how to configure GCC along with Eclipse or SEGGER Embedded Studio (for use on a Mac), but this tutorial goes over setting up a different IDE. The more choices the better, right? ;)
The IDE of choice for me is NetBeans. NetBeans is well known for Java development but not as much for C/C++ or embedded. However, I personally have been using it for embedded development for about 10 years now (both embedded Linux and MCU-level development). In this tutorial, I'll be going over how to set up and configure...
Bluetooth 5 - now arriving in smartphones
As we know, Bluetooth 5 was launched last December by the Bluetooth SIG. The nRF52 Series from Nordic have always had Bluetooth 5 and its arrival in the mix for the nRF52 Series and this family of SoCs was designed early on to be able to meet the exciting new features of Bluetooth 5. Smartphones play such a key role in most Bluetooth products that their adoption of new Bluetooth features is always eagerly anticipated, as this is fundamental to the use of new Bluetooth features.
The Big News: Samsung Galaxy S8 supports Bluetooth...
Most guides out there are unclear and made for machines. Here is a full guide how to setup Segger for mac OS X with some example project from the SDK ( or even a PC but not tested), and also how to debug like a human not using terminal. ( or using it if you feel more clever)
All steps here most be done for every project(except step 10), thats because the hardware industry is still stuck in the 90's, and UI/UX are new terms for them. While Eclipse is slightly more into 2000's , setting it up is...
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/
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...
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...
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...
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...
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:
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...
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.
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...
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.
Connect all the boards to the PC
Open a command window in that directory
.\pc-util\for_loop_batch_nRF52 this will program all the boards connected to the PC.
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)
Open a command window in this directory.
<install directory for nrfutil>\pc-nrfutil\nrfutil dfu...
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...
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.
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...
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.
The 128-bit AES ECB peripheral provides a secure...
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...
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...
Uses Swift Language to run your Arduino project in your App via bluetooth.