boards/waveshare/nrf51_ble400/doc/index.rst
.. zephyr:board:: nrf51_ble400
Overview
BLE400 is a motherboard designed for BLE Bluetooth 2.4G Wireless Module. Used together with core board -- Core51822.
.. zephyr:board-supported-hw::
In June of 2015, Core51822 and its variant, Core51822 (B), upgraded the onboard chip to Rev3 (nRF51822_QFAC) that features 32kB RAM.
.. image:: img/Core51822-Compare.jpg :align: center :alt: Compare
Top: Core51822 Bottom: Core51822 (B)
.. image:: img/nrf51_ble400.jpg :align: center :alt: BLE400
.. image:: img/Core51822-pin.jpg :align: center :alt: Core board pinout
.. image:: img/BLE400-size.jpg :align: center :alt: BLE400 size
Programming and Debugging
.. zephyr:board-supported-runners::
Follow the instructions in the :ref:nordic_segger page to install
and configure all the necessary software. Further information can be
found in :ref:nordic_segger_flashing. Then build and flash
applications as usual (see :ref:build_an_application and
:ref:application_run for more details).
Here is an example for the :zephyr:code-sample:hello_world application.
First, run your favorite terminal program to listen for output.
.. code-block:: console
$ minicom -D <tty_device> -b 115200
Replace :code:<tty_device> with the port where the board nRF51 DK
can be found. For example, under Linux, :code:/dev/ttyACM0.
Then build and flash the application in the usual way.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: nrf51_ble400 :goals: build flash
Refer to the :ref:nordic_segger page to learn about debugging Nordic boards with a
Segger IC.
Testing the LEDs and buttons in the nRF51 DK
There are samples below that allow you to test that the buttons (switches) and LEDs on the board are working properly with Zephyr:
blinkybuttonfade-ledmulti-thread-blinkyYou can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in
:zephyr_file:boards/waveshare/nrf51_ble400/nrf51_ble400.dts.
References
.. target-notes::
.. _nRF51 DK website: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF51-DK .. _Nordic Semiconductor Infocenter: https://infocenter.nordicsemi.com .. _Waveshare Wiki BLE400: https://www.waveshare.com/wiki/BLE400 .. _Waveshare WiKi Core51822: https://www.waveshare.com/wiki/Core51822 .. _User manual: https://www.waveshare.com/w/upload/b/b7/NRF51822-Eval-Kit-UserManual-EN.pdf .. _Schematic: https://www.waveshare.com/w/upload/1/1b/BLE400-Schematic.pdf .. _Code samples: https://www.waveshare.com/w/upload/5/53/NRF51822-Code.7z .. _Core board schematics: https://www.waveshare.com/w/upload/5/57/Core51822-Schematic.pdf