Sort by » date activity comments

283 blog posts

by Stefan Birnir Sverrisson

How different BLE packet types influence throughput

There are several types of write operations, write request with authorization, write request without authorization and write command. You can see message sequence charts for those messages here and here.

Write command is a write without acknowledgement and write request is write with acknowledgement. As described in the sequence chart, the ATT will automatically send ack when you transmit write request from the central device. Write Command on the client side should generate BLE_GATTS_EVT_WRITE(WRITE_CMD, data) event on the server (nRF51822) side.

Packet exchange with Write Requests and Indications

When transferring data with a write request from GATT client or...

by Sebastian

RSSI Viewer

This summer, we offered several internships in our Krakow office, where students could work on various projects. One of these projects was the RSSI viewer developed by Piotr Czerwiec, a set of programs to visualize 2.4 GHz band usage. The RSSI viewer scans this band, records signal level on particular frequencies, and presents combined results in several ways. The tool can be used to look for interferers and to check how channels are utilized. I hope you find the tool useful! Comments and suggestions for improvements are welcome in the comments section.

PC application

There are several ways to...

by Stefan Birnir Sverrisson

Measuring Lithium battery voltage with nRF51

Here is an example of a hardware setup to measure the voltage on a Lithium battery with a voltage divider and a connected capacitor. The Lithium battery typically has a voltage range of 2.7 - 4.2 V and we (Nordic) recommend that you divide the battery voltage with two resistors, R1 = 10 MΩ and R2 = 2.2 MΩ. After you do this you need to connect a 22 nF capacitor (C2 in the figure below) from your ADC analog input pin (AIN) to ground. With this configuration you can sample up to 20 Hz for 8-bit sampling and up...

by RK

Sniffer application for OS X

I've put up on Sourceforge, a Mac OSX application which interfaces with the Nordic BTLE sniffer software and has some of the functionality of the Windows application Nordic ships with that software package. Features include

  • Seeing basic information about plugged-in sniffers
  • Listing advertisers and seeing the name, RSSI and simple details about them
  • Following a specific device
  • Showing the packets in Wireshark, decoded
  • Saving the PCAP (Wireshark format) data for later

The full project is here, and the installation instructions are on the wiki. This is a summary of the things you need in order to get it running...

by Eirik Midttun

Getting started with nRF51 development on Mac OS X

Update: Since this blog was originally written the nrfjprog tool has been ported to OS X (now macOS). This means that the flash programming is much simpler, and it is simply a matter of following the documentation for the tool. Also, nRF Toolbox for iOS is deprecated; use the nRF Connect iOS app instead

I recently decided to try the nRF51 SDK on Mac OS X to see how it was to compile and program the example applications. It worked nicely, and it wasn't even that hard to figure out. But evidently there were things to find out, and...

by EmBlocks

Nordic nRF51 support in Em::Blocks (with softdevice integration)

Em::Blocks supports now the nRF51 devices from Nordic. You can select in the new project wizard which device family (51422 or 51822) and if soft devices are needed or not.

image description

The templates for the softdevices are empty after first installation. The packages must be downloaded from the Nordic download section (after login) and unpacked inside the wizard template sub directories. After the execution of the convSD.bat file there will be c-array files and API includes generated which can be used by the wizard.

The softdevices are placed at the right location by the linker so you don't...

by RK

CrossWorks CrossStudio examples

Since I wrote about CrossWorks a few weeks ago, several people have mailed me and asked me if I have any sample projects. I didn't, so I just created some.

I've created projects which build blinky_example and ble_app_hrs for each of the three boards NRF6310, PCA10001 and PCA10000.

The projects follow the same directory structure that Nordic's examples do and are designed to unpack into the SDK directory (if this concerns you please make a copy of it first). So for instance the current nrf6310 blinky_example directory looks something like this

by Stian

Development with Eclipse and GCC

Updated version here (21.04.15):

I have noticed that there have been several questions on development with Eclipse and GCC, and I have also been trying myself for quite some time to make it work properly. It finally seems like I have figured out an approach that works for me. I.e., successfully importing and debugging of example projects from the nRF51 SDK. So I thought I could make a blog post to share my setup and hopefully help others who are also new to Eclipse and GCC.

Inspired by other devzone...

by giayee

Atomwear - Micro, Modularized, Open source, Nordic based Wearable BLE project, expecting your support on Kickstarter

image description

Atomwear is a micro, modularized, open source, wearable BLE device for DIYers. It makes any BLE(Bluetooth Low Energy) projects easier

Overview - What’s the Atomwear?

Atomwear is a BLE product based on a Nordic BLE chipset. It’s different from other wrist straps available in the market, such as gearfit and jawbone.

Atomwear is designed specifically for DIYers. just like building blocks for kids, Atomwear components allow you to build it into whatever you like, be it a bracelet or otherwise!

Atomwear is fully open source. The aim of Atomwear is to speed up your development cycle. Choose Atomwear...

by Hung Bui

Recover the nRF51 when nrjprog and nRFGo Studio couldn't

