boards/silabs/dev_kits/sltb010a/doc/index.rst
.. zephyr:board:: sltb010a
SLTB010A is a development kit based on the EFR32BG22 SoC. Early revisions of the kit (A00 and A01) use a slightly different PCB (BRD4184A) from later revisions (BRD4184B).
Hardware
For more information about the EFR32BG SoC and Thunderboard EFR32BG22 board:
EFR32BG22 Website_EFR32BG22 Datasheet_EFR32xG22 Reference Manual_Thunderboard EFR32BG22 Website_EFR32BG22-BRD4184A User Guide_EFR32BG22-BRD4184B User Guide_EFR32BG22-BRD4184A Schematics_EFR32BG22-BRD4184B Schematics_.. zephyr:board-supported-hw::
The EFR32BG22 SoC has four gpio controllers (PORTA, PORTB, PORTC and PORTD).
There are two variants of this board, "A" and "B". Please take a look at your PCB, to determine which one you have, as the GPIO pin bindings vary between those two.
BRD4184A (SLTB010A revision A00 and A01):
+------+-------------+-----------------------------------+ | Pin | Function | Usage | +======+=============+===================================+ | PB0 | GPIO | LED0 (YELLOW) | +------+-------------+-----------------------------------+ | PB1 | GPIO | SW0 Push Button PB0 | +------+-------------+-----------------------------------+ | PA5 | UART_TX | UART TX Console VCOM_TX US1_TX #1 | +------+-------------+-----------------------------------+ | PA6 | UART_RX | UART RX Console VCOM_RX US1_RX #1 | +------+-------------+-----------------------------------+
BRD4184B (SLTB010A revision A02 and newer):
+------+-------------+-----------------------------------+ | Pin | Function | Usage | +======+=============+===================================+ | PA4 | GPIO | LED0 (YELLOW) | +------+-------------+-----------------------------------+ | PB3 | GPIO | SW0 Push Button PB0 | +------+-------------+-----------------------------------+ | PA5 | UART_TX | UART TX Console VCOM_TX US1_TX #1 | +------+-------------+-----------------------------------+ | PA6 | UART_RX | UART RX Console VCOM_RX US1_RX #1 | +------+-------------+-----------------------------------+
The EFR32BG22 SoC is configured to use the 38.4 MHz external oscillator on the board.
.. zephyr:board-supported-runners::
Connect your device to your host computer using the USB port.
The sample application :zephyr:code-sample:hello_world is used for this example.
Build the Zephyr kernel and application, then flash it to the device:
BRD4184A:
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: sltb010a@0 :goals: flash
BRD4184B:
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: sltb010a@2 :goals: flash
.. note::
west flash requires SEGGER J-Link software_ to be installed on you host
computer.
Open a serial terminal (minicom, putty, etc.) with the following settings:
Reset the board and you should be able to see on the corresponding Serial Port the following message:
.. code-block:: console
Hello World! sltb010a
To use the BLE function, run the command below to retrieve necessary binary blobs from the SiLabs HAL repository.
.. code-block:: console
west blobs fetch hal_silabs
Then build the Zephyr kernel and a Bluetooth sample with the following
command. The :zephyr:code-sample:bluetooth_observer sample application is used in
this example.
BRD4184A:
.. zephyr-app-commands:: :zephyr-app: samples/bluetooth/observer :board: sltb010a@0 :goals: build
BRD4184B:
.. zephyr-app-commands:: :zephyr-app: samples/bluetooth/observer :board: sltb010a@2 :goals: build
.. _Thunderboard EFR32BG22 Website: https://www.silabs.com/development-tools/thunderboard/thunderboard-bg22-kit
.. _EFR32BG22-BRD4184A User Guide: https://www.silabs.com/documents/public/user-guides/ug415-sltb010a-user-guide.pdf
.. _EFR32BG22-BRD4184B User Guide: https://www.silabs.com/documents/public/user-guides/ug464-brd4184b-user-guide.pdf
.. _EFR32BG22-BRD4184A Schematics: https://www.silabs.com/documents/public/schematic-files/BRD4184A-A01-schematic.pdf
.. _EFR32BG22-BRD4184B Schematics: https://www.silabs.com/documents/public/schematic-files/BRD4184B-A02-schematic.pdf
.. _EFR32BG22 Website: https://www.silabs.com/wireless/bluetooth/efr32bg22-series-2-socs
.. _EFR32BG22 Datasheet: https://www.silabs.com/documents/public/data-sheets/efr32bg22-datasheet.pdf
.. _EFR32xG22 Reference Manual: https://www.silabs.com/documents/public/reference-manuals/efr32xg22-rm.pdf
.. _SEGGER J-Link software: https://www.segger.com/downloads/jlink