Lines Matching +full:gpio +full:- +full:power +full:- +full:switches

9 The nRF9160 DK (PCA10090) is a single-board development kit for evaluation and
10 development on the nRF9160 SiP for LTE-M and NB-IoT. The nrf9160dk/nrf9160
12 Cortex-M33F CPU with ARMv8-M Security Extension and the following devices:
17 * :abbr:`GPIO (General Purpose Input Output)`
18 * :abbr:`I2C (Inter-Integrated Circuit)`
25 * :abbr:`UARTE (Universal asynchronous receiver-transmitter with EasyDMA)`
53 +-----------+------------+----------------------+
56 | ADC | on-chip | adc |
57 +-----------+------------+----------------------+
58 | CLOCK | on-chip | clock_control |
59 +-----------+------------+----------------------+
60 | FLASH | on-chip | flash |
61 +-----------+------------+----------------------+
62 | GPIO | on-chip | gpio |
63 +-----------+------------+----------------------+
64 | I2C(M) | on-chip | i2c |
65 +-----------+------------+----------------------+
66 | MPU | on-chip | arch/arm |
67 +-----------+------------+----------------------+
68 | NVIC | on-chip | arch/arm |
69 +-----------+------------+----------------------+
70 | PWM | on-chip | pwm |
71 +-----------+------------+----------------------+
72 | RTC | on-chip | system clock |
73 +-----------+------------+----------------------+
75 +-----------+------------+----------------------+
76 | SPI(M/S) | on-chip | spi |
77 +-----------+------------+----------------------+
78 | SPU | on-chip | system protection |
79 +-----------+------------+----------------------+
80 | UARTE | on-chip | serial |
81 +-----------+------------+----------------------+
82 | WDT | on-chip | watchdog |
83 +-----------+------------+----------------------+
88 -------------------------------
93 * I/O expander (PCAL6408A) that can be used to interface LEDs, slide switches,
100 .. zephyr-app-commands::
102 :cd-into:
118 ---
125 Push buttons and Switches
126 -------------------------
137 - Implementation Defined Attribution Unit (`IDAU`_). The IDAU is implemented
138 with the System Protection Unit and is used to define secure and non-secure
141 - Secure boot.
150 Building Secure/Non-Secure Zephyr applications with Arm |reg| TrustZone |reg|
153 Applications on the nRF9160 may contain a Secure and a Non-Secure firmware
155 `Trusted Firmware M`_ (TF-M). Non-Secure firmware images are always built
160 By default the Secure image for nRF9160 is built using TF-M.
163 -----------------------------------------
167 1. Build the Secure Zephyr application using ``-DBOARD=nrf9160dk/nrf9160`` and
169 2. Build the Non-Secure Zephyr application using ``-DBOARD=nrf9160dk/nrf9160/ns``.
172 Building the Secure firmware with TF-M
173 --------------------------------------
175 The process to build the Secure firmware image using TF-M and the Non-Secure
178 1. Build the Non-Secure Zephyr application
179 using ``-DBOARD=nrf9160dk_nrf9160_ns``.
180 To invoke the building of TF-M the Zephyr build system requires the
182 default when building Zephyr as a Non-Secure application.
185 * Build the Non-Secure firmware image as a regular Zephyr application
186 * Build a TF-M (secure) firmware image
192 Depending on the TF-M configuration, an application DTS overlay may be
193 required, to adjust the Non-Secure image Flash and SRAM starting address
196 When building a Secure/Non-Secure application, the Secure application will
197 have to set the IDAU (SPU) configuration to allow Non-Secure access to all
198 CPU resources utilized by the Non-Secure application firmware. SPU
199 configuration shall take place before jumping to the Non-Secure application.
205 and :ref:`application_run`), using ``-DBOARD=nrf9160dk/nrf9160``.
217 Here is an example for the :zephyr:code-sample:`hello_world` application.
221 .. code-block:: console
223 $ minicom -D <tty_device> -b 115200
230 .. zephyr-app-commands::
231 :zephyr-app: samples/hello_world
245 There are 2 samples that allow you to test that the buttons (switches) and LEDs on
248 * :zephyr:code-sample:`blinky`
249 * :zephyr:code-sample:`button`
257 nRF9160 DK - nRF52840
264 Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
268 * :abbr:`GPIO (General Purpose Input Output)`
275 * :abbr:`UART (Universal asynchronous receiver-transmitter)`
279 buttons, switches, and Arduino pin headers on the nRF9160 DK board. It is,
284 the `Nordic Low power cellular IoT`_ website.
302 +-----------+------------+----------------------+
305 | CLOCK | on-chip | clock_control |
306 +-----------+------------+----------------------+
307 | FLASH | on-chip | flash |
308 +-----------+------------+----------------------+
309 | GPIO | on-chip | gpio |
310 +-----------+------------+----------------------+
311 | MPU | on-chip | arch/arm |
312 +-----------+------------+----------------------+
313 | NVIC | on-chip | arch/arm |
314 +-----------+------------+----------------------+
315 | PWM | on-chip | pwm |
316 +-----------+------------+----------------------+
317 | RADIO | on-chip | Bluetooth, |
319 +-----------+------------+----------------------+
320 | RTC | on-chip | system clock |
321 +-----------+------------+----------------------+
323 +-----------+------------+----------------------+
324 | UART | on-chip | serial |
325 +-----------+------------+----------------------+
326 | WDT | on-chip | watchdog |
327 +-----------+------------+----------------------+
349 See the following example for the :zephyr:code-sample:`hello_world` application.
353 .. code-block:: console
355 $ minicom -D <tty_device> -b 115200
363 .. zephyr-app-commands::
364 :zephyr-app: samples/hello_world
396 +--------------------------------+----------------------------------+
400 +--------------------------------+----------------------------------+
402 +--------------------------------+----------------------------------+
404 +--------------------------------+----------------------------------+
406 +--------------------------------+----------------------------------+
408 +--------------------------------+----------------------------------+
410 +--------------------------------+----------------------------------+
412 +--------------------------------+----------------------------------+
414 +--------------------------------+----------------------------------+
416 +--------------------------------+----------------------------------+
418 +--------------------------------+----------------------------------+
420 +--------------------------------+----------------------------------+
422 +--------------------------------+----------------------------------+
424 +--------------------------------+----------------------------------+
433 The following devicetree nodes are defined for the analog switches present
436 +------------------------------------+------------------------------+
440 +------------------------------------+------------------------------+
442 +------------------------------------+------------------------------+
444 +------------------------------------+------------------------------+
446 +------------------------------------+------------------------------+
448 +------------------------------------+------------------------------+
450 +------------------------------------+------------------------------+
452 +------------------------------------+------------------------------+
454 +------------------------------------+------------------------------+
456 +------------------------------------+------------------------------+
458 +------------------------------------+------------------------------+
459 | ``nrf_interface_pins_0_2_routing`` | nRF_IF0-2_CTRL (nRF91_GPIO) |
460 +------------------------------------+------------------------------+
461 | ``nrf_interface_pins_3_5_routing`` | nRF_IF3-5_CTRL (nRF91_TRACE) |
462 +------------------------------------+------------------------------+
463 | ``nrf_interface_pins_6_8_routing`` | nRF_IF6-8_CTRL (nRF91_COEX) |
464 +------------------------------------+------------------------------+
470 +------------------------------------+------------------------------+
474 +------------------------------------+------------------------------+
476 +------------------------------------+------------------------------+
478 +------------------------------------+------------------------------+
485 .. code-block:: devicetree
494 .. code-block:: devicetree
509 .. code-block:: devicetree
515 .. code-block:: devicetree
522 .. target-notes::
525 https://developer.arm.com/docs/100690/latest/attribution-units-sau-and-idau
526 .. _nRF9160 DK website: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF9160-DK
527 .. _Trusted Firmware M: https://www.trustedfirmware.org/projects/tf-m/
528 .. _Nordic Low power cellular IoT: https://www.nordicsemi.com/Products/Low-power-cellular-IoT
531 .. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html