Lines Matching +full:nrf21540 +full:- +full:gpio +full:- +full:if
3 nRF21540 DK
8 The nRF21540 DK (PCA10112) shows possibility of the Nordic Semiconductor
9 nRF21540 Front End Module connected with nRF52840 ARM Cortex-M4F CPU.
15 * :abbr:`GPIO (General Purpose Input Output)`
16 * :abbr:`I2C (Inter-Integrated Circuit)`
24 * :abbr:`UART (Universal asynchronous receiver-transmitter)`
30 :alt: nRF21540 DK
32 nRF21540 DK (Credit: Nordic Semiconductor)
34 More information about the board can be found at the `nRF21540 website`_.
35 `nRF21540 Product Specification`_ contains the processor's and front end
41 The nRF52840 on the nRF21540 DK has two external oscillators. The frequency
50 +-----------+------------+----------------------+
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(M) | 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, |
71 +-----------+------------+----------------------+
72 | RTC | on-chip | system clock |
73 +-----------+------------+----------------------+
75 +-----------+------------+----------------------+
76 | SPI(M/S) | on-chip | spi |
77 +-----------+------------+----------------------+
78 | UART | on-chip | serial |
79 +-----------+------------+----------------------+
80 | USB | on-chip | usb |
81 +-----------+------------+----------------------+
82 | WDT | on-chip | watchdog |
83 +-----------+------------+----------------------+
86 See `nRF52840 Product Specification`_ and `nRF21540 DK Hardware guide`_
87 for a complete list of nRF21540 Development Kit board hardware features.
93 ---
101 ------------
110 ----------------
138 Here is an example for the :zephyr:code-sample:`hello_world` application.
142 .. code-block:: console
144 $ minicom -D <tty_device> -b 115200
146 Replace :code:`<tty_device>` with the port where the board nRF21540 DK
151 .. zephyr-app-commands::
152 :zephyr-app: samples/hello_world
163 Testing the LEDs and buttons in the nRF21540 DK
169 .. code-block:: console
186 .. code-block:: devicetree
195 /* required if CONFIG_PM_DEVICE=y */
200 low-power-enable;
206 pinctrl-0 = <&uart1_default_alt>;
207 /* if sleep state is not used, use /delete-property/ pinctrl-1; and
210 pinctrl-1 = <&uart1_sleep_alt>;
211 pinctrl-names = "default", "sleep";
216 See :ref:`set-devicetree-overlays` for further details.
225 in under-10KHz applications. They are not suitable for 115200 speed of UART.
230 .. target-notes::
233 .. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html
234 .. _nRF21540 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF21540