boards/silabs/dev_kits/xg27_dk2602a/doc/index.rst
.. zephyr:board:: xg27_dk2602a
Silicon Labs xG27-DK2602A is a Dev Kit using the EFR32BG27 SoC. The kit consists of the EFR32BG27 +8 dBm Dev Kit Board (BRD2602A).
Hardware
For more information, refer to these documents:
xG27 Dev Kit User's Guide_.. zephyr:board-supported-hw::
The xG27 Dev Kit includes an embedded J-Link_ adapter built around
EFM32GG12 microcontroller (not user-programmable).
The adapter provides:
UART functionality of the adapter is accessible via standard CDC-ACM USB driver
present in most desktop operating systems and any standard serial port terminal
program e.g. picocom_.
SWD and SWO functionality is accessible via Simplicity Commander_.
The simplest way to flash the board is by using West, which runs Simplicity Commander in unattended mode and passes all the necessary arguments to it.
If Simplicity Commander is installed in the system and the directory in
which commander executable is located is present in the :envvar:PATH environment
variable:
.. code-block:: console
west flash
Otherwise, one should specify full path to the commander executable:
.. code-block:: console
west flash --commander <path_to_commander_directory>/commander
In case several J-Link adapters are connected, you must specify serial number of the adapter which should be used for flashing:
.. code-block:: console
west flash --dev-id <J-Link serial number>
.. zephyr:board-supported-runners::
The sample application :zephyr:code-sample:hello_world is used for this example.
Build the Zephyr kernel and application:
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: xg27_dk2602a :goals: build
Connect your device to your host computer using the USB port and you
should see a USB connection. Use west's flash command
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! xg27_dk2602a
.. _picocom: https://github.com/npat-efault/picocom
.. _J-Link: https://www.segger.com/jlink-debug-probes.html
.. _Simplicity Commander: https://www.silabs.com/developers/mcu-programming-options
.. _xG27 Dev Kit User's Guide: https://www.silabs.com/documents/public/user-guides/ug554-brd2602a-user-guide.pdf