boards/silabs/dev_kits/sltb009a/doc/index.rst
.. zephyr:board:: sltb009a
Overview
The EFM32GG12 Thunderboard Kit (SLTB009A) is an evaluation platform for the EFM32GG12 Giant Gecko Microcontroller, featuring an ARM Cortex-M4 with FPU, 1024kB flash, and 192kB RAM.
Hardware
For more information about the WGM160P and SLTB009A board:
SLTB009A Website_SLTB009A User Guide_EFM32GG12 Datasheet_EFM32GG12 Reference Manual_.. zephyr:board-supported-hw::
The EFM32GG12 MCU has six GPIO controllers (PORTA to PORTF), all of which are currently enabled for the SLTB009A board.
In the following table, the column Name contains pin names. For example, PE1 means pin number 1 on PORTE, as used in the board's datasheets and manuals.
+-------+-------------+-------------------------------------+ | Name | Function | Usage | +=======+=============+=====================================+ | PE12 | GPIO | LED0 | +-------+-------------+-------------------------------------+ | PA13 | GPIO | LED1 | +-------+-------------+-------------------------------------+ | PD5 | GPIO | Push Button PB0 | +-------+-------------+-------------------------------------+ | PD8 | GPIO | Push Button PB1 | +-------+-------------+-------------------------------------+ | PE7 | UART_TX | UART TX Console VCOM_TX US0_TX #1 | +-------+-------------+-------------------------------------+ | PE6 | UART_RX | UART RX Console VCOM_RX US0_RX #1 | +-------+-------------+-------------------------------------+ | PC0 | I2C_SDA | SENSOR_I2C_SDA I2C0_SDA #1 | +-------+-------------+-------------------------------------+ | PC1 | I2C_SCL | SENSOR_I2C_SCL I2C0_SCL #1 | +-------+-------------+-------------------------------------+ | PC4 | I2C_SDA | SENSOR_I2C_SDA I2C1_SDA #1 | +-------+-------------+-------------------------------------+ | PC5 | I2C_SCL | SENSOR_I2C_SCL I2C1_SCL #1 | +-------+-------------+-------------------------------------+
The EFM32GG12 MCU is configured to work at 72 MHz.
The EFM32GG12 SoC has five USARTs, two UARTs and two Low Energy UARTs (LEUART). USART0 is connected to the board controller and is used for the console.
Programming and Debugging
.. zephyr:board-supported-runners::
.. note:: Before using the kit the first time, you should update the J-Link firmware in Simplicity Studio.
The SLTB009A includes an J-Link_ serial and debug adaptor built into the
board. The adaptor provides:
Connect the SLTB009A to your host computer using the USB port.
Here is an example to build and flash the :zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: sltb009a :goals: flash
Open a serial terminal (minicom, putty, etc.) with the following settings:
Reset the board and you'll see the following message on the corresponding serial port terminal session:
.. code-block:: console
Hello World! sltb009a
.. _SLTB009A Website: https://www.silabs.com/development-tools/thunderboard/thunderboard-gg12-kit
.. _SLTB009A User Guide: https://www.silabs.com/documents/public/user-guides/ug371-sltb009a-user-guide.pdf
.. _EFM32GG12 Datasheet: https://www.silabs.com/documents/public/data-sheets/efm32gg12-datasheet.pdf
.. _EFM32GG12 Reference Manual: https://www.silabs.com/documents/public/reference-manuals/efm32gg12-rm.pdf
.. _J-Link: https://www.segger.com/jlink-debug-probes.html