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