This is an automated email from the ASF dual-hosted git repository.

GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 169c170b4e09c5e9a2705defb5fc93893d372165
Author: Rodrigo Sim <[email protected]>
AuthorDate: Wed Nov 25 23:28:45 2026 -0300

    Documentation/platforms: Add EFR32 and xG24-EK2703A.
    
    Add the EFR32 family page (supported parts and peripherals) and the
    xG24-EK2703A board page with a photo, pinout, flashing instructions
    and configurations.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: Rodrigo Sim <[email protected]>
---
 .../arm/efr32/boards/xg24-ek2703a/index.rst        | 125 +++++++++++++++++++++
 .../arm/efr32/boards/xg24-ek2703a/xg24-ek2703a.jpg | Bin 0 -> 177077 bytes
 Documentation/platforms/arm/efr32/index.rst        |  79 +++++++++++++
 3 files changed, 204 insertions(+)

diff --git a/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/index.rst 
b/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/index.rst
new file mode 100644
index 00000000000..8f185b47f26
--- /dev/null
+++ b/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/index.rst
@@ -0,0 +1,125 @@
+=============================================
+Silicon Labs EFR32xG24 Explorer Kit (EK2703A)
+=============================================
+
+.. tags:: chip:efr32, arch:arm, vendor:silabs
+
+.. figure:: xg24-ek2703a.jpg
+   :scale: 50 %
+   :align: center
+   :alt: EFR32xG24 Explorer Kit (BRD2703A)
+
+   EFR32xG24 Explorer Kit (BRD2703A)
+
+The EFR32xG24 Explorer Kit (xG24-EK2703A, board BRD2703A) is a small
+development board from Silicon Labs with an EFR32MG24B210F1536IM48 wireless
+SoC (Cortex-M33, 1536 KB flash, 256 KB RAM). The board includes an on-board
+SEGGER J-Link debugger with a virtual COM port on its USB Type-C connector.
+
+Features
+========
+
+* EFR32MG24B210F1536IM48 SoC, +10 dBm 2.4 GHz radio with a PCB antenna
+* 39 MHz HFXO crystal and 32.768 kHz LFXO crystal
+* Two user LEDs and two user buttons
+* On-board J-Link debugger with a virtual COM port and packet trace
+* mikroBUS socket, Qwiic connector and 20 breakout pads
+* Powered from the USB Type-C connector
+
+NuttX does not support the radio, the mikroBUS socket (SPI, I2C, UART) or
+the Qwiic connector (I2C) yet.
+
+Buttons and LEDs
+================
+
+==========  ======  ===================================
+Name        Pin     Use
+==========  ======  ===================================
+LED0        PA4     OS state (CONFIG_ARCH_LEDS) or user LED, active high
+LED1        PA7     Panic (CONFIG_ARCH_LEDS) or user LED, active high
+BTN0        PB2     User button, active low
+BTN1        PB3     User button, active low
+==========  ======  ===================================
+
+With ``CONFIG_ARCH_LEDS``, LED0 turns on when the idle stack has been
+created and LED1 blinks on a panic. Otherwise the LEDs are user LEDs
+(``/dev/userleds`` with ``CONFIG_USERLED``).  The buttons are available
+through ``/dev/buttons`` with ``CONFIG_INPUT_BUTTONS``; they interrupt on
+press and release (``CONFIG_ARCH_IRQBUTTONS``, which needs
+``CONFIG_EFR32_GPIO_IRQ``).
+
+Serial Console
+==============
+
+The console is USART0 on PA5 (TX) and PA6 (RX), routed to the virtual COM
+port of the on-board debugger, at 115200 8N1. The kit user guide calls this
+port "USART1"; the EFR32MG24 has only USART0, which drives these pins here.
+It is enabled with ``CONFIG_EFR32_USART0`` and 
``CONFIG_USART0_SERIAL_CONSOLE``.
+
+Pin Mapping
+===========
+
+=======  ==========  ==================================
+Pin      Signal      Notes
+=======  ==========  ==================================
+PA1      SWCLK       Debugger
+PA2      SWDIO       Debugger
+PA3      SWO         Debugger
+PA4      LED0
+PA5      USART0_TX   Serial console (VCOM TX)
+PA6      USART0_RX   Serial console (VCOM RX)
+PA7      LED1
+PA8      VCOM_RTS    Not used
+PA9      VCOM_CTS    Not used
+PB2      BTN0
+PB3      BTN1
+=======  ==========  ==================================
+
+Power Supply
+============
+
+The kit is powered from the USB Type-C connector of the on-board debugger.
+
+Installation
+============
+
+The build needs the ``arm-none-eabi`` GNU toolchain. Flashing uses Silicon
+Labs Simplicity Commander, which talks to the on-board J-Link.
+
+Building NuttX
+==============
+
+.. code:: console
+
+   $ ./tools/configure.sh xg24-ek2703a:nsh
+   $ make -j
+
+``CONFIG_EFR32_HFXO_CTUNE`` sets the HFXO tuning capacitance used when the
+user data page holds no factory value.
+
+Flashing
+========
+
+With Simplicity Commander through the on-board J-Link:
+
+.. code:: console
+
+   $ commander flash nuttx.hex --device EFR32MG24B210F1536IM48
+
+Configurations
+==============
+
+.. code:: console
+
+   $ ./tools/configure.sh xg24-ek2703a:<config-name>
+
+nsh
+---
+
+NuttShell on USART0 at 115200 baud through the virtual COM port of the
+on-board debugger, with ``/dev/userleds`` and ``/dev/buttons``.
+
+ostest
+------
+
+``nsh`` with :doc:`ostest </applications/testing/ostest/index>`.
diff --git 
a/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/xg24-ek2703a.jpg 
b/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/xg24-ek2703a.jpg
new file mode 100644
index 00000000000..a81cc1f058d
Binary files /dev/null and 
b/Documentation/platforms/arm/efr32/boards/xg24-ek2703a/xg24-ek2703a.jpg differ
diff --git a/Documentation/platforms/arm/efr32/index.rst 
b/Documentation/platforms/arm/efr32/index.rst
new file mode 100644
index 00000000000..b798502fbd1
--- /dev/null
+++ b/Documentation/platforms/arm/efr32/index.rst
@@ -0,0 +1,79 @@
+===========================
+Silicon Labs EFR32 Series 2
+===========================
+
+The Silicon Labs EFR32 Series 2 are 2.4 GHz wireless SoCs built around an
+Arm Cortex-M33 core. This port covers the EFR32xG24 family (EFR32MG24),
+which has:
+
+- Arm Cortex-M33 (ARMv8-M Mainline) at up to 78 MHz, FPU, DSP, TrustZone
+- Up to 1536 KB flash and 256 KB RAM
+- HFXO (39 MHz crystal), LFXO, HFRCODPLL with a DPLL, FSRCO, LFRCO
+- USART0, EUSART0 and EUSART1, I2C0 and I2C1, TIMER0-4, IADC, LDMA
+- Peripheral pins routed to any pin of ports A and B through the GPIO block
+- 2.4 GHz radio (Bluetooth LE, 802.15.4)
+
+The older EFM32 Series 0/1 parts are in ``arch/arm/src/efm32``. Their clock
+controller, GPIO and USART register layouts differ, so the Series 2 parts
+have their own directory, ``arch/arm/src/efr32``.
+
+Supported chips
+===============
+
+======================== ========= ======== ======= =========
+Chip                     Package   Flash    RAM     Radio
+======================== ========= ======== ======= =========
+EFR32MG24B210F1536IM48   QFN48     1536 KB  256 KB  +10 dBm
+======================== ========= ======== ======= =========
+
+Clocks
+======
+
+``efr32_clockconfig()`` starts the HFXO, loads the factory calibration of
+the 80 MHz HFRCODPLL band and locks the HFRCODPLL to the HFXO with the
+DPLL. The board gives the crystal frequency and the DPLL setting in
+``board.h``:
+
+============ =========== =================================================
+Clock        Frequency   Notes
+============ =========== =================================================
+SYSCLK, HCLK 78 MHz      HFXO 39 MHz x (N + 1) / (M + 1), N = 3839, M = 1919
+PCLK         39 MHz      HCLK / 2 (USART0)
+RHCLK        39 MHz      SYSCLK / 2 (radio AHB, at most 40 MHz)
+============ =========== =================================================
+
+The flash runs with one wait state above 40 MHz. The HFXO tuning
+capacitance comes from the factory value in the user data page when there is
+one, otherwise from ``CONFIG_EFR32_HFXO_CTUNE`` (default 140).
+
+NuttX runs in secure state and uses the secure aliases of the peripherals.
+
+Peripheral support
+==================
+
+========== ======= ==========================================================
+Peripheral Support Notes
+========== ======= ==========================================================
+GPIO       Yes     Input, output, pin interrupts on pins 0-11 (EXTI)
+USART      Yes     USART0, asynchronous mode (console)
+EUSART     No
+I2C        No
+SPI        No
+TIMER      No      The system tick is the SysTick
+LETIMER    No
+SYSRTC     No
+IADC       No
+LDMA       No
+MSC        No      Flash wait states only, no programming
+WDOG       No
+Radio      No
+========== ======= ==========================================================
+
+Supported boards
+================
+
+.. toctree::
+   :glob:
+   :maxdepth: 1
+
+   boards/*/*

Reply via email to