1.. _nrf52833dk_nrf52833: 2 3nRF52833 DK 4########### 5 6Overview 7******** 8 9The nRF52833 Development Kit (PCA10100) hardware provides 10support for the Nordic Semiconductor nRF52833 ARM Cortex-M4F CPU and 11the following devices: 12 13* :abbr:`ADC (Analog to Digital Converter)` 14* CLOCK 15* FLASH 16* :abbr:`GPIO (General Purpose Input Output)` 17* :abbr:`I2C (Inter-Integrated Circuit)` 18* :abbr:`MPU (Memory Protection Unit)` 19* :abbr:`NVIC (Nested Vectored Interrupt Controller)` 20* :abbr:`PWM (Pulse Width Modulation)` 21* RADIO (Bluetooth Low Energy and 802.15.4) 22* :abbr:`RTC (nRF RTC System Clock)` 23* Segger RTT (RTT Console) 24* :abbr:`SPI (Serial Peripheral Interface)` 25* :abbr:`UART (Universal asynchronous receiver-transmitter)` 26* :abbr:`USB (Universal Serial Bus)` 27* :abbr:`WDT (Watchdog Timer)` 28 29More information about the board can be found at the 30`nRF52833 DK website`_. `nRF52833 Product Specification`_ 31contains the processor's information and the datasheet. 32 33 34Hardware 35******** 36 37nRF52833 DK has two external oscillators. The frequency of 38the slow clock is 32.768 kHz. The frequency of the main clock 39is 32 MHz. 40 41Supported Features 42================== 43 44The ``nrf52833dk/nrf52833`` board configuration supports the following 45hardware features: 46 47+-----------+------------+----------------------+ 48| Interface | Controller | Driver/Component | 49+===========+============+======================+ 50| ADC | on-chip | adc | 51+-----------+------------+----------------------+ 52| CLOCK | on-chip | clock_control | 53+-----------+------------+----------------------+ 54| FLASH | on-chip | flash | 55+-----------+------------+----------------------+ 56| GPIO | on-chip | gpio | 57+-----------+------------+----------------------+ 58| I2C(M) | on-chip | i2c | 59+-----------+------------+----------------------+ 60| MPU | on-chip | arch/arm | 61+-----------+------------+----------------------+ 62| NVIC | on-chip | arch/arm | 63+-----------+------------+----------------------+ 64| PWM | on-chip | pwm | 65+-----------+------------+----------------------+ 66| RADIO | on-chip | Bluetooth, | 67| | | ieee802154 | 68+-----------+------------+----------------------+ 69| RTC | on-chip | system clock | 70+-----------+------------+----------------------+ 71| RTT | Segger | console | 72+-----------+------------+----------------------+ 73| SPI(M/S) | on-chip | spi | 74+-----------+------------+----------------------+ 75| UART | on-chip | serial | 76+-----------+------------+----------------------+ 77| USB | on-chip | usb | 78+-----------+------------+----------------------+ 79| WDT | on-chip | watchdog | 80+-----------+------------+----------------------+ 81 82Other hardware features have not been enabled yet for this board. 83See `nRF52833 DK website`_ and `nRF52833 DK Hardware guide`_ 84for a complete list of nRF52833 Development Kit board hardware features. 85 86Connections and IOs 87=================== 88 89LED 90--- 91 92* LED1 (green) = P0.13 93* LED2 (green) = P0.14 94* LED3 (green) = P0.15 95* LED4 (green) = P0.16 96 97Push buttons 98------------ 99 100* BUTTON1 = SW1 = P0.11 101* BUTTON2 = SW2 = P0.12 102* BUTTON3 = SW3 = P0.24 103* BUTTON4 = SW4 = P0.25 104* BOOT = SW5 = boot/reset 105 106Programming and Debugging 107************************* 108 109Applications for the ``nrf52833dk/nrf52833`` board configuration can be built, 110flashed, and debugged in the usual way. See :ref:`build_an_application` and 111:ref:`application_run` for more details on building and running. 112 113Flashing 114======== 115 116Follow the instructions in the :ref:`nordic_segger` page to install 117and configure all the necessary software. Further information can be 118found in :ref:`nordic_segger_flashing`. Then build and flash 119applications as usual (see :ref:`build_an_application` and 120:ref:`application_run` for more details). 121 122Here is an example for the :zephyr:code-sample:`hello_world` application. 123 124First, run your favorite terminal program to listen for output. 125 126.. code-block:: console 127 128 $ minicom -D <tty_device> -b 115200 129 130Replace :code:`<tty_device>` with the port where the board nRF52 DK 131can be found. For example, under Linux, :code:`/dev/ttyACM0`. 132 133Then build and flash the application in the usual way. 134 135.. zephyr-app-commands:: 136 :zephyr-app: samples/hello_world 137 :board: nrf52833dk/nrf52833 138 :goals: build flash 139 140Debugging 141========= 142 143Refer to the :ref:`nordic_segger` page to learn about debugging Nordic boards with a 144Segger IC. 145 146 147Testing the LEDs and buttons in the nRF52833 DK 148*********************************************** 149 150There are 2 samples that allow you to test that the buttons (switches) and LEDs on 151the board are working properly with Zephyr: 152 153* :zephyr:code-sample:`blinky` 154* :zephyr:code-sample:`button` 155 156You can build and flash the examples to make sure Zephyr is running correctly on 157your board. The button and LED definitions can be found in 158:zephyr_file:`boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts`. 159 160Changing UART1 pins 161******************* 162 163The following approach can be used when an application needs to use another set 164of pins for UART1: 165 1661. Add devicetree overlay file to the main directory of your application: 167 168 .. code-block:: devicetree 169 170 &pinctrl { 171 uart1_default_alt: uart1_default_alt { 172 group1 { 173 psels = <NRF_PSEL(UART_TX, 0, 14)>, 174 <NRF_PSEL(UART_RX, 0, 16)>; 175 }; 176 }; 177 /* required if CONFIG_PM_DEVICE=y */ 178 uart1_sleep_alt: uart1_sleep_alt { 179 group1 { 180 psels = <NRF_PSEL(UART_TX, 0, 14)>, 181 <NRF_PSEL(UART_RX, 0, 16)>; 182 low-power-enable; 183 }; 184 }; 185 }; 186 187 &uart1 { 188 pinctrl-0 = <&uart1_default_alt>; 189 /* if sleep state is not used, use /delete-property/ pinctrl-1; and 190 * skip the "sleep" entry. 191 */ 192 pinctrl-1 = <&uart1_sleep_alt>; 193 pinctrl-names = "default", "sleep"; 194 }; 195 196 In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX 197 198See :ref:`set-devicetree-overlays` for further details. 199 200Selecting the pins 201================== 202 203Pins can be configured in the board pinctrl file. To see the available mappings, 204open the `nRF52833 Product Specification`_, chapter 7 'Hardware and Layout'. 205In the table 7.1.1 'aQFN73 ball assignments' select the pins marked 206'General purpose I/O'. Note that pins marked as 'low frequency I/O only' can only be used 207in under-10KHz applications. They are not suitable for 115200 speed of UART. 208 209References 210********** 211 212.. target-notes:: 213 214.. _nRF52833 DK website: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52833-DK 215.. _nRF52833 Product Specification: https://docs.nordicsemi.com/bundle/ps_nrf52833/page/keyfeatures_html5.html 216.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html 217.. _nRF52833 DK Hardware guide: https://docs.nordicsemi.com/bundle/ug_nrf52833_dk/page/UG/dk/intro.html 218 219.. _nrf52833dk_nrf52820: 220 221nRF52820 emulation on nRF52833 DK 222################################# 223 224Overview 225******** 226 227The ``nrf52833dk/nrf52820`` board is a modified version of the 228:ref:`nrf52833dk_nrf52833` that enforces the limitations imposed by the nRF52820 229IC, which is a variant of the original nRF52833. Since Nordic does not offer a 230development kit for the nRF52820 you can use this board to develop for this IC 231while using the nRF52833 Development Kit (PCA10100). 232 233See :ref:`nrf52833dk_nrf52833` for more information about the development board 234and `nRF52820 website`_ for the official reference on the IC itself. 235 236References 237********** 238 239.. target-notes:: 240 241.. _nRF52820 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52820 242