1.. _adafruit_feather_nrf52840:
2
3Adafruit Feather nRF52840 Express
4#################################
5
6Overview
7********
8
9The Adafruit Feather nRF52840 provides support for the Nordic Semiconductor
10nRF52840 ARM Cortex-M4F CPU and the following devices:
11
12* :abbr:`ADC (Analog to Digital Converter)`
13* CLOCK
14* FLASH
15* :abbr:`GPIO (General Purpose Input Output)`
16* :abbr:`I2C (Inter-Integrated Circuit)`
17* :abbr:`MPU (Memory Protection Unit)`
18* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
19* :abbr:`PWM (Pulse Width Modulation)`
20* RADIO (Bluetooth Low Energy and 802.15.4)
21* :abbr:`RTC (nRF RTC System Clock)`
22* Segger RTT (RTT Console)
23* :abbr:`SPI (Serial Peripheral Interface)`
24* :abbr:`UART (Universal asynchronous receiver-transmitter)`
25* :abbr:`USB (Universal Serial Bus)`
26* :abbr:`WDT (Watchdog Timer)`
27
28.. figure:: img/adafruit_feather_nrf52840.jpg
29     :align: center
30     :alt: Adafruit Feather nRF52840 Express
31
32Hardware
33********
34
35- nRF52840 ARM Cortex-M4F processor at 64 MHz
36- 1 MB flash memory and 256 KB of SRAM
37- Battery connector and charger for 3.7 V lithium polymer batteries
38- Charging indicator LED
39- 2 User LEDs
40- 1 NeoPixel LED
41- Reset button
42- SWD connector
43
44Supported Features
45==================
46
47The Adafruit Feather nRF52840 board configuration supports the
48following hardware features:
49
50+-----------+------------+----------------------+
51| Interface | Controller | Driver/Component     |
52+===========+============+======================+
53| ADC       | on-chip    | adc                  |
54+-----------+------------+----------------------+
55| CLOCK     | on-chip    | clock_control        |
56+-----------+------------+----------------------+
57| FLASH     | on-chip    | flash                |
58+-----------+------------+----------------------+
59| GPIO      | on-chip    | gpio                 |
60+-----------+------------+----------------------+
61| I2C       | on-chip    | i2c                  |
62+-----------+------------+----------------------+
63| MPU       | on-chip    | arch/arm             |
64+-----------+------------+----------------------+
65| NVIC      | on-chip    | arch/arm             |
66+-----------+------------+----------------------+
67| PWM       | on-chip    | pwm                  |
68+-----------+------------+----------------------+
69| RADIO     | on-chip    | Bluetooth,           |
70|           |            | ieee802154           |
71+-----------+------------+----------------------+
72| RTC       | on-chip    | system clock         |
73+-----------+------------+----------------------+
74| SPI       | on-chip    | spi                  |
75+-----------+------------+----------------------+
76| UART      | on-chip    | serial               |
77+-----------+------------+----------------------+
78| USB       | on-chip    | usb                  |
79+-----------+------------+----------------------+
80| WDT       | on-chip    | watchdog             |
81+-----------+------------+----------------------+
82
83Other hardware features have not been enabled yet for this board.
84
85Connections and IOs
86===================
87
88The `Adafruit Feather nRF52840 Express Learn site`_ has detailed
89information about the board including `pinouts`_ and the `schematic`_.
90
91LED
92---
93
94* LED0 (red) = P1.15
95* LED1 (blue) = P1.10
96
97Push buttons
98------------
99
100* SWITCH = P1.02
101* RESET = P0.18
102
103Programming and Debugging
104*************************
105
106Applications for the ``adafruit_feather_nrf52840`` board configuration
107can be built and flashed in the usual way (see :ref:`build_an_application`
108and :ref:`application_run` for more details).
109
110Flashing
111========
112
113Flashing Zephyr onto the ``adafruit_feather_nrf52480`` board requires
114an external programmer. The programmer is attached to the SWD header.
115
116Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application.
117
118   .. zephyr-app-commands::
119      :zephyr-app: samples/basic/blinky
120      :board: adafruit_feather_nrf52840
121      :goals: build
122      :compact:
123
124Flash the image.
125
126   .. zephyr-app-commands::
127      :zephyr-app: samples/basic/blinky
128      :board: adafruit_feather_nrf52840
129      :goals: flash
130      :compact:
131
132You should see the the red LED blink.
133
134References
135**********
136
137.. target-notes::
138
139.. _Adafruit Feather nRF52840 Express Learn site:
140    https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/
141
142.. _pinouts:
143    https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/pinouts
144
145.. _schematic:
146    https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/downloads
147