NRF51822 Eval Kit

From Waveshare Wiki
Revision as of 08:00, 17 April 2022 by Waveshare-eng11 (talk | contribs) (Text replace - "Service00" to "Service02")
Jump to: navigation, search
NRF51822 Eval Kit
Bluetooth 4.0 NRF51822 Eval Kit

BLE4.0 Bluetooth 2.4G Development/Evaluation Kit designed for nRF51822





BLE4.0 Bluetooth 2.4G Development/Evaluation Kit designed for nRF51822

  • Core51822 is a wireless module based on nRF51822 - the Multiprotocol Bluetooth® 4.0 low energy/2.4 GHz RF SoC designed for ULP (ultra low power) wirelesss applications.
  • Core51822 (B) is a wireless module based on nRF51822 - the Multiprotocol Bluetooth® 4.0 low energy/2.4 GHz RF SoC designed for ULP (ultra low power) wirelesss applications.
  • BLE400 is a mother board designed for BLE4.0 Bluetooth 2.4G Wireless Module.

BLE400 Features

  • Onboard battery holder, multi-power supplies are available.
  • All the IOs are accessible for easy expansion.
  • Integrates CP2102 for debugging.
  • LEDs and user keys, compatible with other official boards, easy to use.

Out of box audit

PC development environment deployments

  • WindowsXP or Windows 7
  • nRFgo Studio v1.14 or higher versions
  • Keil MDK-ARM Lite v4.54 or higher versions
  • J-Link Software v4.52b or higher versions

Mobile app download

For iOS: enter App Store and search nRF Utility

For Android (4.3 or later): download nRFToolbox then unzip and install it.

Notice: Development method of Bluetooth 4.0 is different from the traditional one. So your phone can found Bluetooth 4.0 signal only if it supported Bluetooth 4.0 and be installed related App.

How to connect with a mobile phone (Bluetooth to serial demo)

a) Install the CP2102 Driver.

b) Connect the mini USB Port of BLE400 to your PC.

c) Choose and check a corresponding Serial Port which was set as: Baud rate -> 38400, Data bit -> 8, Stop bit -> 1.

d) Send a character Y or y and then if a word Start... is received, means that your Bluetooth device is broadcasting. At this time, the LED0 on BLE400 lights up.

Note: The first part of the factory program is for self-test, so the information displayed can be ignored.

e) Open the Bluetooth function on your phone.

f) Open nRFToolbox and enter UART then click the button CONNECT. Select "Nordic_UART" on the list and at this time LED0 off and LED1 on, which means that your phone is successfully connected with the module.

g) Tap the button on the App and some characters will be received by Serial.


h) Click Show Log and send a string, e.g. abcdefghijklmnopqrs, by Serial from PC, then the corresponding information will be displayed on the LOG list.


Note: the App displays received data only if 19 characters are received.

Program descriptions


  1. Install Keil MDK-ARM (v4.54 or higher version) and J-Link for Windows.
  2. Save nRF51 SDK and open the nrf51_sdk_v5_2_0_xxxxx.msi file to install. Please ensure the KeilMDK-ARM option is selected.
  3. It is notice that if there are installation errors of SDK, please download and install Microsoft .NET Framework 3.5.
  4. Install nRFgo Studio (nRFgo Studio win32 for a 32-bit system, and nRFgo Studio win64 for a 64-bit system).

Example application programming explanations

There are a few differences in programming different example applications. In the following two sections, we will take blink_example and ble_app_hrs as two examples to illustrate how to program example applications.

Here are the main differences in programming blink_example and ble_app_hrs applications.

  • The blinky_example is like an application run without OS. So it can be applied directly after Programming Application.
  • The ble_app_hrs is like an application that should be run in an OS. Therefore, both relative firmware and its codes should be downloaded.

How to compile and program blinky_example

  • Before programming, you should apply nRFgo Studio to erase all the programs preinstalled to the development board by manufactory. The erasure can be easily done by selecting nRF51 Programming and clicking Erase all. Now, it is ready to program the applications.
  • Open Blinky Project in Keil μVision under the path of <KEIL path> \ARM\Device\Nordic\nRF51822\Board\PCA10001\blinky_example\arm\blinky.uvproj or ...\code\BLE4.0\nrf51822\Board\pca10001\blinky_example\arm\blinky.uvproj
  • Click the icon Build or press the fast key, F7, to compile Blinkly project.
  • Click the icon Download. Run the Blinky_example after program download finished. Then, you can see the LED start to flick.


Sometimes, Jlink firmware may fail to cooperate with Nordic SDK, causing KEIL cannot download programs.

In this case, please select nRF51 Programming at the bottom left of nRFgo Studio, and click the option Program Application to start programming.


How to compile and program ble_app_hrs

  • Program S110 nRF51822 SoftDevice (Bluetooth protocol stack):

Select nRF51 Programming > Program SoftDevice> Browse (choose corresponding Bluetooth protocol stack) > Program (wait for completing Bluetooth protocol stack programming).

Notes: The protocol stack file we used here, s110_nrf51822_6.0.0_softdevice.hex, is decompressed from \Software\

  • Enter <KEIL path> \ARM\Device\Nordic\nrf51822\Board\pca10001\s110\ble_app_hrs\arm or <code path>\BLE4.0\nrf51822\Board\pca10001\s110\ble_app_hrs\arm. And then, open Keil project file.
  • Follow the steps mentioned above to compile and download.

Functional descriptions of example programs

  1. All the programs are under the path of <code path>\BLE4.0\nrf51822\Board\pca10001 and all the jumpers are connected.
  2. For the detail explanations of process ①, ②, ③ and ④ in the table below, please refer to the remarks at the bottom of the table.
  3. For the operations involving process ②, please refer to the section “How to compile and program ble_app_hrs” to find out relative program method.
  4. For other programs, please refer to the section “How to compile and program blinky_example” to find out relative program method.
Program name Operations and phenomenon
blinky_example LED is flickering
uart_example ①, and read back serial output information
at45dbxx_example ①, and connect AT45DBXX DataFlash Board to a SPI

The ID of the module will be shown in the serial debugging assistant.

at24cxx_example ①, and connect AT24CXX EEPROM Board to an I2C interface

Press KEY1 on the development board, and then the data of the assigned address will be shown in the serial debugging assistant.

Press KEY2 on the development board, and then the data of the assigned address will be increased by 1.

button_radio_example\led_radio_example Development board A downloads button_radio_example

Development board B downloads led_radio_example

Press KEY1 on the development board A, and then LED0 starts flickering

Press KEY2 on the development board B, and then LED1 starts flickering

ble_app_beacon ②, ③, ④
ble_app_proximity ②, ③, ④
ble_app_uart ①, ②, ③, ④, and transmit the data in the mobile phone to a serial port


① Connect the development board to a PC via a data cable, and start the serial debugging assistant; Baud rate: 38400, 8-bit data bit, 1-bit stop bit

② Download the Blue tooth protocol stack from Program SoftDevice

③ Testing software: LightBlue(iOS)

④ LightBlue displays relative information


NRF51822 Software

NRF51822 Design Resources


First of all, check whether the power supply to the system is properly working. If yes, try to use nRF51 Programming in the nRFgo Studio to find out whether the setting of KEIL project is fine.





Please make sure SDK is installed properly. The setting of Flash Download is as the figure shown below.




Please refer to relative documents provided in chip PDF folder, or reference datasheets provided in the present website.


Due to shipping reasons, this product doesn't come with any batteries. You shall place a CR1220 button battery into the socket for clocking usage.