You may have a nRF51 chip that is "bricked" and both nRFGo Studio and nrfjprog recover option doesn't work. You can try to use J-link Commander to recover. In some case, J-link Commander showed that it can recover the chip when nrfjprog and nRFGo Studio couldn't.

Jlink Commander should be installed automatically when you install Jlink driver. Here is the screen when you start J-Link Commander and select the J-link programmer (if you have more than one):

image description

When you have the command line ready you can type:


w4 4001e504 2

w4 4001e50c 1

w4 4001e514 1


by Hung Bui

nRF51 SDK v6.0.0 bug report and temporary workarounds

I created this blog post to document the bugs reported on nRF51 SDK v6.0.0

The workaround for each bug would also be provided here as a temporary solution before the bug is fixed in the future release of the SDK.

Issues List

  1. [DeviceManager] Unable to re-connect to the second bonded central (Fixed in SDK v6.1)
  2. [DeviceManager] Unable to re-connect to a bonded central that uses Resolvable Private Address (e.g iOS device) if the application doesn't do whitelist advertising. (Fixed in SDK v6.1)
  3. [S310][BootLoader] S310 BLE bootloader doesn't work with Android and iOS...
by John Leonard

S130 Multi-link SoftDevice released. Tell us what you think.

Our most advanced Bluetooth Smart SoftDevice to date is now - S130. We're excited in a big way about this one covering as it does so many different options in one protocol stack.

Again, we always value feedback from you guys toiling hard out there making great and cool stuff that the world gets to see and use, or just making things because it's fun and cool. So please let us know here - what's great, what's not, improvements, tweaks, it's all great for us, and you in the long run.

cheers, The Nordic Team

S130 Release...

by Håkon Alseth

Using nRF51 SDK with the nRF51822 MBED Kit


This blog post will not take installation of above dependencies into consideration.

Configuring a project for CMSIS-DAP debugger:

  1. Open a project in Keil, and go to Options for Target, and select CMSIS-DAP Debugger under the debug tab: image description

  2. Check that the "Use Debug Driver" is checked under Utilities tab: image description

  3. Now go into the debugger settings and verify that the nRF51xxx programming algorithm is chosen: image description

  4. Go to tab "debug" and see that the debugger and device...

by Mihail

Easy to use main board for nRF51822 Development Kit

If you bought nRF51822 Development Kit and want to quickly and easily begin development without the need to own nRFgo Starter Kit, you can check the BLE DEVKIT.N R2 main board at ebay. More information and documentation you can find at the product page here.


by Petter Myhre

How should I not ask my question?

You should never ask your question as an answer to another question. Add it as a new question, and link to the question if it’s relevant.

You should never ask your question as a comment to another question, if you aren’t asking for more information or for clarification of that question. Add it as a new question, and link to the question if it’s relevant.

You should never ask your question as a comment to an answer, if you aren’t asking for more information or for clarification of that answer. Add it as a new question...

by Petter Myhre

How should I ask my question?

Before you ask your question, please remember to check if it is suited for Nordic Developer Zone, and that it has not been asked before. Please search Nordic Developer Zone, if you find your question, please vote on it.

Here are some simple guidelines to get the best possible answers, fast, while helping others and improving your reputation, by getting votes.

A question should be clear and concise, leaving no doubt about what you are asking. Include details about what you have tried and exactly what you are trying to achieve. Avoid asking multiple unrelated questions in one question, ask...

by Petter Myhre

How do I know where I should ask my question?

Nordic Semiconductor offer two gateways for asking questions about anything connected to their products, the MyPage support portal and Nordic Developer Zone. Questions in the support portal are only visible to, and answered by the application engineers in the Nordic Semiconductor’s support team. Questions in Nordic Developer Zone can be answered by anyone, the support team, other developers, and even yourself. Questions in the MyPage support portal are private, while in Nordic Developer Zone they are public.

Please search the Nordic Developer Zone before asking. Your question may be answered already. This gives you the answer faster, and limits...

by Petter Myhre

How should I use comments?

Comments to a question or answer should only be used to ask for more information or for clarification of a question or answer.

Edit your question or answer to be as good as possible, fix mistakes, improve formatting, or clarify its meaning.

Editing is very important for making questions and answers useful to others, and getting more votes.

by Petter Myhre

Why should I vote?

Votes on QUESTIONS tells the users which questions that are great and useful.

Votes on QUESTIONS quantifies the interest of getting an answer to a question.

Sort your search on votes to find the most voted, useful and great questions.

Votes on ANSWERS tells the users which answers that are great and useful. The answers with the most votes inside a question will rise to the top.

Votes increases the reputation of the user who asked the question, or answered it.

Thank the user by voting!

by RK

A week with CrossWorks

Do you not use Windows but OS X or Linux? Do you use Windows but find the old tools expensive and terrible to deal with? Are you a hobbyist who doesn't have $2000 and an annual fee to spend on a toolset you don't like?

I am some of those things. I'm an OS X user, I don't love using parallels unless I can't help it, I find Keil to be a pretty poor product (sorry Keil but I do) and way beyond what I'm prepared to spend to fund a hobby.

I came...

« 1 ... 12 13 14 15 »

User menu

    or sign up

Recent questions