|
| 1 | +.. _we_proteus2ev_nrf52832: |
| 2 | + |
| 3 | +Würth Elektronik Proteus-II-EV |
| 4 | +############################## |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The Proteus-II-EV hardware provides |
| 10 | +support for the Proteus-II radio module that uses the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU and |
| 11 | +the 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) |
| 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:`WDT (Watchdog Timer)` |
| 27 | + |
| 28 | +.. figure:: img/we_proteus2ev_nrf52832.jpg |
| 29 | + :width: 642px |
| 30 | + :align: center |
| 31 | + :alt: Proteus-II EV |
| 32 | + |
| 33 | + Proteus-II-EV (Credit: Würth Elektronik) |
| 34 | + |
| 35 | +More information about the radio module can be found the Würth Elektronik web page https://www.we-online.com/katalog/de/PROTEUS-II . |
| 36 | + |
| 37 | + |
| 38 | +Hardware |
| 39 | +******** |
| 40 | + |
| 41 | +Proteus-II radio module provides only the internal oscillators. The frequency of the slow clock |
| 42 | +is 32.768 kHz. The frequency of the main clock is 32 MHz. |
| 43 | + |
| 44 | +Supported Features |
| 45 | +================== |
| 46 | + |
| 47 | +The we_proteus2ev_nrf52832 board configuration supports the following |
| 48 | +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(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 | |
| 70 | ++-----------+------------+----------------------+ |
| 71 | +| RTC | on-chip | system clock | |
| 72 | ++-----------+------------+----------------------+ |
| 73 | +| RTT | Segger | console | |
| 74 | ++-----------+------------+----------------------+ |
| 75 | +| SPI(M/S) | on-chip | spi | |
| 76 | ++-----------+------------+----------------------+ |
| 77 | +| UART | on-chip | serial | |
| 78 | ++-----------+------------+----------------------+ |
| 79 | +| WDT | on-chip | watchdog | |
| 80 | ++-----------+------------+----------------------+ |
| 81 | + |
| 82 | +Other hardware features are not supported by the Zephyr kernel. |
| 83 | + |
| 84 | +Connections and IOs |
| 85 | +=================== |
| 86 | + |
| 87 | +LED |
| 88 | +--- |
| 89 | + |
| 90 | +* LED1 = P0.00 |
| 91 | +* LED2 = P0.01 |
| 92 | + |
| 93 | +Push buttons |
| 94 | +------------ |
| 95 | + |
| 96 | +* BUTTON1 = SW1 = P0.29 |
| 97 | + |
| 98 | + |
| 99 | +Programming and Debugging |
| 100 | +************************* |
| 101 | + |
| 102 | +Applications for the ``we_proteus2ev_nrf52832`` board configuration can be |
| 103 | +built, flashed, and debugged in the usual way. See |
| 104 | +:ref:`build_an_application` and :ref:`application_run` for more details on |
| 105 | +building and running. |
| 106 | + |
| 107 | +Flashing |
| 108 | +======== |
| 109 | + |
| 110 | +Follow the instructions in the :ref:`nordic_segger` page to install |
| 111 | +and configure all the necessary software. Further information can be |
| 112 | +found in :ref:`nordic_segger_flashing`. Then build and flash |
| 113 | +applications as usual (see :ref:`build_an_application` and |
| 114 | +:ref:`application_run` for more details). |
| 115 | + |
| 116 | +Here is an example for the :ref:`hello_world` application. |
| 117 | + |
| 118 | +First, run your favorite terminal program to listen for output. |
| 119 | + |
| 120 | +.. code-block:: console |
| 121 | +
|
| 122 | + $ minicom -D <tty_device> -b 115200 |
| 123 | +
|
| 124 | +Replace :code:`<tty_device>` with the port where the board Proteus-II-EV |
| 125 | +can be found. For example, under Linux, :code:`/dev/ttyACM0`. |
| 126 | + |
| 127 | +Then build and flash the application in the usual way. |
| 128 | + |
| 129 | +.. zephyr-app-commands:: |
| 130 | + :zephyr-app: samples/hello_world |
| 131 | + :board: we_proteus2ev_nrf52832 |
| 132 | + :goals: build flash |
| 133 | + |
| 134 | +Debugging |
| 135 | +========= |
| 136 | + |
| 137 | +Refer to the :ref:`nordic_segger` page to learn about debugging Nordic boards with a |
| 138 | +Segger IC. |
| 139 | + |
| 140 | + |
| 141 | +Testing the LEDs and buttons in the Proteus-II-EV |
| 142 | +************************************************* |
| 143 | + |
| 144 | +There are 2 samples that allow you to test that the buttons (switches) and LEDs on |
| 145 | +the board are working properly with Zephyr: |
| 146 | + |
| 147 | +.. code-block:: console |
| 148 | +
|
| 149 | + samples/basic/blinky |
| 150 | + samples/basic/button |
| 151 | +
|
| 152 | +You can build and flash the examples to make sure Zephyr is running correctly on |
| 153 | +your board. The button and LED definitions can be found in |
| 154 | +:zephyr_file:`boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts`. |
| 155 | + |
| 156 | +References |
| 157 | +********** |
| 158 | + |
| 159 | +.. target-notes:: |
| 160 | + |
| 161 | +.. _Proteus-II radio module website: https://www.we-online.com/katalog/de/PROTEUS-II |
| 162 | +.. _nRF52 DK website: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK |
| 163 | +.. _Nordic Semiconductor Infocenter: https://infocenter.nordicsemi.com |
0 commit comments