1.. zephyr:board:: nrf52_blenano2
2
3Overview
4********
5
6The Nano v2 is a development board equipped with Nordic's next generation nRF52832 Bluetooth Low Energy SOC.
7This board was designed as a 'drop-in' replacement of BLE Nano with exactly the same form factor.
8
9Hardware
10********
11- nRF52832 SoC is built around a 32-bit ARM Cortex-M4F CPU with 512kB flash + 64kB RAM
12- 11 x Digital I/0
13- 1 UART with hardware flow control ( 4 I/O pins occupied )
14- 1 I2C ( 2 I/O pins occupied )
15
16
17
18Supported Features
19==================
20
21.. zephyr:board-supported-hw::
22
23Connections and IOs
24====================
25
26BLE nano v2 pinout
27
28.. image:: nrf52_blenano2.jpg
29   :align: center
30   :alt: NANO2
31
32DAPLink board
33
34.. image:: dap.jpg
35   :align: center
36   :alt: DAP
37
38The DAPLink USB board acts as a dongle. DAPLink debug probes appear on the host computer as a USB disk.
39It also regulates 5V from USB to 3.3V via the onboard LDO to power Nano v2.
40
41
42Programming and Debugging
43*************************
44
45Applications for the ``nrf52_blenano2`` board configuration can be built and
46flashed in the usual way (see :ref:`build_an_application` and
47:ref:`application_run` for more details).
48
49Flashing
50========
51
52To flash an application, you'll need to connect your BLE Nano 2 with the
53DAPLink board, then attach that to your computer via USB.
54
55.. warning::
56
57   Be careful to mount the BLE Nano 2 correctly! The side of the board
58   with the VIN and GND pins should face **towards** the USB
59   connector.
60
61Now build and flash applications as usual. Here is an example for the
62:zephyr:code-sample:`hello_world` application.
63
64.. zephyr-app-commands::
65   :zephyr-app: samples/hello_world
66   :board: nrf52_blenano2
67   :goals: build flash
68
69Debugging
70=========
71
72After mounting the BLE Nano 2 on its DAPLink board as described above,
73you can debug an application in the usual way.  Here is an example for
74the :zephyr:code-sample:`hello_world` application.
75
76.. zephyr-app-commands::
77   :zephyr-app: samples/hello_world
78   :board: nrf52_blenano2
79   :maybe-skip-config:
80   :goals: debug
81
82References
83**********
84
85.. target-notes::
86
87.. _Kickstarter: https://www.kickstarter.com/projects/redbearinc/bluetooth-5-ready-ble-module-nano-2-and-blend-2
88.. _Github: https://github.com/redbear/nRF5x
89.. _RedBear Forum: discuss.redbear.cc
90