1.. zephyr:board:: bytesensi_l 2 3Overview 4******** 5 6The byteSENSI-L is a fun LoRa device based on nRF52 MCU that integrates many 7sensors. 8 9Hardware 10******** 11 12Supported Features 13================== 14 15+-----------+------------+----------------------+ 16| Interface | Controller | Driver/Component | 17+===========+============+======================+ 18| CLOCK | on-chip | clock_control | 19+-----------+------------+----------------------+ 20| FLASH | on-chip | flash | 21+-----------+------------+----------------------+ 22| GPIO | on-chip | gpio | 23+-----------+------------+----------------------+ 24| GPS | u-blox | gnss | 25+-----------+------------+----------------------+ 26| I2C(M) | on-chip | i2c | 27+-----------+------------+----------------------+ 28| MPU | on-chip | arch/arm | 29+-----------+------------+----------------------+ 30| NVIC | on-chip | arch/arm | 31+-----------+------------+----------------------+ 32| RADIO | on-chip | Bluetooth | 33+-----------+------------+----------------------+ 34| RADIO | Semtech | LoRa | 35+-----------+------------+----------------------+ 36| RTC | on-chip | system clock | 37+-----------+------------+----------------------+ 38| RTT | Segger | console | 39+-----------+------------+----------------------+ 40| WDT | on-chip | watchdog | 41+-----------+------------+----------------------+ 42 43Connections and IOs 44=================== 45 46External Connectors 47------------------- 48 49External Supply @ X1 50 51+-------+--------------+---------------------------------------+ 52| PIN # | Signal Name | Function | 53+=======+==============+=======================================+ 54| 1 | VBAT | Power input instead of CR2477 battery | 55+-------+--------------+---------------------------------------+ 56| 2 | GND | Ground | 57+-------+--------------+---------------------------------------+ 58 59Programming Connector @ SL1 60 61+-------+--------------+ 62| PIN # | Signal Name | 63+=======+==============+ 64| 1 | VBAT | 65+-------+--------------+ 66| 2 | SWDIO | 67+-------+--------------+ 68| 3 | GND | 69+-------+--------------+ 70| 4 | SWDCLK | 71+-------+--------------+ 72| 5 | GND | 73+-------+--------------+ 74| 6 | NC (SWO) | 75+-------+--------------+ 76| 7 | NC (Key) | 77+-------+--------------+ 78| 8 | NC | 79+-------+--------------+ 80| 9 | GND | 81+-------+--------------+ 82| 10 | nReset | 83+-------+--------------+ 84 85I2C Sensor @ X3 86 87+-------+--------------+-------------------------+ 88| PIN # | Signal Name | Function | 89+=======+==============+=========================+ 90| 1 | VBAT | Power out | 91+-------+--------------+-------------------------+ 92| 2 | SCL | I2C clock at P0.15 | 93+-------+--------------+-------------------------+ 94| 3 | SDA | I2C data at P0.16 | 95+-------+--------------+-------------------------+ 96| 4 | INT | Interrupt at P0.13 | 97+-------+--------------+-------------------------+ 98| 5 | I2C_ADDR | tied to VBAT | 99+-------+--------------+-------------------------+ 100| 6 | GND | Ground | 101+-------+--------------+-------------------------+ 102 103One Wire Sensor @ X2 104 105+-------+----------------+-------------------------+ 106| PIN # | Signal Name | Function | 107+=======+================+=========================+ 108| 1 | VDD | 4V8 | 109+-------+----------------+-------------------------+ 110| 2 | IO | One Wire | 111+-------+----------------+-------------------------+ 112| 3 | GND | Ground | 113+-------+----------------+-------------------------+ 114 115External BLE Antenna @ J1 116 117External LoRa Antenna @ J2 118 119External GPS Antenna @ J3 120 121Programming and Debugging 122************************* 123 124Flashing 125======== 126The byteSENSI-L board can be flashed with the SEGGER JLink programmer. 127 128You can build and flash applications in the usual way. Here is an example for 129the :zephyr:code-sample:`hello_world` application. 130 131 .. zephyr-app-commands:: 132 :zephyr-app: samples/hello_world 133 :board: bytesensi_l 134 :goals: build flash 135 :compact: 136 137Debugging 138========= 139 140Debugging your application can be done with ``west debug``. 141 142Serial console 143============== 144 145The byteSENSI-L board only uses Segger's RTT console for providing serial 146console. There is no physical serial port available. 147 148References 149********** 150* `bytesatwork website <https://www.bytesatwork.io/>`_ 151* `bytesatwork wiki <https://wiki.bytesatwork.io/>`_ 152