1.. zephyr:board:: ebyte_e73_tbb 2 3Overview 4******** 5 6The EBYTE E73-TBB hardware provides 7support for the Nordic Semiconductor nRF52832 ARM Cortex-M4F CPU and 8the following devices: 9 10* :abbr:`ADC (Analog to Digital Converter)` 11* CLOCK 12* FLASH 13* :abbr:`GPIO (General Purpose Input Output)` 14* :abbr:`I2C (Inter-Integrated Circuit)` 15* :abbr:`MPU (Memory Protection Unit)` 16* :abbr:`NVIC (Nested Vectored Interrupt Controller)` 17* :abbr:`PWM (Pulse Width Modulation)` 18* RADIO (Bluetooth Low Energy) 19* :abbr:`RTC (nRF RTC System Clock)` 20* Segger RTT (RTT Console) 21* :abbr:`SPI (Serial Peripheral Interface)` 22* :abbr:`UART (Universal asynchronous receiver-transmitter)` 23* :abbr:`WDT (Watchdog Timer)` 24 25More information about the board can be found at the 26`E73-TBB website`_. The `Nordic Semiconductor Infocenter`_ 27contains the processor's information and the datasheet. 28 29 30Hardware 31******** 32 33E73-TBB has two external oscillators. The frequency of 34the slow clock is 32.768 kHz. The frequency of the main clock 35is 32 MHz. Additionally the board features CH340 USB-UART converter. 36It is possible to connect external BT antenna using U.FL socket 37and solder NFC antenna using NFC_ANT connector. 38 39Supported Features 40================== 41 42The ebyte_e73_tbb/nrf52832 board configuration supports the following 43hardware features: 44 45+-----------+------------+----------------------+ 46| Interface | Controller | Driver/Component | 47+===========+============+======================+ 48| ADC | on-chip | adc | 49+-----------+------------+----------------------+ 50| CLOCK | on-chip | clock_control | 51+-----------+------------+----------------------+ 52| FLASH | on-chip | flash | 53+-----------+------------+----------------------+ 54| GPIO | on-chip | gpio | 55+-----------+------------+----------------------+ 56| I2C(M) | on-chip | i2c | 57+-----------+------------+----------------------+ 58| MPU | on-chip | arch/arm | 59+-----------+------------+----------------------+ 60| NVIC | on-chip | arch/arm | 61+-----------+------------+----------------------+ 62| PWM | on-chip | pwm | 63+-----------+------------+----------------------+ 64| RADIO | on-chip | Bluetooth | 65+-----------+------------+----------------------+ 66| RTC | on-chip | system clock | 67+-----------+------------+----------------------+ 68| RTT | Segger | console | 69+-----------+------------+----------------------+ 70| SPI(M/S) | on-chip | spi | 71+-----------+------------+----------------------+ 72| UART | on-chip | serial | 73+-----------+------------+----------------------+ 74| WDT | on-chip | watchdog | 75+-----------+------------+----------------------+ 76 77Other hardware features are not supported by the Zephyr kernel. 78See `E73-TBB website`_ and `Nordic Semiconductor Infocenter`_ 79for a complete list of nRF52832 hardware features. 80 81Connections and IOs 82=================== 83 84LED 85--- 86 87* LED0 (red) = P0.17 88* LED1 (red) = P0.18 89 90Push buttons 91------------ 92 93* BUTTON0 = SW1 = P0.14 94* BUTTON1 = SW2 = P0.13 95 96External Connectors 97------------------- 98 99P1 Header 100 101+-------+--------------+ 102| PIN # | Signal Name | 103+=======+==============+ 104| 1 | GND | 105+-------+--------------+ 106| 2 | 3.3V | 107+-------+--------------+ 108| 3 | P0.04 | 109+-------+--------------+ 110| 4 | P0.03 | 111+-------+--------------+ 112| 5 | P0.02 | 113+-------+--------------+ 114| 6 | P0.31 | 115+-------+--------------+ 116| 7 | P0.30 | 117+-------+--------------+ 118| 8 | P0.29 | 119+-------+--------------+ 120| 9 | P0.28 | 121+-------+--------------+ 122| 10 | P0.27 | 123+-------+--------------+ 124| 11 | P0.26 | 125+-------+--------------+ 126| 12 | P0.25 | 127+-------+--------------+ 128 129P2 Header 130 131+-------+--------------+ 132| PIN # | Signal Name | 133+=======+==============+ 134| 1 | P0.24 | 135+-------+--------------+ 136| 2 | P0.23 | 137+-------+--------------+ 138| 3 | P0.22 | 139+-------+--------------+ 140| 4 | SWDIO | 141+-------+--------------+ 142| 5 | SWDCLK | 143+-------+--------------+ 144| 6 | P0.21/RST | 145+-------+--------------+ 146| 7 | P0.20 | 147+-------+--------------+ 148| 8 | P0.19 | 149+-------+--------------+ 150| 9 | P0.16 | 151+-------+--------------+ 152| 10 | P0.15 | 153+-------+--------------+ 154| 11 | P0.12 | 155+-------+--------------+ 156| 12 | P0.11 | 157+-------+--------------+ 158 159NFC_ANT 160 161+-------+--------------+ 162| PIN # | Signal Name | 163+=======+==============+ 164| 1 | P0.10 | 165+-------+--------------+ 166| 2 | P0.09 | 167+-------+--------------+ 168 169Programming and Debugging 170************************* 171 172Flashing 173======== 174 175Follow the instructions in the :ref:`nordic_segger` page to install 176and configure all the necessary software. 177To flash the board connect pins: SWDIO, SWDCLK, RST, GND from E73-TBB 178to corresponding pins on your J-Link device, then build and flash the application in the usual way. 179 180.. zephyr-app-commands:: 181 :zephyr-app: samples/basic/blinky 182 :board: ebyte_e73_tbb/nrf52832 183 :goals: build flash 184 185Debugging 186========= 187 188Refer to the :ref:`nordic_segger` page to learn about debugging Nordic chips with a 189Segger IC. 190 191 192Testing the LEDs and buttons in the E73-TBB 193******************************************* 194 195There are 2 samples that allow you to test that the buttons (switches) and LEDs on 196the board are working properly with Zephyr: 197 198.. code-block:: console 199 200 :zephyr:code-sample:`blinky` 201 :zephyr:code-sample:`button` 202 203You can build and flash the examples to make sure Zephyr is running correctly on 204your board. The button and LED definitions can be found in 205:zephyr_file:`boards/ebyte/e73_tbb/ebyte_e73_tbb_nrf52832.dts`. 206 207References 208********** 209 210.. target-notes:: 211 212.. _E73-TBB website: https://www.cdebyte.com/products/E73-TBB 213.. _Nordic Semiconductor Infocenter: https://infocenter.nordicsemi.com 214