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================== 20The BLE Nano v2 board configuration supports the following hardware features: 21 22+-----------+------------+--------------------------------------+ 23| Interface | Controller | Driver/Component | 24+===========+============+======================================+ 25| NVIC | on-chip | nested vectored interrupt controller | 26+-----------+------------+--------------------------------------+ 27| UART | on-chip | serial port | 28+-----------+------------+--------------------------------------+ 29| GPIO | on-chip | gpio | 30+-----------+------------+--------------------------------------+ 31| FLASH | on-chip | flash | 32+-----------+------------+--------------------------------------+ 33| RADIO | on-chip | Bluetooth | 34+-----------+------------+--------------------------------------+ 35| I2C | on-chip | i2c | 36+-----------+------------+--------------------------------------+ 37 38Connections and IOs 39==================== 40 41BLE nano v2 pinout 42 43.. image:: nrf52_blenano2.jpg 44 :align: center 45 :alt: NANO2 46 47DAPLink board 48 49.. image:: dap.jpg 50 :align: center 51 :alt: DAP 52 53The DAPLink USB board acts as a dongle. DAPLink debug probes appear on the host computer as a USB disk. 54It also regulates 5V from USB to 3.3V via the onboard LDO to power Nano v2. 55 56 57Programming and Debugging 58************************* 59 60Applications for the ``nrf52_blenano2`` board configuration can be built and 61flashed in the usual way (see :ref:`build_an_application` and 62:ref:`application_run` for more details). 63 64Flashing 65======== 66 67To flash an application, you'll need to connect your BLE Nano 2 with the 68DAPLink board, then attach that to your computer via USB. 69 70.. warning:: 71 72 Be careful to mount the BLE Nano 2 correctly! The side of the board 73 with the VIN and GND pins should face **towards** the USB 74 connector. 75 76Now build and flash applications as usual. Here is an example for the 77:zephyr:code-sample:`hello_world` application. 78 79.. zephyr-app-commands:: 80 :zephyr-app: samples/hello_world 81 :board: nrf52_blenano2 82 :goals: build flash 83 84Debugging 85========= 86 87After mounting the BLE Nano 2 on its DAPLink board as described above, 88you can debug an application in the usual way. Here is an example for 89the :zephyr:code-sample:`hello_world` application. 90 91.. zephyr-app-commands:: 92 :zephyr-app: samples/hello_world 93 :board: nrf52_blenano2 94 :maybe-skip-config: 95 :goals: debug 96 97References 98********** 99 100.. target-notes:: 101 102.. _Kickstarter: https://www.kickstarter.com/projects/redbearinc/bluetooth-5-ready-ble-module-nano-2-and-blend-2 103.. _Github: https://github.com/redbear/nRF5x 104.. _RedBear Forum: discuss.redbear.cc 105